text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">Switching between the different app bar display options in the "Contact profile" study can cause the Flutter Gallery app to crash. I tested this on a OnePlus3T using the production version on the PlayStore and locally using the version in v0.5.1.</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/HansMuller/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/HansMuller">@HansMuller</a> I think this is behind the error in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="323074231" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/17598" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/17598/hovercard" href="https://github.com/flutter/flutter/issues/17598">#17598</a></p> <h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li> <p dir="auto">Open the "Contact profile" study</p> </li> <li> <p dir="auto">Scroll the bottom of the page</p> </li> <li> <p dir="auto">Select the drop down menu in top right of the app bar and choose the "App bar snaps" option</p> </li> <li> <p dir="auto">Scroll up until the full app bar is displayed (screenshot attached)<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6425402/42969772-25235964-8b5c-11e8-853f-4b01addf6a3e.png"><img src="https://user-images.githubusercontent.com/6425402/42969772-25235964-8b5c-11e8-853f-4b01addf6a3e.png" alt="1" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">Select the "App bar floats" option</p> </li> </ol> <p dir="auto">The app will not immediately crash but it is in a bad state and further actions will cause various exceptions and crashes. Logs attached below.</p> <h2 dir="auto">Logs</h2> <h3 dir="auto">Error when scrolling:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[+34049 ms] I/flutter (29797): ══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════ [ +19 ms] I/flutter (29797): The following NoSuchMethodError was thrown while dispatching notifications for ValueNotifier&lt;bool&gt;: [ ] I/flutter (29797): The method 'stop' was called on null. [ ] I/flutter (29797): Receiver: null [ +1 ms] I/flutter (29797): Tried calling: stop(canceled: true) [ ] I/flutter (29797): [ ] I/flutter (29797): When the exception was thrown, this was the stack: [ +12 ms] I/flutter (29797): #0 Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:46:5) [ ] I/flutter (29797): #1 AnimationController.stop (package:flutter/src/animation/animation_controller.dart:499:13) [ ] I/flutter (29797): #2 RenderSliverFloatingPersistentHeader.maybeStopSnapAnimation (package:flutter/src/rendering/sliver_persistent_header.dart:457:18) [ ] I/flutter (29797): #3 _FloatingAppBarState._isScrollingListener (package:flutter/src/material/app_bar.dart:547:15) [ ] I/flutter (29797): #4 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:161:21) [ ] I/flutter (29797): #5 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:217:5) [ ] I/flutter (29797): #6 ScrollPosition.beginActivity (package:flutter/src/widgets/scroll_position.dart:613:25) [ ] I/flutter (29797): #7 ScrollPositionWithSingleContext.beginActivity (package:flutter/src/widgets/scroll_position_with_single_context.dart:117:11) [ ] I/flutter (29797): #8 ScrollPositionWithSingleContext.drag (package:flutter/src/widgets/scroll_position_with_single_context.dart:245:5) [ ] I/flutter (29797): #9 ScrollableState._handleDragStart (package:flutter/src/widgets/scrollable.dart:443:22) [ +1 ms] I/flutter (29797): #10 DragGestureRecognizer.acceptGesture.&lt;anonymous closure&gt; (package:flutter/src/gestures/monodrag.dart:169:47) [ ] I/flutter (29797): #11 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24) [ ] I/flutter (29797): #12 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:169:9) [ ] I/flutter (29797): #13 GestureArenaManager._resolveByDefault (package:flutter/src/gestures/arena.dart:250:25) [ ] I/flutter (29797): #14 GestureArenaManager._tryToResolveArena.&lt;anonymous closure&gt; (package:flutter/src/gestures/arena.dart:231:31) [ ] I/flutter (29797): (elided 2 frames from package dart:async) [ ] I/flutter (29797): [ ] I/flutter (29797): The ValueNotifier&lt;bool&gt; sending notification was: [ ] I/flutter (29797): ValueNotifier&lt;bool&gt;#0a1d4(true) [ ] I/flutter (29797): ════════════════════════════════════════════════════════════════════════════════════════════════════"><pre class="notranslate"><code class="notranslate">[+34049 ms] I/flutter (29797): ══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════ [ +19 ms] I/flutter (29797): The following NoSuchMethodError was thrown while dispatching notifications for ValueNotifier&lt;bool&gt;: [ ] I/flutter (29797): The method 'stop' was called on null. [ ] I/flutter (29797): Receiver: null [ +1 ms] I/flutter (29797): Tried calling: stop(canceled: true) [ ] I/flutter (29797): [ ] I/flutter (29797): When the exception was thrown, this was the stack: [ +12 ms] I/flutter (29797): #0 Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:46:5) [ ] I/flutter (29797): #1 AnimationController.stop (package:flutter/src/animation/animation_controller.dart:499:13) [ ] I/flutter (29797): #2 RenderSliverFloatingPersistentHeader.maybeStopSnapAnimation (package:flutter/src/rendering/sliver_persistent_header.dart:457:18) [ ] I/flutter (29797): #3 _FloatingAppBarState._isScrollingListener (package:flutter/src/material/app_bar.dart:547:15) [ ] I/flutter (29797): #4 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:161:21) [ ] I/flutter (29797): #5 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:217:5) [ ] I/flutter (29797): #6 ScrollPosition.beginActivity (package:flutter/src/widgets/scroll_position.dart:613:25) [ ] I/flutter (29797): #7 ScrollPositionWithSingleContext.beginActivity (package:flutter/src/widgets/scroll_position_with_single_context.dart:117:11) [ ] I/flutter (29797): #8 ScrollPositionWithSingleContext.drag (package:flutter/src/widgets/scroll_position_with_single_context.dart:245:5) [ ] I/flutter (29797): #9 ScrollableState._handleDragStart (package:flutter/src/widgets/scrollable.dart:443:22) [ +1 ms] I/flutter (29797): #10 DragGestureRecognizer.acceptGesture.&lt;anonymous closure&gt; (package:flutter/src/gestures/monodrag.dart:169:47) [ ] I/flutter (29797): #11 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24) [ ] I/flutter (29797): #12 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:169:9) [ ] I/flutter (29797): #13 GestureArenaManager._resolveByDefault (package:flutter/src/gestures/arena.dart:250:25) [ ] I/flutter (29797): #14 GestureArenaManager._tryToResolveArena.&lt;anonymous closure&gt; (package:flutter/src/gestures/arena.dart:231:31) [ ] I/flutter (29797): (elided 2 frames from package dart:async) [ ] I/flutter (29797): [ ] I/flutter (29797): The ValueNotifier&lt;bool&gt; sending notification was: [ ] I/flutter (29797): ValueNotifier&lt;bool&gt;#0a1d4(true) [ ] I/flutter (29797): ════════════════════════════════════════════════════════════════════════════════════════════════════ </code></pre></div> <h3 dir="auto">Error when trying to switch to the 'App bar snaps' option:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[+40490 ms] I/flutter (29797): Another exception was thrown: AnimationController.dispose() called more than once. [ +8 ms] I/flutter (29797): Another exception was thrown: A RenderViewport expected a child of type RenderSliver but received a child of type RenderErrorBox. [ +9 ms] I/chatty (29797): uid=10084(io.flutter.demo.gallery) 1.ui identical 1 line [ ] I/flutter (29797): Another exception was thrown: A RenderViewport expected a child of type RenderSliver but received a child of type RenderErrorBox. [ ] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3497 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. [+2095 ms] I/chatty (29797): uid=10084(io.flutter.demo.gallery) 1.ui identical 20 lines [ ] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3497 pos 14: 'owner._debugCurrentBuildTarget == this': is not true."><pre class="notranslate"><code class="notranslate">[+40490 ms] I/flutter (29797): Another exception was thrown: AnimationController.dispose() called more than once. [ +8 ms] I/flutter (29797): Another exception was thrown: A RenderViewport expected a child of type RenderSliver but received a child of type RenderErrorBox. [ +9 ms] I/chatty (29797): uid=10084(io.flutter.demo.gallery) 1.ui identical 1 line [ ] I/flutter (29797): Another exception was thrown: A RenderViewport expected a child of type RenderSliver but received a child of type RenderErrorBox. [ ] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3497 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. [+2095 ms] I/chatty (29797): uid=10084(io.flutter.demo.gallery) 1.ui identical 20 lines [ ] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3497 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. </code></pre></div> <h3 dir="auto">Error when clicking the back button</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[+242379 ms] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4062 pos 14: '() { [ +279 ms] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2240 pos 16: '!_dirtyElements[index]._active || _dirtyElements[index]._debugIsInScope(context)': is not true."><pre class="notranslate"><code class="notranslate">[+242379 ms] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4062 pos 14: '() { [ +279 ms] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2240 pos 16: '!_dirtyElements[index]._active || _dirtyElements[index]._debugIsInScope(context)': is not true. </code></pre></div> <h3 dir="auto">Error when trying to re-open the Contact profile study after the last crash</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[+457845 ms] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3681 pos 12: 'child == _child': is not true. [ +6 ms] I/flutter (29797): Another exception was thrown: Duplicate GlobalKey detected in widget tree."><pre class="notranslate"><code class="notranslate">[+457845 ms] I/flutter (29797): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3681 pos 12: 'child == _child': is not true. [ +6 ms] I/flutter (29797): Another exception was thrown: Duplicate GlobalKey detected in widget tree. </code></pre></div>
<p dir="auto">Flutter doctor is amazing! But, for the first hour, it may be (incorrectly) suggesting that you need <em>both</em> iOS and Android toolchains installed <em>just to try Flutter</em>.</p> <p dir="auto">See anecdote here: <a href="https://twitter.com/clarklab/status/998613583599669250" rel="nofollow">https://twitter.com/clarklab/status/998613583599669250</a></p>
0
<p dir="auto">from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dhirschfeld/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dhirschfeld">@dhirschfeld</a></p> <p dir="auto">I just ran across the bug described in issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="11924688" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/3020" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/3020/hovercard" href="https://github.com/pandas-dev/pandas/issues/3020">#3020</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="11924688" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/3020" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/3020/hovercard" href="https://github.com/pandas-dev/pandas/issues/3020">#3020</a>) as our unit-tests started failing after upgrading pandas.</p> <p dir="auto">I did a git bisection and found the first bad commit to be <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/9deda9e687915017cc9db7698504ead1f89ead9e/hovercard" href="https://github.com/pandas-dev/pandas/commit/9deda9e687915017cc9db7698504ead1f89ead9e"><tt>9deda9e</tt></a>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="9deda9e687915017cc9db7698504ead1f89ead9e is the first bad commit commit 9deda9e687915017cc9db7698504ead1f89ead9e Author: Chang She Date: Sun Dec 2 02:21:10 2012 -0500 API: change resample to infer correct closed and label value by default #2363 :040000 040000 3abca1d3eb70bcd6ade31581acc4684a3035b81e 4cdeae975685b996ef2f41c738ca70bfd41ca583 M pandas"><pre class="notranslate"><code class="notranslate">9deda9e687915017cc9db7698504ead1f89ead9e is the first bad commit commit 9deda9e687915017cc9db7698504ead1f89ead9e Author: Chang She Date: Sun Dec 2 02:21:10 2012 -0500 API: change resample to infer correct closed and label value by default #2363 :040000 040000 3abca1d3eb70bcd6ade31581acc4684a3035b81e 4cdeae975685b996ef2f41c738ca70bfd41ca583 M pandas </code></pre></div> <p dir="auto">I think this is a fairly serious regression as (apart from causing our unit-tests to fail) it will silently give incorrect answers for an aggregation if the data has been resampled beforehand.</p> <p dir="auto">The following unit-test demonstrates the problem:</p> <p dir="auto">def test_resample_doesnt_truncate():<br> """Test for issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="11924688" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/3020" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/3020/hovercard" href="https://github.com/pandas-dev/pandas/issues/3020">#3020</a>"""<br> import pandas as pd<br> dates = pd.date_range('01-Jan-2014','05-Jan-2014', freq='D')<br> series = pd.TimeSeries(1, index=dates)<br> series = series.resample('D')<br> assert series.index[0] == dates[0]</p> <h1 dir="auto"></h1>
<p dir="auto">When resampling from a TimeSeries with freq='MS' to freq='D' the TimeSeries is shifted forward by one day, skipping the first element:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [64]: dates = pd.date_range('01-Apr-13','01-May-13',freq='MS') In [65]: ts = pd.TimeSeries([1,2],dates) In [66]: ts Out[66]: 2013-04-01 1 2013-05-01 2 Freq: MS In [67]: ts.resample('d',closed='left',label='left') Out[67]: 2013-04-02 NaN 2013-04-03 NaN 2013-04-04 NaN 2013-04-05 NaN 2013-04-06 NaN 2013-04-07 NaN 2013-04-08 NaN 2013-04-09 NaN 2013-04-10 NaN 2013-04-11 NaN 2013-04-12 NaN 2013-04-13 NaN 2013-04-14 NaN 2013-04-15 NaN 2013-04-16 NaN 2013-04-17 NaN 2013-04-18 NaN 2013-04-19 NaN 2013-04-20 NaN 2013-04-21 NaN 2013-04-22 NaN 2013-04-23 NaN 2013-04-24 NaN 2013-04-25 NaN 2013-04-26 NaN 2013-04-27 NaN 2013-04-28 NaN 2013-04-29 NaN 2013-04-30 NaN 2013-05-01 2 2013-05-02 NaN Freq: D"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">64</span>]: <span class="pl-s1">dates</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'01-Apr-13'</span>,<span class="pl-s">'01-May-13'</span>,<span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'MS'</span>) <span class="pl-v">In</span> [<span class="pl-c1">65</span>]: <span class="pl-s1">ts</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">TimeSeries</span>([<span class="pl-c1">1</span>,<span class="pl-c1">2</span>],<span class="pl-s1">dates</span>) <span class="pl-v">In</span> [<span class="pl-c1">66</span>]: <span class="pl-s1">ts</span> <span class="pl-v">Out</span>[<span class="pl-c1">66</span>]: <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">1</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">2</span> <span class="pl-v">Freq</span>: <span class="pl-v">MS</span> <span class="pl-v">In</span> [<span class="pl-c1">67</span>]: <span class="pl-s1">ts</span>.<span class="pl-en">resample</span>(<span class="pl-s">'d'</span>,<span class="pl-s1">closed</span><span class="pl-c1">=</span><span class="pl-s">'left'</span>,<span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">'left'</span>) <span class="pl-v">Out</span>[<span class="pl-c1">67</span>]: <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">03</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">04</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">05</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">06</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">07</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">08</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">09</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">10</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">11</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">12</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">13</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">14</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">15</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">17</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">18</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">19</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">20</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">21</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">23</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">24</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">26</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">27</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">28</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">29</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">04</span><span class="pl-c1">-</span><span class="pl-c1">30</span> <span class="pl-v">NaN</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">2</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-v">NaN</span> <span class="pl-v">Freq</span>: <span class="pl-v">D</span></pre></div>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work</a> has an issue.</p> <p dir="auto">The way the last two directions are written is <em>very</em> confusing:</p> <p dir="auto"><strong>Add $(document.ready(function() { to the beginning of your script element.)</strong></p> <p dir="auto"><strong>Close your $(document.ready(function() { function with });.)</strong></p> <p dir="auto">It took me awhile (maybe I was just being slow today) to realize that you don't need to repeat the script element: <strong>$(document.ready(function() { }</strong></p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/bonfire-mutations" rel="nofollow">http://www.freecodecamp.com/challenges/bonfire-mutations</a> has an issue.</p> <p dir="auto">The example from the task says:<br> ['Mary', 'Aarmy'] should return false because 'Mary' is only 4 letters while 'Aarmy' is 5, so 'Mary' can't possibly contain 'Aarmy'.</p> <p dir="auto">Consider this example: ['Mary', 'Maary']. 'Maary' has 5 letters, but 'Mary' contains all the letters from it.</p> <p dir="auto">I think, we should:</p> <ul dir="auto"> <li>or remove ['Mary', 'Aarmy'] example from the description</li> <li>or just set a condition: length of the first string &gt;= length of the second string</li> </ul>
0
<p dir="auto">Download link for v3.0.0-rc1 is not working:</p> <p dir="auto"><a href="https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist">https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist</a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/2ed1657127d41c3de686b0b2e3eb649c2848dfcd2e22ead2fb0bc2468d851ecf/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313138393934362f3837353134362f61636336616161362d663839612d313165322d393834372d3532333236626166373138302e6a7067"><img src="https://camo.githubusercontent.com/2ed1657127d41c3de686b0b2e3eb649c2848dfcd2e22ead2fb0bc2468d851ecf/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313138393934362f3837353134362f61636336616161362d663839612d313165322d393834372d3532333236626166373138302e6a7067" alt="error" data-canonical-src="https://f.cloud.github.com/assets/1189946/875146/acc6aaa6-f89a-11e2-9847-52326baf7180.jpg" style="max-width: 100%;"></a></p>
<p dir="auto">I can not download the version of the bootstrap 3<br> <a href="https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist">https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist</a></p>
1
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Feature Idea</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.5.4</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Debian 7</p> <h5 dir="auto">Summary:</h5> <p dir="auto">Ability to use useradd's -o flag "allow to create users with duplicate (non-unique) UID"</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">not possible</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">This is useful if you want to create an ftp account with same permissions as another user but chroot (with for example proftp's chroot ~ ) its home dir to a directory further down the tree, thus locking it out from alot of the main users directories but still have write access to its own home dir. (as both users share uid/gid both have write access)</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">not possible</p>
<p dir="auto">The recommended directory layout from the documentation (<a href="http://docs.ansible.com/ansible/playbooks_best_practices.html#directory-layout" rel="nofollow">http://docs.ansible.com/ansible/playbooks_best_practices.html#directory-layout</a>) indicates putting all playbooks at the top level, alongside inventory files. This can get really messy in a large project.</p> <p dir="auto">We put all configuration in roles. Playbooks are basically mappings of a set of roles to a set of inventory. I believe that is best-practice to make roles reusable.</p> <p dir="auto">In earlier Ansible versions (~ year ago?) it was possible to put playbooks in a subfolder and run them from the top folder (where inventory files are). Somewhere along the line that became impossible, because playbooks in a subfolder cannot see roles and group var files, in such case.</p> <p dir="auto">Can we please get support for playbooks in subfolder? Why is that not a recommended best-practice in the documentation?</p>
0
<p dir="auto">Hi,</p> <p dir="auto">I am using the following java code to create instance of ElasticSearch instance and create a index called "testindex".</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Node node = NodeBuilder.nodeBuilder().settings(ImmutableSettings.settingsBuilder() .put(&quot;path.data&quot;, &quot;/etc/elasticsearch&quot;) .put(&quot;cluster.name&quot;, &quot;testcluster&quot;)) .node(); Client client = node.client(); IndicesAdminClient indices = client.admin().indices(); IndicesExistsResponse res = indices.prepareExists(&quot;testindex&quot;).execute().actionGet(); if(!res.isExists()){ //Everytime getting value as false CreateIndexRequestBuilder createIndexRequestBuilder = indices.prepareCreate(&quot;testindex&quot;); createIndexRequestBuilder.execute().actionGet(); // Erring out with IndexAlreadyExistsException }"><pre class="notranslate"><code class="notranslate">Node node = NodeBuilder.nodeBuilder().settings(ImmutableSettings.settingsBuilder() .put("path.data", "/etc/elasticsearch") .put("cluster.name", "testcluster")) .node(); Client client = node.client(); IndicesAdminClient indices = client.admin().indices(); IndicesExistsResponse res = indices.prepareExists("testindex").execute().actionGet(); if(!res.isExists()){ //Everytime getting value as false CreateIndexRequestBuilder createIndexRequestBuilder = indices.prepareCreate("testindex"); createIndexRequestBuilder.execute().actionGet(); // Erring out with IndexAlreadyExistsException } </code></pre></div> <p dir="auto">Before creating the index I am checking whether index exists or not, I only create the index if it exists.<br> Second time when I am running the above code, it fails with IndexAlreadyExistsException.<br> It seems like the IndicesExistsResponse.isExists() is not behaving correctly.</p> <p dir="auto">Above code works fine if default elasticsearch.yml file is present in the classpath.</p>
<p dir="auto">I have a problem with the embedded Java client (for testing) after moving our <a href="https://github.com/molindo/esi4j">our Java integration library</a> from 1.0 to 1.4.0.Beta. We use the Java client embedded.</p> <p dir="auto">During application restart, we check if an index exists and create or update it. Now we have the problem, that <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/indices-exists.html" rel="nofollow">indices exists</a> returns false, causing <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/indices-create-index.html" rel="nofollow">create index</a> to fail.</p> <p dir="auto">I tried IRC for a solution but <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/karmi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/karmi">@karmi</a> thought it's supposedly a bug.</p> <p dir="auto">(test case to follow)</p>
1
<h3 dir="auto">Bug report</h3> <p dir="auto">A segmentation fault happening with PySide2 5.12.1 but not with 5.11.0.<br> This might be an upstream issue.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import sys import faulthandler faulthandler.enable(file=sys.stdout) from matplotlib import rcParams from matplotlib.backends.backend_qt5agg import FigureCanvas as Canvas from matplotlib.figure import Figure from PySide2.QtWidgets import QApplication, QVBoxLayout, QWidget class MatplotlibWidget(QWidget): def __init__(self): QWidget.__init__(self) self.canvas = Canvas(Figure()) vertLayout = QVBoxLayout() vertLayout.addWidget(self.canvas) self.setLayout(vertLayout) self.axes = self.canvas.figure.add_subplot(111) if __name__ == &quot;__main__&quot;: qapp = QApplication(sys.argv) app = MatplotlibWidget() app.axes.plot(range(12), range(12)) app.show() qapp.exec_()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">sys</span> <span class="pl-k">import</span> <span class="pl-s1">faulthandler</span> <span class="pl-s1">faulthandler</span>.<span class="pl-en">enable</span>(<span class="pl-s1">file</span><span class="pl-c1">=</span><span class="pl-s1">sys</span>.<span class="pl-s1">stdout</span>) <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">rcParams</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_qt5agg</span> <span class="pl-k">import</span> <span class="pl-v">FigureCanvas</span> <span class="pl-k">as</span> <span class="pl-v">Canvas</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">figure</span> <span class="pl-k">import</span> <span class="pl-v">Figure</span> <span class="pl-k">from</span> <span class="pl-v">PySide2</span>.<span class="pl-v">QtWidgets</span> <span class="pl-k">import</span> <span class="pl-v">QApplication</span>, <span class="pl-v">QVBoxLayout</span>, <span class="pl-v">QWidget</span> <span class="pl-k">class</span> <span class="pl-v">MatplotlibWidget</span>(<span class="pl-v">QWidget</span>): <span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>): <span class="pl-v">QWidget</span>.<span class="pl-en">__init__</span>(<span class="pl-s1">self</span>) <span class="pl-s1">self</span>.<span class="pl-s1">canvas</span> <span class="pl-c1">=</span> <span class="pl-v">Canvas</span>(<span class="pl-v">Figure</span>()) <span class="pl-s1">vertLayout</span> <span class="pl-c1">=</span> <span class="pl-v">QVBoxLayout</span>() <span class="pl-s1">vertLayout</span>.<span class="pl-en">addWidget</span>(<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>) <span class="pl-s1">self</span>.<span class="pl-en">setLayout</span>(<span class="pl-s1">vertLayout</span>) <span class="pl-s1">self</span>.<span class="pl-s1">axes</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>.<span class="pl-s1">figure</span>.<span class="pl-en">add_subplot</span>(<span class="pl-c1">111</span>) <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>: <span class="pl-s1">qapp</span> <span class="pl-c1">=</span> <span class="pl-v">QApplication</span>(<span class="pl-s1">sys</span>.<span class="pl-s1">argv</span>) <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">MatplotlibWidget</span>() <span class="pl-s1">app</span>.<span class="pl-s1">axes</span>.<span class="pl-en">plot</span>(<span class="pl-en">range</span>(<span class="pl-c1">12</span>), <span class="pl-en">range</span>(<span class="pl-c1">12</span>)) <span class="pl-s1">app</span>.<span class="pl-en">show</span>() <span class="pl-s1">qapp</span>.<span class="pl-en">exec_</span>()</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto">This code works fine for PySide2 5.11.0 but crashes for 5.12.1:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Fatal Python error: Segmentation fault Current thread 0x00000001142cb5c0 (most recent call first): File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 525 in _compile_bytecode File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 857 in get_code File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 724 in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 677 in _load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 967 in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 983 in _find_and_load File &quot;/usr/local/lib/python3.7/site-packages/matplotlib/projections/__init__.py&quot;, line 3 in &lt;module&gt; File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219 in _call_with_frames_removed File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 728 in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 677 in _load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 967 in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 983 in _find_and_load File &quot;/usr/local/lib/python3.7/site-packages/matplotlib/figure.py&quot;, line 42 in &lt;module&gt; File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219 in _call_with_frames_removed File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 728 in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 677 in _load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 967 in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 983 in _find_and_load File &quot;/usr/local/lib/python3.7/site-packages/matplotlib/backends/backend_qt5.py&quot;, line 17 in &lt;module&gt; File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219 in _call_with_frames_removed File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 728 in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 677 in _load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 967 in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 983 in _find_and_load File &quot;/usr/local/lib/python3.7/site-packages/matplotlib/backends/backend_qt5agg.py&quot;, line 11 in &lt;module&gt; File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219 in _call_with_frames_removed File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 728 in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 677 in _load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 967 in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 983 in _find_and_load File &quot;script.py&quot;, line 6 in &lt;module&gt; [1] 98230 segmentation fault python3 script.py"><pre class="notranslate"><code class="notranslate">Fatal Python error: Segmentation fault Current thread 0x00000001142cb5c0 (most recent call first): File "&lt;frozen importlib._bootstrap_external&gt;", line 525 in _compile_bytecode File "&lt;frozen importlib._bootstrap_external&gt;", line 857 in get_code File "&lt;frozen importlib._bootstrap_external&gt;", line 724 in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 677 in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 967 in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 983 in _find_and_load File "/usr/local/lib/python3.7/site-packages/matplotlib/projections/__init__.py", line 3 in &lt;module&gt; File "&lt;frozen importlib._bootstrap&gt;", line 219 in _call_with_frames_removed File "&lt;frozen importlib._bootstrap_external&gt;", line 728 in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 677 in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 967 in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 983 in _find_and_load File "/usr/local/lib/python3.7/site-packages/matplotlib/figure.py", line 42 in &lt;module&gt; File "&lt;frozen importlib._bootstrap&gt;", line 219 in _call_with_frames_removed File "&lt;frozen importlib._bootstrap_external&gt;", line 728 in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 677 in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 967 in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 983 in _find_and_load File "/usr/local/lib/python3.7/site-packages/matplotlib/backends/backend_qt5.py", line 17 in &lt;module&gt; File "&lt;frozen importlib._bootstrap&gt;", line 219 in _call_with_frames_removed File "&lt;frozen importlib._bootstrap_external&gt;", line 728 in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 677 in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 967 in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 983 in _find_and_load File "/usr/local/lib/python3.7/site-packages/matplotlib/backends/backend_qt5agg.py", line 11 in &lt;module&gt; File "&lt;frozen importlib._bootstrap&gt;", line 219 in _call_with_frames_removed File "&lt;frozen importlib._bootstrap_external&gt;", line 728 in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 677 in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 967 in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 983 in _find_and_load File "script.py", line 6 in &lt;module&gt; [1] 98230 segmentation fault python3 script.py </code></pre></div> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: macOS X 10.14.3</li> <li>Matplotlib version: 3.0.2</li> <li>Python version: 3.7.2</li> </ul>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Importing matplotlib after PySide2 is imported causes crash occasionally. When the order of imports is reversed, the occasional crash goes away. I'm not sure whether this is PySide2's problem or Matplotlib's. I've also reported this bug on <a href="https://bugreports.qt.io/browse/PYSIDE-937" rel="nofollow">Qt Bug Tracker</a>.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from PySide2.QtCore import * from PySide2.QtGui import * from PySide2.QtWidgets import * print('pyside') import matplotlib.pyplot print('matplotlib')"><pre class="notranslate"><code class="notranslate">from PySide2.QtCore import * from PySide2.QtGui import * from PySide2.QtWidgets import * print('pyside') import matplotlib.pyplot print('matplotlib') </code></pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto">No specific error message, I only got this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Process finished with exit code -1073741819 (0xC0000005)"><pre class="notranslate"><code class="notranslate">Process finished with exit code -1073741819 (0xC0000005) </code></pre></div> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Windows 10 64-bit</li> <li>Matplotlib version: 3.0.2</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): TkAgg</li> <li>Python version: 3.7.2 64-bit</li> <li>Other libraries: PySide2/shiboken2: 5.12.1</li> </ul> <p dir="auto">Matplotlib, PySide2/shiboken2 were all installed via pip.</p>
1
<p dir="auto">I only have one encoder, but it lists 50+ encoder variables in the side bar (see attached). This also happens for my decoder. I presume that it is duplicating the variables for each time step? Notice that it says 500+ inputs!</p> <p dir="auto">Also, the graph becomes unwieldy and barely loaded in Safari (crashed in Chrome, wouldn't load in Firefox), and is displayed with a <i>very</i> long list of variable names (see attached).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1364252/11982491/e9e57346-a968-11e5-9d05-1c6e6faded1e.jpg"><img src="https://cloud.githubusercontent.com/assets/1364252/11982491/e9e57346-a968-11e5-9d05-1c6e6faded1e.jpg" alt="tf1" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1364252/11982496/eceb63ca-a968-11e5-9c59-3960f635f653.jpg"><img src="https://cloud.githubusercontent.com/assets/1364252/11982496/eceb63ca-a968-11e5-9c59-3960f635f653.jpg" alt="tf2" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Error Message</strong><br> UnknownError: Fail to find the dnn implementation.</p> <p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Pop!_OS 19.04</li> <li>TensorFlow installed from (source or binary): jupyter</li> <li>TensorFlow version (use command below): !pip install tensorflow-gpu</li> <li>Python version: 3.7.3</li> <li>CUDA/cuDNN version: 10.0, cudnn 7.4.5.1</li> <li>GPU model and memory: See below RTX 2070 Max-q</li> </ul> <p dir="auto">[I 21:20:12.056 LabApp] Saving file at /Downloads/text_classification_rnn.ipynb<br> [W 21:20:12.057 LabApp] Notebook Downloads/text_classification_rnn.ipynb is not trusted<br> [I 21:21:07.912 LabApp] Kernel interrupted: fe30308a-41da-4a83-8fa9-93bf6c87fb6c<br> [I 21:22:12.102 LabApp] Saving file at /Downloads/text_classification_rnn.ipynb<br> [W 21:22:12.103 LabApp] Notebook Downloads/text_classification_rnn.ipynb is not trusted<br> 2019-05-25 21:22:15.359388: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1546] Adding visible gpu devices: 0<br> 2019-05-25 21:22:15.359425: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1015] Device interconnect StreamExecutor with strength 1 edge matrix:<br> 2019-05-25 21:22:15.359432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1021] 0<br> 2019-05-25 21:22:15.359436: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1034] 0: N<br> 2019-05-25 21:22:15.359592: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1149] Created TensorFlow device (/device:GPU:0 with 6704 MB memory) -&gt; physical GPU (device: 0, name: GeForce RTX 2070 with Max-Q Design, pci bus id: 0000:01:00.0, compute capability: 7.5)<br> 2019-05-25 21:22:19.514494: W ./tensorflow/core/framework/model.h:202] Encountered a stop event that was not preceded by a start event.<br> 2019-05-25 21:22:20.872486: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR<br> 2019-05-25 21:22:20.872526: W tensorflow/core/framework/op_kernel.cc:1431] OP_REQUIRES failed at cudnn_rnn_ops.cc:1280 : Unknown: Fail to find the dnn implementation.<br> 2019-05-25 21:22:20.872567: W tensorflow/core/common_runtime/base_collective_executor.cc:214] BaseCollectiveExecutor::StartAbort Unknown: Fail to find the dnn implementation.<br> [[{{node bidirectional_2/CudnnRNN}}]]<br> [[loss_2/dense_5_loss/binary_crossentropy/weighted_loss/broadcast_weights/assert_broadcastable/is_valid_shape/else/_1/has_valid_nonscalar_shape/then/_47/has_invalid_dims_0/_52]]<br> 2019-05-25 21:22:20.872626: W tensorflow/core/common_runtime/base_collective_executor.cc:214] BaseCollectiveExecutor::StartAbort Unknown: Fail to find the dnn implementation.<br> [[{{node bidirectional_2/CudnnRNN}}]]<br> 2019-05-25 21:22:20.872655: E tensorflow/core/common_runtime/process_function_library_runtime.cc:764] Component function execution failed: Unknown: Fail to find the dnn implementation.<br> [[{{node bidirectional_2/CudnnRNN}}]]<br> [[loss_2/dense_5_loss/binary_crossentropy/weighted_loss/broadcast_weights/assert_broadcastable/is_valid_shape/else/_1/has_valid_nonscalar_shape/then/_47/has_invalid_dims_0/_52]]<br> 2019-05-25 21:22:20.875125: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR<br> 2019-05-25 21:22:20.875145: W tensorflow/core/framework/op_kernel.cc:1431] OP_REQUIRES failed at cudnn_rnn_ops.cc:1280 : Unknown: Fail to find the dnn implementation.<br> 2019-05-25 21:22:20.875197: E tensorflow/core/common_runtime/process_function_library_runtime.cc:764] Component function execution failed: Unknown: Fail to find the dnn implementation.<br> [[{{node bidirectional_2/CudnnRNN}}]]</p>
0
<p dir="auto">I am trying for the life of me to get one of the more efficient source map option working.</p> <p dir="auto">When I use any <code class="notranslate">source-map</code> oriented devtool setting, if I try and set a breakpoint in Chrome 48.0.2564.82, it jumps to a different line that what I selected.</p> <p dir="auto">If I use <code class="notranslate">eval-source-map</code> not only do I get the line number jump, but I also never get a break point stop even on the line it jumped to.</p>
<p dir="auto"><strong>I'm submitting a bug report</strong></p> <p dir="auto"><strong>Webpack version:</strong><br> 1.10.x</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> OSX 10.x</p> <p dir="auto"><strong>Current behavior:</strong><br> A module is evaluated twice.</p> <p dir="auto"><strong>Expected/desired behavior:</strong><br> This should not happen by default. It really goes against the <a href="http://www.ecma-international.org/ecma-262/6.0/#sec-moduleevaluation" rel="nofollow">ES6 module contract</a>.</p> <ul dir="auto"> <li><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with a gist/jsbin of your webpack configuration.</strong><br> Using the <code class="notranslate">DedupePlugin</code> <a href="https://github.com/webpack/webpack/issues/2134" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/2134/hovercard">does not solve the issue</a> (I tried and verified). No repro yet, but I have a file that starts with the following, and as you can see it has a console.log at the top level:</li> </ul> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// infamous/motor/Node.js import 'geometry-interfaces' import Motor from './Motor' import MotorHTMLNode from '../motor-html/node' console.log(' -- Node module ?????!')"><pre class="notranslate"><span class="pl-c">// infamous/motor/Node.js</span> <span class="pl-k">import</span> <span class="pl-s">'geometry-interfaces'</span> <span class="pl-k">import</span> <span class="pl-v">Motor</span> <span class="pl-k">from</span> <span class="pl-s">'./Motor'</span> <span class="pl-k">import</span> <span class="pl-v">MotorHTMLNode</span> <span class="pl-k">from</span> <span class="pl-s">'../motor-html/node'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">' -- Node module ?????!'</span><span class="pl-kos">)</span></pre></div> <p dir="auto">Multiple modules in the app import that file, and the <code class="notranslate">console.log</code> statement is fired twice, as seen in the output:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/297678/16609912/641914be-430c-11e6-9ac1-2b7244d7a8c2.png"><img src="https://cloud.githubusercontent.com/assets/297678/16609912/641914be-430c-11e6-9ac1-2b7244d7a8c2.png" alt="screen shot 2016-07-05 at 11 25 51 pm" style="max-width: 100%;"></a></p> <ul dir="auto"> <li><strong>What is the expected behavior?</strong><br> The <code class="notranslate">-- Node module ?????!</code> output should only appear once.</li> <li><strong>What is the motivation / use case for changing the behavior?</strong><br> If this isn't a bug, then to follow the spec, making modules easier to reason about and less error-prone. Problems can happen when data structures are expected to be singletons.</li> <li><strong>Browser:</strong> not applicable</li> <li><strong>Language:</strong> ES6/7 via Babel</li> </ul>
0
<p dir="auto">MWE:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; g(::Ref{Union{Int, Other}}) where {Other} = Other g (generic function with 1 method) julia&gt; g(Ref{Union{Int, Float64}}(1)) Float64 julia&gt; g(Ref{Union{Int, Array}}(1)) ERROR: MethodError: no method matching g(::Base.RefValue{Union{Int64, Array}}) Closest candidates are: g(::Ref{Union{Int64, Other}}) where Other at REPL[3]:1 Stacktrace: [1] top-level scope at REPL[5]:1 julia&gt; versioninfo() Julia Version 1.5.2 Commit 539f3ce943* (2020-09-23 23:17 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: AMD Ryzen 5 2600 Six-Core Processor WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-9.0.1 (ORCJIT, znver1) Environment: JULIA_NUM_THREADS = 6 "><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-en">g</span>(<span class="pl-k">::</span><span class="pl-c1">Ref{Union{Int, Other}}</span>) <span class="pl-k">where</span> {Other} <span class="pl-k">=</span> Other g (generic <span class="pl-k">function</span> with <span class="pl-c1">1</span> method) julia<span class="pl-k">&gt;</span> <span class="pl-c1">g</span>(<span class="pl-c1">Ref</span><span class="pl-c1">{Union{Int, Float64}}</span>(<span class="pl-c1">1</span>)) Float64 julia<span class="pl-k">&gt;</span> <span class="pl-c1">g</span>(<span class="pl-c1">Ref</span><span class="pl-c1">{Union{Int, Array}}</span>(<span class="pl-c1">1</span>)) ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> no method matching <span class="pl-c1">g</span>(<span class="pl-k">::</span><span class="pl-c1">Base.RefValue{Union{Int64, Array}}</span>) Closest candidates are<span class="pl-k">:</span> <span class="pl-c1">g</span>(<span class="pl-k">::</span><span class="pl-c1">Ref{Union{Int64, Other}}</span>) <span class="pl-k">where</span> Other at REPL[<span class="pl-c1">3</span>]<span class="pl-k">:</span><span class="pl-c1">1</span> Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] top<span class="pl-k">-</span>level scope at REPL[<span class="pl-c1">5</span>]<span class="pl-k">:</span><span class="pl-c1">1</span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">versioninfo</span>() Julia Version <span class="pl-c1">1.5</span>.<span class="pl-c1">2</span> Commit <span class="pl-c1">539f3</span>ce943<span class="pl-k">*</span> (<span class="pl-c1">2020</span><span class="pl-k">-</span><span class="pl-c1">09</span><span class="pl-k">-</span><span class="pl-c1">23</span> <span class="pl-c1">23</span><span class="pl-k">:</span><span class="pl-c1">17</span> UTC) Platform Info<span class="pl-k">:</span> OS<span class="pl-k">:</span> Linux (x86_64<span class="pl-k">-</span>pc<span class="pl-k">-</span>linux<span class="pl-k">-</span>gnu) CPU<span class="pl-k">:</span> AMD Ryzen <span class="pl-c1">5</span> <span class="pl-c1">2600</span> Six<span class="pl-k">-</span>Core Processor WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span> LIBM<span class="pl-k">:</span> libopenlibm LLVM<span class="pl-k">:</span> libLLVM<span class="pl-k">-</span><span class="pl-c1">9.0</span>.<span class="pl-c1">1</span> (ORCJIT, znver1) Environment<span class="pl-k">:</span> JULIA_NUM_THREADS <span class="pl-k">=</span> <span class="pl-c1">6</span> </pre></div> <p dir="auto">Seems like a bug with <code class="notranslate">UnionAll</code> to me.</p> <p dir="auto"><em>Originally posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MasonProtter/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MasonProtter">@MasonProtter</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="710619274" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/37790" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/37790/hovercard?comment_id=700409442&amp;comment_type=issue_comment" href="https://github.com/JuliaLang/julia/issues/37790#issuecomment-700409442">#37790 (comment)</a></em></p>
<p dir="auto">This might be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="642624025" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/36377" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/36377/hovercard" href="https://github.com/JuliaLang/julia/issues/36377">#36377</a>, not sure.</p> <p dir="auto">Suppose I want to make a type</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Foo{I &lt;: Integer} v::Vector{Complex{I}} end"><pre class="notranslate"><code class="notranslate">struct Foo{I &lt;: Integer} v::Vector{Complex{I}} end </code></pre></div> <p dir="auto">Now, at runtime, I have a vector of integer <code class="notranslate">Complex</code>, but I don't know <em>which</em> integer type, so I can just make an abstractly typed array:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; v = Complex{&lt;:Integer}[Complex{Int}(1, 1)] 1-element Array{Complex{var&quot;#s16&quot;} where var&quot;#s16&quot;&lt;:Integer,1}: 1 + 1im"><pre class="notranslate"><code class="notranslate">julia&gt; v = Complex{&lt;:Integer}[Complex{Int}(1, 1)] 1-element Array{Complex{var"#s16"} where var"#s16"&lt;:Integer,1}: 1 + 1im </code></pre></div> <p dir="auto">But now, how do I wrap <code class="notranslate">v</code> in a <code class="notranslate">Foo</code>?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; Foo{&lt;:Integer}(v) ERROR: MethodError: no method matching Foo{var&quot;#s12&quot;} where var&quot;#s12&quot;&lt;:Integer(::Array{Complex{var&quot;#s16&quot;} where var&quot;#s16&quot;&lt;:Integer,1})"><pre class="notranslate"><code class="notranslate">julia&gt; Foo{&lt;:Integer}(v) ERROR: MethodError: no method matching Foo{var"#s12"} where var"#s12"&lt;:Integer(::Array{Complex{var"#s16"} where var"#s16"&lt;:Integer,1}) </code></pre></div> <p dir="auto">One workaround is to instead define</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Foo{C &lt;: Complex{&lt;:Integer}} v::Vector{C} end"><pre class="notranslate"><code class="notranslate">struct Foo{C &lt;: Complex{&lt;:Integer}} v::Vector{C} end </code></pre></div> <p dir="auto">But I think having <code class="notranslate">Complex</code> as part of <code class="notranslate">Foo</code>'s signature is unnecessary. Would it be possible to enable the "direct" use of <code class="notranslate">&lt;:Integer</code> in this case?</p>
0
<h3 dir="auto">Is there an existing issue for this?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the existing issues</li> </ul> <h3 dir="auto">This issue exists in the latest npm version</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I am using the latest npm</li> </ul> <h3 dir="auto">Current Behavior</h3> <p dir="auto"><code class="notranslate">npm install</code> does not work if try to install one workspace to another</p> <p dir="auto">STR:</p> <ul dir="auto"> <li><code class="notranslate">mkdir foo &amp;&amp; cd ./foo</code></li> <li><code class="notranslate">npm init -y</code></li> <li><code class="notranslate">npm init -y -w ./pkg-a</code></li> <li><code class="notranslate">npm init -y -w ./pkg-b</code></li> <li><code class="notranslate">npm install ./pkg-a -w pkg-b</code></li> </ul> <p dir="auto">AR: <code class="notranslate">npm ERR! Cannot set properties of null (setting 'dev')</code><br> ER: Behaviour similar to <code class="notranslate">cd ./pkg-b &amp;&amp; npm install ../pkg-a</code></p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Steps To Reproduce</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>npm: 8.1.0</li> <li>Node: v16.13.0</li> <li>OS: macOS 12.0.1</li> <li>platform: Darwin arm64</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="60 verbose stack TypeError: Cannot set properties of null (setting 'dev') 60 verbose stack at calcDepFlagsStep (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:34:21) 60 verbose stack at visit (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:12:20) 60 verbose stack at visitNode (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:57:25) 60 verbose stack at next (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:44:19) 60 verbose stack at depth (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:82:10) 60 verbose stack at depth (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth.js:27:12) 60 verbose stack at calcDepFlags (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:10:15) 60 verbose stack at Arborist.[copyIdealToActual] (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1400:7) 60 verbose stack at Arborist.reify (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:35) 60 verbose stack at async Install.install (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/lib/install.js:170:5) 61 verbose cwd /private/tmp/foo"><pre class="notranslate"><code class="notranslate">60 verbose stack TypeError: Cannot set properties of null (setting 'dev') 60 verbose stack at calcDepFlagsStep (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:34:21) 60 verbose stack at visit (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:12:20) 60 verbose stack at visitNode (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:57:25) 60 verbose stack at next (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:44:19) 60 verbose stack at depth (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:82:10) 60 verbose stack at depth (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/treeverse/lib/depth.js:27:12) 60 verbose stack at calcDepFlags (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:10:15) 60 verbose stack at Arborist.[copyIdealToActual] (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1400:7) 60 verbose stack at Arborist.reify (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:35) 60 verbose stack at async Install.install (/Users/maksim/.nvm/versions/node/v16.13.0/lib/node_modules/npm/lib/install.js:170:5) 61 verbose cwd /private/tmp/foo </code></pre></div>
<h3 dir="auto">EDIT</h3> <p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1019460977" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/3847" data-hovercard-type="issue" data-hovercard-url="/npm/cli/issues/3847/hovercard?comment_id=1219533329&amp;comment_type=issue_comment" href="https://github.com/npm/cli/issues/3847#issuecomment-1219533329">#3847 (comment)</a> for minimum reproduction case. --<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wraithgar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wraithgar">@wraithgar</a></p> <hr> <h3 dir="auto">Is there an existing issue for this?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the existing issues</li> </ul> <h3 dir="auto">Current Behavior</h3> <p dir="auto">Running <code class="notranslate">npm install --workspace=&lt;workspace&gt;</code> is resulting in npm exiting with an errorcode and the following stack trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="290 timing command:install Completed in 2473ms 291 verbose stack TypeError: Cannot set property 'dev' of null 291 verbose stack at calcDepFlagsStep (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:34:21) 291 verbose stack at visit (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:12:20) 291 verbose stack at visitNode (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:57:25) 291 verbose stack at next (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:44:19) 291 verbose stack at depth (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:82:10) 291 verbose stack at depth (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth.js:27:12) 291 verbose stack at calcDepFlags (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:10:15) 291 verbose stack at Arborist.[copyIdealToActual] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1375:7) 291 verbose stack at Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:151:35) 291 verbose stack at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5) 292 verbose cwd /usr/src 293 verbose Linux 5.10.47-linuxkit 294 verbose argv &quot;/usr/local/bin/node&quot; &quot;/usr/local/bin/npm&quot; &quot;install&quot; &quot;--workspace=scheduler&quot; 295 verbose node v14.16.1 296 verbose npm v7.24.2 297 error Cannot set property 'dev' of null 298 verbose exit 1"><pre class="notranslate"><code class="notranslate">290 timing command:install Completed in 2473ms 291 verbose stack TypeError: Cannot set property 'dev' of null 291 verbose stack at calcDepFlagsStep (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:34:21) 291 verbose stack at visit (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:12:20) 291 verbose stack at visitNode (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:57:25) 291 verbose stack at next (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:44:19) 291 verbose stack at depth (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:82:10) 291 verbose stack at depth (/usr/local/lib/node_modules/npm/node_modules/treeverse/lib/depth.js:27:12) 291 verbose stack at calcDepFlags (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js:10:15) 291 verbose stack at Arborist.[copyIdealToActual] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1375:7) 291 verbose stack at Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:151:35) 291 verbose stack at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5) 292 verbose cwd /usr/src 293 verbose Linux 5.10.47-linuxkit 294 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--workspace=scheduler" 295 verbose node v14.16.1 296 verbose npm v7.24.2 297 error Cannot set property 'dev' of null 298 verbose exit 1 </code></pre></div> <p dir="auto">Dockerfile for container I'm running the command in:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM node:14.16.1 RUN npm install -g [email protected] RUN mkdir -p /usr/src/ WORKDIR /usr/src COPY ./package.json /usr/src/ COPY ./scheduler/package.json /usr/src/scheduler/ RUN npm install --workspace=scheduler"><pre class="notranslate"><code class="notranslate">FROM node:14.16.1 RUN npm install -g [email protected] RUN mkdir -p /usr/src/ WORKDIR /usr/src COPY ./package.json /usr/src/ COPY ./scheduler/package.json /usr/src/scheduler/ RUN npm install --workspace=scheduler </code></pre></div> <p dir="auto">node_modules seem to successfully install but npm exits with an error code</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">npm install completes without raising an error</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>Setup an npm project with workspaces</li> <li>Create a docker container according to the above specifications, with one of the commands attempting to run npm install for a specific workspace</li> <li>Attempt to build the container</li> <li>npm installs node_modules successfully but exits with error</li> </ol> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: Debian GNU/Linux 9 (stretch)</li> <li>Node: 14.16.1</li> <li>npm: 7.24.2</li> </ul>
1
<ul dir="auto"> <li>Electron version: 1.7.9</li> <li>Operating system: Windows</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">The datalist element should let the user to select a predefined value from a drop-down list for input elements.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">After selecting a value from drop-down list, that value is displayed in the input field, but the "value" property of that input element is an empty string instead of the selected value.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Using the below code snippet. The input element's value will be displayed as the window title.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;input id=&quot;test-field&quot; type=&quot;text&quot; list=&quot;test-list&quot; /&gt; &lt;datalist id=&quot;test-list&quot;&gt; &lt;option value = &quot;Car&quot; /&gt; &lt;option value = &quot;Bike&quot; /&gt; &lt;option value = &quot;Truck&quot; /&gt; &lt;/datalist&gt; &lt;script&gt; document.getElementById(&quot;test-field&quot;).addEventListener(&quot;input&quot;, (e) =&gt; { document.title = &quot;Value is: &quot; + e.target.value; }); &lt;/script&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">id</span>="<span class="pl-s">test-field</span>" <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">list</span>="<span class="pl-s">test-list</span>" /&gt; <span class="pl-kos">&lt;</span><span class="pl-ent">datalist</span> <span class="pl-c1">id</span>="<span class="pl-s">test-list</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">value</span> = "<span class="pl-s">Car</span>" /&gt; <span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">value</span> = "<span class="pl-s">Bike</span>" /&gt; <span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">value</span> = "<span class="pl-s">Truck</span>" /&gt; <span class="pl-kos">&lt;/</span><span class="pl-ent">datalist</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">"test-field"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">"input"</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-c1">title</span> <span class="pl-c1">=</span> <span class="pl-s">"Value is: "</span> <span class="pl-c1">+</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">target</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">Electron version: 1.7.3 beta<br> Operating system: Windows 7 x86_64 Professional</p> <p dir="auto">Clicking the pyramid icon on an input control associated with a data list and picking a value from the list, then evaluating <code class="notranslate">value</code> property of the input control, the value is expected to match the text chosen from the data list, which the input control is now showing.</p> <p dir="auto">Instead, the text returned by <code class="notranslate">value</code> property is an empty string, or at least the string that was manually typed into the input control prior.</p> <p dir="auto">Only manual editing of value of the input control, as you would with an ordinary text input without a n associated datalist, causes the <code class="notranslate">value</code> property to yield the same text that the input control is showing.</p> <p dir="auto">Using following markup to reproduce by loading up default Electron distribution and typing <code class="notranslate">document.location = ...; /* path to file containing below text */</code> in Developer Tools console:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;body&gt; &lt;input list=&quot;foobar&quot;&gt; &lt;datalist id=&quot;foobar&quot;&gt; &lt;option value=&quot;apple&quot;&gt; &lt;option value=&quot;orange&quot;&gt; &lt;option value=&quot;banana&quot;&gt; &lt;/datalist&gt; &lt;/body&gt; &lt;/html&gt;"><pre class="notranslate"><code class="notranslate">&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;body&gt; &lt;input list="foobar"&gt; &lt;datalist id="foobar"&gt; &lt;option value="apple"&gt; &lt;option value="orange"&gt; &lt;option value="banana"&gt; &lt;/datalist&gt; &lt;/body&gt; &lt;/html&gt; </code></pre></div>
1
<h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: Yes</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Mac 10.13.3</li> <li><strong>TensorFlow installed from (source or binary)</strong>: source</li> <li><strong>TensorFlow version (use command below)</strong>: 1.6</li> <li><strong>Python version</strong>: 3.6.3</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.9</li> <li><strong>CUDA/cuDNN version</strong>: 9/7</li> <li><strong>GPU model and memory</strong>: 1080Ti &amp; 12G</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <p dir="auto">I wrote MobileNet code to train a model from scratch. Also tried using MobileNet keras function for training but none of the model converts to tflite.</p> <p dir="auto">I am running following command</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=/MobileNet-trined.pb --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --output_file=train-1.tflite --inference_type=FLOAT --input_arrays=input_1 --output_arrays=dense_1/Sigmoid --allow_custom_ops"><pre class="notranslate"><code class="notranslate">./bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=/MobileNet-trined.pb --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --output_file=train-1.tflite --inference_type=FLOAT --input_arrays=input_1 --output_arrays=dense_1/Sigmoid --allow_custom_ops </code></pre></div> <p dir="auto">It gives me following result</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-04-17 15:25:11.070338: I tensorflow/contrib/lite/toco/import_tensorflow.cc:1236] Converting unsupported operation: RandomUniform 2018-04-17 15:25:11.098993: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 865 operators, 1364 arrays (0 quantized) 2018-04-17 15:25:11.139921: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] After Removing unused ops pass 1: 809 operators, 1280 arrays (0 quantized) 2018-04-17 15:25:11.183528: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 809 operators, 1280 arrays (0 quantized) 1984959600 2006980784 2018-04-17 15:25:11.184242: F tensorflow/contrib/lite/toco/graph_transformations/resolve_batch_normalization.cc:90] Check failed: mean_shape.dims() == multiplier_shape.dims() Abort trap: 6"><pre class="notranslate"><code class="notranslate">2018-04-17 15:25:11.070338: I tensorflow/contrib/lite/toco/import_tensorflow.cc:1236] Converting unsupported operation: RandomUniform 2018-04-17 15:25:11.098993: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 865 operators, 1364 arrays (0 quantized) 2018-04-17 15:25:11.139921: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] After Removing unused ops pass 1: 809 operators, 1280 arrays (0 quantized) 2018-04-17 15:25:11.183528: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 809 operators, 1280 arrays (0 quantized) 1984959600 2006980784 2018-04-17 15:25:11.184242: F tensorflow/contrib/lite/toco/graph_transformations/resolve_batch_normalization.cc:90] Check failed: mean_shape.dims() == multiplier_shape.dims() Abort trap: 6 </code></pre></div>
<h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: yes</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Ubuntu 16.04.4</li> <li><strong>TensorFlow installed from (source or binary)</strong>: source</li> <li><strong>TensorFlow version (use command below)</strong>: r1.6 commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/cbc658095ae228f2f557af47e4901d552573aa15/hovercard" href="https://github.com/tensorflow/tensorflow/commit/cbc658095ae228f2f557af47e4901d552573aa15"><tt>cbc6580</tt></a></li> <li><strong>Python version</strong>: 3.5.2</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.11.1</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)</li> <li><strong>CUDA/cuDNN version</strong>: N/A (build without support CUDA)</li> <li><strong>GPU model and memory</strong>: N/A (build without support CUDA)</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Trained model, successfully froze, it works on the tensorflow android, using TensorFlowInferenceInterface.<br> I try to convert this into a TF Lite format, but I get an error.</p> <h3 dir="auto">Source code / logs</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bazel-bin/tensorflow/contrib/lite/toco/toco \ --input_file=./test_model/frozen_graph.pb \ --input_format=TENSORFLOW_GRAPHDEF \ --output_file=./test_model/unet.tflite \ --output_format=TFLITE \ --input_array='input' \ --input_data_type=FLOAT \ --input_shape=2,192,320,1 \ --inference_type=FLOAT \ --inference_input_type=FLOAT \ --output_array='final/Sigmoid' \ --v=1"><pre class="notranslate"><code class="notranslate">bazel-bin/tensorflow/contrib/lite/toco/toco \ --input_file=./test_model/frozen_graph.pb \ --input_format=TENSORFLOW_GRAPHDEF \ --output_file=./test_model/unet.tflite \ --output_format=TFLITE \ --input_array='input' \ --input_data_type=FLOAT \ --input_shape=2,192,320,1 \ --inference_type=FLOAT \ --inference_input_type=FLOAT \ --output_array='final/Sigmoid' \ --v=1 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-03-13 21:07:12.711948: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 282 operators, 479 arrays (0 quantized) 2018-03-13 21:07:12.716274: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 282 operators, 479 arrays (0 quantized) 2018-03-13 21:07:12.716893: F tensorflow/contrib/lite/toco/graph_transformations/resolve_batch_normalization.cc:86] Check failed: mean_shape.dims() == multiplier_shape.dims() Aborted (core dumped)"><pre class="notranslate"><code class="notranslate">2018-03-13 21:07:12.711948: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 282 operators, 479 arrays (0 quantized) 2018-03-13 21:07:12.716274: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 282 operators, 479 arrays (0 quantized) 2018-03-13 21:07:12.716893: F tensorflow/contrib/lite/toco/graph_transformations/resolve_batch_normalization.cc:86] Check failed: mean_shape.dims() == multiplier_shape.dims() Aborted (core dumped) </code></pre></div>
1
<p dir="auto">Hi all.</p> <p dir="auto">I've asked this question here: <a href="http://stackoverflow.com/questions/35274885/can-you-have-a-stand-alone-directive-in-angular-2" rel="nofollow">http://stackoverflow.com/questions/35274885/can-you-have-a-stand-alone-directive-in-angular-2</a></p> <p dir="auto">It came down to using within a component, but it's throwing an error:</p> <blockquote> <p dir="auto">The component Slider has 1 elements, but only 0 slots were provided.</p> </blockquote> <p dir="auto">Slider.ts</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import {Component, View, ElementRef} from 'angular2/core'; @Component({ selector: 'Slider', template: '&lt;ng-content&gt;&lt;/ng-content&gt;' }) export class Slider { constructor(private element: ElementRef) { console.log('Slider'); } }"><pre class="notranslate"><code class="notranslate">import {Component, View, ElementRef} from 'angular2/core'; @Component({ selector: 'Slider', template: '&lt;ng-content&gt;&lt;/ng-content&gt;' }) export class Slider { constructor(private element: ElementRef) { console.log('Slider'); } } </code></pre></div> <p dir="auto">index.html<br> <code class="notranslate">&lt;Slider&gt;&lt;div&gt;hello world&lt;/div&gt;&lt;/Slider&gt;</code></p> <p dir="auto">Is this a bug with the system or am I writing this out wrong? The code itself within the index HTML disappears from the DOM at run time.</p> <p dir="auto">Here is a plnkr: <a href="https://plnkr.co/UH42bVv93Fedrre7GKFI" rel="nofollow">https://plnkr.co/UH42bVv93Fedrre7GKFI</a> Hopefully that works for you</p>
<p dir="auto"><a href="http://plnkr.co/edit/5731Z9N6tQ391gQtfZrA?p=preview" rel="nofollow">http://plnkr.co/edit/5731Z9N6tQ391gQtfZrA?p=preview</a></p> <p dir="auto">I've been over the documentation 10 times, I've read through the source code, tutorials, the works... and I still can't wrap my head around what I'm doing wrong.</p> <p dir="auto">all I want to do is:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;app myTitle='my awesome title'&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">app</span> <span class="pl-c1">myTitle</span>='<span class="pl-s">my awesome title</span>'<span class="pl-kos">&gt;</span> </pre></div> <p dir="auto">and access myTitle from inside the constructor.</p> <p dir="auto">Is that possible in NG2?</p>
1
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> I am not sure,maybe a bug.</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: ref is not a function at commitAttachRef (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:13520:7) at commitAllLifeCycles (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:13995:9) at HTMLUnknownElement.boundFunc (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:229:14) at invokeGuardedCallback (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:243:16) at invokeGuardedCallback (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:278:34) at commitAllWork (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14101:19) at completeUnitOfWork (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14241:11) at performUnitOfWork (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14273:14) at workLoop (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14395:26) at HTMLUnknownElement.boundFunc (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:229:14)"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: ref is not a function at commitAttachRef (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:13520:7) at commitAllLifeCycles (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:13995:9) at HTMLUnknownElement.boundFunc (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:229:14) at invokeGuardedCallback (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:243:16) at invokeGuardedCallback (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:278:34) at commitAllWork (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14101:19) at completeUnitOfWork (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14241:11) at performUnitOfWork (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14273:14) at workLoop (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:14395:26) at HTMLUnknownElement.boundFunc (eval at 18 (vendor.bf495772693e68a40763.js:746), &lt;anonymous&gt;:229:14) </code></pre></div> <p dir="auto">And when I debugger,I find below:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/4ffb7c7179d2555c763dd967d9ce7a13a7d21bb3b49fdb2f9b7a24c4a90dae80/687474703a2f2f692e696d6775722e636f6d2f564d43665841622e6a7067"><img src="https://camo.githubusercontent.com/4ffb7c7179d2555c763dd967d9ce7a13a7d21bb3b49fdb2f9b7a24c4a90dae80/687474703a2f2f692e696d6775722e636f6d2f564d43665841622e6a7067" alt="Imgur" data-canonical-src="http://i.imgur.com/VMCfXAb.jpg" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/e428d37f84a19cb0a4225f916d30efca3faaa9c38cf7df39766d4ca07b677c7b/687474703a2f2f692e696d6775722e636f6d2f517954344873782e6a7067"><img src="https://camo.githubusercontent.com/e428d37f84a19cb0a4225f916d30efca3faaa9c38cf7df39766d4ca07b677c7b/687474703a2f2f692e696d6775722e636f6d2f517954344873782e6a7067" alt="Imgur" data-canonical-src="http://i.imgur.com/QyT4Hsx.jpg" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p> <p dir="auto">I use react-16.0.0-alpha.12. windows-64,chrome-canary-61.0.3113.0</p>
<p dir="auto">This is not react bug (it is more about react docs) but I tried all those channels recommended to get help without result, so I have no choice but to post it here.</p> <p dir="auto">I opened this issue in react docs repository but no response. Here is the link:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1000707609" data-permission-text="Title is private" data-url="https://github.com/reactjs/react.dev/issues/3915" data-hovercard-type="issue" data-hovercard-url="/reactjs/react.dev/issues/3915/hovercard" href="https://github.com/reactjs/react.dev/issues/3915">reactjs/react.dev#3915</a></p> <p dir="auto">There is also related highly voted question on Stack overflow:<br> <a href="https://stackoverflow.com/questions/61999810/store-a-callback-in-useref" rel="nofollow">https://stackoverflow.com/questions/61999810/store-a-callback-in-useref</a></p> <p dir="auto">So maybe we can get some help here?</p>
0
<ul dir="auto"> <li>VSCode Version: 1.0.0</li> <li>OS Version: Windows7 64bit</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>type <code class="notranslate">CTRL-SHIFT-P</code></li> <li>type <code class="notranslate">install ext</code></li> </ol> <p dir="auto">Before 1.0.0, we can get installation of extensions with typing <code class="notranslate">install ext</code>, but latest are not because <code class="notranslate">install extension</code> is translated to <code class="notranslate">拡張機能</code> in japanese.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10111/14548428/bae3df3c-02f1-11e6-8cea-e68bd4c0385e.png"><img src="https://cloud.githubusercontent.com/assets/10111/14548428/bae3df3c-02f1-11e6-8cea-e68bd4c0385e.png" alt="efa2b5478a55e89c" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10111/14548482/1bb6cd6a-02f2-11e6-956c-361e6fcc51a5.png"><img src="https://cloud.githubusercontent.com/assets/10111/14548482/1bb6cd6a-02f2-11e6-956c-361e6fcc51a5.png" alt="dbbf89b814f02335" style="max-width: 100%;"></a></p> <p dir="auto">:(</p> <p dir="auto">I'm happy if the launch menu have match with <code class="notranslate">install ext</code> also.</p>
<ul dir="auto"> <li>VSCode Version:<br> バージョン 0.10.12-insider<br> コミット <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/ef2a1fcaa553d14d7731b284a5ac5e4a55c42936/hovercard" href="https://github.com/microsoft/vscode/commit/ef2a1fcaa553d14d7731b284a5ac5e4a55c42936"><tt>ef2a1fc</tt></a><br> 日付 2016-03-21T11:33:38.240Z<br> シェル 0.35.6<br> レンダラー 45.0.2454.85<br> ノード 4.1.1</li> </ul> <p dir="auto">Even Japanese people, typing Japanese words are very painful and time-consuming because of IME composition problems.<br> We expects that the commands are all in English.<br> For example, if I want to execute git pull, I will type "git pull"; not "git プル".</p> <p dir="auto">Hope you can understand our situation.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1311400/14054201/b8673f88-f31a-11e5-9b62-070c47d86350.png"><img src="https://cloud.githubusercontent.com/assets/1311400/14054201/b8673f88-f31a-11e5-9b62-070c47d86350.png" alt="image" style="max-width: 100%;"></a></p>
1
<p dir="auto">Suppose you have an output <code class="notranslate">save</code> that is (incorrectly) connected to a non-stream:</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component( selector: 'editor', outputs: const ['save'], ... ) class Editor { // Oops, this was supposed to be an output! void save() { saveToBackend(); } }"><pre class="notranslate"><span class="pl-k">@Component</span>( selector<span class="pl-k">:</span> <span class="pl-s">'editor'</span>, outputs<span class="pl-k">:</span> <span class="pl-k">const</span> [<span class="pl-s">'save'</span>], ... ) <span class="pl-k">class</span> <span class="pl-c1">Editor</span> { <span class="pl-c">// Oops, this was supposed to be an output!</span> <span class="pl-k">void</span> <span class="pl-en">save</span>() { <span class="pl-en">saveToBackend</span>(); } }</pre></div> <p dir="auto">and suppose you use it like this:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div *ngIf=&quot;dataLoaded&quot;&gt; ... 100 lines of other template code... &lt;editor&gt;&lt;/editor&gt; &lt;/div&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">*ngIf</span>="<span class="pl-s">dataLoaded</span>"<span class="pl-kos">&gt;</span> ... 100 lines of other template code... <span class="pl-kos">&lt;</span><span class="pl-ent">editor</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">editor</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">Notice how this use of the <code class="notranslate">&lt;editor&gt;</code> tag doesn't even use <code class="notranslate">(save)</code>.<br> Angular will aggressively try to listen to the <code class="notranslate">save</code> stream and fail with an error message sort of like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caught EXCEPTION: type '() =&gt; void' is not a subtype of type 'Stream' of 's'. in [dataLoaded in FooComponent@229:47] ORIGINAL EXCEPTION: type '() =&gt; void' is not a subtype of type 'Stream' of 's'. ORIGINAL STACKTRACE: #0 ObservableWrapper.subscribe (package:angular2/src/facade/async.dart:28:46) #1 DynamicChangeDetector.hydrateDirectives.&lt;anonymous closure&gt; (package:angular2/src/core/change_detection/dynamic_change_detector.dart:133:33) #2 List.forEach (dart:core-patch/growable_array.dart:233) #3 DynamicChangeDetector.hydrateDirectives (package:angular2/src/core/change_detection/dynamic_change_detector.dart:127:19) #4 AbstractChangeDetector.hydrate (package:angular2/src/core/change_detection/abstract_change_detector.dart:189:10) #5 AppView.init (package:angular2/src/core/linker/view.dart:160:25) #6 RuntimeViewFactory.createViewFactory.&lt;anonymous closure&gt; (package:angular2/src/compiler/view_compiler.dart:516:12) #7 AppViewManager_.createEmbeddedViewInContainer (package:angular2/src/core/linker/view_manager.dart:257:30) #8 ViewContainerRef_.createEmbeddedView (package:angular2/src/core/linker/view_container_ref.dart:146:15) #9 NgIf.ngIf= (package:angular2/src/common/directives/ng_if.dart:39:27) #10 _LocalInstanceMirror.setField (dart:mirrors-patch/mirrors_impl.dart:503) #11 ReflectionCapabilities.setter.&lt;anonymous closure&gt; (package:angular2/src/core/reflection/reflection_capabilities.dart:293:27) #12 DynamicChangeDetector._updateDirectiveOrElement (package:angular2/src/core/change_detection/dynamic_change_detector.dart:266:21) #13 DynamicChangeDetector.detectChangesInRecordsInternal (package:angular2/src/core/change_detection/dynamic_change_detector.dart:209:16) #14 AbstractChangeDetector.detectChangesInRecords (package:angular2/src/core/change_detection/abstract_change_detector.dart:155:12) #15 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:129:10) #16 AbstractChangeDetector._detectChangesContentChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:247:12) #17 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:130:10) #18 AbstractChangeDetector._detectChangesContentChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:247:12) #19 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:130:10) #20 AbstractChangeDetector._detectChangesInViewChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:255:12) #21 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:132:10) #22 AbstractChangeDetector._detectChangesInViewChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:255:12) #23 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:132:10) #24 AbstractChangeDetector.detectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:115:10) #25 ChangeDetectorRef_.detectChanges (package:angular2/src/core/change_detection/change_detector_ref.dart:209:14) #26 ApplicationRef_.tick.&lt;anonymous closure&gt; (package:angular2/src/core/application_ref.dart:516:63) #27 List.forEach (dart:core-patch/growable_array.dart:233) #28 ApplicationRef_.tick (package:angular2/src/core/application_ref.dart:516:32) #29 ApplicationRef_.ApplicationRef_.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:angular2/src/core/application_ref.dart:406:16) #30 _rootRun (dart:async/zone.dart:907) #31 _ZoneDelegate.run (dart:async/zone.dart:502) #32 NgZone._run (package:angular2/src/core/zone/ng_zone.dart:291:21) #33 _CustomZone.run (dart:async/zone.dart:802) #34 _CustomZone.runGuarded (dart:async/zone.dart:708) #35 NgZone.run (package:angular2/src/core/zone/ng_zone.dart:251:23) #36 ApplicationRef_.ApplicationRef_.&lt;anonymous closure&gt; (package:angular2/src/core/application_ref.dart:405:20) #37 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:26) #38 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #39 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:14) #40 _rootRunUnary (dart:async/zone.dart:914) #41 _CustomZone.runUnary (dart:async/zone.dart:810) #42 _CustomZone.runUnaryGuarded (dart:async/zone.dart:716) #43 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341) #44 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270) #45 _SyncBroadcastStreamController._sendData.&lt;anonymous closure&gt; (dart:async/broadcast_stream_controller.dart:389) #46 _BroadcastStreamController._forEachListener (dart:async/broadcast_stream_controller.dart:331) #47 _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:388) #48 _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:256) #49 NgZone._notifyOnTurnDone (package:angular2/src/core/zone/ng_zone.dart:157:26) #50 NgZone._run (package:angular2/src/core/zone/ng_zone.dart:300:13) #51 _CustomZone.run (dart:async/zone.dart:802) #52 _CustomZone.runGuarded (dart:async/zone.dart:708) #53 NgZone.run (package:angular2/src/core/zone/ng_zone.dart:251:23) #54 DomEventsPlugin.addEventListener.&lt;anonymous closure&gt; (package:angular2/src/platform/dom/events/dom_events.dart:19:42) #55 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:26) #56 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #57 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:14) #58 _rootRunUnary (dart:async/zone.dart:914) #59 _CustomZone.runUnary (dart:async/zone.dart:810) #60 _CustomZone.runUnaryGuarded (dart:async/zone.dart:716) #61 _CustomZone.bindUnaryCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:742) #62 wrap_event_listener.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (dart:html:1189) #63 JsObject._callMethod (dart:js:1153) #64 JsNative.callMethod (dart:js:1170) #65 Blink_JsNative_DomException.callMethod (dart:_blink:17259) #66 BlinkHTMLElement.click_Callback_0_ (dart:_blink:5426) #67 HtmlElement.click (dart:html:21018) #68 Future.Future.microtask.&lt;anonymous closure&gt; (dart:async/future.dart:144) #69 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #70 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:127:48) #71 _rootRun (dart:async/zone.dart:903) #72 _CustomZone.run (dart:async/zone.dart:802) #73 _CustomZone.runGuarded (dart:async/zone.dart:708) #74 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:733) #75 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #76 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:127:48) #77 _rootRun (dart:async/zone.dart:907) #78 _CustomZone.run (dart:async/zone.dart:802) #79 _CustomZone.runGuarded (dart:async/zone.dart:708) #80 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:733) #81 _microtaskLoop (dart:async/schedule_microtask.dart:41) #82 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50) #83 _ScheduleImmediateHelper._handleMutation (dart:html:49254) #84 MutationObserver._create.&lt;anonymous closure&gt; (dart:html:27525)"><pre class="notranslate"><code class="notranslate">Caught EXCEPTION: type '() =&gt; void' is not a subtype of type 'Stream' of 's'. in [dataLoaded in FooComponent@229:47] ORIGINAL EXCEPTION: type '() =&gt; void' is not a subtype of type 'Stream' of 's'. ORIGINAL STACKTRACE: #0 ObservableWrapper.subscribe (package:angular2/src/facade/async.dart:28:46) #1 DynamicChangeDetector.hydrateDirectives.&lt;anonymous closure&gt; (package:angular2/src/core/change_detection/dynamic_change_detector.dart:133:33) #2 List.forEach (dart:core-patch/growable_array.dart:233) #3 DynamicChangeDetector.hydrateDirectives (package:angular2/src/core/change_detection/dynamic_change_detector.dart:127:19) #4 AbstractChangeDetector.hydrate (package:angular2/src/core/change_detection/abstract_change_detector.dart:189:10) #5 AppView.init (package:angular2/src/core/linker/view.dart:160:25) #6 RuntimeViewFactory.createViewFactory.&lt;anonymous closure&gt; (package:angular2/src/compiler/view_compiler.dart:516:12) #7 AppViewManager_.createEmbeddedViewInContainer (package:angular2/src/core/linker/view_manager.dart:257:30) #8 ViewContainerRef_.createEmbeddedView (package:angular2/src/core/linker/view_container_ref.dart:146:15) #9 NgIf.ngIf= (package:angular2/src/common/directives/ng_if.dart:39:27) #10 _LocalInstanceMirror.setField (dart:mirrors-patch/mirrors_impl.dart:503) #11 ReflectionCapabilities.setter.&lt;anonymous closure&gt; (package:angular2/src/core/reflection/reflection_capabilities.dart:293:27) #12 DynamicChangeDetector._updateDirectiveOrElement (package:angular2/src/core/change_detection/dynamic_change_detector.dart:266:21) #13 DynamicChangeDetector.detectChangesInRecordsInternal (package:angular2/src/core/change_detection/dynamic_change_detector.dart:209:16) #14 AbstractChangeDetector.detectChangesInRecords (package:angular2/src/core/change_detection/abstract_change_detector.dart:155:12) #15 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:129:10) #16 AbstractChangeDetector._detectChangesContentChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:247:12) #17 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:130:10) #18 AbstractChangeDetector._detectChangesContentChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:247:12) #19 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:130:10) #20 AbstractChangeDetector._detectChangesInViewChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:255:12) #21 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:132:10) #22 AbstractChangeDetector._detectChangesInViewChildren (package:angular2/src/core/change_detection/abstract_change_detector.dart:255:12) #23 AbstractChangeDetector.runDetectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:132:10) #24 AbstractChangeDetector.detectChanges (package:angular2/src/core/change_detection/abstract_change_detector.dart:115:10) #25 ChangeDetectorRef_.detectChanges (package:angular2/src/core/change_detection/change_detector_ref.dart:209:14) #26 ApplicationRef_.tick.&lt;anonymous closure&gt; (package:angular2/src/core/application_ref.dart:516:63) #27 List.forEach (dart:core-patch/growable_array.dart:233) #28 ApplicationRef_.tick (package:angular2/src/core/application_ref.dart:516:32) #29 ApplicationRef_.ApplicationRef_.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:angular2/src/core/application_ref.dart:406:16) #30 _rootRun (dart:async/zone.dart:907) #31 _ZoneDelegate.run (dart:async/zone.dart:502) #32 NgZone._run (package:angular2/src/core/zone/ng_zone.dart:291:21) #33 _CustomZone.run (dart:async/zone.dart:802) #34 _CustomZone.runGuarded (dart:async/zone.dart:708) #35 NgZone.run (package:angular2/src/core/zone/ng_zone.dart:251:23) #36 ApplicationRef_.ApplicationRef_.&lt;anonymous closure&gt; (package:angular2/src/core/application_ref.dart:405:20) #37 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:26) #38 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #39 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:14) #40 _rootRunUnary (dart:async/zone.dart:914) #41 _CustomZone.runUnary (dart:async/zone.dart:810) #42 _CustomZone.runUnaryGuarded (dart:async/zone.dart:716) #43 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341) #44 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270) #45 _SyncBroadcastStreamController._sendData.&lt;anonymous closure&gt; (dart:async/broadcast_stream_controller.dart:389) #46 _BroadcastStreamController._forEachListener (dart:async/broadcast_stream_controller.dart:331) #47 _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:388) #48 _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:256) #49 NgZone._notifyOnTurnDone (package:angular2/src/core/zone/ng_zone.dart:157:26) #50 NgZone._run (package:angular2/src/core/zone/ng_zone.dart:300:13) #51 _CustomZone.run (dart:async/zone.dart:802) #52 _CustomZone.runGuarded (dart:async/zone.dart:708) #53 NgZone.run (package:angular2/src/core/zone/ng_zone.dart:251:23) #54 DomEventsPlugin.addEventListener.&lt;anonymous closure&gt; (package:angular2/src/platform/dom/events/dom_events.dart:19:42) #55 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:26) #56 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #57 StackZoneSpecification.registerUnaryCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:137:14) #58 _rootRunUnary (dart:async/zone.dart:914) #59 _CustomZone.runUnary (dart:async/zone.dart:810) #60 _CustomZone.runUnaryGuarded (dart:async/zone.dart:716) #61 _CustomZone.bindUnaryCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:742) #62 wrap_event_listener.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (dart:html:1189) #63 JsObject._callMethod (dart:js:1153) #64 JsNative.callMethod (dart:js:1170) #65 Blink_JsNative_DomException.callMethod (dart:_blink:17259) #66 BlinkHTMLElement.click_Callback_0_ (dart:_blink:5426) #67 HtmlElement.click (dart:html:21018) #68 Future.Future.microtask.&lt;anonymous closure&gt; (dart:async/future.dart:144) #69 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #70 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:127:48) #71 _rootRun (dart:async/zone.dart:903) #72 _CustomZone.run (dart:async/zone.dart:802) #73 _CustomZone.runGuarded (dart:async/zone.dart:708) #74 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:733) #75 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:208:15) #76 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:127:48) #77 _rootRun (dart:async/zone.dart:907) #78 _CustomZone.run (dart:async/zone.dart:802) #79 _CustomZone.runGuarded (dart:async/zone.dart:708) #80 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:733) #81 _microtaskLoop (dart:async/schedule_microtask.dart:41) #82 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50) #83 _ScheduleImmediateHelper._handleMutation (dart:html:49254) #84 MutationObserver._create.&lt;anonymous closure&gt; (dart:html:27525) </code></pre></div> <p dir="auto">Notice how obscure this error is. It doesn't point to the erroneous line, it doesn't mention the faulty component, it complains about the nearest enclosing <code class="notranslate">ngIf</code>, as if it's at fault, and that <code class="notranslate">ngIf</code> might be <em>really</em> far away from the issue. I wasted hours debugging this and still needed an Angular engineer to help figure it out.</p> <p dir="auto">Please improve the error message to make this situation debuggable. E.g. when the <code class="notranslate">ngIf</code> failed to produce its inner contents, the reason why seemed to get swallowed up but I bet it doesn't have to be that way.</p>
<p dir="auto">Related: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="102171259" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/3754" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/3754/hovercard" href="https://github.com/angular/angular/issues/3754">#3754</a> (should be fixed together)</p> <p dir="auto">Listing an event in a directive without creating an associated <code class="notranslate">EventEmitter</code> instance results in cryptic error:</p> <blockquote> <p dir="auto">TypeError: Cannot read property 'observer' of undefined<br> at Function.ObservableWrapper.subscribe (angular2.js:19403)<br> at EventEmitterAccessor.subscribe (angular2.js:26062)<br> at AppViewManagerUtils._setUpEventEmitters (angular2.js:20932)<br> at AppViewManagerUtils._hydrateView (angular2.js:20896)<br> at AppViewManagerUtils.hydrateRootHostView (angular2.js:20814)<br> at AppViewManager.createRootHostView (angular2.js:23990)<br> at angular2.js:13594<br> at Zone.run (zone.js:113)<br> at Zone.run (angular2.js:12928)<br> at zoneBoundFn (zone.js:86)</p> </blockquote> <p dir="auto">To reproduce:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Directive({ selector: '[foo]' }) class Foo { @Output() foo; // not initialized to = new EventEmitter(); }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Directive</span>({ <span class="pl-s1">selector</span>: <span class="pl-s">'[foo]'</span> }) <span class="pl-k">class</span> <span class="pl-smi">Foo</span> { <span class="pl-c1">@</span><span class="pl-c1">Output</span>() <span class="pl-smi">foo</span><span class="pl-s1"></span>; <span class="pl-c">// not initialized to = new EventEmitter();</span> }</pre></div>
1
<p dir="auto">A checkbox/toggle in the General Settings page to disable the Power Toys system tray icon.</p> <p dir="auto">Or, better yet (but more work), a Power Toy to choose all system tray icons to be enabled/disabled as some applications do not have the ability to completely disable their system tray icon.</p>
<p dir="auto">It would be nice if in keyboard manager we could map macros for excels, games etc or do a task on pressing a empty key or keys that are not used like scroll lock or the entire numpad on a mouse or a keyboard like running security scan through command prompt or doing through gui like opening youtube, discord or starting a steam and also have the ability to add multiple functions to one key and mix of both gui and command prompt. note that it should also support powershell</p>
0
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 1.0.0<br> <strong>System</strong>: Microsoft Windows 7 Professional<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33) at HTMLDocument.handler (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)"><pre class="notranslate"><code class="notranslate">At C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33) at HTMLDocument.handler (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\rhegde\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -0:33.8.0 bracket-matcher:go-to-matching-bracket (atom-text-editor.editor.is-focused) -0:31.7.0 application:open-file (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> -0:33.8.0 bracket-matcher:go-to-matching-bracket (atom-text-editor.editor.is-focused) -0:31.7.0 application:open-file (atom-text-editor.editor.is-focused) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;themes&quot;: [ &quot;atom-dark-ui&quot;, &quot;atom-dark-syntax&quot; ], &quot;autoHideMenuBar&quot;: true }, &quot;editor&quot;: { &quot;fontSize&quot;: 16 } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>atom-dark-syntax<span class="pl-pds">"</span></span> ], <span class="pl-ent">"autoHideMenuBar"</span>: <span class="pl-c1">true</span> }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">16</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User No installed packages # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> <span class="pl-en">No</span> <span class="pl-en">installed</span> packages <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">I right-clicked on a folder in the tree view</p> <p dir="auto"><strong>Atom Version</strong>: 0.194.0<br> <strong>System</strong>: Windows 7 Entreprise<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) "><pre class="notranslate"><code class="notranslate">At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;ignoredNames&quot;: [ &quot;node_modules&quot; ], &quot;themes&quot;: [ &quot;atom-dark-ui&quot;, &quot;seti-syntax&quot; ], &quot;disabledPackages&quot;: [ &quot;Tern&quot; ], &quot;projectHome&quot;: &quot;Y:\\app-tfoumax&quot; }, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;softWrap&quot;: true, &quot;showIndentGuide&quot;: true } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"ignoredNames"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span> ], <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>seti-syntax<span class="pl-pds">"</span></span> ], <span class="pl-ent">"disabledPackages"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>Tern<span class="pl-pds">"</span></span> ], <span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>Y:<span class="pl-cce">\\</span>app-tfoumax<span class="pl-pds">"</span></span> }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User autocomplete-plus, v2.12.0 autocomplete-snippets, v1.2.0 javascript-snippets, v1.0.0 jshint, v1.3.5 language-ejs, v0.1.0 linter, v0.12.1 pretty-json, v0.3.3 save-session, v0.14.0 Search, v0.4.0 seti-syntax, v0.4.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span> autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span> javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span> jshint, v1.<span class="pl-ii">3</span>.<span class="pl-ii">5</span> language<span class="pl-k">-</span>ejs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span> linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span> pretty<span class="pl-k">-</span>json, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span> save<span class="pl-k">-</span>session, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span> Search, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> seti<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.5.2 (issue on 4.5.. and 4.5.4)</li> <li>Operating System / Platform =&gt; Gentoo Linux 64 bit</li> <li>Compiler =&gt; gcc</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Compilation fails agaisn tlapack-3.10.0 with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:166:23: error: too few arguments to function ‘void sposv_(const char*, const int*, const int*, float*, const int*, float*, const int*, int*, size_t)’ 166 | sposv_(L, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)b, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13003:6: note: declared here 13003 | void LAPACK_sposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:168:23: error: too few arguments to function ‘void dposv_(const char*, const int*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 168 | dposv_(L, &amp;m, &amp;n, (double*)a, &amp;lda, (double*)b, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:12986:6: note: declared here 12986 | void LAPACK_dposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:177:23: error: too few arguments to function ‘void sposv_(const char*, const int*, const int*, float*, const int*, float*, const int*, int*, size_t)’ 177 | sposv_(L, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)tmpB, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13003:6: note: declared here 13003 | void LAPACK_sposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:179:23: error: too few arguments to function ‘void dposv_(const char*, const int*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 179 | dposv_(L, &amp;m, &amp;n, (double*)a, &amp;lda, (double*)tmpB, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:12986:6: note: declared here 12986 | void LAPACK_dposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:188:20: error: too few arguments to function ‘void spotrf_(const char*, const int*, float*, const int*, int*, size_t)’ 188 | spotrf_(L, &amp;m, (float*)a, &amp;lda, &amp;lapackStatus); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13394:6: note: declared here 13394 | void LAPACK_spotrf_base( | ^~~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:190:20: error: too few arguments to function ‘void dpotrf_(const char*, const int*, double*, const int*, int*, size_t)’ 190 | dpotrf_(L, &amp;m, (double*)a, &amp;lda, &amp;lapackStatus); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13378:6: note: declared here 13378 | void LAPACK_dpotrf_base( | ^~~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp: In function ‘int lapack_SVD(fptype*, size_t, fptype*, fptype*, size_t, fptype*, size_t, int, int, int, int*)’: /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:230:16: error: too few arguments to function ‘void sgesdd_(const char*, const int*, const int*, float*, const int*, float*, float*, const int*, float*, const int*, float*, const int*, int*, int*, size_t)’ 230 | sgesdd_(mode, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)w, (float*)u, &amp;ldu, (float*)vt, &amp;ldv, (float*)&amp;work1, &amp;lwork, iworkBuf, info); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:3264:6: note: declared here 3264 | void LAPACK_sgesdd_base( | ^~~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:238:16: error: too few arguments to function ‘void sgesdd_(const char*, const int*, const int*, float*, const int*, float*, float*, const int*, float*, const int*, float*, const int*, int*, int*, size_t)’ 238 | sgesdd_(mode, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)w, (float*)u, &amp;ldu, (float*)vt, &amp;ldv, (float*)buffer, &amp;lwork, iworkBuf, info); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:3264:6: note: declared here 3264 | void LAPACK_sgesdd_base("><pre lang="/build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:" class="notranslate"><code class="notranslate">/build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:166:23: error: too few arguments to function ‘void sposv_(const char*, const int*, const int*, float*, const int*, float*, const int*, int*, size_t)’ 166 | sposv_(L, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)b, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13003:6: note: declared here 13003 | void LAPACK_sposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:168:23: error: too few arguments to function ‘void dposv_(const char*, const int*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 168 | dposv_(L, &amp;m, &amp;n, (double*)a, &amp;lda, (double*)b, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:12986:6: note: declared here 12986 | void LAPACK_dposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:177:23: error: too few arguments to function ‘void sposv_(const char*, const int*, const int*, float*, const int*, float*, const int*, int*, size_t)’ 177 | sposv_(L, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)tmpB, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13003:6: note: declared here 13003 | void LAPACK_sposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:179:23: error: too few arguments to function ‘void dposv_(const char*, const int*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 179 | dposv_(L, &amp;m, &amp;n, (double*)a, &amp;lda, (double*)tmpB, &amp;m, &amp;lapackStatus); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:12986:6: note: declared here 12986 | void LAPACK_dposv_base( | ^~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:188:20: error: too few arguments to function ‘void spotrf_(const char*, const int*, float*, const int*, int*, size_t)’ 188 | spotrf_(L, &amp;m, (float*)a, &amp;lda, &amp;lapackStatus); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13394:6: note: declared here 13394 | void LAPACK_spotrf_base( | ^~~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:190:20: error: too few arguments to function ‘void dpotrf_(const char*, const int*, double*, const int*, int*, size_t)’ 190 | dpotrf_(L, &amp;m, (double*)a, &amp;lda, &amp;lapackStatus); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:13378:6: note: declared here 13378 | void LAPACK_dpotrf_base( | ^~~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp: In function ‘int lapack_SVD(fptype*, size_t, fptype*, fptype*, size_t, fptype*, size_t, int, int, int, int*)’: /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:230:16: error: too few arguments to function ‘void sgesdd_(const char*, const int*, const int*, float*, const int*, float*, float*, const int*, float*, const int*, float*, const int*, int*, int*, size_t)’ 230 | sgesdd_(mode, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)w, (float*)u, &amp;ldu, (float*)vt, &amp;ldv, (float*)&amp;work1, &amp;lwork, iworkBuf, info); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:3264:6: note: declared here 3264 | void LAPACK_sgesdd_base( | ^~~~~~~~~~~~~~~~~~ /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:238:16: error: too few arguments to function ‘void sgesdd_(const char*, const int*, const int*, float*, const int*, float*, float*, const int*, float*, const int*, float*, const int*, int*, int*, size_t)’ 238 | sgesdd_(mode, &amp;m, &amp;n, (float*)a, &amp;lda, (float*)w, (float*)u, &amp;ldu, (float*)vt, &amp;ldv, (float*)buffer, &amp;lwork, iworkBuf, info); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from ./opencv_lapack.h:12, from /build/opencv-cuda/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:3264:6: note: declared here 3264 | void LAPACK_sgesdd_base( </code></pre></div> <p dir="auto">see also : <a href="https://bugs.gentoo.org/800539" rel="nofollow">gentoo bug</a> and <a href="https://github.com/opencv/opencv/issues/19846" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/19846/hovercard">similar issue againts lapack-3.9.1</a></p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">Try to compile againt lapack-3.10.0</p> <h5 dir="auto">Issue submission checklist</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues,<br> forum.opencv.org, Stack Overflow, etc and have not found solution </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to latest OpenCV version and the issue is still there </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> There is reproducer code and related data files: videos, images, onnx, etc </li> </ul>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.5.2</li> <li>Operating System / Platform =&gt; Linux</li> <li>Compiler =&gt; GCC 10.2.0</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">opencv fails to build with lapack 3.9.1 with the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp: In function ‘int lapack_QR(fptype*, size_t, int, int, int, fptype*, size_t, fptype*, int*)’: /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:293:111: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 293 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)b, &amp;m, (double*)&amp;work1, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:302:111: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 302 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)b, &amp;m, (double*)buffer, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:314:114: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 314 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)tmpB, &amp;m, (double*)&amp;work1, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:323:114: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 323 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)tmpB, &amp;m, (double*)buffer, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ [ 9%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.dispatch.cpp.o [ 9%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o [ 9%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:509: modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs...."><pre class="notranslate"><code class="notranslate">/build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp: In function ‘int lapack_QR(fptype*, size_t, int, int, int, fptype*, size_t, fptype*, int*)’: /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:293:111: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 293 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)b, &amp;m, (double*)&amp;work1, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:302:111: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 302 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)b, &amp;m, (double*)buffer, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:314:114: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 314 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)tmpB, &amp;m, (double*)&amp;work1, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:323:114: error: too few arguments to function ‘void dgels_(const char*, const int*, const int*, const int*, double*, const int*, double*, const int*, double*, const int*, int*, size_t)’ 323 | dgels_(mode, &amp;m, &amp;n, &amp;k, (double*)tmpA, &amp;ldtmpA, (double*)tmpB, &amp;m, (double*)buffer, &amp;lwork, info); | ^ In file included from /usr/include/lapack.h:11, from /usr/include/lapacke.h:36, from /build/opencv/src/build/opencv_lapack.h:12, from /build/opencv/src/opencv-4.5.2/modules/core/src/hal_internal.cpp:51: /usr/include/lapack.h:1525:6: note: declared here 1525 | void LAPACK_dgels_base( | ^~~~~~~~~~~~~~~~~ [ 9%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.dispatch.cpp.o [ 9%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o [ 9%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:509: modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... </code></pre></div> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">Build opencv with lapack 3.9.1</p> <p dir="auto">Possibly related: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/Reference-LAPACK/lapack/commit/2d9fbdeecca906d7abb89e9cc16b02ed5286298e/hovercard" href="https://github.com/Reference-LAPACK/lapack/commit/2d9fbdeecca906d7abb89e9cc16b02ed5286298e">Reference-LAPACK/lapack@<tt>2d9fbde</tt></a></p>
1
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery. (not against latest commit specifically but against latest version 4.4.5)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 4.4.5 (cliffs)</p> <p dir="auto">Celery Report:<br> <a href="https://pastebin.com/0x13Xjiq" rel="nofollow">https://pastebin.com/0x13Xjiq</a></p> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: 3.6.8</li> <li><strong>Minimal Celery Version</strong>: 4.4.1</li> <li><strong>Minimal Kombu Version</strong>: 4.6.8</li> <li><strong>Minimal Broker Version</strong>: Unknown</li> <li><strong>Minimal Result Backend Version</strong>: Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: Ubuntu 18</li> <li><strong>Minimal Broker Client Version</strong>: Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Only relevant packages shown below as 15five is not open-source: amqp==2.6.0 billiard==3.6.3.0 celery==4.4.5 Django==2.2.13 django-celery-results==1.2.1 future==0.18.2 importlib-metadata==1.6.1 kombu==4.6.10 vine==1.3.0 pytz==2020.1 zipp==3.1.0"><pre class="notranslate"><code class="notranslate">Only relevant packages shown below as 15five is not open-source: amqp==2.6.0 billiard==3.6.3.0 celery==4.4.5 Django==2.2.13 django-celery-results==1.2.1 future==0.18.2 importlib-metadata==1.6.1 kombu==4.6.10 vine==1.3.0 pytz==2020.1 zipp==3.1.0 </code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> broker: AWS elasticache redis </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <p dir="auto"><a href="https://github.com/caleb15/celeryPickleBugReproduction">https://github.com/caleb15/celeryPickleBugReproduction</a></p> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">Error to not happen. If error is a result of our faulty user code, then I would expect the celery queue to log a error and continue operating.</p> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">We get a AttributeError and the queue dies. Upon celery restart the queue continues to process events, but eventually hit the same error and dies again.</p> <p dir="auto">I can send a link to the sentry error event directly to a celery engineer if one is interested. Otherwise the relevant info is below:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="AttributeError billiard.reduction in loadbuf Error on stopping Pool: &quot;AttributeError(\&quot;can't set attribute\&quot;)&quot; billiard/reduction.py in loadbuf at line 61 billiard/connection.py in recv at line 279 celery/concurrency/asynpool.py in _flush_outqueue at line 412 celery/concurrency/asynpool.py in iterate_file_descriptors_safely at line 240 celery/concurrency/asynpool.py in on_stop_not_started at line 387 billiard/pool.py in stop at line 526 billiard/pool.py in stop_if_not_current at line 145 billiard/pool.py in join at line 1622 celery/concurrency/prefork.py in on_stop at line 145 celery/concurrency/base.py in stop at line 123 celery/bootsteps.py in stop at line 373 celery/bootsteps.py in send_all at line 151"><pre class="notranslate"><code class="notranslate">AttributeError billiard.reduction in loadbuf Error on stopping Pool: "AttributeError(\"can't set attribute\")" billiard/reduction.py in loadbuf at line 61 billiard/connection.py in recv at line 279 celery/concurrency/asynpool.py in _flush_outqueue at line 412 celery/concurrency/asynpool.py in iterate_file_descriptors_safely at line 240 celery/concurrency/asynpool.py in on_stop_not_started at line 387 billiard/pool.py in stop at line 526 billiard/pool.py in stop_if_not_current at line 145 billiard/pool.py in join at line 1622 celery/concurrency/prefork.py in on_stop at line 145 celery/concurrency/base.py in stop at line 123 celery/bootsteps.py in stop at line 373 celery/bootsteps.py in send_all at line 151 </code></pre></div> <p dir="auto">Another stacktrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="celery/concurrency/asynpool.py in _recv_message at line 332 celery/concurrency/asynpool.py in on_result_readable at line 351 kombu/asynchronous/hub.py in create_loop at line 364 celery/worker/loops.py in asynloop at line 83 celery/worker/consumer/consumer.py in start at line 599 celery/bootsteps.py in start at line 119 celery/worker/consumer/consumer.py in start at line 318 celery/bootsteps.py in start at line 369 celery/bootsteps.py in start at line 119 celery/worker/worker.py in start at line 208"><pre class="notranslate"><code class="notranslate">celery/concurrency/asynpool.py in _recv_message at line 332 celery/concurrency/asynpool.py in on_result_readable at line 351 kombu/asynchronous/hub.py in create_loop at line 364 celery/worker/loops.py in asynloop at line 83 celery/worker/consumer/consumer.py in start at line 599 celery/bootsteps.py in start at line 119 celery/worker/consumer/consumer.py in start at line 318 celery/bootsteps.py in start at line 369 celery/bootsteps.py in start at line 119 celery/worker/worker.py in start at line 208 </code></pre></div> <p dir="auto">sys.argv:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[/srv/venvs/py3/lib/python3.7/site-packages/celery/__main__.py, worker, -A, ff, --loglevel=INFO, -Q, celery, --logfile=/var/log/celery/default%I.log, --pidfile=/var/run/celery/default.pid, --hostname=default@celery0]"><pre class="notranslate"><code class="notranslate">[/srv/venvs/py3/lib/python3.7/site-packages/celery/__main__.py, worker, -A, ff, --loglevel=INFO, -Q, celery, --logfile=/var/log/celery/default%I.log, --pidfile=/var/run/celery/default.pid, --hostname=default@celery0] </code></pre></div> <h2 dir="auto">What we have tried so far:</h2> <p dir="auto">We have tried the following without success:</p> <ul dir="auto"> <li>Updating python version from 3.6.8 to 3.7.7</li> <li>Upgrading celery</li> <li>Moving most tasks out of the default queue into other queues</li> <li>pinpointing which task caused the error by looking through logs (we have been unable to pinpoint any specific task, the last task processed before error varies)</li> </ul> <h2 dir="auto">[update] identification &amp; cause of error:</h2> <p dir="auto">Our staff engineer noticed the task responsible in the sentry breadcrumbs and I figured out that the task was raising a ValidationError that I suspected was not pickleable. We ignored the error and so far the queue hasn't died on us. My suspicion was confirmed when a CI failure revealed that the error was unpickleable:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test_update_billing_add_ons_ignores_simultaneous_request_error (ff.mods.billing.tests.test_subscription_logic.UpdateBillingAddOnsTestCase) failed: ValidationError(b'&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;error&gt;\n &lt;symbol&gt;simultaneous_request&lt;/symbol&gt;\n &lt;description&gt;A change for subscription 456ee8a3881160536ad68346fe91eede is already in progress.&lt;/description&gt;\n&lt;/error&gt;') Unfortunately, the exception it raised cannot be pickled, making it impossible for the parallel test runner to handle it cleanly. Here's the error encountered while trying to pickle the exception: AttributeError(&quot;can't set attribute&quot;) You should re-run this test with the --parallel=1 option to reproduce the failure and get a correct traceback. Destroying test database for alias 'default'... TOTAL RUNTIME: 67.09s TOTAL RUNTIME: 67.09s multiprocessing.pool.RemoteTraceback: &quot;&quot;&quot; Traceback (most recent call last): File &quot;/usr/local/lib/python3.7/multiprocessing/pool.py&quot;, line 121, in worker result = (True, func(*args, **kwds)) File &quot;/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py&quot;, line 309, in _run_subsuite result = runner.run(subsuite) File &quot;/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py&quot;, line 256, in run test(result) File &quot;/usr/local/lib/python3.7/unittest/suite.py&quot;, line 84, in __call__ return self.run(*args, **kwds) File &quot;/usr/local/lib/python3.7/unittest/suite.py&quot;, line 122, in run test(result) File &quot;/home/circleci/project/venv/lib/python3.7/site-packages/django/test/testcases.py&quot;, line 271, in __call__ super().__call__(result) File &quot;/usr/local/lib/python3.7/unittest/case.py&quot;, line 676, in __call__ return self.run(*args, **kwds) File &quot;/usr/local/lib/python3.7/unittest/case.py&quot;, line 636, in run self._feedErrorsToResult(result, outcome.errors) File &quot;/usr/local/lib/python3.7/unittest/case.py&quot;, line 566, in _feedErrorsToResult result.addError(test, exc_info) File &quot;/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py&quot;, line 197, in addError self.check_picklable(test, err) File &quot;/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py&quot;, line 130, in check_picklable self._confirm_picklable(err) File &quot;/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py&quot;, line 104, in _confirm_picklable pickle.loads(pickle.dumps(obj)) AttributeError: can't set attribute"><pre class="notranslate"><code class="notranslate">test_update_billing_add_ons_ignores_simultaneous_request_error (ff.mods.billing.tests.test_subscription_logic.UpdateBillingAddOnsTestCase) failed: ValidationError(b'&lt;?xml version="1.0" encoding="UTF-8"?&gt;\n&lt;error&gt;\n &lt;symbol&gt;simultaneous_request&lt;/symbol&gt;\n &lt;description&gt;A change for subscription 456ee8a3881160536ad68346fe91eede is already in progress.&lt;/description&gt;\n&lt;/error&gt;') Unfortunately, the exception it raised cannot be pickled, making it impossible for the parallel test runner to handle it cleanly. Here's the error encountered while trying to pickle the exception: AttributeError("can't set attribute") You should re-run this test with the --parallel=1 option to reproduce the failure and get a correct traceback. Destroying test database for alias 'default'... TOTAL RUNTIME: 67.09s TOTAL RUNTIME: 67.09s multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/usr/local/lib/python3.7/multiprocessing/pool.py", line 121, in worker result = (True, func(*args, **kwds)) File "/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py", line 309, in _run_subsuite result = runner.run(subsuite) File "/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py", line 256, in run test(result) File "/usr/local/lib/python3.7/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/local/lib/python3.7/unittest/suite.py", line 122, in run test(result) File "/home/circleci/project/venv/lib/python3.7/site-packages/django/test/testcases.py", line 271, in __call__ super().__call__(result) File "/usr/local/lib/python3.7/unittest/case.py", line 676, in __call__ return self.run(*args, **kwds) File "/usr/local/lib/python3.7/unittest/case.py", line 636, in run self._feedErrorsToResult(result, outcome.errors) File "/usr/local/lib/python3.7/unittest/case.py", line 566, in _feedErrorsToResult result.addError(test, exc_info) File "/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py", line 197, in addError self.check_picklable(test, err) File "/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py", line 130, in check_picklable self._confirm_picklable(err) File "/home/circleci/project/venv/lib/python3.7/site-packages/django/test/runner.py", line 104, in _confirm_picklable pickle.loads(pickle.dumps(obj)) AttributeError: can't set attribute </code></pre></div>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>:</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b> </summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" software -&gt; celery:5.2.0rc1 (dawn-chorus) kombu:5.2.0rc1 py:3.7.12 billiard:3.6.4.0 py-amqp:5.0.6 platform -&gt; system:Linux arch:64bit, ELF kernel version:5.10.47-linuxkit imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:pyamqp results:disabled broker_url: 'amqp://guest:********@broker:5672//' deprecated_settings: None "><pre class="notranslate"><code class="notranslate"> software -&gt; celery:5.2.0rc1 (dawn-chorus) kombu:5.2.0rc1 py:3.7.12 billiard:3.6.4.0 py-amqp:5.0.6 platform -&gt; system:Linux arch:64bit, ELF kernel version:5.10.47-linuxkit imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:pyamqp results:disabled broker_url: 'amqp://guest:********@broker:5672//' deprecated_settings: None </code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: 3.7</li> <li><strong>Minimal Celery Version</strong>: 5.1.2</li> <li><strong>Minimal Kombu Version</strong>: N/A</li> <li><strong>Minimal Broker Version</strong>: N/A</li> <li><strong>Minimal Result Backend Version</strong>: N/A</li> <li><strong>Minimal OS and/or Kernel Version</strong>: N/A</li> <li><strong>Minimal Broker Client Version</strong>: N/A</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==5.0.6 billiard==3.6.4.0 cached-property==1.5.2 celery @ git+https://github.com/celery/celery@49452916f94d5ec60af246cea600855e6d976b48 click==8.0.1 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.2.0 importlib-metadata==4.8.1 kombu==5.2.0rc1 prompt-toolkit==3.0.20 pytz==2021.3 six==1.16.0 typing-extensions==3.10.0.2 vine==5.0.0 wcwidth==0.2.5 zipp==3.6.0"><pre class="notranslate"><code class="notranslate">amqp==5.0.6 billiard==3.6.4.0 cached-property==1.5.2 celery @ git+https://github.com/celery/celery@49452916f94d5ec60af246cea600855e6d976b48 click==8.0.1 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.2.0 importlib-metadata==4.8.1 kombu==5.2.0rc1 prompt-toolkit==3.0.20 pytz==2021.3 six==1.16.0 typing-extensions==3.10.0.2 vine==5.0.0 wcwidth==0.2.5 zipp==3.6.0 </code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from celery import Celery app = Celery(&quot;tasks&quot;, broker=&quot;pyamqp://guest@broker//&quot;) class BrokenException(Exception): &quot;&quot;&quot; This Exception can't be unpickled by default &quot;&quot;&quot; def __init__(self, msg, other_arg): super().__init__(msg) self.other_arg = other_arg @app.task(bind=True) def unsafe_exception(self): self.retry(exc=BrokenException(&quot;msg&quot;, &quot;other_arg&quot;)) def main(): unsafe_exception.delay() if __name__ == &quot;__main__&quot;: main()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s">"tasks"</span>, <span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s">"pyamqp://guest@broker//"</span>) <span class="pl-k">class</span> <span class="pl-v">BrokenException</span>(<span class="pl-v">Exception</span>): <span class="pl-s">"""</span> <span class="pl-s"> This Exception can't be unpickled by default</span> <span class="pl-s"> """</span> <span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">msg</span>, <span class="pl-s1">other_arg</span>): <span class="pl-en">super</span>().<span class="pl-en">__init__</span>(<span class="pl-s1">msg</span>) <span class="pl-s1">self</span>.<span class="pl-s1">other_arg</span> <span class="pl-c1">=</span> <span class="pl-s1">other_arg</span> <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">task</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</span> <span class="pl-k">def</span> <span class="pl-en">unsafe_exception</span>(<span class="pl-s1">self</span>): <span class="pl-s1">self</span>.<span class="pl-en">retry</span>(<span class="pl-s1">exc</span><span class="pl-c1">=</span><span class="pl-v">BrokenException</span>(<span class="pl-s">"msg"</span>, <span class="pl-s">"other_arg"</span>)) <span class="pl-k">def</span> <span class="pl-en">main</span>(): <span class="pl-s1">unsafe_exception</span>.<span class="pl-en">delay</span>() <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>: <span class="pl-en">main</span>()</pre></div> <p dir="auto">Then run with <code class="notranslate">python tasks.py</code></p> <p dir="auto">Repo here:<br> <a href="https://github.com/amcgavin/celery-issue/">https://github.com/amcgavin/celery-issue/</a></p> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">Exception occurs in the worker handler, but handled gracefully.</p> <p dir="auto"><em>note</em>: this was the behaviour in celery==5.0.2</p> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">worker process crashes, with exit code 0.</p> <p dir="auto">Note that raising the exception directly doesn't crash (see the repo for detailed example).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="celery_1 | [2021-10-08 08:34:10,200: INFO/MainProcess] Task tasks.unsafe_exception[38b08c18-451b-4645-a4ac-ada2e6b43e5e] received celery_1 | [2021-10-08 08:34:10,201: CRITICAL/MainProcess] Unrecoverable error: TypeError(&quot;__init__() missing 1 required positional argument: 'other_arg'&quot;) celery_1 | Traceback (most recent call last): celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/worker.py&quot;, line 203, in start celery_1 | self.blueprint.start(self) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/bootsteps.py&quot;, line 116, in start celery_1 | step.start(parent) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/bootsteps.py&quot;, line 365, in start celery_1 | return self.obj.start() celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py&quot;, line 326, in start celery_1 | blueprint.start(self) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/bootsteps.py&quot;, line 116, in start celery_1 | step.start(parent) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py&quot;, line 618, in start celery_1 | c.loop(*c.loop_args()) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/loops.py&quot;, line 81, in asynloop celery_1 | next(loop) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/kombu/asynchronous/hub.py&quot;, line 361, in create_loop celery_1 | cb(*cbargs) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py&quot;, line 325, in on_result_readable celery_1 | next(it) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py&quot;, line 306, in _recv_message celery_1 | message = load(bufv) celery_1 | TypeError: __init__() missing 1 required positional argument: 'other_arg' celery_1 | [2021-10-08 08:34:41,378: ERROR/MainProcess] Task handler raised error: WorkerLostError('Worker exited prematurely: exitcode 0 Job: 2.') celery_1 | Traceback (most recent call last): celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/worker.py&quot;, line 203, in start celery_1 | self.blueprint.start(self) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/bootsteps.py&quot;, line 116, in start celery_1 | step.start(parent) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/bootsteps.py&quot;, line 365, in start celery_1 | return self.obj.start() celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py&quot;, line 326, in start celery_1 | blueprint.start(self) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/bootsteps.py&quot;, line 116, in start celery_1 | step.start(parent) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py&quot;, line 618, in start celery_1 | c.loop(*c.loop_args()) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/worker/loops.py&quot;, line 81, in asynloop celery_1 | next(loop) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/kombu/asynchronous/hub.py&quot;, line 361, in create_loop celery_1 | cb(*cbargs) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py&quot;, line 325, in on_result_readable celery_1 | next(it) celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py&quot;, line 306, in _recv_message celery_1 | message = load(bufv) celery_1 | TypeError: __init__() missing 1 required positional argument: 'other_arg' celery_1 | celery_1 | During handling of the above exception, another exception occurred: celery_1 | celery_1 | Traceback (most recent call last): celery_1 | File &quot;/usr/local/lib/python3.7/site-packages/billiard/pool.py&quot;, line 1267, in mark_as_worker_lost celery_1 | human_status(exitcode), job._job), celery_1 | billiard.exceptions.WorkerLostError: Worker exited prematurely: exitcode 0 Job: 2. celery-example_celery_1 exited with code 0"><pre class="notranslate"><code class="notranslate">celery_1 | [2021-10-08 08:34:10,200: INFO/MainProcess] Task tasks.unsafe_exception[38b08c18-451b-4645-a4ac-ada2e6b43e5e] received celery_1 | [2021-10-08 08:34:10,201: CRITICAL/MainProcess] Unrecoverable error: TypeError("__init__() missing 1 required positional argument: 'other_arg'") celery_1 | Traceback (most recent call last): celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/worker.py", line 203, in start celery_1 | self.blueprint.start(self) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/bootsteps.py", line 116, in start celery_1 | step.start(parent) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/bootsteps.py", line 365, in start celery_1 | return self.obj.start() celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 326, in start celery_1 | blueprint.start(self) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/bootsteps.py", line 116, in start celery_1 | step.start(parent) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 618, in start celery_1 | c.loop(*c.loop_args()) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/loops.py", line 81, in asynloop celery_1 | next(loop) celery_1 | File "/usr/local/lib/python3.7/site-packages/kombu/asynchronous/hub.py", line 361, in create_loop celery_1 | cb(*cbargs) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py", line 325, in on_result_readable celery_1 | next(it) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py", line 306, in _recv_message celery_1 | message = load(bufv) celery_1 | TypeError: __init__() missing 1 required positional argument: 'other_arg' celery_1 | [2021-10-08 08:34:41,378: ERROR/MainProcess] Task handler raised error: WorkerLostError('Worker exited prematurely: exitcode 0 Job: 2.') celery_1 | Traceback (most recent call last): celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/worker.py", line 203, in start celery_1 | self.blueprint.start(self) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/bootsteps.py", line 116, in start celery_1 | step.start(parent) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/bootsteps.py", line 365, in start celery_1 | return self.obj.start() celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 326, in start celery_1 | blueprint.start(self) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/bootsteps.py", line 116, in start celery_1 | step.start(parent) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 618, in start celery_1 | c.loop(*c.loop_args()) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/worker/loops.py", line 81, in asynloop celery_1 | next(loop) celery_1 | File "/usr/local/lib/python3.7/site-packages/kombu/asynchronous/hub.py", line 361, in create_loop celery_1 | cb(*cbargs) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py", line 325, in on_result_readable celery_1 | next(it) celery_1 | File "/usr/local/lib/python3.7/site-packages/celery/concurrency/asynpool.py", line 306, in _recv_message celery_1 | message = load(bufv) celery_1 | TypeError: __init__() missing 1 required positional argument: 'other_arg' celery_1 | celery_1 | During handling of the above exception, another exception occurred: celery_1 | celery_1 | Traceback (most recent call last): celery_1 | File "/usr/local/lib/python3.7/site-packages/billiard/pool.py", line 1267, in mark_as_worker_lost celery_1 | human_status(exitcode), job._job), celery_1 | billiard.exceptions.WorkerLostError: Worker exited prematurely: exitcode 0 Job: 2. celery-example_celery_1 exited with code 0 </code></pre></div>
1
<p dir="auto">I receive a <code class="notranslate">Neo.DatabaseError.General.UnknownError</code> upon trying to MERGE two particular nodes. Nothing seems special about these nodes. I'll include as much info as I can below, but I doubt this will be particularly helpful. Feel free to contact me to get more info.</p> <p dir="auto">Also <a href="https://neo4j-users.slack.com/archives/C08J1EZCH/p1525878783000619" rel="nofollow">mentioned</a> in the Neo4j-users slack.</p> <p dir="auto">As background--I had a problem creating an index on <code class="notranslate">:action_attribute(val)</code> because of the (4096 char?) text length limit. I worked around this by specifying the default index provider, then recreating the index.</p> <p dir="auto"><code class="notranslate">dbms.index.default_schema_provider=lucene+native-1.0</code></p> <p dir="auto">But perhaps this left the database somehow confused about this index--which is used in the query?</p> <p dir="auto"><strong>Neo4j Version:</strong> Neo4j/3.4.0-rc01<br> <strong>Operating System:</strong> Windows Server 2012 R2</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">I receive the error when I run this command:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="match (p:part) with p match (aa:action_attribute {name:&quot;part_number_txt&quot;, val: p.id}) with aa, p skip 212945 limit 1 MERGE (aa)-[:IS_PART_NUMBER]-&gt;(p)"><pre class="notranslate"><code class="notranslate">match (p:part) with p match (aa:action_attribute {name:"part_number_txt", val: p.id}) with aa, p skip 212945 limit 1 MERGE (aa)-[:IS_PART_NUMBER]-&gt;(p) </code></pre></div> <p dir="auto">However, this command (note -1 decrement) works.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="match (p:part) with p match (aa:action_attribute {name:&quot;part_number_txt&quot;, val: p.id}) with aa, p skip 212944 limit 1 MERGE (aa)-[:IS_PART_NUMBER]-&gt;(p)"><pre class="notranslate"><code class="notranslate">match (p:part) with p match (aa:action_attribute {name:"part_number_txt", val: p.id}) with aa, p skip 212944 limit 1 MERGE (aa)-[:IS_PART_NUMBER]-&gt;(p) </code></pre></div> <p dir="auto">Nothing seems particularly special about the aa or p nodes at position 212945. Here is the response pasted from tne Neo4j browser:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ { &quot;keys&quot;: [ &quot;aa&quot;, &quot;aa_rel&quot;, &quot;p&quot;, &quot;p_rel&quot; ], &quot;length&quot;: 4, &quot;_fields&quot;: [ { &quot;identity&quot;: { &quot;low&quot;: 244617450, &quot;high&quot;: 0 }, &quot;labels&quot;: [ &quot;action_attribute&quot; ], &quot;properties&quot;: { &quot;val&quot;: &quot;9329k44&quot;, &quot;name&quot;: &quot;part_number_txt&quot;, &quot;id&quot;: &quot;part_number_txt__9329k44&quot; } }, { &quot;identity&quot;: { &quot;low&quot;: 1546876839, &quot;high&quot;: 0 }, &quot;start&quot;: { &quot;low&quot;: 244617450, &quot;high&quot;: 0 }, &quot;end&quot;: { &quot;low&quot;: 2914466, &quot;high&quot;: 0 }, &quot;type&quot;: &quot;IS_PART_NUMBER&quot;, &quot;properties&quot;: {} }, { &quot;identity&quot;: { &quot;low&quot;: 2914466, &quot;high&quot;: 0 }, &quot;labels&quot;: [ &quot;part&quot; ], &quot;properties&quot;: { &quot;id&quot;: &quot;9329k44&quot; } }, { &quot;identity&quot;: { &quot;low&quot;: 1546876839, &quot;high&quot;: 0 }, &quot;start&quot;: { &quot;low&quot;: 244617450, &quot;high&quot;: 0 }, &quot;end&quot;: { &quot;low&quot;: 2914466, &quot;high&quot;: 0 }, &quot;type&quot;: &quot;IS_PART_NUMBER&quot;, &quot;properties&quot;: {} } ], &quot;_fieldLookup&quot;: { &quot;aa&quot;: 0, &quot;aa_rel&quot;: 1, &quot;p&quot;: 2, &quot;p_rel&quot;: 3 } } ]"><pre class="notranslate"><code class="notranslate">[ { "keys": [ "aa", "aa_rel", "p", "p_rel" ], "length": 4, "_fields": [ { "identity": { "low": 244617450, "high": 0 }, "labels": [ "action_attribute" ], "properties": { "val": "9329k44", "name": "part_number_txt", "id": "part_number_txt__9329k44" } }, { "identity": { "low": 1546876839, "high": 0 }, "start": { "low": 244617450, "high": 0 }, "end": { "low": 2914466, "high": 0 }, "type": "IS_PART_NUMBER", "properties": {} }, { "identity": { "low": 2914466, "high": 0 }, "labels": [ "part" ], "properties": { "id": "9329k44" } }, { "identity": { "low": 1546876839, "high": 0 }, "start": { "low": 244617450, "high": 0 }, "end": { "low": 2914466, "high": 0 }, "type": "IS_PART_NUMBER", "properties": {} } ], "_fieldLookup": { "aa": 0, "aa_rel": 1, "p": 2, "p_rel": 3 } } ] </code></pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Successful <code class="notranslate">MERGE</code>.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto"><code class="notranslate">Neo.DatabaseError.General.UnknownError</code><br> with the following stack trace in debug.log:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-05-09 16:29:30.799+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [UnknownError]: null, reference 183ca74f-b273-4f80-8fbf-a216b31ed659. java.lang.NullPointerException at org.neo4j.kernel.api.impl.schema.ValueEncoding$6.encodeQuery(ValueEncoding.java:244) at org.neo4j.kernel.api.impl.schema.LuceneDocumentStructure.newSeekQuery(LuceneDocumentStructure.java:110) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.toLuceneQuery(SimpleIndexReader.java:135) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.query(SimpleIndexReader.java:97) at org.neo4j.kernel.impl.index.schema.fusion.FusionIndexReader.query(FusionIndexReader.java:91) at org.neo4j.kernel.impl.newapi.Read.nodeIndexSeekWithFreshIndexReader(Read.java:207) at org.neo4j.kernel.impl.newapi.Read.lockingNodeUniqueIndexSeek(Read.java:181) at org.neo4j.cypher.internal.runtime.interpreted.TransactionBoundQueryContext.lockingUniqueIndexSeek(TransactionBoundQueryContext.scala:312) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslationSupport$class.translateException(ExceptionTranslationSupport.scala:33) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.translateException(ExceptionTranslatingQueryContext.scala:41) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.lockingUniqueIndexSeek(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.runtime.interpreted.DelegatingQueryContext.lockingUniqueIndexSeek(DelegatingQueryContext.scala:163) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241) at scala.collection.AbstractTraversable.flatMap(Traversable.scala:104) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$class.indexSeek(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeekPipe.indexSeek(NodeIndexSeekPipe.scala:30) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeekPipe.internalCreateResults(NodeIndexSeekPipe.scala:53) at org.neo4j.cypher.internal.runtime.interpreted.pipes.Pipe$class.createResults(Pipe.scala:45) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeekPipe.createResults(NodeIndexSeekPipe.scala:30) at org.neo4j.cypher.internal.runtime.interpreted.pipes.ApplyPipe$$anonfun$internalCreateResults$1.apply(ApplyPipe.scala:32) at org.neo4j.cypher.internal.runtime.interpreted.pipes.ApplyPipe$$anonfun$internalCreateResults$1.apply(ApplyPipe.scala:29) at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:435) at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:441) at scala.collection.Iterator$class.isEmpty(Iterator.scala:331) at scala.collection.AbstractIterator.isEmpty(Iterator.scala:1334) at org.neo4j.cypher.internal.runtime.interpreted.pipes.LimitPipe.internalCreateResults(LimitPipe.scala:34) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:76) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.createResults(DefaultExecutionResultBuilderFactory.scala:105) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.build(DefaultExecutionResultBuilderFactory.scala:77) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:97) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:80) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$InterpretedExecutionPlan.run(BuildInterpretedExecutionPlan.scala:111) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:128) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:89) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper.run(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.internal.PreparedPlanExecution.execute(PreparedPlanExecution.scala:29) at org.neo4j.cypher.internal.ExecutionEngine.execute(ExecutionEngine.scala:119) at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:61) at org.neo4j.bolt.v1.runtime.TransactionStateMachineSPI$1.start(TransactionStateMachineSPI.java:144) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State.startExecution(TransactionStateMachine.java:446) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.execute(TransactionStateMachine.java:259) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.run(TransactionStateMachine.java:240) at org.neo4j.bolt.v1.runtime.TransactionStateMachine.run(TransactionStateMachine.java:81) at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$2.run(BoltStateMachine.java:456) at org.neo4j.bolt.v1.runtime.BoltStateMachine.run(BoltStateMachine.java:222) at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onRun$3(BoltMessageRouter.java:93) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:193) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:143) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:163) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$null$0(ExecutorBoltScheduler.java:145) at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)"><pre class="notranslate"><code class="notranslate">2018-05-09 16:29:30.799+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [UnknownError]: null, reference 183ca74f-b273-4f80-8fbf-a216b31ed659. java.lang.NullPointerException at org.neo4j.kernel.api.impl.schema.ValueEncoding$6.encodeQuery(ValueEncoding.java:244) at org.neo4j.kernel.api.impl.schema.LuceneDocumentStructure.newSeekQuery(LuceneDocumentStructure.java:110) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.toLuceneQuery(SimpleIndexReader.java:135) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.query(SimpleIndexReader.java:97) at org.neo4j.kernel.impl.index.schema.fusion.FusionIndexReader.query(FusionIndexReader.java:91) at org.neo4j.kernel.impl.newapi.Read.nodeIndexSeekWithFreshIndexReader(Read.java:207) at org.neo4j.kernel.impl.newapi.Read.lockingNodeUniqueIndexSeek(Read.java:181) at org.neo4j.cypher.internal.runtime.interpreted.TransactionBoundQueryContext.lockingUniqueIndexSeek(TransactionBoundQueryContext.scala:312) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslationSupport$class.translateException(ExceptionTranslationSupport.scala:33) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.translateException(ExceptionTranslatingQueryContext.scala:41) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.lockingUniqueIndexSeek(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.runtime.interpreted.DelegatingQueryContext.lockingUniqueIndexSeek(DelegatingQueryContext.scala:163) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241) at scala.collection.AbstractTraversable.flatMap(Traversable.scala:104) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$class.indexSeek(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeekPipe.indexSeek(NodeIndexSeekPipe.scala:30) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeekPipe.internalCreateResults(NodeIndexSeekPipe.scala:53) at org.neo4j.cypher.internal.runtime.interpreted.pipes.Pipe$class.createResults(Pipe.scala:45) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeekPipe.createResults(NodeIndexSeekPipe.scala:30) at org.neo4j.cypher.internal.runtime.interpreted.pipes.ApplyPipe$$anonfun$internalCreateResults$1.apply(ApplyPipe.scala:32) at org.neo4j.cypher.internal.runtime.interpreted.pipes.ApplyPipe$$anonfun$internalCreateResults$1.apply(ApplyPipe.scala:29) at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:435) at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:441) at scala.collection.Iterator$class.isEmpty(Iterator.scala:331) at scala.collection.AbstractIterator.isEmpty(Iterator.scala:1334) at org.neo4j.cypher.internal.runtime.interpreted.pipes.LimitPipe.internalCreateResults(LimitPipe.scala:34) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:76) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.createResults(DefaultExecutionResultBuilderFactory.scala:105) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.build(DefaultExecutionResultBuilderFactory.scala:77) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:97) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:80) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$InterpretedExecutionPlan.run(BuildInterpretedExecutionPlan.scala:111) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:128) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:89) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper.run(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.internal.PreparedPlanExecution.execute(PreparedPlanExecution.scala:29) at org.neo4j.cypher.internal.ExecutionEngine.execute(ExecutionEngine.scala:119) at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:61) at org.neo4j.bolt.v1.runtime.TransactionStateMachineSPI$1.start(TransactionStateMachineSPI.java:144) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State.startExecution(TransactionStateMachine.java:446) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.execute(TransactionStateMachine.java:259) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.run(TransactionStateMachine.java:240) at org.neo4j.bolt.v1.runtime.TransactionStateMachine.run(TransactionStateMachine.java:81) at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$2.run(BoltStateMachine.java:456) at org.neo4j.bolt.v1.runtime.BoltStateMachine.run(BoltStateMachine.java:222) at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onRun$3(BoltMessageRouter.java:93) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:193) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:143) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:163) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$null$0(ExecutorBoltScheduler.java:145) at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) </code></pre></div>
<p dir="auto">Given the following unique constraint</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CREATE CONSTRAINT ON (x:NODE) ASSERT x.id IS UNIQUE"><pre class="notranslate"><code class="notranslate">CREATE CONSTRAINT ON (x:NODE) ASSERT x.id IS UNIQUE </code></pre></div> <p dir="auto">running the following query fails with a <code class="notranslate">Neo.DatabaseError.General.UnknownError</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CREATE (group:GROUP) WITH group MATCH (node:NODE) WHERE node.id = null CREATE (group)-[:IS_MANAGED_AT]-&gt;(node)"><pre class="notranslate"><code class="notranslate">CREATE (group:GROUP) WITH group MATCH (node:NODE) WHERE node.id = null CREATE (group)-[:IS_MANAGED_AT]-&gt;(node) </code></pre></div> <p dir="auto"><strong>Neo4j Version:</strong> 3.4.0-enterprise<br> <strong>Operating System:</strong> Mac OS X using official Neo4j docker image<br> <strong>API:</strong> Neo4j browser / cypher shell</p> <p dir="auto">The same query given the same precondition (unique constraint) works on Neo4j 3.3.5-enterprise. And yes, I know that this query might look nonsensical because the <code class="notranslate">WHERE node.id = null</code> will never match but in our use case the <code class="notranslate">IS_MANAGED_AT</code> is optional and the <code class="notranslate">null</code> is in fact a parameter which might be <code class="notranslate">NULL</code> under some circumstances (in these case no relationship shall be created - same as if a given id does not match any <code class="notranslate">NODE</code> at all).</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Query should work.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Query results in an error.</p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>start empty Neo4j instance</li> <li><code class="notranslate">CREATE CONSTRAINT ON (x:NODE) ASSERT x.id IS UNIQUE</code></li> <li><code class="notranslate">CREATE (group:GROUP) WITH group MATCH (node:NODE) WHERE node.id = null CREATE (group)-[:IS_MANAGED_AT]-&gt;(node)</code></li> </ol> <p dir="auto">This is the debug log output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-05-23 09:20:52.153+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [UnknownError]: null, reference 01158ab5-7eb6-4928-9877-5fd79ed0db96. 2018-05-23 09:20:52.153+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [UnknownError]: null, reference 01158ab5-7eb6-4928-9877-5fd79ed0db96. java.lang.NullPointerException at org.neo4j.kernel.api.impl.schema.ValueEncoding$6.encodeQuery(ValueEncoding.java:244) at org.neo4j.kernel.api.impl.schema.LuceneDocumentStructure.newSeekQuery(LuceneDocumentStructure.java:110) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.toLuceneQuery(SimpleIndexReader.java:135) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.query(SimpleIndexReader.java:97) at org.neo4j.kernel.impl.index.schema.fusion.FusionIndexReader.query(FusionIndexReader.java:91) at org.neo4j.kernel.impl.newapi.Read.nodeIndexSeekWithFreshIndexReader(Read.java:207) at org.neo4j.kernel.impl.newapi.Read.lockingNodeUniqueIndexSeek(Read.java:181) at org.neo4j.cypher.internal.runtime.interpreted.TransactionBoundQueryContext.lockingUniqueIndexSeek(TransactionBoundQueryContext.scala:312) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslationSupport$class.translateException(ExceptionTranslationSupport.scala:33) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.translateException(ExceptionTranslatingQueryContext.scala:41) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.lockingUniqueIndexSeek(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.runtime.interpreted.DelegatingQueryContext.lockingUniqueIndexSeek(DelegatingQueryContext.scala:163) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241) at scala.collection.AbstractTraversable.flatMap(Traversable.scala:104) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$class.indexSeek(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.slotted.pipes.NodeIndexSeekSlottedPipe.indexSeek(NodeIndexSeekSlottedPipe.scala:36) at org.neo4j.cypher.internal.runtime.slotted.pipes.NodeIndexSeekSlottedPipe.internalCreateResults(NodeIndexSeekSlottedPipe.scala:63) at org.neo4j.cypher.internal.runtime.interpreted.pipes.Pipe$class.createResults(Pipe.scala:45) at org.neo4j.cypher.internal.runtime.slotted.pipes.NodeIndexSeekSlottedPipe.createResults(NodeIndexSeekSlottedPipe.scala:36) at org.neo4j.cypher.internal.runtime.slotted.pipes.ApplySlottedPipe$$anonfun$internalCreateResults$1.apply(ApplySlottedPipe.scala:36) at org.neo4j.cypher.internal.runtime.slotted.pipes.ApplySlottedPipe$$anonfun$internalCreateResults$1.apply(ApplySlottedPipe.scala:34) at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:435) at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:441) at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:409) at org.neo4j.cypher.internal.runtime.interpreted.pipes.EmptyResultPipe.internalCreateResults(EmptyResultPipe.scala:28) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:76) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.createResults(DefaultExecutionResultBuilderFactory.scala:105) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.build(DefaultExecutionResultBuilderFactory.scala:77) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:97) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:80) at org.neo4j.cypher.internal.BuildSlottedExecutionPlan$SlottedExecutionPlan.run(BuildSlottedExecutionPlan.scala:152) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:128) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:89) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper.run(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.internal.PreparedPlanExecution.execute(PreparedPlanExecution.scala:29) at org.neo4j.cypher.internal.ExecutionEngine.execute(ExecutionEngine.scala:119) at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:61) at org.neo4j.bolt.v1.runtime.TransactionStateMachineSPI$1.start(TransactionStateMachineSPI.java:144) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State.startExecution(TransactionStateMachine.java:446) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.execute(TransactionStateMachine.java:259) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.run(TransactionStateMachine.java:240) at org.neo4j.bolt.v1.runtime.TransactionStateMachine.run(TransactionStateMachine.java:81) at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$2.run(BoltStateMachine.java:456) at org.neo4j.bolt.v1.runtime.BoltStateMachine.run(BoltStateMachine.java:222) at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onRun$3(BoltMessageRouter.java:93) at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.lambda$enqueue$0(MetricsReportingBoltConnection.java:69) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:193) at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.processNextBatch(MetricsReportingBoltConnection.java:87) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:143) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:163) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$null$0(ExecutorBoltScheduler.java:145) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)"><pre class="notranslate"><code class="notranslate">2018-05-23 09:20:52.153+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [UnknownError]: null, reference 01158ab5-7eb6-4928-9877-5fd79ed0db96. 2018-05-23 09:20:52.153+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [UnknownError]: null, reference 01158ab5-7eb6-4928-9877-5fd79ed0db96. java.lang.NullPointerException at org.neo4j.kernel.api.impl.schema.ValueEncoding$6.encodeQuery(ValueEncoding.java:244) at org.neo4j.kernel.api.impl.schema.LuceneDocumentStructure.newSeekQuery(LuceneDocumentStructure.java:110) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.toLuceneQuery(SimpleIndexReader.java:135) at org.neo4j.kernel.api.impl.schema.reader.SimpleIndexReader.query(SimpleIndexReader.java:97) at org.neo4j.kernel.impl.index.schema.fusion.FusionIndexReader.query(FusionIndexReader.java:91) at org.neo4j.kernel.impl.newapi.Read.nodeIndexSeekWithFreshIndexReader(Read.java:207) at org.neo4j.kernel.impl.newapi.Read.lockingNodeUniqueIndexSeek(Read.java:181) at org.neo4j.cypher.internal.runtime.interpreted.TransactionBoundQueryContext.lockingUniqueIndexSeek(TransactionBoundQueryContext.scala:312) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext$$anonfun$lockingUniqueIndexSeek$1.apply(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslationSupport$class.translateException(ExceptionTranslationSupport.scala:33) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.translateException(ExceptionTranslatingQueryContext.scala:41) at org.neo4j.cypher.internal.compatibility.v3_4.ExceptionTranslatingQueryContext.lockingUniqueIndexSeek(ExceptionTranslatingQueryContext.scala:202) at org.neo4j.cypher.internal.runtime.interpreted.DelegatingQueryContext.lockingUniqueIndexSeek(DelegatingQueryContext.scala:163) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$$anonfun$indexSeek$2.apply(NodeIndexSeeker.scala:61) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241) at scala.collection.AbstractTraversable.flatMap(Traversable.scala:104) at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeIndexSeeker$class.indexSeek(NodeIndexSeeker.scala:61) at org.neo4j.cypher.internal.runtime.slotted.pipes.NodeIndexSeekSlottedPipe.indexSeek(NodeIndexSeekSlottedPipe.scala:36) at org.neo4j.cypher.internal.runtime.slotted.pipes.NodeIndexSeekSlottedPipe.internalCreateResults(NodeIndexSeekSlottedPipe.scala:63) at org.neo4j.cypher.internal.runtime.interpreted.pipes.Pipe$class.createResults(Pipe.scala:45) at org.neo4j.cypher.internal.runtime.slotted.pipes.NodeIndexSeekSlottedPipe.createResults(NodeIndexSeekSlottedPipe.scala:36) at org.neo4j.cypher.internal.runtime.slotted.pipes.ApplySlottedPipe$$anonfun$internalCreateResults$1.apply(ApplySlottedPipe.scala:36) at org.neo4j.cypher.internal.runtime.slotted.pipes.ApplySlottedPipe$$anonfun$internalCreateResults$1.apply(ApplySlottedPipe.scala:34) at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:435) at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:441) at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:409) at org.neo4j.cypher.internal.runtime.interpreted.pipes.EmptyResultPipe.internalCreateResults(EmptyResultPipe.scala:28) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:76) at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:72) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.createResults(DefaultExecutionResultBuilderFactory.scala:105) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.executionplan.BaseExecutionResultBuilderFactory$BaseExecutionWorkflowBuilder.build(DefaultExecutionResultBuilderFactory.scala:77) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:97) at org.neo4j.cypher.internal.compatibility.v3_4.runtime.BuildInterpretedExecutionPlan$$anonfun$getExecutionPlanFunction$1.apply(BuildInterpretedExecutionPlan.scala:80) at org.neo4j.cypher.internal.BuildSlottedExecutionPlan$SlottedExecutionPlan.run(BuildSlottedExecutionPlan.scala:152) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:128) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper$$anonfun$run$1.apply(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:89) at org.neo4j.cypher.internal.compatibility.LatestRuntimeVariablePlannerCompatibility$ExecutionPlanWrapper.run(LatestRuntimeVariablePlannerCompatibility.scala:124) at org.neo4j.cypher.internal.PreparedPlanExecution.execute(PreparedPlanExecution.scala:29) at org.neo4j.cypher.internal.ExecutionEngine.execute(ExecutionEngine.scala:119) at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:61) at org.neo4j.bolt.v1.runtime.TransactionStateMachineSPI$1.start(TransactionStateMachineSPI.java:144) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State.startExecution(TransactionStateMachine.java:446) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.execute(TransactionStateMachine.java:259) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.run(TransactionStateMachine.java:240) at org.neo4j.bolt.v1.runtime.TransactionStateMachine.run(TransactionStateMachine.java:81) at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$2.run(BoltStateMachine.java:456) at org.neo4j.bolt.v1.runtime.BoltStateMachine.run(BoltStateMachine.java:222) at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onRun$3(BoltMessageRouter.java:93) at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.lambda$enqueue$0(MetricsReportingBoltConnection.java:69) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:193) at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.processNextBatch(MetricsReportingBoltConnection.java:87) at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:143) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:163) at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$null$0(ExecutorBoltScheduler.java:145) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) </code></pre></div>
1
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p> <ul dir="auto"> <li>[x ] I have checked the superset logs for python stacktraces and included it here as text if any</li> <li>[x ] I have reproduced the issue with at least the latest released version of superset</li> <li>[x ] I have checked the issue tracker for the same issue and I haven't found one similar</li> </ul> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/27990562/27106098-ca11b9c2-5046-11e7-8355-a44fa5b58299.png"><img width="1135" alt="screen_shot_2017-06-13_at_2_41_15_pm" src="https://user-images.githubusercontent.com/27990562/27106098-ca11b9c2-5046-11e7-8355-a44fa5b58299.png" style="max-width: 100%;"></a></p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if any</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar</li> </ul> <h3 dir="auto">Superset version</h3> <p dir="auto">0.18.2</p> <h3 dir="auto">Expected results</h3> <p dir="auto">All buttons and lists are fully visible and accessible.</p> <h3 dir="auto">Actual results</h3> <p dir="auto">The <code class="notranslate">Add filter</code> button as well as the expanded drop-down selectors for the column name, the operator and the filter values are cut off at the bottom of the page, as long as there are more than just a couple of options present.</p> <p dir="auto">This behavior can also be observed in the animation shown in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="211751965" data-permission-text="Title is private" data-url="https://github.com/apache/superset/issues/2330" data-hovercard-type="pull_request" data-hovercard-url="/apache/superset/pull/2330/hovercard" href="https://github.com/apache/superset/pull/2330">#2330</a> and does not seem to depend much on the employed web browser, as tested with Firefox and Vivaldi.</p> <h3 dir="auto">Steps to reproduce</h3> <ul dir="auto"> <li>Add a new filter in explore view, preferably for a column that has many distinct options.</li> </ul> <p dir="auto">With every added filter, one needs to scroll within the left panel and then within the drop-down lists which are cut off and thus hiding some options.</p> <p dir="auto">For power users this is probably not a big deal, as they would just start typing; however, to those that are less familiar with the underlying table, the option lists are very helpful.</p> <h3 dir="auto">Thoughts on a possible approach</h3> <p dir="auto">Maybe it would make sense (if possible) to add some padding at the bottom of the left panel's bounding box. This padding should always be present and still be included when more filters are added.</p> <p dir="auto">The size of the padding should be large enough to accommodate the maximum size of the filter selectors (assuming that there is a limit set somewhere).</p>
1
<h2 dir="auto">command</h2> <p dir="auto">flutter doctor</p> <h2 dir="auto">exception</h2> <p dir="auto">ArgumentError: Invalid argument(s): Invalid locale 'ia_FR.UTF-8'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 Intl._throwLocaleError (package:intl/intl.dart:231) #1 Intl.verifiedLocale (package:intl/intl.dart:225) #2 Intl.verifiedLocale (package:intl/intl.dart:210) #3 new NumberFormat._forPattern (package:intl/src/intl/number_format.dart:486) #4 new NumberFormat.decimalPattern (package:intl/src/intl/number_format.dart:175) #5 kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97) #6 kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97) #7 getElapsedAsMilliseconds (package:flutter_tools/src/base/utils.dart:105) #8 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:202) &lt;asynchronous suspension&gt; #9 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #10 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:279) &lt;asynchronous suspension&gt; #11 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #12 new Future.sync (dart:async/future.dart:222) #13 CommandRunner.run (package:args/command_runner.dart:109) #14 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:162) #15 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:89) &lt;asynchronous suspension&gt; #16 AppContext._run (package:flutter_tools/src/base/context.dart:76) &lt;asynchronous suspension&gt; #17 AppContext.runInZone.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:66) #18 _rootRun (dart:async/zone.dart:1120) #19 _CustomZone.run (dart:async/zone.dart:1001) #20 runZoned (dart:async/zone.dart:1467) #21 AppContext.runInZone (package:flutter_tools/src/base/context.dart:65) #22 run (package:flutter_tools/runner.dart:60) &lt;asynchronous suspension&gt; #23 main (package:flutter_tools/executable.dart:43) &lt;asynchronous suspension&gt; #24 main (file:///home/dawd/flutter/packages/flutter_tools/bin/flutter_tools.dart:16) #25 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/isolate_patch.dart:263) #26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)"><pre class="notranslate"><code class="notranslate">#0 Intl._throwLocaleError (package:intl/intl.dart:231) #1 Intl.verifiedLocale (package:intl/intl.dart:225) #2 Intl.verifiedLocale (package:intl/intl.dart:210) #3 new NumberFormat._forPattern (package:intl/src/intl/number_format.dart:486) #4 new NumberFormat.decimalPattern (package:intl/src/intl/number_format.dart:175) #5 kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97) #6 kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97) #7 getElapsedAsMilliseconds (package:flutter_tools/src/base/utils.dart:105) #8 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:202) &lt;asynchronous suspension&gt; #9 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #10 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:279) &lt;asynchronous suspension&gt; #11 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #12 new Future.sync (dart:async/future.dart:222) #13 CommandRunner.run (package:args/command_runner.dart:109) #14 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:162) #15 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:89) &lt;asynchronous suspension&gt; #16 AppContext._run (package:flutter_tools/src/base/context.dart:76) &lt;asynchronous suspension&gt; #17 AppContext.runInZone.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:66) #18 _rootRun (dart:async/zone.dart:1120) #19 _CustomZone.run (dart:async/zone.dart:1001) #20 runZoned (dart:async/zone.dart:1467) #21 AppContext.runInZone (package:flutter_tools/src/base/context.dart:65) #22 run (package:flutter_tools/runner.dart:60) &lt;asynchronous suspension&gt; #23 main (package:flutter_tools/executable.dart:43) &lt;asynchronous suspension&gt; #24 main (file:///home/dawd/flutter/packages/flutter_tools/bin/flutter_tools.dart:16) #25 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/isolate_patch.dart:263) #26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151) </code></pre></div> <h2 dir="auto">flutter doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Linux, locale ia_FR.UTF-8, channel alpha) • Flutter at /home/dawd/flutter • Framework revision 8f65fec5f5 (5 weeks ago), 2017-12-12 09:50:14 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 26.0.0) • Android SDK at /home/dawd/Android/Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-26, build-tools 26.0.0 • Java binary at: /usr/bin/java • Java version Java(TM) SE Runtime Environment (build 1.8.0_131-b11) [✗] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.io/setup/#android-setup for detailed instructions). [✓] IntelliJ IDEA Community Edition (version 2017.3) • Flutter plugin version 20.0.3 • Dart plugin version 173.4127.31 [-] Connected devices • None"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Linux, locale ia_FR.UTF-8, channel alpha) • Flutter at /home/dawd/flutter • Framework revision 8f65fec5f5 (5 weeks ago), 2017-12-12 09:50:14 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 26.0.0) • Android SDK at /home/dawd/Android/Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-26, build-tools 26.0.0 • Java binary at: /usr/bin/java • Java version Java(TM) SE Runtime Environment (build 1.8.0_131-b11) [✗] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.io/setup/#android-setup for detailed instructions). [✓] IntelliJ IDEA Community Edition (version 2017.3) • Flutter plugin version 20.0.3 • Dart plugin version 173.4127.31 [-] Connected devices • None </code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">when I run "flutter upgrade", the process gets exited unexpectedly after Downloading Material fonts... phase</p> <h2 dir="auto">command</h2> <p dir="auto">flutter upgrade</p> <h2 dir="auto">exception</h2> <p dir="auto">The null object does not have a getter 'length'.</p> <p dir="auto">NoSuchMethodError: method not found: 'length'<br> Receiver: null<br> Arguments: []</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dart:core Object.noSuchMethod package:flutter_tools/src/version.dart 110 _shortGitRevision package:flutter_tools/src/version.dart 56 FlutterVersion.engineRevisionShort package:flutter_tools/src/version.dart 64 FlutterVersion.toString package:flutter_tools/src/commands/upgrade.dart 70 UpgradeCommand.runCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/base/process.dart 93 runCommandAndStreamOutput.&lt;async&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_tools/src/commands/upgrade.dart 86 UpgradeCommand.runCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/base/process.dart 93 runCommandAndStreamOutput.&lt;async&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/commands/upgrade.dart UpgradeCommand.runCommand package:flutter_tools/src/runner/flutter_command.dart 150 FlutterCommand.verifyThenRunCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/cache.dart 184 Cache.updateAll.&lt;async&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/runner/flutter_command.dart FlutterCommand.verifyThenRunCommand package:flutter_tools/src/runner/flutter_command.dart 117 FlutterCommand.run package:args/command_runner.dart 177 CommandRunner.runCommand.&lt;fn&gt; dart:async Future.Future.sync package:args/command_runner.dart 130 CommandRunner.runCommand package:flutter_tools/src/runner/flutter_command_runner.dart 186 FlutterCommandRunner.runCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/cache.dart 71 Cache.lock.&lt;async&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/runner/flutter_command_runner.dart FlutterCommandRunner.runCommand package:args/command_runner.dart 104 CommandRunner.run.&lt;fn&gt; dart:async Future.Future.sync package:args/command_runner.dart 104 CommandRunner.run package:flutter_tools/src/runner/flutter_command_runner.dart 132 FlutterCommandRunner.run package:flutter_tools/executable.dart 97 main.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; ===== asynchronous gap =========================== package:stack_trace Chain.capture package:flutter_tools/executable.dart 91 main.&lt;async&gt;"><pre class="notranslate"><code class="notranslate">dart:core Object.noSuchMethod package:flutter_tools/src/version.dart 110 _shortGitRevision package:flutter_tools/src/version.dart 56 FlutterVersion.engineRevisionShort package:flutter_tools/src/version.dart 64 FlutterVersion.toString package:flutter_tools/src/commands/upgrade.dart 70 UpgradeCommand.runCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/base/process.dart 93 runCommandAndStreamOutput.&lt;async&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_tools/src/commands/upgrade.dart 86 UpgradeCommand.runCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/base/process.dart 93 runCommandAndStreamOutput.&lt;async&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/commands/upgrade.dart UpgradeCommand.runCommand package:flutter_tools/src/runner/flutter_command.dart 150 FlutterCommand.verifyThenRunCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/cache.dart 184 Cache.updateAll.&lt;async&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/runner/flutter_command.dart FlutterCommand.verifyThenRunCommand package:flutter_tools/src/runner/flutter_command.dart 117 FlutterCommand.run package:args/command_runner.dart 177 CommandRunner.runCommand.&lt;fn&gt; dart:async Future.Future.sync package:args/command_runner.dart 130 CommandRunner.runCommand package:flutter_tools/src/runner/flutter_command_runner.dart 186 FlutterCommandRunner.runCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_tools/src/cache.dart 71 Cache.lock.&lt;async&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper package:flutter_tools/src/runner/flutter_command_runner.dart FlutterCommandRunner.runCommand package:args/command_runner.dart 104 CommandRunner.run.&lt;fn&gt; dart:async Future.Future.sync package:args/command_runner.dart 104 CommandRunner.run package:flutter_tools/src/runner/flutter_command_runner.dart 132 FlutterCommandRunner.run package:flutter_tools/executable.dart 97 main.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; ===== asynchronous gap =========================== package:stack_trace Chain.capture package:flutter_tools/executable.dart 91 main.&lt;async&gt; </code></pre></div> <h2 dir="auto">flutter doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="encountered exception: The null object does not have a getter 'length'. NoSuchMethodError: method not found: 'length' Receiver: null Arguments: [] #0 Object._noSuchMethod (dart:core-patch/object_patch.dart:44) #1 Object.noSuchMethod (dart:core-patch/object_patch.dart:47) #2 _shortGitRevision (package:flutter_tools/src/version.dart:110) #3 FlutterVersion.engineRevisionShort (package:flutter_tools/src/version.dart:56) #4 _FlutterValidator.validate.&lt;validate_async_body&gt; (package:flutter_tools/src/doctor.dart:212) #5 Future.Future.microtask.&lt;anonymous closure&gt; (dart:async/future.dart:144) #6 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:206) #7 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:125) #8 _rootRun (dart:async/zone.dart:1146) #9 _CustomZone.run (dart:async/zone.dart:1026) #10 _CustomZone.runGuarded (dart:async/zone.dart:924) #11 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:951) #12 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:206) #13 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:125) #14 _rootRun (dart:async/zone.dart:1150) #15 _CustomZone.run (dart:async/zone.dart:1026) #16 _CustomZone.runGuarded (dart:async/zone.dart:924) #17 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:951) #18 _microtaskLoop (dart:async/schedule_microtask.dart:41) #19 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50) #20 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96) #21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)"><pre class="notranslate"><code class="notranslate">encountered exception: The null object does not have a getter 'length'. NoSuchMethodError: method not found: 'length' Receiver: null Arguments: [] #0 Object._noSuchMethod (dart:core-patch/object_patch.dart:44) #1 Object.noSuchMethod (dart:core-patch/object_patch.dart:47) #2 _shortGitRevision (package:flutter_tools/src/version.dart:110) #3 FlutterVersion.engineRevisionShort (package:flutter_tools/src/version.dart:56) #4 _FlutterValidator.validate.&lt;validate_async_body&gt; (package:flutter_tools/src/doctor.dart:212) #5 Future.Future.microtask.&lt;anonymous closure&gt; (dart:async/future.dart:144) #6 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:206) #7 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:125) #8 _rootRun (dart:async/zone.dart:1146) #9 _CustomZone.run (dart:async/zone.dart:1026) #10 _CustomZone.runGuarded (dart:async/zone.dart:924) #11 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:951) #12 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:206) #13 StackZoneSpecification.registerCallback.&lt;anonymous closure&gt; (package:stack_trace/src/stack_zone_specification.dart:125) #14 _rootRun (dart:async/zone.dart:1150) #15 _CustomZone.run (dart:async/zone.dart:1026) #16 _CustomZone.runGuarded (dart:async/zone.dart:924) #17 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:951) #18 _microtaskLoop (dart:async/schedule_microtask.dart:41) #19 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50) #20 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96) #21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149) </code></pre></div>
0
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/bonfire-return-largest-numbers-in-arrays#?solution=function%20largestOfFour%28arr%29%20%7B%0A%20%20%2F%2F%20You%20can%20do%20this!%0A%20var%20array%2Clarge%2Carr1%3D%5B%5D%3B%0A%20%20var%20k%3Darr.length%3B%0A%20%20for%28var%20i%3D0%3Bi%3Ck%3Bi%2B%2B%29%0A%20%20%7B%20array%3Darr.shift%28%29%3B%0A%20%20%20%20var%20h%3Darray.length%3B%0A%20%20%20%20%20for%28var%20j%3D0%3Bj%3Ch%3Bj%2B%2B%29%0A%20%20%20%20%20%20%20%20%7Bif%28j%3D%3D%3D0%29%20large%3Darray%5Bj%5D%3B%0A%20%20%20%20%20%20%20%20%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20if%28array%5Bj%5D%3Elarge%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20large%3Darray%5Bj%5D%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%7D%0A%20%20arr1.push%28%5Blarge%5D%29%3B%0A%20%20%20%0A%20%20%7D%0A%20%20return%20'%5B'%2Barr1%2B'%5D'%3B%7D%0A%0AlargestOfFour%28%5B%5B56%2C13%2C%2027%2C%20102%2C18%2C%2026%2C99%5D%2C%20%5B32%2C%2035%2C%2037%2C%2039%5D%2C%20%5B1000%2C%201001%2C%20857%2C%201%5D%5D%29%3B%0A" rel="nofollow">Bonfire: Return Largest Numbers in Arrays</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function largestOfFour(arr) { // You can do this! var array,large,arr1=[]; var k=arr.length; for(var i=0;i&lt;k;i++) { array=arr.shift(); var h=array.length; for(var j=0;j&lt;h;j++) {if(j===0) large=array[j]; else { if(array[j]&gt;large) large=array[j]; } } arr1.push([large]); } return '['+arr1+']';} largestOfFour([[56,13, 27, 102,18, 26,99], [32, 35, 37, 39], [1000, 1001, 857, 1]]); "><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">largestOfFour</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// You can do this!</span> <span class="pl-k">var</span> <span class="pl-s1">array</span><span class="pl-kos">,</span><span class="pl-s1">large</span><span class="pl-kos">,</span><span class="pl-s1">arr1</span><span class="pl-c1">=</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">k</span><span class="pl-c1">=</span><span class="pl-s1">arr</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-k">for</span><span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">&lt;</span><span class="pl-s1">k</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">array</span><span class="pl-c1">=</span><span class="pl-s1">arr</span><span class="pl-kos">.</span><span class="pl-en">shift</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">h</span><span class="pl-c1">=</span><span class="pl-s1">array</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-k">for</span><span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">j</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span><span class="pl-s1">j</span><span class="pl-c1">&lt;</span><span class="pl-s1">h</span><span class="pl-kos">;</span><span class="pl-s1">j</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">j</span><span class="pl-c1">===</span><span class="pl-c1">0</span><span class="pl-kos">)</span> <span class="pl-s1">large</span><span class="pl-c1">=</span><span class="pl-s1">array</span><span class="pl-kos">[</span><span class="pl-s1">j</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> <span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">array</span><span class="pl-kos">[</span><span class="pl-s1">j</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-s1">large</span><span class="pl-kos">)</span> <span class="pl-s1">large</span><span class="pl-c1">=</span><span class="pl-s1">array</span><span class="pl-kos">[</span><span class="pl-s1">j</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-s1">arr1</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s1">large</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">return</span> <span class="pl-s">'['</span><span class="pl-c1">+</span><span class="pl-s1">arr1</span><span class="pl-c1">+</span><span class="pl-s">']'</span><span class="pl-kos">;</span><span class="pl-kos">}</span> <span class="pl-en">largestOfFour</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-c1">56</span><span class="pl-kos">,</span><span class="pl-c1">13</span><span class="pl-kos">,</span> <span class="pl-c1">27</span><span class="pl-kos">,</span> <span class="pl-c1">102</span><span class="pl-kos">,</span><span class="pl-c1">18</span><span class="pl-kos">,</span> <span class="pl-c1">26</span><span class="pl-kos">,</span><span class="pl-c1">99</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">32</span><span class="pl-kos">,</span> <span class="pl-c1">35</span><span class="pl-kos">,</span> <span class="pl-c1">37</span><span class="pl-kos">,</span> <span class="pl-c1">39</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">1000</span><span class="pl-kos">,</span> <span class="pl-c1">1001</span><span class="pl-kos">,</span> <span class="pl-c1">857</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Update signin page to only display signin options<br> Add signup route that uses the email-signup route handler.</p>
0
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> </ul> <h3 dir="auto">Electron Version</h3> <p dir="auto">12.0.5</p> <h3 dir="auto">What operating system are you using?</h3> <p dir="auto">Other Linux</p> <h3 dir="auto">Operating System Version</h3> <p dir="auto">Arch Linux</p> <h3 dir="auto">What arch are you using?</h3> <p dir="auto">Other (specify below)</p> <h3 dir="auto">Last Known Working Electron version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Electron shouldn't change the default behavior of apps, launched by electron</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">All electron apps will start additional 3rd party apps in xwayland mode. This results in a conflict for some of them. Like firefox, if firefox is already launched and you press a link in an electron app, firefox will respond with a message "Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.", because firefox xwayland can not run inside a native wayland firefox.</p> <h3 dir="auto">Testcase Gist URL</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">Steps to reproduce:</p> <ol dir="auto"> <li>Be on a wayland session (with xwayland support, like GNOME; check with <code class="notranslate">echo $XDG_SESSION_TYPE</code>)</li> <li>Launch firefox in wayland mode: <code class="notranslate">MOZ_ENABLE_WAYLAND=1 firefox</code> (could be default on your distro anyways, you can check after launch in <em>about:support</em>.)</li> <li>make sure that firefox is your default browser.</li> <li>Launch an Electron app</li> <li>Click a link in this electron app</li> </ol>
<p dir="auto">I'm assuming this is controlled by Atom Shell and not Atom, so I'm reporting it here; <code class="notranslate">process.env.PATH</code> does no longer match the user's <code class="notranslate">$PATH</code> environment variable. It is instead some form of system default, "sanitized" value.</p> <p dir="auto">This regression seems specific to OS X. I have verified <code class="notranslate">process.env.Path</code> is not "sanitized" on Windows 8.1 running Atom v0.120.0. The inconsistency might be accidental because on Windows the environment variable is named <code class="notranslate">Path</code> and not <code class="notranslate">PATH</code>. I have not tested to see if the regression also occurs on any GNU/Linux distributions.</p> <p dir="auto">Tried to scan through the recent commits to figure out when this regression got introduced, but had no such luck... perhaps it's related to the recently upgraded Chromium?</p> <p dir="auto">All other environment variables are correctly read (and passed to) Atom. Which means that this works</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ EVERYTHING=/is/awesome atom"><pre class="notranslate">$ EVERYTHING=/is/awesome atom</pre></div> <p dir="auto">in that the variable can be read in Atom via e.g. <code class="notranslate">console.log(process.env.EVERYTHING)</code>, whereas this</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ PATH=$PATH:/ermahgerd atom"><pre class="notranslate">$ PATH=<span class="pl-smi">$PATH</span>:/ermahgerd atom</pre></div> <p dir="auto">does not. Regardless of what I do, <code class="notranslate">console.log(process.env.PATH)</code> always displays <code class="notranslate">/usr/bin:/bin:/usr/sbin:/sbin</code>.</p> <hr> <p dir="auto">Update:</p> <p dir="auto">Tested with Atom v0.120.0 and Atom built from source, running on OS X Yosemite Beta 1.</p> <p dir="auto">Installing fresh copies of OS X 10.9.4 and 10.10 in VMs now, to see if I can reproduce the old behavior and the regression.</p>
0
<p dir="auto">sample session:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rusti WARNING: The Rust REPL is experimental and may be unstable. If you encounter problems, please use the compiler instead. rusti&gt; fn f() {} () rusti&gt; fn f() {} () rusti&gt; 42; &lt;anon&gt;:35:0: 35:10 error: duplicate definition of value f &lt;anon&gt;:35 fn f() { } ^~~~~~~~~~ &lt;anon&gt;:33:0: 33:10 note: first definition of value f here: &lt;anon&gt;:33 fn f() { } ^~~~~~~~~~ error: aborting due to previous error rust: task failed at 'explicit failure', /home/ben/code/repos/rust/src/libsyntax/diagnostic.rs:99"><pre class="notranslate"><code class="notranslate">$ rusti WARNING: The Rust REPL is experimental and may be unstable. If you encounter problems, please use the compiler instead. rusti&gt; fn f() {} () rusti&gt; fn f() {} () rusti&gt; 42; &lt;anon&gt;:35:0: 35:10 error: duplicate definition of value f &lt;anon&gt;:35 fn f() { } ^~~~~~~~~~ &lt;anon&gt;:33:0: 33:10 note: first definition of value f here: &lt;anon&gt;:33 fn f() { } ^~~~~~~~~~ error: aborting due to previous error rust: task failed at 'explicit failure', /home/ben/code/repos/rust/src/libsyntax/diagnostic.rs:99 </code></pre></div>
<p dir="auto">See comment below: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="31892594" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/13655" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/13655/hovercard?comment_id=46382595&amp;comment_type=issue_comment" href="https://github.com/rust-lang/rust/issues/13655#issuecomment-46382595">#13655 (comment)</a>.</p> <hr> <p dir="auto"><strong>old report</strong></p> <p dir="auto">I tried running it in the debugger, but couldn't get gdb to find "rust_fail" for a breakpoint. I also didn't check whether this is a duplicate, sorry.</p> <p dir="auto">$ rustc -v<br> rustc 0.11-pre-nightly (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/e33228727e97e3abb95ca91f6b6049f8682db7d0/hovercard" href="https://github.com/rust-lang/rust/commit/e33228727e97e3abb95ca91f6b6049f8682db7d0"><tt>e332287</tt></a> 2014-04-16 00:56:30 -0700)<br> host: x86_64-unknown-linux-gnu</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc server.rs schooner/log.rs:202:13: 202:23 error: mismatched types: expected `std::result::Result&lt;~str,std::io::IoError&gt;` but found `std::option::Option&lt;&lt;generic #264&gt;&gt;` (expected enum std::result::Result but found enum std::option::Option) schooner/log.rs:202 Some(line) =&gt; { ^~~~~~~~~~ schooner/log.rs:210:13: 210:17 error: mismatched types: expected `std::result::Result&lt;~str,std::io::IoError&gt;` but found `std::option::Option&lt;&lt;generic #265&gt;&gt;` (expected enum std::result::Result but found enum std::option::Option) schooner/log.rs:210 None =&gt; () // return Err(format!(&quot;Problem while reading in log file: {}&quot;, path.display().to_str())) ^~~~ error: internal compiler error: unexpected failure note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'index out of bounds: the len is 0 but the index is 0', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/librustc/lib.rs:1 stack backtrace: 1: 0x2ae4d244bf10 - rt::backtrace::imp::write::hb4d14c641715212670a::v0.11.pre 2: 0x2ae4d23ad460 - rt::unwind::begin_unwind_inner::hb6257486a54a301cABa::v0.11.pre 3: 0x2ae4d23ad3d0 - rt::unwind::begin_unwind::h10a9dcad1e815882aBa::v0.11.pre 4: 0x2ae4d244bb20 - rt::unwind::begin_unwind_raw::h18b61474055627a8Jya::v0.11.pre 5: 0x2ae4d23ac700 - rt::unwind::fail_::hc606fb5e7f153625nwa::v0.11.pre 6: 0x2ae4d244bb90 - rt::unwind::fail_bounds_check::closure.40261 7: 0x2ae4d23ae630 - rt::unwind::fail_bounds_check::hc426cbe6f6d8fda9Kwa::v0.11.pre 8: 0x2ae4d0082160 - middle::typeck::check::method::LookupContext$LT$$x27a$GT$::push_bound_candidates::closure.66419 9: 0x2ae4d0081060 - middle::typeck::check::autoderef::h3b3cd92df88ba880fO8::v0.11.pre 10: 0x2ae4d007dda0 - middle::typeck::check::method::LookupContext$LT$$x27a$GT$::push_bound_candidates::hc19431f1eb875546Sy5::v0.11.pre 11: 0x2ae4d007df30 - middle::typeck::check::method::lookup_in_trait::h66356e4f09bb4e3dGh5::v0.11.pre 12: 0x2ae4d007e930 - middle::typeck::check::try_overloaded_deref::h6c4b3c92b2204307bS8::v0.11.pre 13: 0x2ae4d0081060 - middle::typeck::check::autoderef::h3b3cd92df88ba880fO8::v0.11.pre 14: 0x2ae4d007c360 - middle::typeck::check::method::lookup::h2bab3026e2c612cbKa5::v0.11.pre 15: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 16: 0x2ae4d00bed70 - middle::typeck::check::check_expr_with_unifier::check_argument_types::hdf195254fb9ad91aqq9::v0.11.pre 17: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 18: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 19: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 20: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 21: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 22: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 23: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 24: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 25: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 26: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 27: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 28: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 29: 0x2ae4d00c03a0 - middle::typeck::check::check_block_no_value::hd954ad05ca60716aFFb::v0.11.pre 30: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 31: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 32: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 33: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 34: 0x2ae4d0093020 - middle::typeck::check::check_fn::h9d9a07999182adc5Zp7::v0.11.pre 35: 0x2ae4d0092dc0 - middle::typeck::check::check_bare_fn::hb6bc5891dd566922Rf7::v0.11.pre 36: 0x2ae4d008e130 - middle::typeck::check::check_item::hb61a6cf0c634001eZx7::v0.11.pre 37: 0x2ae4d008fbb0 - visit::walk_item::h820b10196031a87d1xw::v0.11.pre 38: 0x2ae4d008fbb0 - visit::walk_item::h820b10196031a87d1xw::v0.11.pre 39: 0x2ae4d0092ca0 - middle::typeck::check::check_item_types::h81b2805d49e06382rf7::v0.11.pre 40: 0x2ae4d01d32c0 - util::common::time::h104026deb384af9cxFg::v0.11.pre 41: 0x2ae4d01d1c90 - middle::typeck::check_crate::hff5b61383c42166fV7t::v0.11.pre 42: 0x2ae4d06063f0 - driver::driver::phase_3_run_analysis_passes::h268420b55d9aba34Xre::v0.11.pre 43: 0x2ae4d060ce00 - driver::driver::compile_input::h3ccf917b299cf56eSQe::v0.11.pre 44: 0x2ae4d06311e0 - run_compiler::he183fbc68c036254gpm::v0.11.pre 45: 0x2ae4d06488e0 - main_args::closure.91933 46: 0x2ae4d0647210 - monitor::closure.91818 47: 0x2ae4d0642af0 - task::TaskBuilder::try::closure.91584 48: 0x2ae4cf8c5fa0 - task::spawn_opts::closure.7973 49: 0x2ae4d2446f40 - rt::task::Task::run::closure.40163 50: 0x2ae4d2452aa0 - rust_try 51: 0x2ae4d2446d80 - rt::task::Task::run::hf191250bb000025bBr8::v0.11.pre 52: 0x2ae4cf8c5d70 - task::spawn_opts::closure.7946 53: 0x2ae4d244aa50 - rt::thread::thread_start::h7631e63c8ba8fa17g68::v0.11.pre 54: 0x2ae4d2e76ea0 - start_thread 55: 0x2ae4d2ba1999 - __clone 56: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">rustc server.rs schooner/log.rs:202:13: 202:23 error: mismatched types: expected `std::result::Result&lt;~str,std::io::IoError&gt;` but found `std::option::Option&lt;&lt;generic #264&gt;&gt;` (expected enum std::result::Result but found enum std::option::Option) schooner/log.rs:202 Some(line) =&gt; { ^~~~~~~~~~ schooner/log.rs:210:13: 210:17 error: mismatched types: expected `std::result::Result&lt;~str,std::io::IoError&gt;` but found `std::option::Option&lt;&lt;generic #265&gt;&gt;` (expected enum std::result::Result but found enum std::option::Option) schooner/log.rs:210 None =&gt; () // return Err(format!("Problem while reading in log file: {}", path.display().to_str())) ^~~~ error: internal compiler error: unexpected failure note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'index out of bounds: the len is 0 but the index is 0', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/librustc/lib.rs:1 stack backtrace: 1: 0x2ae4d244bf10 - rt::backtrace::imp::write::hb4d14c641715212670a::v0.11.pre 2: 0x2ae4d23ad460 - rt::unwind::begin_unwind_inner::hb6257486a54a301cABa::v0.11.pre 3: 0x2ae4d23ad3d0 - rt::unwind::begin_unwind::h10a9dcad1e815882aBa::v0.11.pre 4: 0x2ae4d244bb20 - rt::unwind::begin_unwind_raw::h18b61474055627a8Jya::v0.11.pre 5: 0x2ae4d23ac700 - rt::unwind::fail_::hc606fb5e7f153625nwa::v0.11.pre 6: 0x2ae4d244bb90 - rt::unwind::fail_bounds_check::closure.40261 7: 0x2ae4d23ae630 - rt::unwind::fail_bounds_check::hc426cbe6f6d8fda9Kwa::v0.11.pre 8: 0x2ae4d0082160 - middle::typeck::check::method::LookupContext$LT$$x27a$GT$::push_bound_candidates::closure.66419 9: 0x2ae4d0081060 - middle::typeck::check::autoderef::h3b3cd92df88ba880fO8::v0.11.pre 10: 0x2ae4d007dda0 - middle::typeck::check::method::LookupContext$LT$$x27a$GT$::push_bound_candidates::hc19431f1eb875546Sy5::v0.11.pre 11: 0x2ae4d007df30 - middle::typeck::check::method::lookup_in_trait::h66356e4f09bb4e3dGh5::v0.11.pre 12: 0x2ae4d007e930 - middle::typeck::check::try_overloaded_deref::h6c4b3c92b2204307bS8::v0.11.pre 13: 0x2ae4d0081060 - middle::typeck::check::autoderef::h3b3cd92df88ba880fO8::v0.11.pre 14: 0x2ae4d007c360 - middle::typeck::check::method::lookup::h2bab3026e2c612cbKa5::v0.11.pre 15: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 16: 0x2ae4d00bed70 - middle::typeck::check::check_expr_with_unifier::check_argument_types::hdf195254fb9ad91aqq9::v0.11.pre 17: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 18: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 19: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 20: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 21: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 22: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 23: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 24: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 25: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 26: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 27: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 28: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 29: 0x2ae4d00c03a0 - middle::typeck::check::check_block_no_value::hd954ad05ca60716aFFb::v0.11.pre 30: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 31: 0x2ae4d001ec70 - middle::typeck::check::_match::check_match::h27f8e9c536cc6bd3dzZ::v0.11.pre 32: 0x2ae4d00b4fe0 - middle::typeck::check::check_expr_with_unifier::he8b805180753f0ebom9::v0.11.pre 33: 0x2ae4d00978e0 - middle::typeck::check::check_block_with_expected::h3838f44d28bed00bJGb::v0.11.pre 34: 0x2ae4d0093020 - middle::typeck::check::check_fn::h9d9a07999182adc5Zp7::v0.11.pre 35: 0x2ae4d0092dc0 - middle::typeck::check::check_bare_fn::hb6bc5891dd566922Rf7::v0.11.pre 36: 0x2ae4d008e130 - middle::typeck::check::check_item::hb61a6cf0c634001eZx7::v0.11.pre 37: 0x2ae4d008fbb0 - visit::walk_item::h820b10196031a87d1xw::v0.11.pre 38: 0x2ae4d008fbb0 - visit::walk_item::h820b10196031a87d1xw::v0.11.pre 39: 0x2ae4d0092ca0 - middle::typeck::check::check_item_types::h81b2805d49e06382rf7::v0.11.pre 40: 0x2ae4d01d32c0 - util::common::time::h104026deb384af9cxFg::v0.11.pre 41: 0x2ae4d01d1c90 - middle::typeck::check_crate::hff5b61383c42166fV7t::v0.11.pre 42: 0x2ae4d06063f0 - driver::driver::phase_3_run_analysis_passes::h268420b55d9aba34Xre::v0.11.pre 43: 0x2ae4d060ce00 - driver::driver::compile_input::h3ccf917b299cf56eSQe::v0.11.pre 44: 0x2ae4d06311e0 - run_compiler::he183fbc68c036254gpm::v0.11.pre 45: 0x2ae4d06488e0 - main_args::closure.91933 46: 0x2ae4d0647210 - monitor::closure.91818 47: 0x2ae4d0642af0 - task::TaskBuilder::try::closure.91584 48: 0x2ae4cf8c5fa0 - task::spawn_opts::closure.7973 49: 0x2ae4d2446f40 - rt::task::Task::run::closure.40163 50: 0x2ae4d2452aa0 - rust_try 51: 0x2ae4d2446d80 - rt::task::Task::run::hf191250bb000025bBr8::v0.11.pre 52: 0x2ae4cf8c5d70 - task::spawn_opts::closure.7946 53: 0x2ae4d244aa50 - rt::thread::thread_start::h7631e63c8ba8fa17g68::v0.11.pre 54: 0x2ae4d2e76ea0 - start_thread 55: 0x2ae4d2ba1999 - __clone 56: 0x0 - &lt;unknown&gt; </code></pre></div>
0
<p dir="auto"><strong>Describe the bug</strong></p> <p dir="auto">We've been hitting this for awhile but finally dug into exactly why it's happening. With the addition of a normal offset bias for shadows (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="582838122" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/18915" data-hovercard-type="pull_request" data-hovercard-url="/mrdoob/three.js/pull/18915/hovercard" href="https://github.com/mrdoob/three.js/pull/18915">#18915</a>) normals are <a href="https://github.com/higharc/three.js/blob/892543285102f5f00ea48fa9189b221990f244e1/src/renderers/shaders/ShaderChunk/shadowmap_vertex.glsl.js#L4-L10">required in the vertex shader</a> to compute the fragment position in the shadow frame. However if vertex normals are not available on the geometry then the behavior of this section of code seem unpredictable. On an NVidia GTX 1080 and Intel integrated graphics no shadows are rendered on the mesh with flat shading enabled but shadows are rendered as expected with a Radeon Pro 560. We are using flat shaded materials on some of our models that do not have vertex normals and / or it's too expensive to generate them because our geometry is dynamic.</p> <p dir="auto"><strong>To Reproduce</strong></p> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>Go to <a href="https://jsfiddle.net/1dptcou6/" rel="nofollow">https://jsfiddle.net/1dptcou6/</a>.</li> <li>See that shadows are not displayed on the plane with <code class="notranslate">flatShading</code> enabled and no geometry normals.</li> <li>Comment out the <code class="notranslate">flatShading: true</code> line on material instantiation and line removing vertex normals.</li> <li>Shadows are rendered as expected.</li> </ol> <p dir="auto"><em><strong>Live example</strong></em></p> <ul dir="auto"> <li><a href="https://jsfiddle.net/1dptcou6/" rel="nofollow">https://jsfiddle.net/1dptcou6/</a></li> </ul> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">Shadows render normally even when <code class="notranslate">Material.flatShading = true</code> and no vertex normals are available. This worked as expected until r118 onward.</p> <p dir="auto"><strong>Platform:</strong></p> <ul dir="auto"> <li>Device: 2017 Microsoft Surface Laptop</li> <li>OS: Windows 10</li> <li>Browser: Chrome</li> <li>Three.js version: r118+</li> </ul> <p dir="auto">Also observed with NVidia GTX 1080 GPU on Windows and Intel Integrated Graphics on OSX.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Oletus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Oletus">@Oletus</a></p>
<p dir="auto">Minecraft Education edition has a tool for exporting .GLB files directly from the game, but the resulting GLB file won't receive shadows when displayed using three.js on Windows devices.</p> <p dir="auto">This issue occurs when using Windows browsers (Firefox, Chrome, Edge), but not when using MacOS browsers (Chrome, Firefox, and Safari). <a href="https://discourse.threejs.org/t/gltf-model-shadows-not-receiving-with-gltfmeshstandardsgmaterial/24112/5" rel="nofollow">See the original thread on discourse.threejs.org for more information</a>.</p> <p dir="auto"><strong>Steps to reproduce the behavior:</strong></p> <ol dir="auto"> <li>Go to <a href="https://2cf782ea.minecraft-website.pages.dev/" rel="nofollow">the demo website</a>.</li> <li>Note that on Windows, the red sphere does not cast a shadow onto the Minecraft model.</li> </ol> <p dir="auto"><strong>Live example</strong><br> <a href="https://2cf782ea.minecraft-website.pages.dev/" rel="nofollow">https://2cf782ea.minecraft-website.pages.dev/</a><br> Source code can be found in <a href="https://github.com/aufyx/minecraft-website">this GitHub repository</a>.</p> <p dir="auto"><strong>Expected behavior</strong><br> The red sphere should cast a shadow onto the 3D model.</p> <p dir="auto"><strong>Screenshots</strong><br> Windows users don't see the sphere shadow, its absence circled in red.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/dc4753afdcbc682ac2f54960040877812ca2edfa4f3604d60fdd4c6f4bedfe65/68747470733a2f2f617773312e646973636f757273652d63646e2e636f6d2f7374616e6461726431372f75706c6f6164732f74687265656a732f6f726967696e616c2f33582f662f662f666636623635613430396161393139353637376261363039323738366638306630346564333538382e6a706567"><img src="https://camo.githubusercontent.com/dc4753afdcbc682ac2f54960040877812ca2edfa4f3604d60fdd4c6f4bedfe65/68747470733a2f2f617773312e646973636f757273652d63646e2e636f6d2f7374616e6461726431372f75706c6f6164732f74687265656a732f6f726967696e616c2f33582f662f662f666636623635613430396161393139353637376261363039323738366638306630346564333538382e6a706567" alt="Windows Example" data-canonical-src="https://aws1.discourse-cdn.com/standard17/uploads/threejs/original/3X/f/f/ff6b65a409aa9195677ba6092786f80f04ed3588.jpeg" style="max-width: 100%;"></a></p> <p dir="auto">Mac users see the shadow as expected, as well as the model casting shadows on itself.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/3f014d1660e05ce42e933a78deb33c286e7a73179ebd48c2b3365da6390b60c8/68747470733a2f2f617773312e646973636f757273652d63646e2e636f6d2f7374616e6461726431372f75706c6f6164732f74687265656a732f6f726967696e616c2f33582f612f622f616262343532383462356265613361373034333765383365643436633139383631303333646561612e6a706567"><img src="https://camo.githubusercontent.com/3f014d1660e05ce42e933a78deb33c286e7a73179ebd48c2b3365da6390b60c8/68747470733a2f2f617773312e646973636f757273652d63646e2e636f6d2f7374616e6461726431372f75706c6f6164732f74687265656a732f6f726967696e616c2f33582f612f622f616262343532383462356265613361373034333765383365643436633139383631303333646561612e6a706567" alt="Mac Example" data-canonical-src="https://aws1.discourse-cdn.com/standard17/uploads/threejs/original/3X/a/b/abb45284b5bea3a70437e83ed46c19861033deaa.jpeg" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Platform:</strong></p> <ul dir="auto"> <li>Device: [Desktop]</li> <li>OS: [Windows]</li> <li>Browser: [Chrome, Firefox, Edge]</li> <li>Three.js version: [r126]</li> </ul>
1
<ul dir="auto"> <li>Electron version: v1.2.4</li> <li>Operating system: docker image <a href="https://hub.docker.com/_/node/" rel="nofollow">node:6.2.2</a> (debian derived) running Xvfb</li> </ul> <p dir="auto">When running electron-prebuilt on debian in docker, electron exits WITHOUT firing the <code class="notranslate">app.on('ready', () =&gt; {})</code> callback.</p> <p dir="auto">Here's the stack dump generated by running with <code class="notranslate">ELECTRON_ENABLE_STACK_DUMPING=true</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Received signal 11 SEGV_MAPERR 000000000000 #0 0x00000140f1eb &lt;unknown&gt; #1 0x7ff897ff98d0 &lt;unknown&gt; r8: 0000000000000006 r9: 0000000000000002 r10: 00000000034ac851 r11: 00007ff8997953ec r12: 0000192062db5280 r13: 00007ff88f875b00 r14: 00000000000025cf r15: 0000192062dff420 di: 00007ff88f875b00 si: 00000000000025cf bp: 0000192062ddec90 bx: 0000000000000001 dx: 00007ff88f65ac40 ax: 0000192062ddec80 cx: 00000000034ac918 sp: 00007ffefcf3aed8 ip: 0000000000000000 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000014 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000 [end of stack trace]"><pre class="notranslate"><code class="notranslate">Received signal 11 SEGV_MAPERR 000000000000 #0 0x00000140f1eb &lt;unknown&gt; #1 0x7ff897ff98d0 &lt;unknown&gt; r8: 0000000000000006 r9: 0000000000000002 r10: 00000000034ac851 r11: 00007ff8997953ec r12: 0000192062db5280 r13: 00007ff88f875b00 r14: 00000000000025cf r15: 0000192062dff420 di: 00007ff88f875b00 si: 00000000000025cf bp: 0000192062ddec90 bx: 0000000000000001 dx: 00007ff88f65ac40 ax: 0000192062ddec80 cx: 00000000034ac918 sp: 00007ffefcf3aed8 ip: 0000000000000000 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000014 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000 [end of stack trace] </code></pre></div> <p dir="auto">See this gist for a minimal example that reproduces the issue here: <a href="https://gist.github.com/qrohlf/02b4152d788a103a9596b2444b0d5500">https://gist.github.com/qrohlf/02b4152d788a103a9596b2444b0d5500</a></p>
<ul dir="auto"> <li>Electron version: 1.2.4</li> <li>Operating system: Linux xxx 4.2.0-38-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="17570403" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/45" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/45/hovercard" href="https://github.com/electron/electron/issues/45">#45</a>~14.04.1-Ubuntu SMP Thu Jun 9 09:27:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</li> </ul> <p dir="auto">I was trying to set 1.2.2 - 1.2.3 versions and works fine. When updating to 1.2.4 app.on('ready'...) never works. No errors output on console.<br> Trying "Quick start" from electron. <a href="https://github.com/electron/electron-quick-start">https://github.com/electron/electron-quick-start</a></p>
1
<p dir="auto"><strong>Elasticsearch version</strong>:</p> <p dir="auto">5.0.0~alpha2</p> <p dir="auto"><strong>JVM version</strong>:</p> <p dir="auto">java version "1.8.0_91"<br> Java(TM) SE Runtime Environment (build 1.8.0_91-b14)<br> Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)</p> <p dir="auto"><strong>OS version</strong>:</p> <p dir="auto">Linux ip-10-10-155-12 3.13.0-74-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165835" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/118" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/118/hovercard" href="https://github.com/elastic/elasticsearch/issues/118">#118</a>-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:</p> <p dir="auto"><strong>Steps to reproduce</strong>:</p> <ol dir="auto"> <li>Create a large number of documents</li> <li>Attempt to delete the documents using something like a match_all query and the delete-by-query plugin</li> <li>Boom!</li> </ol> <p dir="auto"><strong>Provide logs (if relevant)</strong>:</p> <p dir="auto">You may see any combination of these:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2016-05-15 00:38:29,675][ERROR][action.deletebyquery ] [client] scroll request [...] failed, scrolling document(s) is stopped Failed to execute phase [query], all shards failed; shardFailures {RemoteTransportException[[worker][10.10.155.231:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3894]]; }{RemoteTransportException[[worker][10.10.155.184:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3894]]; }{RemoteTransportException[[worker][10.10.155.83:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3897]]; }{RemoteTransportException[[worker][10.10.155.181:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3894]]; }{RemoteTransportException[[worker][10.10.155.192:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3897]]; } at org.elasticsearch.action.search.SearchScrollQueryThenFetchAsyncAction.onQueryPhaseFailure(SearchScrollQueryThenFetchAsyncAction.java:155) at org.elasticsearch.action.search.SearchScrollQueryThenFetchAsyncAction$1.onFailure(SearchScrollQueryThenFetchAsyncAction.java:142) at org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:51) at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:795) at org.elasticsearch.transport.netty.MessageChannelHandler.handleException(MessageChannelHandler.java:204) at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:194) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:141) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ERROR][action.deletebyquery ] [client] scroll request [...] failed, scrolling document(s) is stopped"><pre class="notranslate"><code class="notranslate">[2016-05-15 00:38:29,675][ERROR][action.deletebyquery ] [client] scroll request [...] failed, scrolling document(s) is stopped Failed to execute phase [query], all shards failed; shardFailures {RemoteTransportException[[worker][10.10.155.231:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3894]]; }{RemoteTransportException[[worker][10.10.155.184:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3894]]; }{RemoteTransportException[[worker][10.10.155.83:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3897]]; }{RemoteTransportException[[worker][10.10.155.181:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3894]]; }{RemoteTransportException[[worker][10.10.155.192:9300][indices:data/read/search[phase/query/scroll]]]; nested: SearchContextMissingException[No search context found for id [3897]]; } at org.elasticsearch.action.search.SearchScrollQueryThenFetchAsyncAction.onQueryPhaseFailure(SearchScrollQueryThenFetchAsyncAction.java:155) at org.elasticsearch.action.search.SearchScrollQueryThenFetchAsyncAction$1.onFailure(SearchScrollQueryThenFetchAsyncAction.java:142) at org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:51) at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:795) at org.elasticsearch.transport.netty.MessageChannelHandler.handleException(MessageChannelHandler.java:204) at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:194) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:141) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ERROR][action.deletebyquery ] [client] scroll request [...] failed, scrolling document(s) is stopped </code></pre></div> <p dir="auto">or:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2016-05-15 23:38:55,644WARNrest.suppressed /_bulk Params: {} CircuitBreakingException[parent Data too large, data for &lt;http_request&gt; would be larger than limit of 2994274304/2.7gb] at org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService.checkParentLimit(HierarchyCircuitBreakerService.java:211) at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:128) ..."><pre class="notranslate"><code class="notranslate">2016-05-15 23:38:55,644WARNrest.suppressed /_bulk Params: {} CircuitBreakingException[parent Data too large, data for &lt;http_request&gt; would be larger than limit of 2994274304/2.7gb] at org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService.checkParentLimit(HierarchyCircuitBreakerService.java:211) at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:128) ... </code></pre></div> <p dir="auto">Yup, 2.7 gigs!</p> <p dir="auto">Since I had quite a few of these queries going in tandem, you can guess what happened next. Several of the worker nodes pegged at 200% CPU and started to use up all swap and ram (44gigs for the elasticsearch process in most cases). Searches would take 15 minutes.</p> <p dir="auto">Looking at the task list I see a big backlog of scroll requests and delete-by-query tasks, none of them cancellable. Not sure what I can do here except kill the index and start again.</p> <p dir="auto">Looking quickly at <a href="https://github.com/elastic/elasticsearch/blob/master/plugins/delete-by-query/src/main/java/org/elasticsearch/action/deletebyquery/TransportDeleteByQueryAction.java">https://github.com/elastic/elasticsearch/blob/master/plugins/delete-by-query/src/main/java/org/elasticsearch/action/deletebyquery/TransportDeleteByQueryAction.java</a> I'm guessing that the plugin just builds a bulk delete request without considering how large it might get.</p> <p dir="auto">I think some first steps might be:</p> <ol dir="auto"> <li>Make this plugin cancellable, not sure what this involves but there seems plenty of opportunity in between pages of the scroll request to check a cancellation flag.</li> <li>At least error out before attempting to build queries of such a large size, the search loop could probably check the <code class="notranslate">BulkRequest#estimatedSizeInBytes</code> against the cluster's max request size limits.</li> <li>Chunk bulk requests into smaller components and deliver them piecemeal</li> </ol>
<p dir="auto"><strong>Elasticsearch version</strong>: alpha2</p> <p dir="auto"><strong>JVM version</strong>: build 1.8.0_74-b02</p> <p dir="auto"><strong>OS version</strong>: OS X El Capitan 10.11.3</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:</p> <p dir="auto"><strong>Steps to reproduce</strong>:</p> <ol dir="auto"> <li> <p dir="auto">Install and run elasticsearch-alpha2, topbeat-alpha2, and kibana-alpha2 (Topbeat is only monitoring the node process on a 20 second interval.)</p> </li> <li> <p dir="auto">I am using Kibana to monitor a node process. Here is the query Kibana is using to generate the visualization:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;size&quot;:0, &quot;aggs&quot;:{ &quot;2&quot;:{ &quot;date_histogram&quot;:{ &quot;field&quot;:&quot;@timestamp&quot;, &quot;interval&quot;:&quot;30s&quot;, &quot;time_zone&quot;:&quot;America/Los_Angeles&quot;, &quot;min_doc_count&quot;:1 }, &quot;aggs&quot;:{ &quot;1&quot;:{ &quot;max&quot;:{ &quot;field&quot;:&quot;proc.mem.rss&quot; } } } } }, &quot;highlight&quot;:{ &quot;pre_tags&quot;:[ &quot;@kibana-highlighted-field@&quot; ], &quot;post_tags&quot;:[ &quot;@/kibana-highlighted-field@&quot; ], &quot;fields&quot;:{ &quot;*&quot;:{ } }, &quot;require_field_match&quot;:false, &quot;fragment_size&quot;:2147483647 }, &quot;query&quot;:{ &quot;bool&quot;:{ &quot;must&quot;:[ { &quot;query_string&quot;:{ &quot;query&quot;:&quot;*&quot;, &quot;analyze_wildcard&quot;:true } }, { &quot;match&quot;:{ &quot;proc.cmdline&quot;:{ &quot;query&quot;:&quot;/Users/tyler/.nvm/versions/node/v4.4.3/bin/node ./bin/../src/cli&quot;, &quot;type&quot;:&quot;phrase&quot; } } }, { &quot;range&quot;:{ &quot;@timestamp&quot;:{ &quot;gte&quot;:1462389453519, &quot;lte&quot;:1462390353519, &quot;format&quot;:&quot;epoch_millis&quot; } } } ], &quot;must_not&quot;:[ ] } } }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"size"</span>:<span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-s">"aggs"</span>:<span class="pl-kos">{</span> <span class="pl-s">"2"</span>:<span class="pl-kos">{</span> <span class="pl-s">"date_histogram"</span>:<span class="pl-kos">{</span> <span class="pl-s">"field"</span>:<span class="pl-s">"@timestamp"</span><span class="pl-kos">,</span> <span class="pl-s">"interval"</span>:<span class="pl-s">"30s"</span><span class="pl-kos">,</span> <span class="pl-s">"time_zone"</span>:<span class="pl-s">"America/Los_Angeles"</span><span class="pl-kos">,</span> <span class="pl-s">"min_doc_count"</span>:<span class="pl-c1">1</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">"aggs"</span>:<span class="pl-kos">{</span> <span class="pl-s">"1"</span>:<span class="pl-kos">{</span> <span class="pl-s">"max"</span>:<span class="pl-kos">{</span> <span class="pl-s">"field"</span>:<span class="pl-s">"proc.mem.rss"</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">"highlight"</span>:<span class="pl-kos">{</span> <span class="pl-s">"pre_tags"</span>:<span class="pl-kos">[</span> <span class="pl-s">"@kibana-highlighted-field@"</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"post_tags"</span>:<span class="pl-kos">[</span> <span class="pl-s">"@/kibana-highlighted-field@"</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"fields"</span>:<span class="pl-kos">{</span> <span class="pl-s">"*"</span>:<span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">"require_field_match"</span>:<span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-s">"fragment_size"</span>:<span class="pl-c1">2147483647</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">"query"</span>:<span class="pl-kos">{</span> <span class="pl-s">"bool"</span>:<span class="pl-kos">{</span> <span class="pl-s">"must"</span>:<span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-s">"query_string"</span>:<span class="pl-kos">{</span> <span class="pl-s">"query"</span>:<span class="pl-s">"*"</span><span class="pl-kos">,</span> <span class="pl-s">"analyze_wildcard"</span>:<span class="pl-c1">true</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"match"</span>:<span class="pl-kos">{</span> <span class="pl-s">"proc.cmdline"</span>:<span class="pl-kos">{</span> <span class="pl-s">"query"</span>:<span class="pl-s">"/Users/tyler/.nvm/versions/node/v4.4.3/bin/node ./bin/../src/cli"</span><span class="pl-kos">,</span> <span class="pl-s">"type"</span>:<span class="pl-s">"phrase"</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"range"</span>:<span class="pl-kos">{</span> <span class="pl-s">"@timestamp"</span>:<span class="pl-kos">{</span> <span class="pl-s">"gte"</span>:<span class="pl-c1">1462389453519</span><span class="pl-kos">,</span> <span class="pl-s">"lte"</span>:<span class="pl-c1">1462390353519</span><span class="pl-kos">,</span> <span class="pl-s">"format"</span>:<span class="pl-s">"epoch_millis"</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"must_not"</span>:<span class="pl-kos">[</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> </li> <li> <p dir="auto">Run for about 30 minutes.</p> </li> </ol> <p dir="auto">I have 1027 documents, and the total size is 1.6MB.</p> <p dir="auto"><strong>Provide logs (if relevant)</strong>:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="CircuitBreakingException[[parent] Data too large, data for [&lt;http_request&gt;] would be larger than limit of [726571417/692.9mb]] at org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService.checkParentLimit(HierarchyCircuitBreakerService.java:211) at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:128) at org.elasticsearch.http.HttpServer.dispatchRequest(HttpServer.java:109) at org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:489) at org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:65) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.elasticsearch.http.netty.pipelining.HttpPipeliningHandler.messageReceived(HttpPipeliningHandler.java:85) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:108) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459) at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536) at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:83) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)"><pre class="notranslate">CircuitBreakingException[[parent] Data too large, data <span class="pl-k">for</span> [<span class="pl-k">&lt;</span>http_request<span class="pl-k">&gt;</span>] would be larger than limit of [726571417/692.9mb]] at org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService.checkParentLimit(HierarchyCircuitBreakerService.java:211) at org.elasticsearch.common.breaker.ChildMemoryCircuitBreaker.addEstimateBytesAndMaybeBreak(ChildMemoryCircuitBreaker.java:128) at org.elasticsearch.http.HttpServer.dispatchRequest(HttpServer.java:109) at org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:489) at org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:65) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline<span class="pl-smi">$DefaultChannelHandlerContext</span>.sendUpstream(DefaultChannelPipeline.java:791) at org.elasticsearch.http.netty.pipelining.HttpPipeliningHandler.messageReceived(HttpPipeliningHandler.java:85) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline<span class="pl-smi">$DefaultChannelHandlerContext</span>.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline<span class="pl-smi">$DefaultChannelHandlerContext</span>.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:108) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline<span class="pl-smi">$DefaultChannelHandlerContext</span>.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459) at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536) at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline<span class="pl-smi">$DefaultChannelHandlerContext</span>.sendUpstream(DefaultChannelPipeline.java:791) at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:83) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.jboss.netty.util.internal.DeadLockProofWorker<span class="pl-smi">$1</span>.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor<span class="pl-smi">$Worker</span>.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)</pre></div> <p dir="auto">Eventually, all requests to ES will fail with this exception including _stats.</p>
1
<p dir="auto"><code class="notranslate">perf(ext/websocket): replace tokio_tungstenite server with fastwebsockets #18587</code></p> <p dir="auto">The above commit seems to break websockets.</p> <p dir="auto">Symptom: websocket sends do not go through until new messages arrive to the connection.</p> <p dir="auto">It's easy to reproduce with example close to the one from <a href="https://medium.com/deno-the-complete-reference/native-web-sockets-client-server-in-deno-928678a65cf2" rel="nofollow">https://medium.com/deno-the-complete-reference/native-web-sockets-client-server-in-deno-928678a65cf2</a> replacing prompts to input text with setTimeout with sending ping-pongs.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//chat_server.ts import { serve } from &quot;https://deno.land/std/http/mod.ts&quot;; function logError(msg: string) { console.log(msg); Deno.exit(1); } function handleConnected() { console.log(&quot;Connected to client ...&quot;); } function handleMessage(ws: WebSocket, data: string) { console.log(&quot;CLIENT &gt;&gt; &quot; + data); setTimeout(()=&gt;ws.send('pong'),2000); // const reply = prompt(&quot;Server &gt;&gt; &quot;) || &quot;No reply&quot;; // if (reply === &quot;exit&quot;) { // return ws.close(); // } // ws.send(reply as string); } function handleError(e: Event | ErrorEvent) { console.log(e instanceof ErrorEvent ? e.message : e.type); } async function reqHandler(req: Request) { if (req.headers.get(&quot;upgrade&quot;) != &quot;websocket&quot;) { return new Response(null, { status: 501 }); } const { socket: ws, response } = Deno.upgradeWebSocket(req); ws.onopen = () =&gt; handleConnected(); ws.onmessage = (m) =&gt; handleMessage(ws, m.data); ws.onclose = () =&gt; logError(&quot;Disconnected from client ...&quot;); ws.onerror = (e) =&gt; handleError(e); return response; } console.log(&quot;Waiting for client ...&quot;); serve(reqHandler, { port: 8001 });"><pre class="notranslate"><code class="notranslate">//chat_server.ts import { serve } from "https://deno.land/std/http/mod.ts"; function logError(msg: string) { console.log(msg); Deno.exit(1); } function handleConnected() { console.log("Connected to client ..."); } function handleMessage(ws: WebSocket, data: string) { console.log("CLIENT &gt;&gt; " + data); setTimeout(()=&gt;ws.send('pong'),2000); // const reply = prompt("Server &gt;&gt; ") || "No reply"; // if (reply === "exit") { // return ws.close(); // } // ws.send(reply as string); } function handleError(e: Event | ErrorEvent) { console.log(e instanceof ErrorEvent ? e.message : e.type); } async function reqHandler(req: Request) { if (req.headers.get("upgrade") != "websocket") { return new Response(null, { status: 501 }); } const { socket: ws, response } = Deno.upgradeWebSocket(req); ws.onopen = () =&gt; handleConnected(); ws.onmessage = (m) =&gt; handleMessage(ws, m.data); ws.onclose = () =&gt; logError("Disconnected from client ..."); ws.onerror = (e) =&gt; handleError(e); return response; } console.log("Waiting for client ..."); serve(reqHandler, { port: 8001 }); </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//chat_client.ts function logError(msg: string) { console.log(msg); Deno.exit(1); } function handleConnected(ws: WebSocket) { console.log(&quot;Connected to server ...&quot;); handleMessage(ws, &quot;Welcome!&quot;); } function handleMessage(ws: WebSocket, data: string) { console.log(&quot;SERVER &gt;&gt; &quot; + data); setTimeout(()=&gt;ws.send('ping'),2000); // const reply = prompt(&quot;Client &gt;&gt; &quot;) || &quot;No reply&quot;; // if (reply === &quot;exit&quot;) { // return ws.close(); // } // ws.send(reply as string); } function handleError(e: Event | ErrorEvent) { console.log(e instanceof ErrorEvent ? e.message : e.type); } console.log(&quot;Connecting to server ...&quot;); try { const ws = new WebSocket(&quot;ws://localhost:8001&quot;); ws.onopen = () =&gt; handleConnected(ws); ws.onmessage = (m) =&gt; handleMessage(ws, m.data); ws.onclose = () =&gt; logError(&quot;Disconnected from server ...&quot;); ws.onerror = (e) =&gt; handleError(e); } catch (err) { logError(&quot;Failed to connect to server ... exiting&quot;); }"><pre class="notranslate"><code class="notranslate">//chat_client.ts function logError(msg: string) { console.log(msg); Deno.exit(1); } function handleConnected(ws: WebSocket) { console.log("Connected to server ..."); handleMessage(ws, "Welcome!"); } function handleMessage(ws: WebSocket, data: string) { console.log("SERVER &gt;&gt; " + data); setTimeout(()=&gt;ws.send('ping'),2000); // const reply = prompt("Client &gt;&gt; ") || "No reply"; // if (reply === "exit") { // return ws.close(); // } // ws.send(reply as string); } function handleError(e: Event | ErrorEvent) { console.log(e instanceof ErrorEvent ? e.message : e.type); } console.log("Connecting to server ..."); try { const ws = new WebSocket("ws://localhost:8001"); ws.onopen = () =&gt; handleConnected(ws); ws.onmessage = (m) =&gt; handleMessage(ws, m.data); ws.onclose = () =&gt; logError("Disconnected from server ..."); ws.onerror = (e) =&gt; handleError(e); } catch (err) { logError("Failed to connect to server ... exiting"); } </code></pre></div> <p dir="auto">This example sends ping-pongs every 2 seconds on 1.32.3, but stalls on 1.32.4</p>
<p dir="auto">Today, I upgrade deno to 1.32.4. Websocket break in deno 1.32.4.<br> First message successfully send but cannot send message after timeout.<br> It work fine in deno 1.32.3.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" const { socket, response } = Deno.upgradeWebSocket(reqEvent.request); socket.onopen = () =&gt; { console.log(&quot;socket opened&quot;); socket.send(&quot;Hello World!&quot;); }; socket.onmessage = (e) =&gt; { socket.send(&quot;message from client received&quot;);//this work setTimeout(() =&gt; { socket.send(&quot;message send after some time&quot;);//this doesn't work // socket.close(); }, 2000); }; socket.onclose = () =&gt; console.log(&quot;WebSocket has been closed.&quot;); socket.onerror = (e) =&gt; console.error(&quot;WebSocket error:&quot;, e); reqEvent.respondWith(response);"><pre class="notranslate"> <span class="pl-k">const</span> <span class="pl-kos">{</span> socket<span class="pl-kos">,</span> response <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-v">Deno</span><span class="pl-kos">.</span><span class="pl-en">upgradeWebSocket</span><span class="pl-kos">(</span><span class="pl-s1">reqEvent</span><span class="pl-kos">.</span><span class="pl-c1">request</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">onopen</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"socket opened"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s">"Hello World!"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">onmessage</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s">"message from client received"</span><span class="pl-kos">)</span><span class="pl-kos">;</span><span class="pl-c">//this work</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s">"message send after some time"</span><span class="pl-kos">)</span><span class="pl-kos">;</span><span class="pl-c">//this doesn't work</span> <span class="pl-c">// socket.close();</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">2000</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">onclose</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"WebSocket has been closed."</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">onerror</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">error</span><span class="pl-kos">(</span><span class="pl-s">"WebSocket error:"</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">reqEvent</span><span class="pl-kos">.</span><span class="pl-en">respondWith</span><span class="pl-kos">(</span><span class="pl-s1">response</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">please fix this issue.</p>
1
<p dir="auto">It would be really nice if we could show the name of the shell in the tab title instead of the full path to it. It would make the tab titles shorter, and allow for easier visual recognition of which tabs are what. Ideally, if there is more than one tab with the same name it should append "-1", "-2", etc. to the tab name.</p>
<p dir="auto">"Is it also possible to shown a short title instead of the whole path?"</p> <p dir="auto"><em>Originally posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wahid/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wahid">@wahid</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="441171074" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/491" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/491/hovercard?comment_id=490712361&amp;comment_type=issue_comment" href="https://github.com/microsoft/terminal/issues/491#issuecomment-490712361">#491 (comment)</a></em></p>
1
<p dir="auto"><strong>Glide Version</strong>: 4.6.1<br> <strong>Integration libraries</strong>: None<br> <strong>Device/Android Version</strong>: Robolectric environment<br> <strong>Issue summary</strong>: When attempting to load an https image which returns a 404 error, the request is performed twice.<br> <strong>Issue details / Repro steps / Use case background</strong>:<br> I have a test case which requests an image url, and the server returns a 404 not found. I use Wiremock for the server.</p> <p dir="auto">The glide code in the test:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" String url = &quot;https://127.0.0.1:31626/static/country/FR/image.jpg&quot;; GlideApp.with(RuntimeEnvironment.application) .asBitmap() .load(url) .into(new SimpleTarget&lt;Bitmap&gt;(100, 100) { @Override public void onLoadFailed(@Nullable Drawable errorDrawable) { super.onLoadFailed(errorDrawable); System.out.println(&quot;error&quot;); } @Override public void onResourceReady(@NonNull Bitmap resource, @Nullable Transition&lt;? super Bitmap&gt; transition) { System.out.println(&quot;ready&quot;); } });"><pre class="notranslate"> <span class="pl-smi">String</span> <span class="pl-s1">url</span> = <span class="pl-s">"https://127.0.0.1:31626/static/country/FR/image.jpg"</span>; <span class="pl-smi">GlideApp</span>.<span class="pl-en">with</span>(<span class="pl-smi">RuntimeEnvironment</span>.<span class="pl-s1">application</span>) .<span class="pl-en">asBitmap</span>() .<span class="pl-en">load</span>(<span class="pl-s1">url</span>) .<span class="pl-en">into</span>(<span class="pl-k">new</span> <span class="pl-smi">SimpleTarget</span>&lt;<span class="pl-smi">Bitmap</span>&gt;(<span class="pl-c1">100</span>, <span class="pl-c1">100</span>) { <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onLoadFailed</span>(<span class="pl-c1">@</span><span class="pl-c1">Nullable</span> <span class="pl-smi">Drawable</span> <span class="pl-s1">errorDrawable</span>) { <span class="pl-en">super</span>.<span class="pl-en">onLoadFailed</span>(<span class="pl-s1">errorDrawable</span>); <span class="pl-smi">System</span>.<span class="pl-s1">out</span>.<span class="pl-en">println</span>(<span class="pl-s">"error"</span>); } <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onResourceReady</span>(<span class="pl-c1">@</span><span class="pl-c1">NonNull</span> <span class="pl-smi">Bitmap</span> <span class="pl-s1">resource</span>, <span class="pl-c1">@</span><span class="pl-c1">Nullable</span> <span class="pl-smi">Transition</span>&lt;? <span class="pl-en">super</span> <span class="pl-smi">Bitmap</span>&gt; <span class="pl-s1">transition</span>) { <span class="pl-smi">System</span>.<span class="pl-s1">out</span>.<span class="pl-en">println</span>(<span class="pl-s">"ready"</span>); } });</pre></div> <p dir="auto">I noticed from Wiremock logs that the request for the image is actually being requested twice.</p> <p dir="auto">When debugging, I noticed:</p> <p dir="auto">A <code class="notranslate">MultiModelLoader</code> is being used. Its <code class="notranslate">modelLoaders</code> field has six loaders, two of which are a <code class="notranslate">HttpUriLoader</code> and a <code class="notranslate">UrlUriLoader</code>. In <code class="notranslate">buildLoadData()</code>, both of these match the <code class="notranslate">handles(model)</code> test, so their corresponding fetchers are added to the <code class="notranslate">fetchers</code> field. In this case both fetchers are of type <code class="notranslate">HttpUrlFetcher</code>.</p> <p dir="auto">I didn't follow the debugger further than this to understand more, but it looks like the first fetcher fails to load the image (the 404), and so the second one must be attempted (which will also fail with a 404). I'm not sure this is efficient. Is this expected?</p>
<p dir="auto"><strong>Glide Version</strong>:<br> 4.0.0</p> <p dir="auto"><strong>Integration libraries</strong>:</p> <p dir="auto"><strong>Device/Android Version</strong>:<br> Emulator Pixel / API 25</p> <p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:<br> I have trouble loading resources to an image view using the <code class="notranslate">load</code> method.<br> I have test with several different resources.<br> I observed that this error only occurred when <code class="notranslate">firstResId</code> (the id of the drawable i use to call <code class="notranslate">load</code>) is the id of an xml drawable.<br> However this kind of drawable are handle fine by the placeholder method.</p> <p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" mGlideRequestManager = Glide.with(DealThreadsFragmentBase.this) ... mGlideRequestManager .load(firstResId) //id of a drawable .apply(mRequestOptions .placeholder(secondeResId) //id of a drawable ) .into(viewHolder.threadImageView);"><pre class="notranslate"><span class="pl-s1">mGlideRequestManager</span> = <span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-smi">DealThreadsFragmentBase</span>.<span class="pl-smi">this</span>) ... <span class="pl-s1">mGlideRequestManager</span> .<span class="pl-en">load</span>(<span class="pl-s1">firstResId</span>) <span class="pl-c">//id of a drawable</span> .<span class="pl-en">apply</span>(<span class="pl-s1">mRequestOptions</span> .<span class="pl-en">placeholder</span>(<span class="pl-s1">secondeResId</span>) <span class="pl-c">//id of a drawable</span> ) .<span class="pl-en">into</span>(<span class="pl-s1">viewHolder</span>.<span class="pl-s1">threadImageView</span>);</pre></div> <p dir="auto"><strong>Layout XML</strong>:</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;ImageView android:id=&quot;@+id/post_deal_thread_image&quot; android:layout_width=&quot;96dp&quot; android:layout_height=&quot;96dp&quot; android:layout_marginLeft=&quot;@dimen/deal_thread_image_margin_left&quot; android:layout_marginStart=&quot;@dimen/deal_thread_image_margin_left&quot; android:scaleType=&quot;centerCrop&quot; tools:src=&quot;@drawable/placeholder_deal_96dp&quot; /&gt;"><pre class="notranslate"> &lt;<span class="pl-ent">ImageView</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/post_deal_thread_image<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>96dp<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>96dp<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_marginLeft</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/deal_thread_image_margin_left<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_marginStart</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/deal_thread_image_margin_left<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">scaleType</span>=<span class="pl-s"><span class="pl-pds">"</span>centerCrop<span class="pl-pds">"</span></span> <span class="pl-e">tools</span><span class="pl-e">:</span><span class="pl-e">src</span>=<span class="pl-s"><span class="pl-pds">"</span>@drawable/placeholder_deal_96dp<span class="pl-pds">"</span></span> /&gt;</pre></div> <p dir="auto"><strong>Stack trace / LogCat</strong>:</p> <div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="I/Glide: Root cause (1 of 1) java.io.FileNotFoundException: Resource does not exist: android.resource://com.pepper.apps.android.beta4.debug/drawable/smiley_devil_height_24dp at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:976) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:907) at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:21) at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:13) at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:40) at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.loadData(MultiModelLoader.java:95) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:398) at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:359) at com.bumptech.glide.load.engine.SourceGenerator.onDataReady(SourceGenerator.java:111) at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.onDataReady(MultiModelLoader.java:129) at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:48) at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.loadData(MultiModelLoader.java:95) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:252) at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:347)"><pre class="notranslate"><span class="pl-c1">I</span>/<span class="pl-v">Glide</span>: <span class="pl-v">Root</span> <span class="pl-en">cause</span> <span class="pl-kos">(</span><span class="pl-c1">1</span> <span class="pl-en">of</span> <span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">io</span><span class="pl-kos">.</span><span class="pl-en">FileNotFoundException</span>: <span class="pl-en">Resource</span> <span class="pl-en">does</span> not <span class="pl-en">exist</span>: <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">resource</span><span class="pl-pds">:/</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">pepper</span><span class="pl-kos">.</span><span class="pl-en">apps</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">beta4</span><span class="pl-kos">.</span><span class="pl-en">debug</span>/<span class="pl-en">drawable</span>/<span class="pl-en">smiley_devil_height_24dp</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">content</span><span class="pl-kos">.</span><span class="pl-en">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">openAssetFileDescriptor</span><span class="pl-kos">(</span><span class="pl-v">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:976</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">content</span><span class="pl-kos">.</span><span class="pl-en">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">openAssetFileDescriptor</span><span class="pl-kos">(</span><span class="pl-v">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:907</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">.</span><span class="pl-en">FileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadResource</span><span class="pl-kos">(</span><span class="pl-v">FileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:21</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">.</span><span class="pl-en">FileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadResource</span><span class="pl-kos">(</span><span class="pl-v">FileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:13</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">.</span><span class="pl-en">LocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">LocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:40</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">model</span><span class="pl-kos">.</span><span class="pl-en">MultiModelLoader</span>$MultiFetcher<span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">MultiModelLoader</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:95</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">startNext</span><span class="pl-kos">(</span><span class="pl-v">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:61</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">runGenerators</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:282</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">decodeFromRetrievedData</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:398</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">onDataFetcherReady</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:359</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">onDataReady</span><span class="pl-kos">(</span><span class="pl-v">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:111</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">model</span><span class="pl-kos">.</span><span class="pl-en">MultiModelLoader</span>$MultiFetcher<span class="pl-kos">.</span><span class="pl-en">onDataReady</span><span class="pl-kos">(</span><span class="pl-v">MultiModelLoader</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:129</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">.</span><span class="pl-en">LocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">LocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:48</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">model</span><span class="pl-kos">.</span><span class="pl-en">MultiModelLoader</span>$MultiFetcher<span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">MultiModelLoader</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:95</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">startNext</span><span class="pl-kos">(</span><span class="pl-v">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:61</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">runGenerators</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:282</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">runWrapped</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:252</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:222</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">runWorker</span><span class="pl-kos">(</span><span class="pl-v">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1133</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">ThreadPoolExecutor</span>$Worker<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:607</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">Thread</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">Thread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:761</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">executor</span><span class="pl-kos">.</span><span class="pl-en">GlideExecutor</span>$DefaultThreadFactory$1<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">GlideExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:347</span><span class="pl-kos">)</span></pre></div>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li>[ -] I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.3</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ul dir="auto"> <li></li> </ul> <h3 dir="auto">Expected Result</h3> <ul dir="auto"> <li></li> </ul> <h3 dir="auto">Actual Result</h3> <ul dir="auto"> <li></li> </ul> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // private 应该改为 private static 保持统一 static private class DestroyableExporter&lt;T&gt; implements Exporter&lt;T&gt; { // 省略 }"><pre class="notranslate"> <span class="pl-c">// private 应该改为 private static 保持统一</span> <span class="pl-k">static</span> <span class="pl-k">private</span> <span class="pl-k">class</span> <span class="pl-smi">DestroyableExporter</span>&lt;<span class="pl-smi">T</span>&gt; <span class="pl-k">implements</span> <span class="pl-smi">Exporter</span>&lt;<span class="pl-smi">T</span>&gt; { <span class="pl-c">// 省略</span> }</pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7</li> <li>Operating System version: Ubuntu 16.04 x64</li> <li>Java version: 1.7</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">是这样的,我在想为什么dubbo2.7的异步调用返回的结果不用ChannelFurture去实现呢</p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <p dir="auto">Example:<a href="https://netty.io/4.0/api/io/netty/channel/ChannelFuture.html" rel="nofollow">https://netty.io/4.0/api/io/netty/channel/ChannelFuture.html</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20021404/54796253-6a0dd500-4c8a-11e9-9e37-ac474ff9acc5.png"><img src="https://user-images.githubusercontent.com/20021404/54796253-6a0dd500-4c8a-11e9-9e37-ac474ff9acc5.png" alt="channelFutrue" style="max-width: 100%;"></a></p>
0
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">I'm using a global error handler for process errors during component render function and watchers.</p> <p dir="auto">But it does not catch the exception thrown in the list method below:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default { data() { return { key: null, }; }, watch: { async key() { await this.list(); }, }, methods: { async list() { return axios.get('An invalid url'); }, }, };"><pre class="notranslate"><code class="notranslate">export default { data() { return { key: null, }; }, watch: { async key() { await this.list(); }, }, methods: { async list() { return axios.get('An invalid url'); }, }, }; </code></pre></div> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">No need to change API</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.5.17-beta.0</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/w5d9gqmo/3/" rel="nofollow">https://jsfiddle.net/w5d9gqmo/3/</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">In provided example:</p> <ul dir="auto"> <li>open console</li> <li>hit increment</li> <li>observe computed value evaluations in console</li> </ul> <p dir="auto">In vue terms:</p> <ul dir="auto"> <li>create dependency structure with many paths to the same watcher (A-&gt;B, B-&gt;C, A-&gt;C)</li> <li>Notify leaf watcher about change (data change)</li> <li>Observe too eager synchronous updates of watchers on every intermediate change</li> </ul> <h3 dir="auto">What is expected?</h3> <p dir="auto">All updated computed values are executed once and with correct dependant values.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="twoCounts evaluated to: {count: 2, countPlusOne: 3}"><pre class="notranslate"><code class="notranslate">twoCounts evaluated to: {count: 2, countPlusOne: 3} </code></pre></div> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Computed values are executed multiple times with all intermediate dependency values.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="twoCounts evaluated to: {count: 2, countPlusOne: 2} twoCounts evaluated to: {count: 2, countPlusOne: 3}"><pre class="notranslate"><code class="notranslate">twoCounts evaluated to: {count: 2, countPlusOne: 2} twoCounts evaluated to: {count: 2, countPlusOne: 3} </code></pre></div> <hr> <p dir="auto">The issue is clearly caused by this commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/vuejs/vue/commit/653aac2c57d15f0e93a2c1cc7e6fad156658df19/hovercard" href="https://github.com/vuejs/vue/commit/653aac2c57d15f0e93a2c1cc7e6fad156658df19"><tt>653aac2</tt></a></p> <p dir="auto">I did some debugging and found the cause.<br> Dependencies are notified synchronously about the watcher update in the <code class="notranslate">notify</code> loop, but the updating watchers might be accessed too early with stale value and no information about necessary recomputation.</p> <p dir="auto">I attempted a fix by splitting <code class="notranslate">Dep.notify</code> into two phases with separate loops for <code class="notranslate">dirtify</code> and <code class="notranslate">update</code>. It worked for simple situations where there is triangle of dependencies (<code class="notranslate">countPlusOne</code> in the example), but it stops working when the graph is any more complicated (paths are larger than 1). This is illustrated by <code class="notranslate">countPlusTwo</code> computed in the example.</p> <p dir="auto">Possible full fix would involve either traversing the full dependency graph to <code class="notranslate">dirtify</code> all deep dependants first, or collecting the the array of <code class="notranslate">dependants of my dependants</code> like in previous implementation.</p>
0
<h1 dir="auto">Bug report</h1> <p dir="auto">Hi guys, when I use <code class="notranslate">dev: false</code> inside my app, <strong>material-ui</strong> classes wont load.</p> <h2 dir="auto">Describe the bug</h2> <p dir="auto">That's the code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const port = process.env.PORT || 3000; const dev = process.env.NODE_ENV !== 'production'; const app = next({ dev: false }); const handle = app.getRequestHandler(); app.prepare().then(() =&gt; { const server = express(); // Routes and stuff... })"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">port</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">PORT</span> <span class="pl-c1">||</span> <span class="pl-c1">3000</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">dev</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">NODE_ENV</span> <span class="pl-c1">!==</span> <span class="pl-s">'production'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">dev</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">handle</span> <span class="pl-c1">=</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">getRequestHandler</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">prepare</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">server</span> <span class="pl-c1">=</span> <span class="pl-en">express</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Routes and stuff...</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <p dir="auto">The expected result should be:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16429579/50084583-c4b11400-01f7-11e9-9be4-6a236d3882fd.png"><img src="https://user-images.githubusercontent.com/16429579/50084583-c4b11400-01f7-11e9-9be4-6a236d3882fd.png" alt="cleanshot 2018-12-17 at 12 31 51" style="max-width: 100%;"></a></p> <p dir="auto">but is:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16429579/50084533-9c291a00-01f7-11e9-96f0-5396ef45ed56.png"><img src="https://user-images.githubusercontent.com/16429579/50084533-9c291a00-01f7-11e9-96f0-5396ef45ed56.png" alt="cleanshot 2018-12-17 at 12 25 52" style="max-width: 100%;"></a></p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p> <ol dir="auto"> <li>Install <strong><a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/material-ui/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/material-ui">@material-ui</a></strong></li> </ol> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &quot;@material-ui/core&quot;: &quot;latest&quot;, &quot;@material-ui/icons&quot;: &quot;^3.0.1&quot;, &quot;@material-ui/styles&quot;: &quot;^3.0.0-alpha.2&quot;,"><pre class="notranslate"> <span class="pl-ent">"@material-ui/core"</span>: <span class="pl-s"><span class="pl-pds">"</span>latest<span class="pl-pds">"</span></span>, <span class="pl-ent">"@material-ui/icons"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0.1<span class="pl-pds">"</span></span>, <span class="pl-ent">"@material-ui/styles"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0.0-alpha.2<span class="pl-pds">"</span></span>,</pre></div> <ol start="2" dir="auto"> <li>Run the server with production build</li> </ol> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: macOS Mojave <code class="notranslate">v10.14.2</code></li> <li>Version of Next.js: <code class="notranslate">7.0.2</code></li> </ul>
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">Used the material-ui Next.js starter <code class="notranslate">https://github.com/mui-org/material-ui/tree/master/examples/nextjs</code>, and wrote an app.</p> <p dir="auto">The app works fine when running with <code class="notranslate">yarn dev</code>, <code class="notranslate">yarn start</code>, and a custom <code class="notranslate">server.js</code> with <code class="notranslate">dev</code> set to <code class="notranslate">true</code>, but when I deploy it using a custom <code class="notranslate">server.js</code>, CSS styles aren't applied when running in production mode (<code class="notranslate">next({dev: false})</code>).</p> <p dir="auto">The HTML comes just fine, styled, from the server (for less than a second it looks as it should), but as soon as the client side code executes, the styling goes away. There is nothing in the Console.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Here's my <code class="notranslate">server.js</code>, which I execute with: <code class="notranslate">yarn build ; node server.js</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const compression = require('compression'); const next = require('next'); const port = parseInt(process.env.PORT, 10) || 3000; const dev = false; const app = next({dev}); const handle = app.getRequestHandler(); app.prepare() .then(() =&gt; { const server = express(); server.get('*', (req, res) =&gt; { return handle(req, res); }); server.listen(port, (err) =&gt; { if (err) throw err; console.log(`&gt; Ready on http://localhost:${port} Dev? ${dev}`) }) });"><pre lang="const" class="notranslate"><code class="notranslate">const compression = require('compression'); const next = require('next'); const port = parseInt(process.env.PORT, 10) || 3000; const dev = false; const app = next({dev}); const handle = app.getRequestHandler(); app.prepare() .then(() =&gt; { const server = express(); server.get('*', (req, res) =&gt; { return handle(req, res); }); server.listen(port, (err) =&gt; { if (err) throw err; console.log(`&gt; Ready on http://localhost:${port} Dev? ${dev}`) }) }); </code></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">The page should look the same no matter what the value of <code class="notranslate">dev</code> is.</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: Windows 10, Ubuntu</li> <li>Browser Chrome, Firefox, Edge</li> <li>Version of Next.js: <code class="notranslate">7.0.2</code></li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">I searched the existing issues and the closest that matched was <a href="https://github.com/zeit/next.js/issues/4700" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/4700/hovercard">4470</a>, but that recommended using the <code class="notranslate">material-ui</code> code example, which I'm already doing.</p> <p dir="auto">I have a custom <code class="notranslate">next.config.js</code> for loading environment variables:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const path = require('path'); const dev = process.env.NODE_ENV !== 'production'; module.exports = { webpack: (config) =&gt; { config.plugins.push(new Dotenv({ path: path.join(__dirname, dev ? '.env.development' : '.env.production'), systemvars: true })); config.resolve.extensions = ['.js', '.jsx']; return config } };"><pre lang="const" class="notranslate"><code class="notranslate">const path = require('path'); const dev = process.env.NODE_ENV !== 'production'; module.exports = { webpack: (config) =&gt; { config.plugins.push(new Dotenv({ path: path.join(__dirname, dev ? '.env.development' : '.env.production'), systemvars: true })); config.resolve.extensions = ['.js', '.jsx']; return config } }; </code></pre></div>
1
<p dir="auto"><strong>Description</strong></p> <p dir="auto">Is there a way to use pydantic models for GET requests? I would like to have a similar interface for both query params and for the body. So for instance, an example could look like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class PingArgs(BaseModel): &quot;&quot;&quot;Model input for PingArgs.&quot;&quot;&quot; dt: datetime.datetime = ... to_sum: List[int] = ... @validator(&quot;dt&quot;, pre=False, always=True, whole=True) def validate_dt(cls, v, values): &quot;&quot;&quot;Validate dt.&quot;&quot;&quot; parsed_dt = v.replace(tzinfo=None) return parsed_dt @router.get(&quot;/ping&quot;, tags=[&quot;basic&quot;]) def ping(args: PingArgs, request: Request): &quot;&quot;&quot;Example.&quot;&quot;&quot; return JSONResponse( status_code=starlette.status.HTTP_200_OK, content={&quot;detail&quot;: &quot;pong&quot;, &quot;dt&quot;: args.dt.isoformat() &quot;summed&quot;: sum(x for x in args.to_sum)}, )"><pre class="notranslate"><code class="notranslate">class PingArgs(BaseModel): """Model input for PingArgs.""" dt: datetime.datetime = ... to_sum: List[int] = ... @validator("dt", pre=False, always=True, whole=True) def validate_dt(cls, v, values): """Validate dt.""" parsed_dt = v.replace(tzinfo=None) return parsed_dt @router.get("/ping", tags=["basic"]) def ping(args: PingArgs, request: Request): """Example.""" return JSONResponse( status_code=starlette.status.HTTP_200_OK, content={"detail": "pong", "dt": args.dt.isoformat() "summed": sum(x for x in args.to_sum)}, ) </code></pre></div> <p dir="auto">Where as, right now I think you would have to do something like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@router.get(&quot;/ping&quot;, tags=[&quot;basic&quot;]) def ping(dt: datetime.datetime = Query(None), to_sum: List[int] = Query(None), request: Request): &quot;&quot;&quot;Example.&quot;&quot;&quot; parsed_dt = dt.replace(tzinfo=None) return JSONResponse( status_code=starlette.status.HTTP_200_OK, content={&quot;detail&quot;: &quot;pong&quot;, &quot;dt&quot;: dt.isoformat() &quot;summed&quot;: sum(x for x in to_sum)}, )"><pre class="notranslate"><code class="notranslate">@router.get("/ping", tags=["basic"]) def ping(dt: datetime.datetime = Query(None), to_sum: List[int] = Query(None), request: Request): """Example.""" parsed_dt = dt.replace(tzinfo=None) return JSONResponse( status_code=starlette.status.HTTP_200_OK, content={"detail": "pong", "dt": dt.isoformat() "summed": sum(x for x in to_sum)}, ) </code></pre></div> <p dir="auto">Hope this can be clarified.</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> After submitting this, I commit to one of: <ul dir="auto"> <li>Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.</li> <li>I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.</li> <li>Implement a Pull Request for a confirmed bug.</li> </ul> </li> </ul> <h3 dir="auto">Description</h3> <p dir="auto">Websocket routes appear to only work on the main FastAPI object, not on APIRouter objects (instead it raises WebSocketDisconnect).</p> <h3 dir="auto">Example</h3> <p dir="auto">Here's a self-contained, <a href="https://stackoverflow.com/help/minimal-reproducible-example" rel="nofollow">minimal, reproducible, example</a> with my use case:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from fastapi import FastAPI from fastapi.testclient import TestClient from fastapi.websockets import WebSocket from fastapi import APIRouter app = FastAPI() router = APIRouter(prefix=&quot;/test&quot;) app.include_router(router) @app.websocket_route(&quot;/ws&quot;) async def websocket(websocket: WebSocket): await websocket.accept() await websocket.send_json({&quot;msg&quot;: &quot;Hello WebSocket&quot;}) await websocket.close() @router.websocket_route(&quot;/ws&quot;) async def websocket(websocket: WebSocket): await websocket.accept() await websocket.send_json({&quot;msg&quot;: &quot;Hello WebSocket 2&quot;}) await websocket.close() def test_websocket(): client = TestClient(app) with client.websocket_connect(&quot;/ws&quot;) as websocket: data = websocket.receive_json() assert data == {&quot;msg&quot;: &quot;Hello WebSocket&quot;} def test_websocket2(): client = TestClient(app) with client.websocket_connect(&quot;/test/ws&quot;) as websocket: data = websocket.receive_json() assert data == {&quot;msg&quot;: &quot;Hello WebSocket 2&quot;}"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span> <span class="pl-k">from</span> <span class="pl-s1">fastapi</span>.<span class="pl-s1">testclient</span> <span class="pl-k">import</span> <span class="pl-v">TestClient</span> <span class="pl-k">from</span> <span class="pl-s1">fastapi</span>.<span class="pl-s1">websockets</span> <span class="pl-k">import</span> <span class="pl-v">WebSocket</span> <span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">APIRouter</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>() <span class="pl-s1">router</span> <span class="pl-c1">=</span> <span class="pl-v">APIRouter</span>(<span class="pl-s1">prefix</span><span class="pl-c1">=</span><span class="pl-s">"/test"</span>) <span class="pl-s1">app</span>.<span class="pl-en">include_router</span>(<span class="pl-s1">router</span>) <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">websocket_route</span>(<span class="pl-s">"/ws"</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">websocket</span>(<span class="pl-s1">websocket</span>: <span class="pl-v">WebSocket</span>): <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">accept</span>() <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">send_json</span>({<span class="pl-s">"msg"</span>: <span class="pl-s">"Hello WebSocket"</span>}) <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">close</span>() <span class="pl-en">@<span class="pl-s1">router</span>.<span class="pl-en">websocket_route</span>(<span class="pl-s">"/ws"</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">websocket</span>(<span class="pl-s1">websocket</span>: <span class="pl-v">WebSocket</span>): <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">accept</span>() <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">send_json</span>({<span class="pl-s">"msg"</span>: <span class="pl-s">"Hello WebSocket 2"</span>}) <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">close</span>() <span class="pl-k">def</span> <span class="pl-en">test_websocket</span>(): <span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-v">TestClient</span>(<span class="pl-s1">app</span>) <span class="pl-k">with</span> <span class="pl-s1">client</span>.<span class="pl-en">websocket_connect</span>(<span class="pl-s">"/ws"</span>) <span class="pl-k">as</span> <span class="pl-s1">websocket</span>: <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">websocket</span>.<span class="pl-en">receive_json</span>() <span class="pl-k">assert</span> <span class="pl-s1">data</span> <span class="pl-c1">==</span> {<span class="pl-s">"msg"</span>: <span class="pl-s">"Hello WebSocket"</span>} <span class="pl-k">def</span> <span class="pl-en">test_websocket2</span>(): <span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-v">TestClient</span>(<span class="pl-s1">app</span>) <span class="pl-k">with</span> <span class="pl-s1">client</span>.<span class="pl-en">websocket_connect</span>(<span class="pl-s">"/test/ws"</span>) <span class="pl-k">as</span> <span class="pl-s1">websocket</span>: <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">websocket</span>.<span class="pl-en">receive_json</span>() <span class="pl-k">assert</span> <span class="pl-s1">data</span> <span class="pl-c1">==</span> {<span class="pl-s">"msg"</span>: <span class="pl-s">"Hello WebSocket 2"</span>}</pre></div> <h3 dir="auto">Further info</h3> <ul dir="auto"> <li>Only the second websocket fails in the example above.</li> <li>Error log:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def test_websocket2(): client = TestClient(app) &gt; with client.websocket_connect(&quot;/test/ws&quot;) as websocket: /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/starlette/testclient.py:444: in websocket_connect super().request(&quot;GET&quot;, url, **kwargs) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/requests/sessions.py:542: in request resp = self.send(prep, **send_kwargs) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/requests/sessions.py:655: in send r = adapter.send(request, **kwargs) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/starlette/testclient.py:145: in send session = WebSocketTestSession(self.app, scope) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/starlette/testclient.py:278: in __init__ self._raise_on_close(message) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = &lt;starlette.testclient.WebSocketTestSession object at 0x7f7cbc689c50&gt; message = {'code': 1000, 'type': 'websocket.close'} def _raise_on_close(self, message: Message) -&gt; None: if message[&quot;type&quot;] == &quot;websocket.close&quot;: &gt; raise WebSocketDisconnect(message.get(&quot;code&quot;, 1000)) E starlette.websockets.WebSocketDisconnect: 1000 "><pre class="notranslate"><code class="notranslate">def test_websocket2(): client = TestClient(app) &gt; with client.websocket_connect("/test/ws") as websocket: /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/starlette/testclient.py:444: in websocket_connect super().request("GET", url, **kwargs) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/requests/sessions.py:542: in request resp = self.send(prep, **send_kwargs) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/requests/sessions.py:655: in send r = adapter.send(request, **kwargs) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/starlette/testclient.py:145: in send session = WebSocketTestSession(self.app, scope) /opt/conda/envs/build_env/envs/run_env/lib/python3.6/site-packages/starlette/testclient.py:278: in __init__ self._raise_on_close(message) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = &lt;starlette.testclient.WebSocketTestSession object at 0x7f7cbc689c50&gt; message = {'code': 1000, 'type': 'websocket.close'} def _raise_on_close(self, message: Message) -&gt; None: if message["type"] == "websocket.close": &gt; raise WebSocketDisconnect(message.get("code", 1000)) E starlette.websockets.WebSocketDisconnect: 1000 </code></pre></div> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: Amazon Linux Workspace</li> <li>FastAPI Version: 0.63.0</li> <li>Python version: 3.6.8</li> </ul>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> Given a 3rd-party component that correctly uses OnPush change detection (since it only renders based on inputs), if you try to communicate with that 3rd-party component using ngModel and a ControlValueAccessor, the component fails to respond to change detection and never triggers the ngOnChanges() life-cycle method.</p> <p dir="auto"><strong>Expected behavior</strong><br> When the ControlValueAccessor writes to the 3rd-party component's inputs, it should trigger change detection and the ngOnChanges() life-cycle method. This way, 3rd-party components <strong>that you do not have ownership over</strong> can be integrated into an ngModel control-flow.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> Plunkr: <a href="https://plnkr.co/edit/oS1qWN7x7nXlQ4oNwR5j?p=preview" rel="nofollow">https://plnkr.co/edit/oS1qWN7x7nXlQ4oNwR5j?p=preview</a></p> <p dir="auto">In the demo, you'll see that the two components cannot stay in sync. This is because the first one uses input and the second one uses ngModel.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> I believe this is a bug that inhibits the ability to consume components that you did not write yourself.</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> Chrome on Plunkr.</p> <ul dir="auto"> <li> <p dir="auto"><strong>Angular version:</strong> 2.0.X<br> This is with whatever Plunkr is currently using for <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/angular/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/angular">@angular</a>.</p> </li> <li> <p dir="auto"><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]<br> Chrome and Firefox.</p> </li> <li> <p dir="auto"><strong>Language:</strong> [all]</p> </li> <li> <p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p> </li> </ul>
<p dir="auto">After upgrading to alpha.48 I noticed that the http module no longer can stand on its own...<br> According to the examples we now have to import <code class="notranslate">rxjs/operators/map</code> to even get access to the essential map() method.</p> <p dir="auto">I am wondering, isn't this a bit clunky and unnecessary? Why reveal the dependency on rx.js like this?<br> Shouldn't this be abstracted from us? Seems like we also have to include rxjs separately in addition to Angular 2??</p> <p dir="auto">If rx is this visible in Angular 2.0, why provide map() etc via the http module at all? Can't you just use rx.js directly?</p> <p dir="auto">P.S. This is not listed as a breaking change in the change log :-)</p>
0
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide a description of the new feature</h2> <p dir="auto">It would be great to add the possibility to apply remapping to a specific keyboard device only (for example if the user uses a small keyboard or numpad for macros only). The keyboard can be specified with its USB PID or a more user friendly device selector.</p> <hr> <p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p>
<h2 dir="auto">A way to switch between different keyboards, specifically those with different layouts</h2> <h4 dir="auto">My use case:</h4> <p dir="auto">I use a windows laptop with a windows keyboard layout. I remap some of those keys to my liking.<br> When I connect to an external apple keyboard, I would like to be able to utilize a new mapping set so that the keys map the same as on the internal keyboard with the win layout.</p> <p dir="auto"><em>What is the expected behavior of the proposed feature? What is the scenario this would be used?</em></p> <p dir="auto">Ideally, this would be a different key mapping for each physical keyboard that does not require manual intervention when docking.<br> Acceptable would be allowing me to swap keyboard layouts manually. Either by a keymap profile selector, or even a way to save the layout to a config file and load it up.</p> <hr> <p dir="auto">If you'd like to see this feature implemented, add a 👍 reaction to this post.</p>
1
<p dir="auto">a = torch.tensor(1)<br> b = torch.tensor(0)<br> c = a/b (output 'Floating point exception' then crash)</p>
<p dir="auto">This seems to be an issue with TH and not pytorch, the same thing happens in lua torch.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch a = torch.IntTensor([0,1]) b = torch.IntTensor([0,1]) print(a.div(b)) # Floating point exception (core dumped)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">IntTensor</span>([<span class="pl-c1">0</span>,<span class="pl-c1">1</span>]) <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">IntTensor</span>([<span class="pl-c1">0</span>,<span class="pl-c1">1</span>]) <span class="pl-en">print</span>(<span class="pl-s1">a</span>.<span class="pl-en">div</span>(<span class="pl-s1">b</span>)) <span class="pl-c"># Floating point exception (core dumped)</span></pre></div> <p dir="auto">Another unrelated weirdness happens with float tensors when the answer is <code class="notranslate">inf</code></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch a = torch.FloatTensor([1,1]) b = torch.FloatTensor([0,0]) a.div(b)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-c1">1</span>,<span class="pl-c1">1</span>]) <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-c1">0</span>,<span class="pl-c1">0</span>]) <span class="pl-s1">a</span>.<span class="pl-en">div</span>(<span class="pl-s1">b</span>)</pre></div> <p dir="auto">which works on lua torch, but gives</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;repr(&lt;torch.FloatTensor at 0x7f8a012eee18&gt;) failed: RuntimeError: inconsistent tensor size at /tmp/pip-zh0a53-build/torch/lib/TH/generic/THTensorMath.c:90&gt;"><pre class="notranslate"><code class="notranslate">&lt;repr(&lt;torch.FloatTensor at 0x7f8a012eee18&gt;) failed: RuntimeError: inconsistent tensor size at /tmp/pip-zh0a53-build/torch/lib/TH/generic/THTensorMath.c:90&gt; </code></pre></div> <p dir="auto">in pytorch.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a></p>
1
<p dir="auto">In Bootstrap 3.2.0 adding a form-control-feedback icon to a select input causes the icon to hover over the select's dropdown icon, thus it's not clickable anymore.</p> <p dir="auto">It looks like this:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1466269/4038749/c4f4da48-2cbb-11e4-9f90-c1942c64d92d.png"><img src="https://cloud.githubusercontent.com/assets/1466269/4038749/c4f4da48-2cbb-11e4-9f90-c1942c64d92d.png" alt="bildschirmfoto 2014-08-26 um 02 45 06" style="max-width: 100%;"></a><br> with the following HTML:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;div class=&quot;form-group has-feedback has-error&quot;&gt; &lt;label for=&quot;myselect&quot;&gt;A label&lt;/label&gt; &lt;select id=&quot;myselect&quot; class=&quot;form-control&quot;&gt; &lt;option&gt;Option 1&lt;/option&gt; &lt;option&gt;Option 2&lt;/option&gt; &lt;option&gt;Option 3&lt;/option&gt; &lt;/select&gt; &lt;span class=&quot;glyphicon form-control-feedback glyphicon-remove&quot;&gt;&lt;/span&gt; &lt;/div&gt; &lt;div class=&quot;form-group has-feedback has-error&quot;&gt; &lt;label for=&quot;myselect&quot;&gt;A label&lt;/label&gt; &lt;div class=&quot;input-group&quot;&gt; &lt;div class=&quot;input-group-addon&quot;&gt;&lt;span class=&quot;glyphicon glyphicon-tag&quot;&gt;&lt;/span&gt;&lt;/div&gt; &lt;select id=&quot;myselect&quot; class=&quot;form-control&quot;&gt; &lt;option&gt;Option 1&lt;/option&gt; &lt;option&gt;Option 2&lt;/option&gt; &lt;option&gt;Option 3&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;span class=&quot;glyphicon form-control-feedback glyphicon-remove&quot;&gt;&lt;/span&gt; &lt;/div&gt;"><pre class="notranslate"><code class="notranslate">&lt;div class="form-group has-feedback has-error"&gt; &lt;label for="myselect"&gt;A label&lt;/label&gt; &lt;select id="myselect" class="form-control"&gt; &lt;option&gt;Option 1&lt;/option&gt; &lt;option&gt;Option 2&lt;/option&gt; &lt;option&gt;Option 3&lt;/option&gt; &lt;/select&gt; &lt;span class="glyphicon form-control-feedback glyphicon-remove"&gt;&lt;/span&gt; &lt;/div&gt; &lt;div class="form-group has-feedback has-error"&gt; &lt;label for="myselect"&gt;A label&lt;/label&gt; &lt;div class="input-group"&gt; &lt;div class="input-group-addon"&gt;&lt;span class="glyphicon glyphicon-tag"&gt;&lt;/span&gt;&lt;/div&gt; &lt;select id="myselect" class="form-control"&gt; &lt;option&gt;Option 1&lt;/option&gt; &lt;option&gt;Option 2&lt;/option&gt; &lt;option&gt;Option 3&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;span class="glyphicon form-control-feedback glyphicon-remove"&gt;&lt;/span&gt; &lt;/div&gt; </code></pre></div> <p dir="auto">The first one is quite easy to fix:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".form-control + .form-control-feedback { right: 12px; }"><pre class="notranslate"><code class="notranslate">.form-control + .form-control-feedback { right: 12px; } </code></pre></div> <p dir="auto">but I haven't found a solution for the latter without using a special class with selects.</p> <p dir="auto">See it live: <a href="http://jsfiddle.net/wedi/2bht4o65/1/" rel="nofollow">http://jsfiddle.net/wedi/2bht4o65/1/</a><br> <em>Edit:</em> Fixed validation error below, moved to jsfiddle, Bootply didn't work anymore.</p>
<p dir="auto">I have found a bug at select input with validation icon.</p> <p dir="auto"><a href="http://jsfiddle.net/57XnU/1/" rel="nofollow">http://jsfiddle.net/57XnU/1/</a></p>
1
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-aws/6373/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-aws/6373/</a></p> <p dir="auto">Failed: BeforeSuite {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:158 BeforeSuite on Node 1 failed /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:158"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:158 BeforeSuite on Node 1 failed /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:158 </code></pre></div> <p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156417256" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26135" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26135/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26135">#26135</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156638964" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26236" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26236/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26236">#26236</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161828864" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27920" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27920/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27920">#27920</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163806926" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28492" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28492/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28492">#28492</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="169047628" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29970" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29970/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29970">#29970</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="169381353" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30075" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30075/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30075">#30075</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177627245" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32980" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32980/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32980">#32980</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178709119" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33313" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33313/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33313">#33313</a></p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-scalability/10992/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-scalability/10992/</a></p> <p dir="auto">Failed: BeforeSuite {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:158 Sep 23 11:26:08.874: Error waiting for all pods to be running and ready: 1 / 418 pods in namespace &quot;kube-system&quot; are NOT in the desired state in 10m0s POD NODE PHASE GRACE CONDITIONS node-problem-detector-v0.1-dwpq2 e2e-scalability-minion-group-i5cw Pending [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2016-09-23 11:12:13 -0700 PDT } {Ready False 0001-01-01 00:00:00 +0000 UTC 2016-09-23 11:12:13 -0700 PDT ContainersNotReady containers with unready status: [node-problem-detector]} {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2016-09-23 11:16:54 -0700 PDT }] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:128"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:158 Sep 23 11:26:08.874: Error waiting for all pods to be running and ready: 1 / 418 pods in namespace "kube-system" are NOT in the desired state in 10m0s POD NODE PHASE GRACE CONDITIONS node-problem-detector-v0.1-dwpq2 e2e-scalability-minion-group-i5cw Pending [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2016-09-23 11:12:13 -0700 PDT } {Ready False 0001-01-01 00:00:00 +0000 UTC 2016-09-23 11:12:13 -0700 PDT ContainersNotReady containers with unready status: [node-problem-detector]} {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2016-09-23 11:16:54 -0700 PDT }] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:128 </code></pre></div> <p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156417256" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26135" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26135/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26135">#26135</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156638964" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26236" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26236/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26236">#26236</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161828864" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27920" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27920/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27920">#27920</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163806926" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28492" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28492/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28492">#28492</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="169047628" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29970" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29970/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29970">#29970</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="169381353" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30075" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30075/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30075">#30075</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177627245" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32980" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32980/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32980">#32980</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178709119" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33313" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33313/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33313">#33313</a></p>
1
<p dir="auto">As the title says, when I trigger my popover from a floating action button, it causes a FOUC in the top left corner of my app.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/115199/31040955-7118478e-a553-11e7-8448-7b9f01431416.gif"><img src="https://user-images.githubusercontent.com/115199/31040955-7118478e-a553-11e7-8448-7b9f01431416.gif" alt="react material ui fouc" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">You can see the code for my setup here: <a href="https://github.com/atrauzzi/gerty/blob/wip/src/App/Gerty/Component/App.tsx#L82-L130">https://github.com/atrauzzi/gerty/blob/wip/src/App/Gerty/Component/App.tsx#L82-L130</a></p> <p dir="auto">Also worth noting that the open animation doesn't get performed, but the close does.</p>
<h3 dir="auto">Problem description</h3> <p dir="auto">Popover component renders children before applying position styling. This results in a 'flash' of the popover in the top left corner (<code class="notranslate">x: 0, y:0</code>) before positioning correctly. This is caused by the <code class="notranslate">setPlacement</code> function being wrapped in <code class="notranslate">setTimeout</code>. Removing the setTimeout wrapper resolves the issue. The timeout was added for this issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="247953341" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/7663" data-hovercard-type="pull_request" data-hovercard-url="/mui/material-ui/pull/7663/hovercard" href="https://github.com/mui/material-ui/pull/7663">#7663</a>.</p> <p dir="auto">Initial render 'flash':<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11380129/30035632-15f80926-9161-11e7-953a-202efe2acbd7.png"><img src="https://user-images.githubusercontent.com/11380129/30035632-15f80926-9161-11e7-953a-202efe2acbd7.png" width="300" style="max-width: 100%;"></a></p> <p dir="auto">Split second later, correctly positioned:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11380129/30035649-39ddcb64-9161-11e7-896b-0cd2dac66368.png"><img src="https://user-images.githubusercontent.com/11380129/30035649-39ddcb64-9161-11e7-896b-0cd2dac66368.png" width="300" style="max-width: 100%;"></a></p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.19.0</li> <li>React: 15.5</li> <li>Browser: Chrome 60.0.3112.90</li> </ul>
1
<p dir="auto">I'm using requests 2.11.1. The following code throws an exception:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from requests import Request, Session from http.cookiejar import CookieJar cj = CookieJar() req = Request('GET', 'http://google.com', cookies=cj).prepare() resp = Session().send(req)"><pre class="notranslate"><code class="notranslate">from requests import Request, Session from http.cookiejar import CookieJar cj = CookieJar() req = Request('GET', 'http://google.com', cookies=cj).prepare() resp = Session().send(req) </code></pre></div> <p dir="auto">The exception is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;test.py&quot;, line 6, in &lt;module&gt; resp = Session().send(req) File &quot;C:\Anaconda3\lib\site-packages\requests\sessions.py&quot;, line 617, in send history = [resp for resp in gen] if allow_redirects else [] File &quot;C:\Anaconda3\lib\site-packages\requests\sessions.py&quot;, line 617, in &lt;listcomp&gt; history = [resp for resp in gen] if allow_redirects else [] File &quot;C:\Anaconda3\lib\site-packages\requests\sessions.py&quot;, line 159, in resolve_redirects prepared_request._cookies.update(self.cookies) AttributeError: 'CookieJar' object has no attribute 'update'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "test.py", line 6, in &lt;module&gt; resp = Session().send(req) File "C:\Anaconda3\lib\site-packages\requests\sessions.py", line 617, in send history = [resp for resp in gen] if allow_redirects else [] File "C:\Anaconda3\lib\site-packages\requests\sessions.py", line 617, in &lt;listcomp&gt; history = [resp for resp in gen] if allow_redirects else [] File "C:\Anaconda3\lib\site-packages\requests\sessions.py", line 159, in resolve_redirects prepared_request._cookies.update(self.cookies) AttributeError: 'CookieJar' object has no attribute 'update' </code></pre></div> <p dir="auto">I'm able to avoid this by using <code class="notranslate">Session.prepare_request</code> or by passing the cookies via <code class="notranslate">Session.cookies</code>.</p>
<p dir="auto">Duplicate bug disclaimer: this is related to other Unicode + header issues, however, those all focus on errors raised while generating an outbound request. This applies only to inbound requests. (See also: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="9640819" data-permission-text="Title is private" data-url="https://github.com/psf/requests/issues/1082" data-hovercard-type="issue" data-hovercard-url="/psf/requests/issues/1082/hovercard" href="https://github.com/psf/requests/issues/1082">#1082</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3014651" data-permission-text="Title is private" data-url="https://github.com/psf/requests/issues/400" data-hovercard-type="issue" data-hovercard-url="/psf/requests/issues/400/hovercard" href="https://github.com/psf/requests/issues/400">#400</a>, and to a lesser extent, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2984778" data-permission-text="Title is private" data-url="https://github.com/psf/requests/issues/390" data-hovercard-type="pull_request" data-hovercard-url="/psf/requests/pull/390/hovercard" href="https://github.com/psf/requests/pull/390">#390</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3097302" data-permission-text="Title is private" data-url="https://github.com/psf/requests/issues/409" data-hovercard-type="pull_request" data-hovercard-url="/psf/requests/pull/409/hovercard" href="https://github.com/psf/requests/pull/409">#409</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3189528" data-permission-text="Title is private" data-url="https://github.com/psf/requests/issues/421" data-hovercard-type="issue" data-hovercard-url="/psf/requests/issues/421/hovercard" href="https://github.com/psf/requests/issues/421">#421</a>, and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3209519" data-permission-text="Title is private" data-url="https://github.com/psf/requests/issues/424" data-hovercard-type="issue" data-hovercard-url="/psf/requests/issues/424/hovercard" href="https://github.com/psf/requests/issues/424">#424</a>; if this is already covered by another bug, sorry for bugging you guys. Thanks!)</p> <p dir="auto">When inspecting responses with Unicode-encoded non-latin content trailing the HTTP status header in the response, requests raises UnicodeDecodeError.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(requests) marmida@loquat:~$ python Python 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] on linux2 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import requests &gt;&gt;&gt; resp = requests.get('http://jp.apps.gree.net/ja/1604') &gt;&gt;&gt; resp.ok Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;/home/marmida/venvs/requests/local/lib/python2.7/site-packages/requests/models.py&quot;, line 623, in ok self.raise_for_status() File &quot;/home/marmida/venvs/requests/local/lib/python2.7/site-packages/requests/models.py&quot;, line 837, in raise_for_status http_error_msg = '%s Server Error: %s for url: %s' % (self.status_code, self.reason, self.url) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 23: ordinal not in range(128)"><pre class="notranslate"><code class="notranslate">(requests) marmida@loquat:~$ python Python 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import requests &gt;&gt;&gt; resp = requests.get('http://jp.apps.gree.net/ja/1604') &gt;&gt;&gt; resp.ok Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/home/marmida/venvs/requests/local/lib/python2.7/site-packages/requests/models.py", line 623, in ok self.raise_for_status() File "/home/marmida/venvs/requests/local/lib/python2.7/site-packages/requests/models.py", line 837, in raise_for_status http_error_msg = '%s Server Error: %s for url: %s' % (self.status_code, self.reason, self.url) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 23: ordinal not in range(128) </code></pre></div> <p dir="auto">The content causing the problem, fetched via curl:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ curl -v 'http://jp.apps.gree.net/ja/1604' * Connected to jp.apps.gree.net (116.93.155.51) port 80 (#0) &gt; GET /ja/1604 HTTP/1.1 &gt; Host: jp.apps.gree.net &gt; User-Agent: curl/7.43.0 &gt; Accept: */* &gt; &lt; HTTP/1.1 503 AKB48ステージファイター &lt; Server: nginx"><pre class="notranslate"><code class="notranslate">$ curl -v 'http://jp.apps.gree.net/ja/1604' * Connected to jp.apps.gree.net (116.93.155.51) port 80 (#0) &gt; GET /ja/1604 HTTP/1.1 &gt; Host: jp.apps.gree.net &gt; User-Agent: curl/7.43.0 &gt; Accept: */* &gt; &lt; HTTP/1.1 503 AKB48ステージファイター &lt; Server: nginx </code></pre></div> <p dir="auto">In the stack trace above, formatting <code class="notranslate">http_error_msg</code> as a <code class="notranslate">string</code> won't work, because <code class="notranslate">self.reason</code> contains non-ascii <code class="notranslate">unicode</code>.</p> <p dir="auto">Requests version: 2.9.1<br> Run from a fresh virtualenv with only <code class="notranslate">requests</code> installed.</p>
0
<p dir="auto">Template filled out below but this is pretty clear.</p> <p dir="auto">This line populates Worker.task_events using <code class="notranslate">either</code>:<br> </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/celery/celery/blob/04771d65597f62ccf2f9d901c0d1f7c1d0f24d42/celery/worker/worker.py#L377">celery/celery/worker/worker.py</a> </p> <p class="mb-0 color-fg-muted"> Line 377 in <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/04771d65597f62ccf2f9d901c0d1f7c1d0f24d42">04771d6</a> </p> </div> <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data"> <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip=""> <tbody><tr class="border-0"> <td id="L377" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="377"></td> <td id="LC377" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">self</span>.<span class="pl-s1">task_events</span> <span class="pl-c1">=</span> <span class="pl-en">either</span>(<span class="pl-s">'worker_send_task_events'</span>, <span class="pl-s1">task_events</span>) </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">However, as of version 5, the <code class="notranslate">task_events</code> arg is <code class="notranslate">False</code> here when the argument is omitted from the command line, not <code class="notranslate">None</code>. So <code class="notranslate">either</code>, which looks for the first non-<code class="notranslate">None</code> value, always returns <code class="notranslate">False</code> and ignores the value from <code class="notranslate">app.conf</code>.</p> <p dir="auto">Works as expected in 4.4.7.</p> <h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 5.2.0b1 (sun-harmonics)</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -&gt; celery:5.2.0b1 (sun-harmonics) kombu:5.1.0 py:3.7.5 billiard:3.6.4.0 py-amqp:5.0.6 platform -&gt; system:Linux arch:64bit, ELF kernel version:5.4.0-77-generic imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:pyamqp results:disabled broker_url: 'amqp://guest:********@localhost:5672//' deprecated_settings: None worker_send_task_events: True"><pre class="notranslate"><code class="notranslate">software -&gt; celery:5.2.0b1 (sun-harmonics) kombu:5.1.0 py:3.7.5 billiard:3.6.4.0 py-amqp:5.0.6 platform -&gt; system:Linux arch:64bit, ELF kernel version:5.4.0-77-generic imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:pyamqp results:disabled broker_url: 'amqp://guest:********@localhost:5672//' deprecated_settings: None worker_send_task_events: True </code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: N/A or Unknown</li> <li><strong>Minimal Celery Version</strong>: 5</li> <li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==5.0.6 billiard==3.6.4.0 cached-property==1.5.2 celery==5.2.0b1 click==8.0.1 click-didyoumean==0.0.3 click-plugins==1.1.1 click-repl==0.2.0 importlib-metadata==4.6.3 kombu==5.1.0 pkg-resources==0.0.0 prompt-toolkit==3.0.19 pytz==2021.1 six==1.16.0 typing-extensions==3.10.0.0 vine==5.0.0 wcwidth==0.2.5 zipp==3.5.0"><pre class="notranslate"><code class="notranslate">amqp==5.0.6 billiard==3.6.4.0 cached-property==1.5.2 celery==5.2.0b1 click==8.0.1 click-didyoumean==0.0.3 click-plugins==1.1.1 click-repl==0.2.0 importlib-metadata==4.6.3 kombu==5.1.0 pkg-resources==0.0.0 prompt-toolkit==3.0.19 pytz==2021.1 six==1.16.0 typing-extensions==3.10.0.0 vine==5.0.0 wcwidth==0.2.5 zipp==3.5.0 </code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><p dir="auto">Install Celery, save the following in testapp.py</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from celery import Celery app = Celery('tasks', broker='pyamqp://guest@localhost//') app.conf.worker_send_task_events = True"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s">'tasks'</span>, <span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s">'pyamqp://guest@localhost//'</span>) <span class="pl-s1">app</span>.<span class="pl-s1">conf</span>.<span class="pl-s1">worker_send_task_events</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span></pre></div> <p dir="auto">and run <code class="notranslate">celery -A testapp worker --loglevel=INFO</code>.</p> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">In the startup banner, I expect to see <code class="notranslate">task events: ON</code> and for events to be sent.</p> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">The startup banner says <code class="notranslate">task events: OFF (enable -E to monitor tasks in this worker)</code> and events are not sent.</p>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+label%3A%22Category%3A+Documentation%22+">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues in this issue<br> (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h1 dir="auto">Description</h1> <p dir="auto">The <a href="https://docs.celeryproject.org/en/latest/userguide/configuration.html#std:setting-result_expires" rel="nofollow">documentation</a> uses <code class="notranslate">CELERY_TASK_RESULT_EXPIRES</code> but that setting does not have any effect in the celery config. <code class="notranslate">CELERY_RESULT_EXPIRES</code> does.</p> <h1 dir="auto">Suggestions</h1>
0
<h1 dir="auto">Environment</h1> <p dir="auto">0.18.1<br> PowerToys Run</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Search for anything on your system</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Search results to be shown instantaneously</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">I search for an application and it takes a noticeable<br> amount of time to find the application</p> <h1 dir="auto">Screenshots</h1> <p dir="auto">Difference in uaing keypiranha and PowerToys Run</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7193913/83174246-072b8f80-a112-11ea-854a-a693283c46d3.gif"><img src="https://user-images.githubusercontent.com/7193913/83174246-072b8f80-a112-11ea-854a-a693283c46d3.gif" alt="slow-search" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">I just want to mention something, I hope it will be fixed in the next version. The power toys run is not smooth, when you write something it lags a little bit. It has to be smoother like the windows search .</p>
1
<h1 dir="auto">🚀 Feature request</h1> <p dir="auto">I was just reading how <code class="notranslate">make style</code> can be automated with pre-commit hooks. Noticing how often I run and even more often forget to run <code class="notranslate">make style</code> before committing, perhaps others are in the same boat - and therefore I thought to propose to the dev community to (mostly) automate this process. The only cons is that each dev will still have to run <code class="notranslate">pre-commit install</code> once after cloning the project. This is a security feature of git, so it won't run anything automatically unless you take action to enable such thing.</p> <p dir="auto">If I understand it correctly, if an individual dev doesn't run <code class="notranslate">pre-commit install</code> inside the repo, things are just as normal as they are now. That dev will just run <code class="notranslate">make style</code> manually. i.e. the proposed feature is optional for those who want it.</p> <p dir="auto">I read about it <a href="https://www.mattlayman.com/blog/2018/python-code-black/" rel="nofollow">here</a>, please scroll down to the section: "Black as a Git pre-commit hook". And it links to the whole detailed website: <a href="https://pre-commit.com/" rel="nofollow">https://pre-commit.com/</a></p>
<h3 dir="auto">System Info</h3> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 4.19.2</li> <li>Platform: Linux-5.4.0-72-generic-x86_64-with-glibc2.29</li> <li>Python version: 3.8.10</li> <li>Huggingface_hub version: 0.7.0</li> <li>PyTorch version (GPU?): 1.11.0+cu113 (False)</li> <li>Tensorflow version (GPU?): not installed (NA)</li> <li>Flax version (CPU?/GPU?/TPU?): not installed (NA)</li> <li>Jax version: not installed</li> <li>JaxLib version: not installed</li> <li>Using GPU in script?: </li> <li>Using distributed or parallel set-up in script?: no</li> </ul> <h3 dir="auto">Who can help?</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LysandreJik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LysandreJik">@LysandreJik</a></p> <h3 dir="auto">Information</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own modified scripts</li> </ul> <h3 dir="auto">Tasks</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own task or dataset (give details below)</li> </ul> <h3 dir="auto">Reproduction</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained('facebook/opt-350m') tok = AutoTokenizer.from_pretrained('facebook/opt-350m', use_fast=False) print(model.config.vocab_size) # 50272 print(tok.vocab_size) # 50265"><pre class="notranslate"><code class="notranslate">from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained('facebook/opt-350m') tok = AutoTokenizer.from_pretrained('facebook/opt-350m', use_fast=False) print(model.config.vocab_size) # 50272 print(tok.vocab_size) # 50265 </code></pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Hello,<br> I'm not sure whether this is a bug or if I am missing something.<br> In the reproduction script above, the model has a bigger vocabulary than the tokenizer. In my project, the LM produces the token <code class="notranslate">50272</code>, which the tokenizer doesn't know and thus the decode() function fails.<br> (I use my own text generation script, so is it by any chance that the model is not supposed to output the last 7 tokens that the tokenizer doesn't know?)</p> <p dir="auto">Best, David</p>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report =&gt; search github for a similar issue or PR before submitting [x] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report =&gt; search github for a similar issue or PR before submitting [x] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Just a fix idea, but it would be cool to have model binding inside of the css styles similar to the model bindings in html templates. This would make things like theming at runtime a lot easier.</p> <p dir="auto">Something like this:</p> <p dir="auto">.button {<br> background-color: {{myColorPropertyInMyCompontent}}<br> }</p>
<p dir="auto">I have an app that requires the overloading of some stylesheet properties. A use-case example:</p> <ul dir="auto"> <li>App defines only one style</li> <li>Api (remote backend) defines a "theming" option, e.g. "logo", "primary color", et cetera.</li> </ul> <p dir="auto">In my opinion I should be able to interpolate the styles argument just like templates, taken the angular.io website example, something like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Component({ selector: 'todo-app', template: '&lt;span&gt;{{todos.length}}&lt;/span&gt;', styles:['a { color: {{styles.someAttr}}; }'], directives: [TodoList, TodoForm] }) export class TodoApp { // retrieve and set styles variable from a service }"><pre class="notranslate"><code class="notranslate">@Component({ selector: 'todo-app', template: '&lt;span&gt;{{todos.length}}&lt;/span&gt;', styles:['a { color: {{styles.someAttr}}; }'], directives: [TodoList, TodoForm] }) export class TodoApp { // retrieve and set styles variable from a service } </code></pre></div> <p dir="auto">Please note that these styles should be applied globally and are received in a dynamic fashion (from a service that outputs json for example).</p> <p dir="auto">Sofar I have been unable to find a proper hook to interpolate the styles argument or render style sheets overall. Please advise.</p>
1
<p dir="auto"><strong>Glide Version</strong>: com.github.bumptech.glide:glide:3.7.0</p> <p dir="auto"><strong>Integration libraries</strong>: com.github.bumptech.glide:okhttp3-integration:1.4.0@aar</p> <p dir="auto"><strong>Device/Android Version</strong>: All devices</p> <p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>: We have a RecyclerView and each item contains ImageView<br> In Recycler view adapter's onBind() method, We have Glide request for that image loading.</p> <h2 dir="auto">Scenario (Duplicate Image Request)</h2> <ol dir="auto"> <li>Activity loads</li> <li>Image request is gone and under process</li> <li>We scroll fast and comes back to same position(Note that image is still not loaded), the same image request is gone again.</li> <li>Once image is cached, the view will have the image from cache.</li> </ol> <p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with(context).load(url) .diskCacheStrategy(DiskCacheStrategy.SOURCE) .into(viewHolder.imageView);"><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">context</span>).<span class="pl-en">load</span>(<span class="pl-s1">url</span>) .<span class="pl-en">diskCacheStrategy</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">SOURCE</span>) .<span class="pl-en">into</span>(<span class="pl-s1">viewHolder</span>.<span class="pl-s1">imageView</span>);</pre></div> <p dir="auto"><strong>Layout XML</strong>:</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;!-- Item --&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:tools=&quot;http://schemas.android.com/tools&quot; android:id=&quot;@+id/item_container&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; android:clickable=&quot;true&quot; android:focusable=&quot;true&quot; android:foreground=&quot;?selectableItemBackgroundBorderless&quot; tools:ignore=&quot;MissingPrefix&quot;&gt; &lt;ImageView android:id=&quot;@+id/home_item_image&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; android:adjustViewBounds=&quot;true&quot; android:clickable=&quot;false&quot; android:contentDescription=&quot;@string/content.description.category_image&quot; android:scaleType=&quot;fitXY&quot; /&gt; &lt;TextView android:id=&quot;@+id/home_item_name&quot; style=&quot;@style/text_style_heading4_white&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot; android:layout_gravity=&quot;center&quot; android:background=&quot;@drawable/gradient&quot; android:gravity=&quot;center&quot; android:padding=&quot;@dimen/spacing.normal&quot; android:text=&quot;@string/hint.category.name&quot; /&gt; &lt;/FrameLayout&gt; &lt;!-- Fragment --&gt; &lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:tools=&quot;http://schemas.android.com/tools&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot;&gt; &lt;android.support.v4.widget.SwipeRefreshLayout android:id=&quot;@+id/refresh_view&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot;&gt; &lt;android.support.v7.widget.RecyclerView android:id=&quot;@+id/vertical_recycler_view&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot; /&gt; &lt;/android.support.v4.widget.SwipeRefreshLayout&gt; &lt;me.zhanghai.android.materialprogressbar.MaterialProgressBar android:id=&quot;@+id/progressbar&quot; style=&quot;@style/Widget.MaterialProgressBar.ProgressBar.Large&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:layout_gravity=&quot;center&quot; android:indeterminate=&quot;true&quot; /&gt; &lt;FrameLayout android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot; android:id=&quot;@+id/network_error&quot; android:visibility=&quot;gone&quot;/&gt; &lt;/FrameLayout&gt; "><pre class="notranslate"><span class="pl-c"><span class="pl-c">&lt;!--</span> Item <span class="pl-c">--&gt;</span></span> &lt;?<span class="pl-ent">xml</span><span class="pl-e"> version</span>=<span class="pl-s"><span class="pl-pds">"</span>1.0<span class="pl-pds">"</span></span><span class="pl-e"> encoding</span>=<span class="pl-s"><span class="pl-pds">"</span>utf-8<span class="pl-pds">"</span></span>?&gt; &lt;<span class="pl-ent">FrameLayout</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">tools</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/tools<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/item_container<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">clickable</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">focusable</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">foreground</span>=<span class="pl-s"><span class="pl-pds">"</span>?selectableItemBackgroundBorderless<span class="pl-pds">"</span></span> <span class="pl-e">tools</span><span class="pl-e">:</span><span class="pl-e">ignore</span>=<span class="pl-s"><span class="pl-pds">"</span>MissingPrefix<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">ImageView</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/home_item_image<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">adjustViewBounds</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">clickable</span>=<span class="pl-s"><span class="pl-pds">"</span>false<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">contentDescription</span>=<span class="pl-s"><span class="pl-pds">"</span>@string/content.description.category_image<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">scaleType</span>=<span class="pl-s"><span class="pl-pds">"</span>fitXY<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">TextView</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/home_item_name<span class="pl-pds">"</span></span> <span class="pl-e">style</span>=<span class="pl-s"><span class="pl-pds">"</span>@style/text_style_heading4_white<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">background</span>=<span class="pl-s"><span class="pl-pds">"</span>@drawable/gradient<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">padding</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/spacing.normal<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">text</span>=<span class="pl-s"><span class="pl-pds">"</span>@string/hint.category.name<span class="pl-pds">"</span></span> /&gt; &lt;/<span class="pl-ent">FrameLayout</span>&gt; <span class="pl-c"><span class="pl-c">&lt;!--</span> Fragment <span class="pl-c">--&gt;</span></span> &lt;<span class="pl-ent">FrameLayout</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">tools</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/tools<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">android</span>.support.v4.widget.SwipeRefreshLayout <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/refresh_view<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">android</span>.support.v7.widget.RecyclerView <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/vertical_recycler_view<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> /&gt; &lt;/<span class="pl-ent">android</span>.support.v4.widget.SwipeRefreshLayout&gt; &lt;<span class="pl-ent">me</span>.zhanghai.android.materialprogressbar.MaterialProgressBar <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/progressbar<span class="pl-pds">"</span></span> <span class="pl-e">style</span>=<span class="pl-s"><span class="pl-pds">"</span>@style/Widget.MaterialProgressBar.ProgressBar.Large<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">indeterminate</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">FrameLayout</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/network_error<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">visibility</span>=<span class="pl-s"><span class="pl-pds">"</span>gone<span class="pl-pds">"</span></span>/&gt; &lt;/<span class="pl-ent">FrameLayout</span>&gt; </pre></div> <p dir="auto"><strong>Stack trace / LogCat</strong>: Checked with a third party network monitoring tool, Headspin</p> <div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="paste stack trace and/or log here"><pre class="notranslate"><span class="pl-en">paste</span> <span class="pl-en">stack</span> <span class="pl-en">trace</span> <span class="pl-k">and</span>/<span class="pl-en">or</span> <span class="pl-en">log</span> <span class="pl-en">here</span></pre></div>
<p dir="auto"><strong>Glide Version</strong>:4.4.0</p> <p dir="auto"><strong>Integration libraries</strong>:RxJava/RxAndroid/RxKotlin,Retrofit,okhttp3-3.8.0,gson,jsoup.</p> <p dir="auto"><strong>Device/Android Version</strong>:Huawei 6X/Android 7.0</p> <p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:</p> <h5 dir="auto">Issue details:</h5> <p dir="auto">I init a android project with kotlin.when I add Glide dependenies,it crash at <code class="notranslate">setSupportActionBar(toolbar)</code> in <code class="notranslate">MainActivity</code>.</p> <h5 dir="auto">Repro steps:</h5> <ol dir="auto"> <li>without Glide denpendeies,run app,works good.<br> 2.add Glide dependenies,run app,crash.</li> </ol> <p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p> <p dir="auto">I'd even not use any code with Glide.</p> <p dir="auto">Something maybe helpful:</p> <p dir="auto">gradle-wrapper.properties:<code class="notranslate">distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip</code></p> <p dir="auto">root build.gradle:</p> <div class="highlight highlight-source-groovy notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" dependencies { classpath 'com.android.tools.build:gradle:3.0.1' classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot; // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }"><pre class="notranslate"> dependencies { classpath <span class="pl-s"><span class="pl-pds">'</span>com.android.tools.build:gradle:3.0.1<span class="pl-pds">'</span></span> classpath <span class="pl-s"><span class="pl-pds">"</span>org.jetbrains.kotlin:kotlin-gradle-plugin:<span class="pl-smi">$k<span class="pl-smi">otlin_version</span></span><span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">//</span> NOTE: Do not place your application dependencies here; they belong</span> <span class="pl-c"><span class="pl-c">//</span> in the individual module build.gradle files</span> }</pre></div> <p dir="auto">app module build.gradle:</p> <div class="highlight highlight-source-groovy notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dependencies { androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' testImplementation 'junit:junit:4.12' implementation fileTree(include: ['*.jar'], dir: 'libs') implementation &quot;com.android.support:appcompat-v7:$android_support_version&quot; implementation &quot;com.android.support:cardview-v7:$android_support_version&quot; implementation &quot;com.android.support:design:$android_support_version&quot; implementation 'com.android.support.constraint:constraint-layout:1.0.2' implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version&quot; implementation &quot;org.jetbrains.anko:anko-commons:$anko_version&quot; implementation 'io.reactivex.rxjava2:rxjava:2.1.3' implementation 'io.reactivex.rxjava2:rxkotlin:2.0.2' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'com.google.code.gson:gson:2.8.2' implementation project(':net') implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0' implementation 'com.github.bumptech.glide:glide:4.4.0'//if I add this dependency,It will crash. annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'//if I add this dependency,It will crash. implementation 'org.jsoup:jsoup:1.10.2' }"><pre class="notranslate">dependencies { androidTestImplementation <span class="pl-s"><span class="pl-pds">'</span>com.android.support.test:runner:1.0.1<span class="pl-pds">'</span></span> androidTestImplementation <span class="pl-s"><span class="pl-pds">'</span>com.android.support.test.espresso:espresso-core:3.0.1<span class="pl-pds">'</span></span> testImplementation <span class="pl-s"><span class="pl-pds">'</span>junit:junit:4.12<span class="pl-pds">'</span></span> implementation fileTree(<span class="pl-c1">include</span>: [<span class="pl-s"><span class="pl-pds">'</span>*.jar<span class="pl-pds">'</span></span>], <span class="pl-c1">dir</span>: <span class="pl-s"><span class="pl-pds">'</span>libs<span class="pl-pds">'</span></span>) implementation <span class="pl-s"><span class="pl-pds">"</span>com.android.support:appcompat-v7:<span class="pl-smi">$a<span class="pl-smi">ndroid_support_version</span></span><span class="pl-pds">"</span></span> implementation <span class="pl-s"><span class="pl-pds">"</span>com.android.support:cardview-v7:<span class="pl-smi">$a<span class="pl-smi">ndroid_support_version</span></span><span class="pl-pds">"</span></span> implementation <span class="pl-s"><span class="pl-pds">"</span>com.android.support:design:<span class="pl-smi">$a<span class="pl-smi">ndroid_support_version</span></span><span class="pl-pds">"</span></span> implementation <span class="pl-s"><span class="pl-pds">'</span>com.android.support.constraint:constraint-layout:1.0.2<span class="pl-pds">'</span></span> implementation <span class="pl-s"><span class="pl-pds">"</span>org.jetbrains.kotlin:kotlin-stdlib-jre7:<span class="pl-smi">$k<span class="pl-smi">otlin_version</span></span><span class="pl-pds">"</span></span> implementation <span class="pl-s"><span class="pl-pds">"</span>org.jetbrains.anko:anko-commons:<span class="pl-smi">$a<span class="pl-smi">nko_version</span></span><span class="pl-pds">"</span></span> implementation <span class="pl-s"><span class="pl-pds">'</span>io.reactivex.rxjava2:rxjava:2.1.3<span class="pl-pds">'</span></span> implementation <span class="pl-s"><span class="pl-pds">'</span>io.reactivex.rxjava2:rxkotlin:2.0.2<span class="pl-pds">'</span></span> implementation <span class="pl-s"><span class="pl-pds">'</span>io.reactivex.rxjava2:rxandroid:2.0.1<span class="pl-pds">'</span></span> implementation <span class="pl-s"><span class="pl-pds">'</span>com.google.code.gson:gson:2.8.2<span class="pl-pds">'</span></span> implementation project(<span class="pl-s"><span class="pl-pds">'</span>:net<span class="pl-pds">'</span></span>) implementation <span class="pl-s"><span class="pl-pds">'</span>com.squareup.okhttp3:logging-interceptor:3.8.0<span class="pl-pds">'</span></span> implementation <span class="pl-s"><span class="pl-pds">'</span>com.github.bumptech.glide:glide:4.4.0<span class="pl-pds">'</span></span><span class="pl-c"><span class="pl-c">//</span>if I add this dependency,It will crash.</span> annotationProcessor <span class="pl-s"><span class="pl-pds">'</span>com.github.bumptech.glide:compiler:4.4.0<span class="pl-pds">'</span></span><span class="pl-c"><span class="pl-c">//</span>if I add this dependency,It will crash.</span> implementation <span class="pl-s"><span class="pl-pds">'</span>org.jsoup:jsoup:1.10.2<span class="pl-pds">'</span></span> }</pre></div> <p dir="auto"><strong>Layout XML</strong>:</p> <p dir="auto">I'd even not use any code with Glide.</p> <p dir="auto"><strong>Stack trace / LogCat</strong>:</p> <div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="01-02 11:29:07.420 11584-11584/com.fanhl.kona E/AndroidRuntime: FATAL EXCEPTION: main Process: com.fanhl.kona, PID: 11584 java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat' appears in /data/app/com.fanhl.kona-2/split_lib_dependencies_apk.apk) at android.support.v7.widget.TintTypedArray.getFont(TintTypedArray.java:119) at android.support.v7.widget.AppCompatTextHelper.updateTypefaceAndStyle(AppCompatTextHelper.java:208) at android.support.v7.widget.AppCompatTextHelper.loadFromAttributes(AppCompatTextHelper.java:110) at android.support.v7.widget.AppCompatTextHelperV17.loadFromAttributes(AppCompatTextHelperV17.java:38) at android.support.v7.widget.AppCompatTextView.&lt;init&gt;(AppCompatTextView.java:81) at android.support.v7.widget.AppCompatTextView.&lt;init&gt;(AppCompatTextView.java:71) at android.support.v7.widget.AppCompatTextView.&lt;init&gt;(AppCompatTextView.java:67) at android.support.v7.widget.Toolbar.setTitle(Toolbar.java:753) at android.support.v7.widget.ToolbarWidgetWrapper.setTitleInt(ToolbarWidgetWrapper.java:261) at android.support.v7.widget.ToolbarWidgetWrapper.setWindowTitle(ToolbarWidgetWrapper.java:243) at android.support.v7.app.ToolbarActionBar.&lt;init&gt;(ToolbarActionBar.java:74) at android.support.v7.app.AppCompatDelegateImplV9.setSupportActionBar(AppCompatDelegateImplV9.java:217) at android.support.v7.app.AppCompatActivity.setSupportActionBar(AppCompatActivity.java:129) at com.fanhl.kona.ui.main.MainActivity.onCreate(MainActivity.kt:20) at android.app.Activity.performCreate(Activity.java:6910) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6523) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)"><pre class="notranslate"><span class="pl-c1">01</span>-<span class="pl-c1">02</span> <span class="pl-c1">11</span><span class="pl-pds">:29</span><span class="pl-pds">:07</span><span class="pl-kos">.</span><span class="pl-c1">420</span> <span class="pl-c1">11584</span>-<span class="pl-c1">11584</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">fanhl</span><span class="pl-kos">.</span><span class="pl-en">kona</span> <span class="pl-c1">E</span>/<span class="pl-v">AndroidRuntime</span>: <span class="pl-c1">FATAL</span> <span class="pl-pds">EXCEPTION</span>: <span class="pl-en">main</span> <span class="pl-en">Process</span>: <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">fanhl</span><span class="pl-kos">.</span><span class="pl-en">kona</span><span class="pl-kos">,</span> <span class="pl-pds">PID</span>: <span class="pl-c1">11584</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">NoSuchMethodError</span>: <span class="pl-en">No</span> <span class="pl-en">static</span> <span class="pl-en">method</span> <span class="pl-en">getFont</span><span class="pl-kos">(</span><span class="pl-v">Landroid</span>/<span class="pl-en">content</span>/<span class="pl-v">Context</span><span class="pl-kos"></span><span class="pl-kos">;</span><span class="pl-v">ILandroid</span>/<span class="pl-en">util</span>/<span class="pl-v">TypedValue</span><span class="pl-kos">;</span><span class="pl-v">ILandroid</span>/<span class="pl-en">widget</span>/<span class="pl-v">TextView</span><span class="pl-kos">;</span><span class="pl-kos">)</span><span class="pl-v">Landroid</span>/<span class="pl-en">graphics</span>/<span class="pl-v">Typeface</span><span class="pl-kos">;</span> <span class="pl-en">in</span> <span class="pl-k">class</span> <span class="pl-v">Landroid</span>/<span class="pl-en">support</span>/<span class="pl-en">v4</span>/<span class="pl-en">content</span>/<span class="pl-en">res</span>/<span class="pl-v">ResourcesCompat</span><span class="pl-kos">;</span> <span class="pl-en">or</span> <span class="pl-en">its</span> <span class="pl-smi">super</span> <span class="pl-en">classes</span> <span class="pl-kos">(</span><span class="pl-en">declaration</span> <span class="pl-en">of</span> <span class="pl-s">'android.support.v4.content.res.ResourcesCompat'</span> <span class="pl-en">appears</span> <span class="pl-k">in</span> <span class="pl-sr">/data/app</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">fanhl</span><span class="pl-kos">.</span><span class="pl-en">kona</span>-<span class="pl-c1">2</span>/<span class="pl-en">split_lib_dependencies_apk</span><span class="pl-kos">.</span><span class="pl-en">apk</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">TintTypedArray</span><span class="pl-kos">.</span><span class="pl-en">getFont</span><span class="pl-kos">(</span><span class="pl-v">TintTypedArray</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:119</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">AppCompatTextHelper</span><span class="pl-kos">.</span><span class="pl-en">updateTypefaceAndStyle</span><span class="pl-kos">(</span><span class="pl-v">AppCompatTextHelper</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:208</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">AppCompatTextHelper</span><span class="pl-kos">.</span><span class="pl-en">loadFromAttributes</span><span class="pl-kos">(</span><span class="pl-v">AppCompatTextHelper</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:110</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">AppCompatTextHelperV17</span><span class="pl-kos">.</span><span class="pl-en">loadFromAttributes</span><span class="pl-kos">(</span><span class="pl-v">AppCompatTextHelperV17</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:38</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">AppCompatTextView</span><span class="pl-kos">.</span>&lt;<span class="pl-en">init</span>&gt;<span class="pl-kos">(</span><span class="pl-v">AppCompatTextView</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:81</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">AppCompatTextView</span><span class="pl-kos">.</span>&lt;<span class="pl-en">init</span>&gt;<span class="pl-kos">(</span><span class="pl-v">AppCompatTextView</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:71</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">AppCompatTextView</span><span class="pl-kos">.</span>&lt;<span class="pl-en">init</span>&gt;<span class="pl-kos">(</span><span class="pl-v">AppCompatTextView</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:67</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">Toolbar</span><span class="pl-kos">.</span><span class="pl-en">setTitle</span><span class="pl-kos">(</span><span class="pl-v">Toolbar</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:753</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">ToolbarWidgetWrapper</span><span class="pl-kos">.</span><span class="pl-en">setTitleInt</span><span class="pl-kos">(</span><span class="pl-v">ToolbarWidgetWrapper</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:261</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">ToolbarWidgetWrapper</span><span class="pl-kos">.</span><span class="pl-en">setWindowTitle</span><span class="pl-kos">(</span><span class="pl-v">ToolbarWidgetWrapper</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:243</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ToolbarActionBar</span><span class="pl-kos">.</span>&lt;<span class="pl-en">init</span>&gt;<span class="pl-kos">(</span><span class="pl-v">ToolbarActionBar</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:74</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">AppCompatDelegateImplV9</span><span class="pl-kos">.</span><span class="pl-en">setSupportActionBar</span><span class="pl-kos">(</span><span class="pl-v">AppCompatDelegateImplV9</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:217</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">AppCompatActivity</span><span class="pl-kos">.</span><span class="pl-en">setSupportActionBar</span><span class="pl-kos">(</span><span class="pl-v">AppCompatActivity</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:129</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">fanhl</span><span class="pl-kos">.</span><span class="pl-en">kona</span><span class="pl-kos">.</span><span class="pl-en">ui</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">.</span><span class="pl-en">MainActivity</span><span class="pl-kos">.</span><span class="pl-en">onCreate</span><span class="pl-kos">(</span><span class="pl-v">MainActivity</span><span class="pl-kos">.</span><span class="pl-en">kt</span><span class="pl-pds">:20</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">Activity</span><span class="pl-kos">.</span><span class="pl-en">performCreate</span><span class="pl-kos">(</span><span class="pl-v">Activity</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:6910</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">Instrumentation</span><span class="pl-kos">.</span><span class="pl-en">callActivityOnCreate</span><span class="pl-kos">(</span><span class="pl-v">Instrumentation</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1123</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">performLaunchActivity</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:2746</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">handleLaunchActivity</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:2864</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span>-<span class="pl-en">wrap12</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span>$H<span class="pl-kos">.</span><span class="pl-en">handleMessage</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1567</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">Handler</span><span class="pl-kos">.</span><span class="pl-en">dispatchMessage</span><span class="pl-kos">(</span><span class="pl-v">Handler</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:105</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">Looper</span><span class="pl-kos">.</span><span class="pl-en">loop</span><span class="pl-kos">(</span><span class="pl-v">Looper</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:156</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:6523</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">reflect</span><span class="pl-kos">.</span><span class="pl-en">Method</span><span class="pl-kos">.</span><span class="pl-en">invoke</span><span class="pl-kos">(</span><span class="pl-en">Native</span> <span class="pl-v">Method</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">internal</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">ZygoteInit</span>$MethodAndArgsCaller<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:942</span><span class="pl-kos">)</span> <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">internal</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:832</span><span class="pl-kos">)</span></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7933189/34473966-eab4f77c-efb3-11e7-9c48-18875c3e3909.png"><img src="https://user-images.githubusercontent.com/7933189/34473966-eab4f77c-efb3-11e7-9c48-18875c3e3909.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7933189/34473967-efe537c0-efb3-11e7-8a89-d8fe223a7225.png"><img src="https://user-images.githubusercontent.com/7933189/34473967-efe537c0-efb3-11e7-8a89-d8fe223a7225.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">And,here is my code:<br> <a href="https://github.com/dyguests/Kona/blob/8052b6a4cd988e6346a50fa97ef6134ee3bc8033/app/src/main/java/com/fanhl/kona/ui/main/MainActivity.kt#L20-L20">setSupportActionBar in MainActivity</a><br> <a href="https://github.com/dyguests/Kona/blob/5fb44937bb2b92bb05ee0c11f4844c749b7c0ed0/app/build.gradle#L40-L41">dependencies for Glide</a></p>
0
<p dir="auto">I override <code class="notranslate">Response.force_type</code> to handle my own custom responses (and some extra builtin types like lists). I recently tried to upgrade to Flask==1.1.x but it no longer calls my handler and throws an exception instead.</p> <h3 dir="auto">Reproduce</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pytest from flask import Flask, Response, jsonify class MyCustomType: def to_json(self): return {'ok': 1} class MyResponse(Response): @classmethod def force_type(cls, response, environ=None): if isinstance(response, list): return jsonify(response) if isinstance(response, MyCustomType): return jsonify(response.to_json()) return super(MyResponse, cls).force_type(response, environ=environ) class MyApp(Flask): response_class = MyResponse my_app = MyApp(__name__) @my_app.route('/list') def get_list(): return ['my_element'] @my_app.route('/my') def get_my(): return MyCustomType() @pytest.fixture def client(): with my_app.test_client() as client: yield client def test_force_type_list(client): assert client.get('/list').json == ['my_element'] def test_force_type_my(client): assert client.get('/my').json == {'ok': 1} "><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pytest</span> <span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Flask</span>, <span class="pl-v">Response</span>, <span class="pl-s1">jsonify</span> <span class="pl-k">class</span> <span class="pl-v">MyCustomType</span>: <span class="pl-k">def</span> <span class="pl-en">to_json</span>(<span class="pl-s1">self</span>): <span class="pl-k">return</span> {<span class="pl-s">'ok'</span>: <span class="pl-c1">1</span>} <span class="pl-k">class</span> <span class="pl-v">MyResponse</span>(<span class="pl-v">Response</span>): <span class="pl-en">@<span class="pl-s1">classmethod</span></span> <span class="pl-k">def</span> <span class="pl-en">force_type</span>(<span class="pl-s1">cls</span>, <span class="pl-s1">response</span>, <span class="pl-s1">environ</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): <span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">response</span>, <span class="pl-s1">list</span>): <span class="pl-k">return</span> <span class="pl-en">jsonify</span>(<span class="pl-s1">response</span>) <span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">response</span>, <span class="pl-v">MyCustomType</span>): <span class="pl-k">return</span> <span class="pl-en">jsonify</span>(<span class="pl-s1">response</span>.<span class="pl-en">to_json</span>()) <span class="pl-k">return</span> <span class="pl-en">super</span>(<span class="pl-v">MyResponse</span>, <span class="pl-s1">cls</span>).<span class="pl-en">force_type</span>(<span class="pl-s1">response</span>, <span class="pl-s1">environ</span><span class="pl-c1">=</span><span class="pl-s1">environ</span>) <span class="pl-k">class</span> <span class="pl-v">MyApp</span>(<span class="pl-v">Flask</span>): <span class="pl-s1">response_class</span> <span class="pl-c1">=</span> <span class="pl-v">MyResponse</span> <span class="pl-s1">my_app</span> <span class="pl-c1">=</span> <span class="pl-v">MyApp</span>(<span class="pl-s1">__name__</span>) <span class="pl-en">@<span class="pl-s1">my_app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/list'</span>)</span> <span class="pl-k">def</span> <span class="pl-en">get_list</span>(): <span class="pl-k">return</span> [<span class="pl-s">'my_element'</span>] <span class="pl-en">@<span class="pl-s1">my_app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/my'</span>)</span> <span class="pl-k">def</span> <span class="pl-en">get_my</span>(): <span class="pl-k">return</span> <span class="pl-v">MyCustomType</span>() <span class="pl-en">@<span class="pl-s1">pytest</span>.<span class="pl-s1">fixture</span></span> <span class="pl-k">def</span> <span class="pl-en">client</span>(): <span class="pl-k">with</span> <span class="pl-s1">my_app</span>.<span class="pl-en">test_client</span>() <span class="pl-k">as</span> <span class="pl-s1">client</span>: <span class="pl-k">yield</span> <span class="pl-s1">client</span> <span class="pl-k">def</span> <span class="pl-en">test_force_type_list</span>(<span class="pl-s1">client</span>): <span class="pl-k">assert</span> <span class="pl-s1">client</span>.<span class="pl-en">get</span>(<span class="pl-s">'/list'</span>).<span class="pl-s1">json</span> <span class="pl-c1">==</span> [<span class="pl-s">'my_element'</span>] <span class="pl-k">def</span> <span class="pl-en">test_force_type_my</span>(<span class="pl-s1">client</span>): <span class="pl-k">assert</span> <span class="pl-s1">client</span>.<span class="pl-en">get</span>(<span class="pl-s">'/my'</span>).<span class="pl-s1">json</span> <span class="pl-c1">==</span> {<span class="pl-s">'ok'</span>: <span class="pl-c1">1</span>}</pre></div> <h3 dir="auto">Exception</h3> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/home/closeio/venv/lib/python3.6/site-packages/flask/app.py&quot;, line 2446, in wsgi_app response = self.full_dispatch_request() File &quot;/home/closeio/venv/lib/python3.6/site-packages/flask/app.py&quot;, line 1952, in full_dispatch_request return self.finalize_request(rv) File &quot;/home/closeio/venv/lib/python3.6/site-packages/flask/app.py&quot;, line 1967, in finalize_request response = self.make_response(rv) File &quot;/home/closeio/venv/lib/python3.6/site-packages/flask/app.py&quot;, line 2130, in make_response &quot; {rv.__class__.__name__}.&quot;.format(rv=rv) TypeError: The view function did not return a valid response. The return type must be a string, dict, tuple, Response instance, or WSGI callable, but it was a MyCustomType."><pre class="notranslate">Traceback (most recent call last): File <span class="pl-s">"/home/closeio/venv/lib/python3.6/site-packages/flask/app.py"</span>, line <span class="pl-c1">2446</span>, in <span class="pl-en">wsgi_app</span> response <span class="pl-k">=</span> <span class="pl-c1">self</span>.full_dispatch_request() File <span class="pl-s">"/home/closeio/venv/lib/python3.6/site-packages/flask/app.py"</span>, line <span class="pl-c1">1952</span>, in <span class="pl-en">full_dispatch_request</span> <span class="pl-k">return</span> <span class="pl-c1">self</span>.finalize_request(rv) File <span class="pl-s">"/home/closeio/venv/lib/python3.6/site-packages/flask/app.py"</span>, line <span class="pl-c1">1967</span>, in <span class="pl-en">finalize_request</span> response <span class="pl-k">=</span> <span class="pl-c1">self</span>.make_response(rv) File <span class="pl-s">"/home/closeio/venv/lib/python3.6/site-packages/flask/app.py"</span>, line <span class="pl-c1">2130</span>, in <span class="pl-en">make_response</span> <span class="pl-s"><span class="pl-pds">"</span> <span class="pl-c1">{rv.__class__.__name__}</span>.<span class="pl-pds">"</span></span>.format(<span class="pl-v">rv</span><span class="pl-k">=</span>rv) <span class="pl-en">TypeError</span>: <span class="pl-s">The view function did not return a valid response. The return type must be a string, dict, tuple, Response instance, or WSGI callable, but it was a MyCustomType.</span></pre></div> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Python version: 3.6.9</li> <li>Flask version: 1.1.4 (it works on 1.0.4)</li> <li>Werkzeug version: 0.15.6</li> </ul> <h3 dir="auto">PR that caused the issue</h3> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="450841307" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/3235" data-hovercard-type="pull_request" data-hovercard-url="/pallets/flask/pull/3235/hovercard" href="https://github.com/pallets/flask/pull/3235">#3235</a></p>
<p dir="auto">When using flask 2.0.2 and having an error in the import the flask cli does not output the traceback anymore.<br> It seems to have stopped to work after <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1013550488" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/4283" data-hovercard-type="pull_request" data-hovercard-url="/pallets/flask/pull/4283/hovercard" href="https://github.com/pallets/flask/pull/4283">#4283</a> was merged.</p> <p dir="auto">To reproduce: make an import error and run:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(.venv) PS D:\Workspace\private\notifications\python-api&gt; flask run --debugger --reload * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: off Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: While importing 'wsgi', an ImportError was raised."><pre class="notranslate"><code class="notranslate">(.venv) PS D:\Workspace\private\notifications\python-api&gt; flask run --debugger --reload * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: off Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: While importing 'wsgi', an ImportError was raised. </code></pre></div> <p dir="auto">Expected the following traceback:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; from gna import create_app Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;D:\Workspace\private\notifications\python-api\gna\__init__.py&quot;, line 4, in &lt;module&gt; from . import models, routes, services File &quot;D:\Workspace\private\notifications\python-api\gna\routes\__init__.py&quot;, line 4, in &lt;module&gt; from .api import api_bp ImportError: cannot import name 'api_bp' from 'gna.routes.api' (D:\Workspace\private\notifications\python-api\gna\routes\api\__init__.py) &gt;&gt;&gt;"><pre lang="(.venv)" class="notranslate"><code class="notranslate">Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; from gna import create_app Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "D:\Workspace\private\notifications\python-api\gna\__init__.py", line 4, in &lt;module&gt; from . import models, routes, services File "D:\Workspace\private\notifications\python-api\gna\routes\__init__.py", line 4, in &lt;module&gt; from .api import api_bp ImportError: cannot import name 'api_bp' from 'gna.routes.api' (D:\Workspace\private\notifications\python-api\gna\routes\api\__init__.py) &gt;&gt;&gt; </code></pre></div> <p dir="auto">Environment:</p> <ul dir="auto"> <li>Python version: 3.10.2</li> <li>Flask version: 2.0.2</li> </ul>
0
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; @generated function generatedfoo(T) :(return $T) end generatedfoo (generic function with 1 method) julia&gt; (@which generatedfoo(1)).source ERROR: UndefRefError: access to undefined reference"><pre class="notranslate"><code class="notranslate">julia&gt; @generated function generatedfoo(T) :(return $T) end generatedfoo (generic function with 1 method) julia&gt; (@which generatedfoo(1)).source ERROR: UndefRefError: access to undefined reference </code></pre></div> <p dir="auto">It doesn't make much sense to me to not have this here. It's what the user wrote, after all, even if you have to look at <code class="notranslate">isstaged</code> to properly interpret it.</p>
<p dir="auto">The following code seems to leak the scope of the variable <code class="notranslate">x</code>:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try for i in 0:0 x = i end println(&quot;first: $x&quot;) catch err println(err) end try for i in 1:1 x = i end println(&quot;second: $x&quot;) catch err println(err) end"><pre class="notranslate"><span class="pl-k">try</span> <span class="pl-k">for</span> i <span class="pl-k">in</span> <span class="pl-c1">0</span><span class="pl-k">:</span><span class="pl-c1">0</span> x <span class="pl-k">=</span> i <span class="pl-k">end</span> <span class="pl-c1">println</span>(<span class="pl-s"><span class="pl-pds">"</span>first: <span class="pl-v">$x</span><span class="pl-pds">"</span></span>) <span class="pl-k">catch</span> err <span class="pl-c1">println</span>(err) <span class="pl-k">end</span> <span class="pl-k">try</span> <span class="pl-k">for</span> i <span class="pl-k">in</span> <span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">1</span> x <span class="pl-k">=</span> i <span class="pl-k">end</span> <span class="pl-c1">println</span>(<span class="pl-s"><span class="pl-pds">"</span>second: <span class="pl-v">$x</span><span class="pl-pds">"</span></span>) <span class="pl-k">catch</span> err <span class="pl-c1">println</span>(err) <span class="pl-k">end</span></pre></div> <p dir="auto">output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="UndefVarError(:x) second: 1"><pre class="notranslate"><code class="notranslate">UndefVarError(:x) second: 1 </code></pre></div> <p dir="auto">The first <code class="notranslate">UndefVarError</code> makes sense since the scope of <code class="notranslate">x</code> is limited in the <code class="notranslate">for</code> loop. But the second time, now <code class="notranslate">x</code> gets visible even in the outside of the <code class="notranslate">for</code> loop. I couldn't explain the change of behavior, so I filed this issue.</p> <p dir="auto">The version I used is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; versioninfo() Julia Version 0.4.0-dev+2304 Commit 8cea71e* (2014-12-29 02:07 UTC) Platform Info: System: Darwin (x86_64-apple-darwin13.4.0) CPU: Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) LAPACK: libopenblas LIBM: libopenlibm LLVM: libLLVM-3.3"><pre class="notranslate"><code class="notranslate">julia&gt; versioninfo() Julia Version 0.4.0-dev+2304 Commit 8cea71e* (2014-12-29 02:07 UTC) Platform Info: System: Darwin (x86_64-apple-darwin13.4.0) CPU: Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) LAPACK: libopenblas LIBM: libopenlibm LLVM: libLLVM-3.3 </code></pre></div>
0
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>For English only</strong>, other languages will not accept.</p> <p dir="auto">Before report a bug, make sure you have:</p> <ul dir="auto"> <li>Searched open and closed <a href="https://github.com/apache/shardingsphere/issues">GitHub issues</a>.</li> <li>Read documentation: <a href="https://shardingsphere.apache.org/document/current/en/overview" rel="nofollow">ShardingSphere Doc</a>.</li> </ul> <p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br> If no response anymore and we cannot reproduce it on current information, we will <strong>close it</strong>.</p> <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;dependency&gt; &lt;groupId&gt;org.apache.shardingsphere&lt;/groupId&gt; &lt;artifactId&gt;shardingsphere-jdbc-core-spring-boot-starter&lt;/artifactId&gt; &lt;version&gt;4.1.1&lt;/version&gt; &lt;/dependency&gt;"><pre class="notranslate"><code class="notranslate">&lt;dependency&gt; &lt;groupId&gt;org.apache.shardingsphere&lt;/groupId&gt; &lt;artifactId&gt;shardingsphere-jdbc-core-spring-boot-starter&lt;/artifactId&gt; &lt;version&gt;4.1.1&lt;/version&gt; &lt;/dependency&gt; </code></pre></div> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto"><code class="notranslate">ShardingSphere-JDBC</code></p> <h3 dir="auto">Expected behavior</h3> <h3 dir="auto">Actual behavior</h3> <h5 dir="auto">Entity</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.util.Date; @TableName(&quot;cms_blessing&quot;) @Data public class BlessingEntity implements Serializable { private static final long serialVersionUID = 1L; @TableId(&quot;blessing_id&quot;) private Long blessingId; @TableId(&quot;text&quot;) private String text; @TableField(&quot;user_id&quot;) private Long userId; @TableField(&quot;is_customized&quot;) private Integer isCustomized; @TableField(&quot;is_delete&quot;) private Integer isDelete; @TableField(&quot;create_time&quot;) private Date createTime; @TableField(&quot;update_time&quot;) private Date updateTime; }"><pre class="notranslate"><code class="notranslate">import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.util.Date; @TableName("cms_blessing") @Data public class BlessingEntity implements Serializable { private static final long serialVersionUID = 1L; @TableId("blessing_id") private Long blessingId; @TableId("text") private String text; @TableField("user_id") private Long userId; @TableField("is_customized") private Integer isCustomized; @TableField("is_delete") private Integer isDelete; @TableField("create_time") private Date createTime; @TableField("update_time") private Date updateTime; } </code></pre></div> <h5 dir="auto">Service</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" @Override public List&lt;BlessingDTO&gt; getBlessingsByUserId(long userId) { QueryWrapper&lt;BlessingEntity&gt; wrapper = new QueryWrapper&lt;&gt;(); wrapper.in(&quot;user_id&quot;, 0, userId) .eq(&quot;is_delete&quot;, 0) .orderByAsc(&quot;blessing_id&quot;); List&lt;BlessingEntity&gt; blessingEntities = blessingDao.selectList(wrapper); return BeanUtils.smartCopyProperties(blessingEntities, BlessingDTO.class); }"><pre class="notranslate"><code class="notranslate"> @Override public List&lt;BlessingDTO&gt; getBlessingsByUserId(long userId) { QueryWrapper&lt;BlessingEntity&gt; wrapper = new QueryWrapper&lt;&gt;(); wrapper.in("user_id", 0, userId) .eq("is_delete", 0) .orderByAsc("blessing_id"); List&lt;BlessingEntity&gt; blessingEntities = blessingDao.selectList(wrapper); return BeanUtils.smartCopyProperties(blessingEntities, BlessingDTO.class); } </code></pre></div> <h5 dir="auto">application-jdbc.yml</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="spring: #数据库配置 shardingsphere: datasource: names: ds0,ds1 ds0: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/test?allowMultiQueries=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=true&amp;useAffectedRows=true&amp;serverTimezone=Asia/Shanghai username: root password: xxx initialSize: 1 minIdle: 10 maxActive: 20 maxWait: 60000 poolPreparedStatements: false maxPoolPreparedStatementPerConnectionSize: 20 validationQuery: select 1 testOnBorrow: false testWhileIdle: true testOnReturn: false minEvictableIdleTimeMillis: 300000 defaultAutoCommit: true filters: com.alibaba.druid.filter.stat.StatFilter connectionProperties: druid.stat.logSlowSql=true;druid.stat.slowSqlMillis=1000 ds1: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/test?allowMultiQueries=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=true&amp;useAffectedRows=true&amp;serverTimezone=Asia/Shanghai username: root password: xxx initialSize: 1 minIdle: 10 maxActive: 20 maxWait: 60000 poolPreparedStatements: false maxPoolPreparedStatementPerConnectionSize: 20 validationQuery: select 1 testOnBorrow: false testWhileIdle: true testOnReturn: false minEvictableIdleTimeMillis: 300000 defaultAutoCommit: true filters: com.alibaba.druid.filter.stat.StatFilter connectionProperties: druid.stat.logSlowSql=true;druid.stat.slowSqlMillis=1000 masterslave: name: ms master-data-source-name: ds0 slave-data-source-names: ds1"><pre class="notranslate"><code class="notranslate">spring: #数据库配置 shardingsphere: datasource: names: ds0,ds1 ds0: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/test?allowMultiQueries=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=true&amp;useAffectedRows=true&amp;serverTimezone=Asia/Shanghai username: root password: xxx initialSize: 1 minIdle: 10 maxActive: 20 maxWait: 60000 poolPreparedStatements: false maxPoolPreparedStatementPerConnectionSize: 20 validationQuery: select 1 testOnBorrow: false testWhileIdle: true testOnReturn: false minEvictableIdleTimeMillis: 300000 defaultAutoCommit: true filters: com.alibaba.druid.filter.stat.StatFilter connectionProperties: druid.stat.logSlowSql=true;druid.stat.slowSqlMillis=1000 ds1: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/test?allowMultiQueries=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=true&amp;useAffectedRows=true&amp;serverTimezone=Asia/Shanghai username: root password: xxx initialSize: 1 minIdle: 10 maxActive: 20 maxWait: 60000 poolPreparedStatements: false maxPoolPreparedStatementPerConnectionSize: 20 validationQuery: select 1 testOnBorrow: false testWhileIdle: true testOnReturn: false minEvictableIdleTimeMillis: 300000 defaultAutoCommit: true filters: com.alibaba.druid.filter.stat.StatFilter connectionProperties: druid.stat.logSlowSql=true;druid.stat.slowSqlMillis=1000 masterslave: name: ms master-data-source-name: ds0 slave-data-source-names: ds1 </code></pre></div> <h5 dir="auto">Exception</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2020-11-28 15:39:17,790|DEBUG|main|com.test.xxx.dao.BlessingDao.selectList:143|==&gt; Preparing: SELECT blessing_id,text,user_id,is_customized,is_delete,create_time,update_time FROM cms_blessing WHERE (user_id IN (?,?) AND is_delete = ?) ORDER BY blessing_id ASC line 1:20 no viable alternative at input 'text' line 1:20 mismatched input 'text' expecting {'!', '~', '+', '-', '.', '(', '{', '?', '@', TRUNCATE, POSITION, VIEW, VALUES, CASE, CAST, TRIM, SUBSTRING, LEFT, RIGHT, IF, NOT, NULL, TRUE, FALSE, EXISTS, ANY, OFFSET, BEGIN, COMMIT, ROLLBACK, SAVEPOINT, BOOLEAN, CHAR, INTERVAL, DATE, TIME, TIMESTAMP, LOCALTIME, LOCALTIMESTAMP, YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MICROSECOND, MAX, MIN, SUM, COUNT, AVG, CURRENT, ENABLE, DISABLE, INSTANCE, DO, DEFINER, CASCADED, LOCAL, CLOSE, OPEN, NEXT, NAME, TYPE, DATABASE, TABLES, TABLESPACE, COLUMNS, FIELDS, INDEXES, STATUS, REPLACE, MODIFY, VALUE, DUPLICATE, FIRST, LAST, AFTER, OJ, MOD, ACCOUNT, USER, ROLE, START, TRANSACTION, ROW, WITHOUT, BINARY, ESCAPE, SUBPARTITION, STORAGE, SUPER, SUBSTR, TEMPORARY, THAN, UNBOUNDED, SIGNED, UPGRADE, VALIDATION, ROLLUP, SOUNDS, UNKNOWN, OFF, ALWAYS, COMMITTED, LEVEL, NO, PASSWORD, PRIVILEGES, ACTION, ALGORITHM, AUTOCOMMIT, BTREE, CHAIN, CHARSET, CHECKSUM, CIPHER, CLIENT, COALESCE, COMMENT, COMPACT, COMPRESSED, COMPRESSION, CONNECTION, CONSISTENT, CONVERT, DATA, DISCARD, DISK, ENCRYPTION, END, ENGINE, EVENT, EXCHANGE, EXECUTE, EXTRACT, FILE, FIXED, FOLLOWING, GLOBAL, HASH, IMPORT_, LESS, MATCH, MEMORY, NONE, NOW, PARSER, PARTIAL, PARTITIONING, PERSIST, PRECEDING, PROCESS, PROXY, QUICK, REBUILD, REDUNDANT, RELOAD, REMOVE, REORGANIZE, REPAIR, REVERSE, SESSION, SHUTDOWN, SIMPLE, SLAVE, VISIBLE, INVISIBLE, ENFORCED, AGAINST, LANGUAGE, MODE, QUERY, EXTENDED, EXPANSION, VARIANCE, MAX_ROWS, MIN_ROWS, SQL_BIG_RESULT, SQL_BUFFER_RESULT, SQL_CACHE, SQL_NO_CACHE, STATS_AUTO_RECALC, STATS_PERSISTENT, STATS_SAMPLE_PAGES, ROW_FORMAT, WEIGHT_STRING, COLUMN_FORMAT, INSERT_METHOD, KEY_BLOCK_SIZE, PACK_KEYS, PERSIST_ONLY, BIT_AND, BIT_OR, BIT_XOR, GROUP_CONCAT, JSON_ARRAYAGG, JSON_OBJECTAGG, STD, STDDEV, STDDEV_POP, STDDEV_SAMP, VAR_POP, VAR_SAMP, AUTO_INCREMENT, AVG_ROW_LENGTH, DELAY_KEY_WRITE, CURRENT_TIMESTAMP, ROTATE, MASTER, BINLOG, ERROR, SCHEDULE, COMPLETION, EVERY, HOST, SOCKET, PORT, SERVER, WRAPPER, OPTIONS, OWNER, RETURNS, CONTAINS, SECURITY, INVOKER, TEMPTABLE, MERGE, UNDEFINED, DATAFILE, FILE_BLOCK_SIZE, EXTENT_SIZE, INITIAL_SIZE, AUTOEXTEND_SIZE, MAX_SIZE, NODEGROUP, WAIT, LOGFILE, UNDOFILE, UNDO_BUFFER_SIZE, REDO_BUFFER_SIZE, HANDLER, PREV, ORGANIZATION, DEFINITION, DESCRIPTION, REFERENCE, FOLLOWS, PRECEDES, IMPORT, CONCURRENT, XML, DUMPFILE, SHARE, CODE, CONTEXT, SOURCE, CHANNEL, CLONE, AGGREGATE, INSTALL, COMPONENT, UNINSTALL, RESOURCE, EXPIRE, NEVER, HISTORY, OPTIONAL, REUSE, MAX_QUERIES_PER_HOUR, MAX_UPDATES_PER_HOUR, MAX_CONNECTIONS_PER_HOUR, MAX_USER_CONNECTIONS, RETAIN, RANDOM, OLD, ISSUER, SUBJECT, CACHE, GENERAL, SLOW, USER_RESOURCES, EXPORT, RELAY, HOSTS, FLUSH, RESET, RESTART, UNIX_TIMESTAMP, LOWER, UPPER, ADDDATE, ADDTIME, DATE_ADD, DATE_SUB, DATEDIFF, DATE_FORMAT, DAYNAME, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, STR_TO_DATE, TIMEDIFF, TIMESTAMPADD, TIMESTAMPDIFF, TIME_FORMAT, TIME_TO_SEC, AES_DECRYPT, AES_ENCRYPT, FROM_BASE64, TO_BASE64, GEOMCOLLECTION, GEOMETRYCOLLECTION, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, ST_AREA, ST_ASBINARY, ST_ASGEOJSON, ST_ASTEXT, ST_ASWKB, ST_ASWKT, ST_BUFFER, ST_BUFFER_STRATEGY, ST_CENTROID, ST_CONTAINS, ST_CONVEXHULL, ST_CROSSES, ST_DIFFERENCE, ST_DIMENSION, ST_DISJOINT, ST_DISTANCE, ST_DISTANCE_SPHERE, ST_ENDPOINT, ST_ENVELOPE, ST_EQUALS, ST_EXTERIORRING, ST_GEOHASH, ST_GEOMCOLLFROMTEXT, ST_GEOMCOLLFROMTXT, ST_GEOMCOLLFROMWKB, ST_GEOMETRYCOLLECTIONFROMTEXT, ST_GEOMETRYCOLLECTIONFROMWKB, ST_GEOMETRYFROMTEXT, ST_GEOMETRYFROMWKB, ST_GEOMETRYN, ST_GEOMETRYTYPE, ST_GEOMFROMGEOJSON, ST_GEOMFROMTEXT, ST_GEOMFROMWKB, ST_INTERIORRINGN, ST_INTERSECTION, ST_INTERSECTS, ST_ISCLOSED, ST_ISEMPTY, ST_ISSIMPLE, ST_ISVALID, ST_LATFROMGEOHASH, ST_LATITUDE, ST_LENGTH, ST_LINEFROMTEXT, ST_LINEFROMWKB, ST_LINESTRINGFROMTEXT, ST_LINESTRINGFROMWKB, ST_LONGFROMGEOHASH, ST_LONGITUDE, ST_MAKEENVELOPE, ST_MLINEFROMTEXT, ST_MLINEFROMWKB, ST_MULTILINESTRINGFROMTEXT, ST_MULTILINESTRINGFROMWKB, ST_MPOINTFROMTEXT, ST_MPOINTFROMWKB, ST_MULTIPOINTFROMTEXT, ST_MULTIPOINTFROMWKB, ST_MPOLYFROMTEXT, ST_MPOLYFROMWKB, ST_MULTIPOLYGONFROMTEXT, ST_MULTIPOLYGONFROMWKB, ST_NUMGEOMETRIES, ST_NUMINTERIORRING, ST_NUMINTERIORRINGS, ST_NUMPOINTS, ST_OVERLAPS, ST_POINTFROMGEOHASH, ST_POINTFROMTEXT, ST_POINTFROMWKB, ST_POINTN, ST_POLYFROMTEXT, ST_POLYFROMWKB, ST_POLYGONFROMTEXT, ST_POLYGONFROMWKB, ST_SIMPLIFY, ST_SRID, ST_STARTPOINT, ST_SWAPXY, ST_SYMDIFFERENCE, ST_TOUCHES, ST_TRANSFORM, ST_UNION, ST_VALIDATE, ST_WITHIN, ST_X, ST_Y, IO_THREAD, SQL_THREAD, SQL_BEFORE_GTIDS, SQL_AFTER_GTIDS, MASTER_LOG_FILE, MASTER_LOG_POS, RELAY_LOG_FILE, RELAY_LOG_POS, SQL_AFTER_MTS_GAPS, UNTIL, DEFAULT_AUTH, PLUGIN_DIR, STOP, IDENTIFIER_, STRING_, NUMBER_, HEX_DIGIT_, BIT_NUM_} org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: java.lang.NullPointerException at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) at com.sun.proxy.$Proxy161.selectList(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:177) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:78) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:96) at com.sun.proxy.$Proxy217.selectList(Unknown Source) at com.test.xxx.service.impl.xxxPromoteServiceImpl.getBlessingsByUserId(xxxPromoteServiceImpl.java:675) at com.test.xxx.xxxApplicationTests.queueQuery(xxxApplicationTests.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40) at org.junit.vintage.engine.VintageTestEngine$$Lambda$258/58488213.accept(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:229) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:197) at org.junit.platform.launcher.core.DefaultLauncher$$Lambda$219/1631119258.accept(Unknown Source) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:211) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:191) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:137) at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:98) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: java.lang.NullPointerException at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:97) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) at com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor.intercept(PaginationInterceptor.java:186) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) at com.sun.proxy.$Proxy286.prepare(Unknown Source) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:92) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:66) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:155) at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) at com.test.commons.db.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:44) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) at com.sun.proxy.$Proxy285.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426) ... 61 more Caused by: java.lang.NullPointerException at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.createProjection(MySQLDMLVisitor.java:446) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjection(MySQLDMLVisitor.java:434) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjection(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$ProjectionContext.accept(MySQLStatementParser.java:5370) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjections(MySQLDMLVisitor.java:410) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjections(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$ProjectionsContext.accept(MySQLStatementParser.java:4865) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelectClause(MySQLDMLVisitor.java:329) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelectClause(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$SelectClauseContext.accept(MySQLStatementParser.java:4551) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitUnionClause(MySQLDMLVisitor.java:322) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitUnionClause(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$UnionClauseContext.accept(MySQLStatementParser.java:4446) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelect(MySQLDMLVisitor.java:314) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelect(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$SelectContext.accept(MySQLStatementParser.java:3098) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse0(SQLParserEngine.java:80) at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse(SQLParserEngine.java:61) at org.apache.shardingsphere.underlying.route.DataNodeRouter.createRouteContext(DataNodeRouter.java:97) at org.apache.shardingsphere.underlying.route.DataNodeRouter.executeRoute(DataNodeRouter.java:89) at org.apache.shardingsphere.underlying.route.DataNodeRouter.route(DataNodeRouter.java:76) at org.apache.shardingsphere.underlying.pluggble.prepare.PreparedQueryPrepareEngine.route(PreparedQueryPrepareEngine.java:54) at org.apache.shardingsphere.underlying.pluggble.prepare.BasePrepareEngine.executeRoute(BasePrepareEngine.java:96) at org.apache.shardingsphere.underlying.pluggble.prepare.BasePrepareEngine.prepare(BasePrepareEngine.java:83) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.MasterSlavePreparedStatement.&lt;init&gt;(MasterSlavePreparedStatement.java:65) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.MasterSlavePreparedStatement.&lt;init&gt;(MasterSlavePreparedStatement.java:49) at org.apache.shardingsphere.shardingjdbc.jdbc.core.connection.MasterSlaveConnection.prepareStatement(MasterSlaveConnection.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.ibatis.logging.jdbc.ConnectionLogger.invoke(ConnectionLogger.java:55) at com.sun.proxy.$Proxy287.prepareStatement(Unknown Source) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:86) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:88) ... 91 more"><pre class="notranslate"><code class="notranslate">2020-11-28 15:39:17,790|DEBUG|main|com.test.xxx.dao.BlessingDao.selectList:143|==&gt; Preparing: SELECT blessing_id,text,user_id,is_customized,is_delete,create_time,update_time FROM cms_blessing WHERE (user_id IN (?,?) AND is_delete = ?) ORDER BY blessing_id ASC line 1:20 no viable alternative at input 'text' line 1:20 mismatched input 'text' expecting {'!', '~', '+', '-', '.', '(', '{', '?', '@', TRUNCATE, POSITION, VIEW, VALUES, CASE, CAST, TRIM, SUBSTRING, LEFT, RIGHT, IF, NOT, NULL, TRUE, FALSE, EXISTS, ANY, OFFSET, BEGIN, COMMIT, ROLLBACK, SAVEPOINT, BOOLEAN, CHAR, INTERVAL, DATE, TIME, TIMESTAMP, LOCALTIME, LOCALTIMESTAMP, YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MICROSECOND, MAX, MIN, SUM, COUNT, AVG, CURRENT, ENABLE, DISABLE, INSTANCE, DO, DEFINER, CASCADED, LOCAL, CLOSE, OPEN, NEXT, NAME, TYPE, DATABASE, TABLES, TABLESPACE, COLUMNS, FIELDS, INDEXES, STATUS, REPLACE, MODIFY, VALUE, DUPLICATE, FIRST, LAST, AFTER, OJ, MOD, ACCOUNT, USER, ROLE, START, TRANSACTION, ROW, WITHOUT, BINARY, ESCAPE, SUBPARTITION, STORAGE, SUPER, SUBSTR, TEMPORARY, THAN, UNBOUNDED, SIGNED, UPGRADE, VALIDATION, ROLLUP, SOUNDS, UNKNOWN, OFF, ALWAYS, COMMITTED, LEVEL, NO, PASSWORD, PRIVILEGES, ACTION, ALGORITHM, AUTOCOMMIT, BTREE, CHAIN, CHARSET, CHECKSUM, CIPHER, CLIENT, COALESCE, COMMENT, COMPACT, COMPRESSED, COMPRESSION, CONNECTION, CONSISTENT, CONVERT, DATA, DISCARD, DISK, ENCRYPTION, END, ENGINE, EVENT, EXCHANGE, EXECUTE, EXTRACT, FILE, FIXED, FOLLOWING, GLOBAL, HASH, IMPORT_, LESS, MATCH, MEMORY, NONE, NOW, PARSER, PARTIAL, PARTITIONING, PERSIST, PRECEDING, PROCESS, PROXY, QUICK, REBUILD, REDUNDANT, RELOAD, REMOVE, REORGANIZE, REPAIR, REVERSE, SESSION, SHUTDOWN, SIMPLE, SLAVE, VISIBLE, INVISIBLE, ENFORCED, AGAINST, LANGUAGE, MODE, QUERY, EXTENDED, EXPANSION, VARIANCE, MAX_ROWS, MIN_ROWS, SQL_BIG_RESULT, SQL_BUFFER_RESULT, SQL_CACHE, SQL_NO_CACHE, STATS_AUTO_RECALC, STATS_PERSISTENT, STATS_SAMPLE_PAGES, ROW_FORMAT, WEIGHT_STRING, COLUMN_FORMAT, INSERT_METHOD, KEY_BLOCK_SIZE, PACK_KEYS, PERSIST_ONLY, BIT_AND, BIT_OR, BIT_XOR, GROUP_CONCAT, JSON_ARRAYAGG, JSON_OBJECTAGG, STD, STDDEV, STDDEV_POP, STDDEV_SAMP, VAR_POP, VAR_SAMP, AUTO_INCREMENT, AVG_ROW_LENGTH, DELAY_KEY_WRITE, CURRENT_TIMESTAMP, ROTATE, MASTER, BINLOG, ERROR, SCHEDULE, COMPLETION, EVERY, HOST, SOCKET, PORT, SERVER, WRAPPER, OPTIONS, OWNER, RETURNS, CONTAINS, SECURITY, INVOKER, TEMPTABLE, MERGE, UNDEFINED, DATAFILE, FILE_BLOCK_SIZE, EXTENT_SIZE, INITIAL_SIZE, AUTOEXTEND_SIZE, MAX_SIZE, NODEGROUP, WAIT, LOGFILE, UNDOFILE, UNDO_BUFFER_SIZE, REDO_BUFFER_SIZE, HANDLER, PREV, ORGANIZATION, DEFINITION, DESCRIPTION, REFERENCE, FOLLOWS, PRECEDES, IMPORT, CONCURRENT, XML, DUMPFILE, SHARE, CODE, CONTEXT, SOURCE, CHANNEL, CLONE, AGGREGATE, INSTALL, COMPONENT, UNINSTALL, RESOURCE, EXPIRE, NEVER, HISTORY, OPTIONAL, REUSE, MAX_QUERIES_PER_HOUR, MAX_UPDATES_PER_HOUR, MAX_CONNECTIONS_PER_HOUR, MAX_USER_CONNECTIONS, RETAIN, RANDOM, OLD, ISSUER, SUBJECT, CACHE, GENERAL, SLOW, USER_RESOURCES, EXPORT, RELAY, HOSTS, FLUSH, RESET, RESTART, UNIX_TIMESTAMP, LOWER, UPPER, ADDDATE, ADDTIME, DATE_ADD, DATE_SUB, DATEDIFF, DATE_FORMAT, DAYNAME, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, STR_TO_DATE, TIMEDIFF, TIMESTAMPADD, TIMESTAMPDIFF, TIME_FORMAT, TIME_TO_SEC, AES_DECRYPT, AES_ENCRYPT, FROM_BASE64, TO_BASE64, GEOMCOLLECTION, GEOMETRYCOLLECTION, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, ST_AREA, ST_ASBINARY, ST_ASGEOJSON, ST_ASTEXT, ST_ASWKB, ST_ASWKT, ST_BUFFER, ST_BUFFER_STRATEGY, ST_CENTROID, ST_CONTAINS, ST_CONVEXHULL, ST_CROSSES, ST_DIFFERENCE, ST_DIMENSION, ST_DISJOINT, ST_DISTANCE, ST_DISTANCE_SPHERE, ST_ENDPOINT, ST_ENVELOPE, ST_EQUALS, ST_EXTERIORRING, ST_GEOHASH, ST_GEOMCOLLFROMTEXT, ST_GEOMCOLLFROMTXT, ST_GEOMCOLLFROMWKB, ST_GEOMETRYCOLLECTIONFROMTEXT, ST_GEOMETRYCOLLECTIONFROMWKB, ST_GEOMETRYFROMTEXT, ST_GEOMETRYFROMWKB, ST_GEOMETRYN, ST_GEOMETRYTYPE, ST_GEOMFROMGEOJSON, ST_GEOMFROMTEXT, ST_GEOMFROMWKB, ST_INTERIORRINGN, ST_INTERSECTION, ST_INTERSECTS, ST_ISCLOSED, ST_ISEMPTY, ST_ISSIMPLE, ST_ISVALID, ST_LATFROMGEOHASH, ST_LATITUDE, ST_LENGTH, ST_LINEFROMTEXT, ST_LINEFROMWKB, ST_LINESTRINGFROMTEXT, ST_LINESTRINGFROMWKB, ST_LONGFROMGEOHASH, ST_LONGITUDE, ST_MAKEENVELOPE, ST_MLINEFROMTEXT, ST_MLINEFROMWKB, ST_MULTILINESTRINGFROMTEXT, ST_MULTILINESTRINGFROMWKB, ST_MPOINTFROMTEXT, ST_MPOINTFROMWKB, ST_MULTIPOINTFROMTEXT, ST_MULTIPOINTFROMWKB, ST_MPOLYFROMTEXT, ST_MPOLYFROMWKB, ST_MULTIPOLYGONFROMTEXT, ST_MULTIPOLYGONFROMWKB, ST_NUMGEOMETRIES, ST_NUMINTERIORRING, ST_NUMINTERIORRINGS, ST_NUMPOINTS, ST_OVERLAPS, ST_POINTFROMGEOHASH, ST_POINTFROMTEXT, ST_POINTFROMWKB, ST_POINTN, ST_POLYFROMTEXT, ST_POLYFROMWKB, ST_POLYGONFROMTEXT, ST_POLYGONFROMWKB, ST_SIMPLIFY, ST_SRID, ST_STARTPOINT, ST_SWAPXY, ST_SYMDIFFERENCE, ST_TOUCHES, ST_TRANSFORM, ST_UNION, ST_VALIDATE, ST_WITHIN, ST_X, ST_Y, IO_THREAD, SQL_THREAD, SQL_BEFORE_GTIDS, SQL_AFTER_GTIDS, MASTER_LOG_FILE, MASTER_LOG_POS, RELAY_LOG_FILE, RELAY_LOG_POS, SQL_AFTER_MTS_GAPS, UNTIL, DEFAULT_AUTH, PLUGIN_DIR, STOP, IDENTIFIER_, STRING_, NUMBER_, HEX_DIGIT_, BIT_NUM_} org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: java.lang.NullPointerException at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) at com.sun.proxy.$Proxy161.selectList(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:177) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:78) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:96) at com.sun.proxy.$Proxy217.selectList(Unknown Source) at com.test.xxx.service.impl.xxxPromoteServiceImpl.getBlessingsByUserId(xxxPromoteServiceImpl.java:675) at com.test.xxx.xxxApplicationTests.queueQuery(xxxApplicationTests.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40) at org.junit.vintage.engine.VintageTestEngine$$Lambda$258/58488213.accept(Unknown Source) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:229) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:197) at org.junit.platform.launcher.core.DefaultLauncher$$Lambda$219/1631119258.accept(Unknown Source) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:211) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:191) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:137) at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:98) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: java.lang.NullPointerException at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:97) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) at com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor.intercept(PaginationInterceptor.java:186) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) at com.sun.proxy.$Proxy286.prepare(Unknown Source) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:92) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:66) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:155) at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49) at com.test.commons.db.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:44) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) at com.sun.proxy.$Proxy285.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426) ... 61 more Caused by: java.lang.NullPointerException at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.createProjection(MySQLDMLVisitor.java:446) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjection(MySQLDMLVisitor.java:434) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjection(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$ProjectionContext.accept(MySQLStatementParser.java:5370) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjections(MySQLDMLVisitor.java:410) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitProjections(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$ProjectionsContext.accept(MySQLStatementParser.java:4865) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelectClause(MySQLDMLVisitor.java:329) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelectClause(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$SelectClauseContext.accept(MySQLStatementParser.java:4551) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitUnionClause(MySQLDMLVisitor.java:322) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitUnionClause(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$UnionClauseContext.accept(MySQLStatementParser.java:4446) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelect(MySQLDMLVisitor.java:314) at org.apache.shardingsphere.sql.parser.mysql.visitor.impl.MySQLDMLVisitor.visitSelect(MySQLDMLVisitor.java:127) at org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser$SelectContext.accept(MySQLStatementParser.java:3098) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18) at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse0(SQLParserEngine.java:80) at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse(SQLParserEngine.java:61) at org.apache.shardingsphere.underlying.route.DataNodeRouter.createRouteContext(DataNodeRouter.java:97) at org.apache.shardingsphere.underlying.route.DataNodeRouter.executeRoute(DataNodeRouter.java:89) at org.apache.shardingsphere.underlying.route.DataNodeRouter.route(DataNodeRouter.java:76) at org.apache.shardingsphere.underlying.pluggble.prepare.PreparedQueryPrepareEngine.route(PreparedQueryPrepareEngine.java:54) at org.apache.shardingsphere.underlying.pluggble.prepare.BasePrepareEngine.executeRoute(BasePrepareEngine.java:96) at org.apache.shardingsphere.underlying.pluggble.prepare.BasePrepareEngine.prepare(BasePrepareEngine.java:83) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.MasterSlavePreparedStatement.&lt;init&gt;(MasterSlavePreparedStatement.java:65) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.MasterSlavePreparedStatement.&lt;init&gt;(MasterSlavePreparedStatement.java:49) at org.apache.shardingsphere.shardingjdbc.jdbc.core.connection.MasterSlaveConnection.prepareStatement(MasterSlaveConnection.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.ibatis.logging.jdbc.ConnectionLogger.invoke(ConnectionLogger.java:55) at com.sun.proxy.$Proxy287.prepareStatement(Unknown Source) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:86) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:88) ... 91 more </code></pre></div> <h3 dir="auto">Reason analyze (If you can)</h3> <h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>For English only</strong>, other languages will not accept.</p> <p dir="auto">Before report a bug, make sure you have:</p> <ul dir="auto"> <li>Searched open and closed <a href="https://github.com/apache/shardingsphere/issues">GitHub issues</a>.</li> <li>Read documentation: <a href="https://shardingsphere.apache.org/document/current/en/overview" rel="nofollow">ShardingSphere Doc</a>.</li> </ul> <p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br> If no response anymore and we cannot reproduce it on current information, we will <strong>close it</strong>.</p> <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="we find java version: java8, full_version=1.8.0_131 ShardingSphere-5.1.2-SNAPSHOT Commit ID: dirty-1b77c33983198a420e974a302d2a891ca05ae664 Commit Message: Support openGauss cursor, close, move and fetch statements route and rewrite in sharding scenario (#18148) Branch: 1b77c33983198a420e974a302d2a891ca05ae664 Build time: 2022-06-02T15:58:32+0800"><pre class="notranslate"><code class="notranslate">we find java version: java8, full_version=1.8.0_131 ShardingSphere-5.1.2-SNAPSHOT Commit ID: dirty-1b77c33983198a420e974a302d2a891ca05ae664 Commit Message: Support openGauss cursor, close, move and fetch statements route and rewrite in sharding scenario (#18148) Branch: 1b77c33983198a420e974a302d2a891ca05ae664 Build time: 2022-06-02T15:58:32+0800 </code></pre></div> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-Proxy</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">no error</p> <h3 dir="auto">Actual behavior</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="hanks for using Atomikos! This installation is not registered yet. REGISTER FOR FREE at http://www.atomikos.com/Main/RegisterYourDownload and receive: - tips &amp; advice - working demos - access to the full documentation - special exclusive bonus offers not available to others - everything you need to get the most out of using Atomikos! [INFO ] 2022-06-02 18:18:12.915 [main] o.a.s.p.v.ShardingSphereProxyVersion - Database name is `MySQL`, version is `5.7.26`, database name is `proxy_tpcc_four` [INFO ] 2022-06-02 18:18:12.978 [main] o.a.s.p.v.ShardingSphereProxyVersion - Database name is `MySQL`, version is `5.7.26`, database name is `proxy_sysbench_four` [INFO ] 2022-06-02 18:18:13.126 [main] o.a.s.p.frontend.ShardingSphereProxy - ShardingSphere-Proxy Memory mode started successfully [ERROR] 2022-06-02 18:18:30.817 [ShardingSphere-Command-8] o.a.s.p.f.c.CommandExecutorTask - Exception occur: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '201-8-3161' for key 'PRIMARY' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) at com.mysql.jdbc.Util.getInstance(Util.java:408) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1288) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:788) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242) at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.impl.ProxyPreparedStatementExecutorCallback.execute(ProxyPreparedStatementExecutorCallback.java:41) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:73) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:66) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:44) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:86) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:66) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.syncExecute(ExecutorEngine.java:135) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.parallelExecute(ExecutorEngine.java:131) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.execute(ExecutorEngine.java:116) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor.execute(JDBCExecutor.java:65) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.ProxyJDBCExecutor.execute(ProxyJDBCExecutor.java:71) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.useDriverToExecute(ProxySQLExecutor.java:171) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.execute(ProxySQLExecutor.java:132) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.execute(ProxySQLExecutor.java:126) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:140) at org.apache.shardingsphere.proxy.frontend.mysql.command.query.binary.execute.MySQLComStmtExecuteExecutor.execute(MySQLComStmtExecuteExecutor.java:118) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:106) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:76) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) [ERROR] 2022-06-02 18:18:30.819 [ShardingSphere-Command-106] o.a.s.p.f.c.CommandExecutorTask - Exception occur: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '758-10-3154' for key 'PRIMARY' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) at com.mysql.jdbc.Util.getInstance(Util.java:408) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1288) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:788) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242) at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)"><pre class="notranslate"><code class="notranslate">hanks for using Atomikos! This installation is not registered yet. REGISTER FOR FREE at http://www.atomikos.com/Main/RegisterYourDownload and receive: - tips &amp; advice - working demos - access to the full documentation - special exclusive bonus offers not available to others - everything you need to get the most out of using Atomikos! [INFO ] 2022-06-02 18:18:12.915 [main] o.a.s.p.v.ShardingSphereProxyVersion - Database name is `MySQL`, version is `5.7.26`, database name is `proxy_tpcc_four` [INFO ] 2022-06-02 18:18:12.978 [main] o.a.s.p.v.ShardingSphereProxyVersion - Database name is `MySQL`, version is `5.7.26`, database name is `proxy_sysbench_four` [INFO ] 2022-06-02 18:18:13.126 [main] o.a.s.p.frontend.ShardingSphereProxy - ShardingSphere-Proxy Memory mode started successfully [ERROR] 2022-06-02 18:18:30.817 [ShardingSphere-Command-8] o.a.s.p.f.c.CommandExecutorTask - Exception occur: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '201-8-3161' for key 'PRIMARY' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) at com.mysql.jdbc.Util.getInstance(Util.java:408) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1288) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:788) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242) at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.impl.ProxyPreparedStatementExecutorCallback.execute(ProxyPreparedStatementExecutorCallback.java:41) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:73) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:66) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.callback.ProxyJDBCExecutorCallback.executeSQL(ProxyJDBCExecutorCallback.java:44) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:86) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutorCallback.execute(JDBCExecutorCallback.java:66) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.syncExecute(ExecutorEngine.java:135) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.parallelExecute(ExecutorEngine.java:131) at org.apache.shardingsphere.infra.executor.kernel.ExecutorEngine.execute(ExecutorEngine.java:116) at org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor.execute(JDBCExecutor.java:65) at org.apache.shardingsphere.proxy.backend.communication.jdbc.executor.ProxyJDBCExecutor.execute(ProxyJDBCExecutor.java:71) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.useDriverToExecute(ProxySQLExecutor.java:171) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.execute(ProxySQLExecutor.java:132) at org.apache.shardingsphere.proxy.backend.communication.ProxySQLExecutor.execute(ProxySQLExecutor.java:126) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:140) at org.apache.shardingsphere.proxy.frontend.mysql.command.query.binary.execute.MySQLComStmtExecuteExecutor.execute(MySQLComStmtExecuteExecutor.java:118) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:106) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:76) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) [ERROR] 2022-06-02 18:18:30.819 [ShardingSphere-Command-106] o.a.s.p.f.c.CommandExecutorTask - Exception occur: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '758-10-3154' for key 'PRIMARY' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) at com.mysql.jdbc.Util.getInstance(Util.java:408) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1288) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:788) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242) at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) </code></pre></div> <h3 dir="auto">Reason analyze (If you can)</h3> <p dir="auto">when i use 5.1.1 proxy it didn't occurred error.<br> but when i use 5.1.2 snapshot error occurred.</p> <p dir="auto">Two proxy have same driver,ds,config.</p> <h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3> <ol dir="auto"> <li>use proxy build tpcc warehouse</li> </ol> <h5 dir="auto">config-sharding.yaml</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="schemaName: proxy_tpcc_four dataSources: ds_0: url: jdbc:mysql://10.16.9.12:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 ds_1: url: jdbc:mysql://10.16.9.62:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 ds_2: url: jdbc:mysql://10.16.9.192:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 ds_3: url: jdbc:mysql://10.16.9.120:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 rules: - !SHARDING bindingTables: - bmsql_warehouse, bmsql_customer - bmsql_stock, bmsql_district, bmsql_order_line defaultDatabaseStrategy: none: defaultTableStrategy: none: keyGenerators: snowflake: type: SNOWFLAKE tables: bmsql_config: actualDataNodes: ds_0.bmsql_config bmsql_warehouse: actualDataNodes: ds_${0..3}.bmsql_warehouse databaseStrategy: standard: shardingColumn: w_id shardingAlgorithmName: mod_4 bmsql_district: actualDataNodes: ds_${0..3}.bmsql_district databaseStrategy: standard: shardingColumn: d_w_id shardingAlgorithmName: mod_4 bmsql_customer: actualDataNodes: ds_${0..3}.bmsql_customer databaseStrategy: standard: shardingColumn: c_w_id shardingAlgorithmName: mod_4 bmsql_item: actualDataNodes: ds_${0..3}.bmsql_item databaseStrategy: standard: shardingColumn: i_id shardingAlgorithmName: mod_4 bmsql_history: actualDataNodes: ds_${0..3}.bmsql_history databaseStrategy: standard: shardingColumn: h_w_id shardingAlgorithmName: mod_4 bmsql_oorder: actualDataNodes: ds_${0..3}.bmsql_oorder databaseStrategy: standard: shardingColumn: o_w_id shardingAlgorithmName: mod_4 bmsql_stock: actualDataNodes: ds_${0..3}.bmsql_stock databaseStrategy: standard: shardingColumn: s_w_id shardingAlgorithmName: mod_4 bmsql_new_order: actualDataNodes: ds_${0..3}.bmsql_new_order databaseStrategy: standard: shardingColumn: no_w_id shardingAlgorithmName: mod_4 bmsql_order_line: actualDataNodes: ds_${0..3}.bmsql_order_line databaseStrategy: standard: shardingColumn: ol_w_id shardingAlgorithmName: mod_4 shardingAlgorithms: mod_4: type: MOD props: sharding-count: 4"><pre class="notranslate"><code class="notranslate">schemaName: proxy_tpcc_four dataSources: ds_0: url: jdbc:mysql://10.16.9.12:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 ds_1: url: jdbc:mysql://10.16.9.62:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 ds_2: url: jdbc:mysql://10.16.9.192:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 ds_3: url: jdbc:mysql://10.16.9.120:3306/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=8000 username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 600 minPoolSize: 1 rules: - !SHARDING bindingTables: - bmsql_warehouse, bmsql_customer - bmsql_stock, bmsql_district, bmsql_order_line defaultDatabaseStrategy: none: defaultTableStrategy: none: keyGenerators: snowflake: type: SNOWFLAKE tables: bmsql_config: actualDataNodes: ds_0.bmsql_config bmsql_warehouse: actualDataNodes: ds_${0..3}.bmsql_warehouse databaseStrategy: standard: shardingColumn: w_id shardingAlgorithmName: mod_4 bmsql_district: actualDataNodes: ds_${0..3}.bmsql_district databaseStrategy: standard: shardingColumn: d_w_id shardingAlgorithmName: mod_4 bmsql_customer: actualDataNodes: ds_${0..3}.bmsql_customer databaseStrategy: standard: shardingColumn: c_w_id shardingAlgorithmName: mod_4 bmsql_item: actualDataNodes: ds_${0..3}.bmsql_item databaseStrategy: standard: shardingColumn: i_id shardingAlgorithmName: mod_4 bmsql_history: actualDataNodes: ds_${0..3}.bmsql_history databaseStrategy: standard: shardingColumn: h_w_id shardingAlgorithmName: mod_4 bmsql_oorder: actualDataNodes: ds_${0..3}.bmsql_oorder databaseStrategy: standard: shardingColumn: o_w_id shardingAlgorithmName: mod_4 bmsql_stock: actualDataNodes: ds_${0..3}.bmsql_stock databaseStrategy: standard: shardingColumn: s_w_id shardingAlgorithmName: mod_4 bmsql_new_order: actualDataNodes: ds_${0..3}.bmsql_new_order databaseStrategy: standard: shardingColumn: no_w_id shardingAlgorithmName: mod_4 bmsql_order_line: actualDataNodes: ds_${0..3}.bmsql_order_line databaseStrategy: standard: shardingColumn: ol_w_id shardingAlgorithmName: mod_4 shardingAlgorithms: mod_4: type: MOD props: sharding-count: 4 </code></pre></div> <h5 dir="auto">server.yaml</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rules: - !AUTHORITY users: - root@%:root provider: type: ALL_PRIVILEGES_PERMITTED props:"><pre class="notranslate"><code class="notranslate">rules: - !AUTHORITY users: - root@%:root provider: type: ALL_PRIVILEGES_PERMITTED props: </code></pre></div> <h5 dir="auto">props.proxy</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="db=postgres driver=com.mysql.jdbc.Driver conn=jdbc:mysql://10.16.9.224:3333/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=1024 user=root password= warehouses=1000 loadWorkers=201 terminals=200 //To run specified transactions per terminal- runMins must equal zero runTxnsPerTerminal=0 //To run for specified minutes- runTxnsPerTerminal must equal zero runMins=30 //Number of total transactions per minute limitTxnsPerMin=0 //Set to true to run in 4.x compatible mode. Set to false to use the //entire configured database evenly. terminalWarehouseFixed=false //The following five values must add up to 100 //The default percentages of 45, 43, 4, 4 &amp; 4 match the TPC-C spec newOrderWeight=45 paymentWeight=43 orderStatusWeight=4 deliveryWeight=4 stockLevelWeight=4 // Directory name to create for collecting detailed result data. // Comment this out to suppress. resultDirectory=/root/test_benchmark/run/script/result/proxy/proxy_result_%tY-%tm-%td_%tH%tM%tS_10 osCollectorScript=./misc/os_collector_linux.py osCollectorInterval=1 [email protected] osCollectorDevices=net_eth0 blk_sda"><pre class="notranslate"><code class="notranslate">db=postgres driver=com.mysql.jdbc.Driver conn=jdbc:mysql://10.16.9.224:3333/proxy_tpcc_four?useSSL=false&amp;useServerPrepStmts=true&amp;cachePrepStmts=true&amp;prepStmtCacheSize=8192&amp;prepStmtCacheSqlLimit=1024 user=root password= warehouses=1000 loadWorkers=201 terminals=200 //To run specified transactions per terminal- runMins must equal zero runTxnsPerTerminal=0 //To run for specified minutes- runTxnsPerTerminal must equal zero runMins=30 //Number of total transactions per minute limitTxnsPerMin=0 //Set to true to run in 4.x compatible mode. Set to false to use the //entire configured database evenly. terminalWarehouseFixed=false //The following five values must add up to 100 //The default percentages of 45, 43, 4, 4 &amp; 4 match the TPC-C spec newOrderWeight=45 paymentWeight=43 orderStatusWeight=4 deliveryWeight=4 stockLevelWeight=4 // Directory name to create for collecting detailed result data. // Comment this out to suppress. resultDirectory=/root/test_benchmark/run/script/result/proxy/proxy_result_%tY-%tm-%td_%tH%tM%tS_10 osCollectorScript=./misc/os_collector_linux.py osCollectorInterval=1 [email protected] osCollectorDevices=net_eth0 blk_sda </code></pre></div> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.8</li> <li>Operating System version: macOS Catalina</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto"><code class="notranslate">TreePathDynamicConfiguration#publishConfig</code> will call <code class="notranslate">AbstractDynamicConfiguration.execute()</code> to execute Callable and result type required <code class="notranslate">boolean</code>。execute() will return <code class="notranslate">null</code> when some Exception throw during execute Callable and then NPE will throw. Also <code class="notranslate">AbstractDynamicConfiguration#removeConfig</code> has the same problem.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" public final boolean publishConfig(String key, String group, String content) { String pathKey = buildPathKey(group, key); // NPE may occur if execute(...) return null return execute(() -&gt; doPublishConfig(pathKey, content), getDefaultTimeout()); }"><pre class="notranslate"> <span class="pl-k">public</span> <span class="pl-k">final</span> <span class="pl-smi">boolean</span> <span class="pl-s1">publishConfig</span>(<span class="pl-smi">String</span> <span class="pl-s1">key</span>, <span class="pl-smi">String</span> <span class="pl-s1">group</span>, <span class="pl-smi">String</span> <span class="pl-s1">content</span>) { <span class="pl-smi">String</span> <span class="pl-s1">pathKey</span> = <span class="pl-en">buildPathKey</span>(<span class="pl-s1">group</span>, <span class="pl-s1">key</span>); <span class="pl-c">// NPE may occur if execute(...) return null</span> <span class="pl-k">return</span> <span class="pl-en">execute</span>(() -&gt; <span class="pl-en">doPublishConfig</span>(<span class="pl-s1">pathKey</span>, <span class="pl-s1">content</span>), <span class="pl-en">getDefaultTimeout</span>()); }</pre></div> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" protected final &lt;V&gt; V execute(Callable&lt;V&gt; task, long timeout) { V value = null; try { if (timeout &lt; 1) { // less or equal 0 value = task.call(); } else { Future&lt;V&gt; future = workersThreadPool.submit(task); value = future.get(timeout, TimeUnit.MILLISECONDS); } } catch (Exception e) { // will return null if (logger.isErrorEnabled()) { logger.error(e.getMessage(), e); } } return value; }"><pre class="notranslate"> <span class="pl-k">protected</span> <span class="pl-k">final</span> &lt;<span class="pl-smi">V</span>&gt; <span class="pl-s1">V</span> <span class="pl-en">execute</span>(<span class="pl-s1">Callable</span>&lt;<span class="pl-s1">V</span>&gt; <span class="pl-s1">task</span>, <span class="pl-smi">long</span> <span class="pl-s1">timeout</span>) { <span class="pl-smi">V</span> <span class="pl-s1">value</span> = <span class="pl-c1">null</span>; <span class="pl-k">try</span> { <span class="pl-k">if</span> (<span class="pl-s1">timeout</span> &lt; <span class="pl-c1">1</span>) { <span class="pl-c">// less or equal 0</span> <span class="pl-s1">value</span> = <span class="pl-s1">task</span>.<span class="pl-en">call</span>(); } <span class="pl-k">else</span> { <span class="pl-smi">Future</span>&lt;<span class="pl-smi">V</span>&gt; <span class="pl-s1">future</span> = <span class="pl-s1">workersThreadPool</span>.<span class="pl-en">submit</span>(<span class="pl-s1">task</span>); <span class="pl-s1">value</span> = <span class="pl-s1">future</span>.<span class="pl-en">get</span>(<span class="pl-s1">timeout</span>, <span class="pl-smi">TimeUnit</span>.<span class="pl-c1">MILLISECONDS</span>); } } <span class="pl-k">catch</span> (<span class="pl-smi">Exception</span> <span class="pl-s1">e</span>) { <span class="pl-c">// will return null</span> <span class="pl-k">if</span> (<span class="pl-s1">logger</span>.<span class="pl-en">isErrorEnabled</span>()) { <span class="pl-s1">logger</span>.<span class="pl-en">error</span>(<span class="pl-s1">e</span>.<span class="pl-en">getMessage</span>(), <span class="pl-s1">e</span>); } } <span class="pl-k">return</span> <span class="pl-s1">value</span>; }</pre></div> <h3 dir="auto">Expected Result</h3> <p dir="auto"><code class="notranslate">TreePathDynamicConfiguration#publishConfig</code> return false when some Exception happened during execute Callable</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">throw NPE</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /home/qianqian/dubbo/metadata at org.apache.zookeeper.KeeperException.create(KeeperException.java:116) at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:792) at org.apache.curator.framework.imps.CreateBuilderImpl$17.call(CreateBuilderImpl.java:1177) at org.apache.curator.framework.imps.CreateBuilderImpl$17.call(CreateBuilderImpl.java:1158) at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:64) at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:100) at org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:1155) at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:605) at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:595) at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:573) at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:49) at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.createPersistent(CuratorZookeeperClient.java:90) ... 16 common frames omitted java.lang.NullPointerException: null at org.apache.dubbo.common.config.configcenter.TreePathDynamicConfiguration.publishConfig(TreePathDynamicConfiguration.java:90) at org.apache.dubbo.metadata.report.support.ConfigCenterBasedMetadataReport.saveMetadata(ConfigCenterBasedMetadataReport.java:123) at org.apache.dubbo.metadata.report.support.ConfigCenterBasedMetadataReport.doStoreConsumerMetadata(ConfigCenterBasedMetadataReport.java:67) at org.apache.dubbo.metadata.report.support.AbstractMetadataReport.storeConsumerMetadataTask(AbstractMetadataReport.java:309) at org.apache.dubbo.metadata.report.support.AbstractMetadataReport.lambda$storeConsumerMetadata$1(AbstractMetadataReport.java:295) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)"><pre class="notranslate"><code class="notranslate">Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /home/qianqian/dubbo/metadata at org.apache.zookeeper.KeeperException.create(KeeperException.java:116) at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:792) at org.apache.curator.framework.imps.CreateBuilderImpl$17.call(CreateBuilderImpl.java:1177) at org.apache.curator.framework.imps.CreateBuilderImpl$17.call(CreateBuilderImpl.java:1158) at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:64) at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:100) at org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:1155) at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:605) at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:595) at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:573) at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:49) at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.createPersistent(CuratorZookeeperClient.java:90) ... 16 common frames omitted java.lang.NullPointerException: null at org.apache.dubbo.common.config.configcenter.TreePathDynamicConfiguration.publishConfig(TreePathDynamicConfiguration.java:90) at org.apache.dubbo.metadata.report.support.ConfigCenterBasedMetadataReport.saveMetadata(ConfigCenterBasedMetadataReport.java:123) at org.apache.dubbo.metadata.report.support.ConfigCenterBasedMetadataReport.doStoreConsumerMetadata(ConfigCenterBasedMetadataReport.java:67) at org.apache.dubbo.metadata.report.support.AbstractMetadataReport.storeConsumerMetadataTask(AbstractMetadataReport.java:309) at org.apache.dubbo.metadata.report.support.AbstractMetadataReport.lambda$storeConsumerMetadata$1(AbstractMetadataReport.java:295) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 所有版本</li> <li>Operating System version: 所有版本</li> <li>Java version: 所有版本</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">1.使用自定义的classloader去加载一个jar。<br> 2.初始化该jar里面的某个类,通过ReferenceConfig生成该类的rpc服务。<br> 3.出现各种ClassNotFound或者生成代理类失败</p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.<br> <a href="https://github.com/apache/dubbo/blob/master/dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Proxy.java">https://github.com/apache/dubbo/blob/master/dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Proxy.java</a><br> 和<br> <a href="https://github.com/apache/dubbo/blob/master/dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java">https://github.com/apache/dubbo/blob/master/dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java</a></p> <h3 dir="auto">Expected Result</h3> <p dir="auto">期望dubbo生成代理类的时候使用Thread.currentThread.getContextClassLoader获得的ClassLoader或者要生成Interface的ClassLoader而不是写死直接使用系统的ClassLoader</p> <p dir="auto">What do you expected from the above steps?<br> 修改上面两个类的默认ClassLoader获取方式</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">return getProxy(ClassHelper.getCallerClassLoader(ics[0]), ics);</p> <p dir="auto">What actually happens?<br> 生成代理类异常</p> <p dir="auto">If there is an exception, please attach the exception trace:<br> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recommendDynamicService' defined in file [D:\project\project\vivoshop-recommend\recommend-core\target\classes\com\vivo\internet\recommend\core\service\impl\RecommendDynamicServiceImpl.class]: Invocation of init method failed; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: interface com.bbkmobile.iqoo.vivoshop.facade.recommend.ManualRecommendFacade is not visible from class loader<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:522) ~[spring-context-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496) ~[spring-context-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627) ~[spring-context-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:171) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318) ~[spring-context-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> ... 29 common frames omitted<br> Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: interface com.bbkmobile.iqoo.vivoshop.facade.recommend.ManualRecommendFacade is not visible from class loader<br> at com.vivo.internet.recommend.core.service.impl.RecommendDynamicServiceImpl.initAndReplaceDynamicProcessors(RecommendDynamicServiceImpl.java:208) ~[classes/:na]<br> at com.vivo.internet.recommend.core.service.impl.RecommendDynamicServiceImpl.refreshAllDynamicServices(RecommendDynamicServiceImpl.java:167) ~[classes/:na]<br> at com.vivo.internet.recommend.core.service.impl.RecommendDynamicServiceImpl.afterPropertiesSet(RecommendDynamicServiceImpl.java:246) ~[classes/:na]<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627) ~[spring-beans-4.3.22.RELEASE.jar:4.3.22.RELEASE]<br> ... 41 common frames omitted<br> Caused by: java.lang.IllegalArgumentException: interface com.bbkmobile.iqoo.vivoshop.facade.recommend.ManualRecommendFacade is not visible from class loader<br> at com.alibaba.dubbo.common.bytecode.Proxy.getProxy(Proxy.java:98) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.common.bytecode.Proxy.getProxy(Proxy.java:67) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory.getProxy(JavassistProxyFactory.java:35) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.rpc.proxy.AbstractProxyFactory.getProxy(AbstractProxyFactory.java:49) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.rpc.proxy.wrapper.StubProxyFactoryWrapper.getProxy(StubProxyFactoryWrapper.java:60) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.rpc.ProxyFactory$Adpative.getProxy(ProxyFactory$Adpative.java) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:438) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:312) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:141) ~[dubbo-3.0.7-VIVO.jar:3.0.7-VIVO]<br> at com.vivo.internet.recommend.common.utils.DuuboUtils.getReferenceService(DuuboUtils.java:31) ~[classes/:na]<br> at com.vivo.internet.recommend.core.service.impl.RecommendDynamicServiceImpl.initAndReplaceDynamicProcessors(RecommendDynamicServiceImpl.java:201) ~[classes/:na]<br> ... 45 common frames omitte</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here! 无"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! 无 </code></pre></div>
0
<p dir="auto">Not able to import seaborn and the trace back refers to error in scipy. I installed all packages using pip</p> <h3 dir="auto">Reproducing code example:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import seaborn as sns"><pre class="notranslate"><code class="notranslate">import seaborn as sns </code></pre></div> <h3 dir="auto">Error message:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ImportError Traceback (most recent call last) &lt;ipython-input-13-8c064911bb40&gt; in &lt;module&gt;() 2 import numpy; print(numpy.__version__) 3 import scipy; print(scipy.__version__) ----&gt; 4 import seaborn C:\Anaconda3\lib\site-packages\seaborn\__init__.py in &lt;module&gt;() 4 5 # Import seaborn objects ----&gt; 6 from .rcmod import * 7 from .utils import * 8 from .palettes import * C:\Anaconda3\lib\site-packages\seaborn\rcmod.py in &lt;module&gt;() 6 import matplotlib as mpl 7 ----&gt; 8 from . import palettes, _orig_rc_params 9 10 C:\Anaconda3\lib\site-packages\seaborn\palettes.py in &lt;module&gt;() 10 from .external.six.moves import range 11 ---&gt; 12 from .utils import desaturate, set_hls_values, get_color_cycle 13 from .xkcd_rgb import xkcd_rgb 14 from .crayons import crayons C:\Anaconda3\lib\site-packages\seaborn\utils.py in &lt;module&gt;() 5 6 import numpy as np ----&gt; 7 from scipy import stats 8 import pandas as pd 9 import matplotlib as mpl C:\Anaconda3\lib\site-packages\scipy\stats\__init__.py in &lt;module&gt;() 343 from __future__ import division, print_function, absolute_import 344 --&gt; 345 from .stats import * 346 from .distributions import * 347 from .morestats import * C:\Anaconda3\lib\site-packages\scipy\stats\stats.py in &lt;module&gt;() 167 from scipy._lib.six import callable, string_types 168 from scipy._lib._version import NumpyVersion --&gt; 169 import scipy.special as special 170 import scipy.linalg as linalg 171 from . import distributions C:\Anaconda3\lib\site-packages\scipy\special\__init__.py in &lt;module&gt;() 646 from .orthogonal import * 647 from .spfun_stats import multigammaln --&gt; 648 from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal 649 from .lambertw import lambertw 650 from ._spherical_bessel import (spherical_jn, spherical_yn, spherical_in, C:\Anaconda3\lib\site-packages\scipy\special\_ellip_harm.py in &lt;module&gt;() 5 6 from ._ufuncs import _ellip_harm ----&gt; 7 from ._ellip_harm_2 import _ellipsoid, _ellipsoid_norm 8 9 ImportError: cannot import name '_ellipsoid'"><pre class="notranslate"><code class="notranslate">ImportError Traceback (most recent call last) &lt;ipython-input-13-8c064911bb40&gt; in &lt;module&gt;() 2 import numpy; print(numpy.__version__) 3 import scipy; print(scipy.__version__) ----&gt; 4 import seaborn C:\Anaconda3\lib\site-packages\seaborn\__init__.py in &lt;module&gt;() 4 5 # Import seaborn objects ----&gt; 6 from .rcmod import * 7 from .utils import * 8 from .palettes import * C:\Anaconda3\lib\site-packages\seaborn\rcmod.py in &lt;module&gt;() 6 import matplotlib as mpl 7 ----&gt; 8 from . import palettes, _orig_rc_params 9 10 C:\Anaconda3\lib\site-packages\seaborn\palettes.py in &lt;module&gt;() 10 from .external.six.moves import range 11 ---&gt; 12 from .utils import desaturate, set_hls_values, get_color_cycle 13 from .xkcd_rgb import xkcd_rgb 14 from .crayons import crayons C:\Anaconda3\lib\site-packages\seaborn\utils.py in &lt;module&gt;() 5 6 import numpy as np ----&gt; 7 from scipy import stats 8 import pandas as pd 9 import matplotlib as mpl C:\Anaconda3\lib\site-packages\scipy\stats\__init__.py in &lt;module&gt;() 343 from __future__ import division, print_function, absolute_import 344 --&gt; 345 from .stats import * 346 from .distributions import * 347 from .morestats import * C:\Anaconda3\lib\site-packages\scipy\stats\stats.py in &lt;module&gt;() 167 from scipy._lib.six import callable, string_types 168 from scipy._lib._version import NumpyVersion --&gt; 169 import scipy.special as special 170 import scipy.linalg as linalg 171 from . import distributions C:\Anaconda3\lib\site-packages\scipy\special\__init__.py in &lt;module&gt;() 646 from .orthogonal import * 647 from .spfun_stats import multigammaln --&gt; 648 from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal 649 from .lambertw import lambertw 650 from ._spherical_bessel import (spherical_jn, spherical_yn, spherical_in, C:\Anaconda3\lib\site-packages\scipy\special\_ellip_harm.py in &lt;module&gt;() 5 6 from ._ufuncs import _ellip_harm ----&gt; 7 from ._ellip_harm_2 import _ellipsoid, _ellipsoid_norm 8 9 ImportError: cannot import name '_ellipsoid' </code></pre></div> <h3 dir="auto">Scipy/Numpy/Python version information:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;&lt;Output from 'import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)'&gt;&gt; sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0) 1.14.0 1.0.0"><pre class="notranslate"><code class="notranslate">&lt;&lt;Output from 'import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)'&gt;&gt; sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0) 1.14.0 1.0.0 </code></pre></div>
<p dir="auto">&lt;&lt;Please describe the issue in detail here, and for bug reports fill in the fields below.&gt;&gt;</p> <p dir="auto">When importing stats or optimize using:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy.stats import scipy.optimize"><pre class="notranslate"><code class="notranslate">import scipy.stats import scipy.optimize </code></pre></div> <p dir="auto">I get: ImportError: cannot import name '_ellipsoid'</p> <h3 dir="auto">Reproducing code example:</h3> <p dir="auto">I have tried to uninstall and forece reinstall scipy, to no effect.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install --upgrade --force-reinstall scipy"><pre class="notranslate"><code class="notranslate">pip install --upgrade --force-reinstall scipy </code></pre></div> <h3 dir="auto">Error message:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- ImportError Traceback (most recent call last) &lt;ipython-input-122-27c9638eb242&gt; in &lt;module&gt;() 3 import matplotlib.pyplot as plt 4 import math ----&gt; 5 import scipy.optimize 6 7 get_ipython().magic('matplotlib notebook') ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/optimize/__init__.py in &lt;module&gt;() 231 232 from .optimize import * --&gt; 233 from ._minimize import * 234 from ._root import * 235 from .minpack import * ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/optimize/_minimize.py in &lt;module&gt;() 28 29 # constrained minimization ---&gt; 30 from .lbfgsb import _minimize_lbfgsb 31 from .tnc import _minimize_tnc 32 from .cobyla import _minimize_cobyla ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/optimize/lbfgsb.py in &lt;module&gt;() 42 _check_unknown_options, wrap_function, 43 _approx_fprime_helper) ---&gt; 44 from scipy.sparse.linalg import LinearOperator 45 46 __all__ = ['fmin_l_bfgs_b', 'LbfgsInvHessProduct'] ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/linalg/__init__.py in &lt;module&gt;() 115 from .interface import * 116 from .eigen import * --&gt; 117 from .matfuncs import * 118 from ._onenormest import * 119 from ._norm import * ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/linalg/matfuncs.py in &lt;module&gt;() 17 import numpy as np 18 ---&gt; 19 import scipy.special 20 from scipy.linalg.basic import solve, solve_triangular 21 ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/__init__.py in &lt;module&gt;() 646 from .orthogonal import * 647 from .spfun_stats import multigammaln --&gt; 648 from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal 649 from .lambertw import lambertw 650 from ._spherical_bessel import (spherical_jn, spherical_yn, spherical_in, ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm.py in &lt;module&gt;() 5 6 from ._ufuncs import _ellip_harm ----&gt; 7 from ._ellip_harm_2 import _ellipsoid, _ellipsoid_norm 8 9 ImportError: cannot import name '_ellipsoid'"><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- ImportError Traceback (most recent call last) &lt;ipython-input-122-27c9638eb242&gt; in &lt;module&gt;() 3 import matplotlib.pyplot as plt 4 import math ----&gt; 5 import scipy.optimize 6 7 get_ipython().magic('matplotlib notebook') ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/optimize/__init__.py in &lt;module&gt;() 231 232 from .optimize import * --&gt; 233 from ._minimize import * 234 from ._root import * 235 from .minpack import * ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/optimize/_minimize.py in &lt;module&gt;() 28 29 # constrained minimization ---&gt; 30 from .lbfgsb import _minimize_lbfgsb 31 from .tnc import _minimize_tnc 32 from .cobyla import _minimize_cobyla ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/optimize/lbfgsb.py in &lt;module&gt;() 42 _check_unknown_options, wrap_function, 43 _approx_fprime_helper) ---&gt; 44 from scipy.sparse.linalg import LinearOperator 45 46 __all__ = ['fmin_l_bfgs_b', 'LbfgsInvHessProduct'] ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/linalg/__init__.py in &lt;module&gt;() 115 from .interface import * 116 from .eigen import * --&gt; 117 from .matfuncs import * 118 from ._onenormest import * 119 from ._norm import * ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/linalg/matfuncs.py in &lt;module&gt;() 17 import numpy as np 18 ---&gt; 19 import scipy.special 20 from scipy.linalg.basic import solve, solve_triangular 21 ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/__init__.py in &lt;module&gt;() 646 from .orthogonal import * 647 from .spfun_stats import multigammaln --&gt; 648 from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal 649 from .lambertw import lambertw 650 from ._spherical_bessel import (spherical_jn, spherical_yn, spherical_in, ~/opt/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm.py in &lt;module&gt;() 5 6 from ._ufuncs import _ellip_harm ----&gt; 7 from ._ellip_harm_2 import _ellipsoid, _ellipsoid_norm 8 9 ImportError: cannot import name '_ellipsoid' </code></pre></div>
1
<p dir="auto">Hi, and first, thank you so much for your project.</p> <p dir="auto">This problem first appeared in my work project which is unfortunately private. All my files was considered as ignore and appeared in grey in the treeview. I took some time and finally succeed to isolate and reproduce it.</p> <p dir="auto">In a Git project, if a .gitignore from a subdirectory match a path from the root of the project, the treeview will use the rule and ignore the path while it's incorrect. Indeed, Git will not do the same mistake and the <code class="notranslate">git status</code> will be different as what Atom show.</p> <p dir="auto">You can easily test on this repository I create to demonstrate the problem:<br> <a href="https://github.com/Swiip/atom-git-tree-test">https://github.com/Swiip/atom-git-tree-test</a><br> The <code class="notranslate">test.txt</code> file inside the src directory should not be displayed grey as it's not ignored in git.</p> <p dir="auto">If it's needed, I tested on a Mac with OSX 10.9.5, Atom 0.134.0, I tried several times to delete cached files and it change nothing. I have no error in the developer panel.</p>
<p dir="auto">I've the following setup:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; tree . └── ipfs ├── .gitignore ├── ipfs ... &gt; cat ipfs/.gitignore ipfs &gt; echo because ipfs/ipfs is a binary. and atom is ignoring the entire ipfs/ directory &gt; echo this shouldnt happen because the .gitignore is within the directory, and shouldn't apply outside!"><pre class="notranslate"><code class="notranslate">&gt; tree . └── ipfs ├── .gitignore ├── ipfs ... &gt; cat ipfs/.gitignore ipfs &gt; echo because ipfs/ipfs is a binary. and atom is ignoring the entire ipfs/ directory &gt; echo this shouldnt happen because the .gitignore is within the directory, and shouldn't apply outside! </code></pre></div> <p dir="auto">thanks all ❤️</p> <p dir="auto">(Stopgap: do <code class="notranslate">./ipfs</code> in .gitignore. but this shouldn't be necessary).</p>
1
<h3 dir="auto">Version</h3> <p dir="auto">2.6.10</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codesandbox.io/s/functional-components-issue-ubtr8" rel="nofollow">https://codesandbox.io/s/functional-components-issue-ubtr8</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Create a functional component.<br> Add that component to another with a class attribute</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">The class attribute should be added to the root element of the component</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">The class attribute is ignored</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.5.2</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto">[https://jsfiddle.net/hastom/uomhejLe/4/](<a href="https://jsfiddle.net/hastom/uomhejLe/4/" rel="nofollow">https://jsfiddle.net/hastom/uomhejLe/4/</a></p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Inspect list with dev tools</li> <li>Click add to end button</li> <li>All </li><li> nodes highlithed that means they were updated</li> </ol> <h3 dir="auto">What is expected?</h3> <p dir="auto">First item dropped, new item inserted at the end of the list, other items stay still</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">All items dropped, new items inserted</p> <hr> <p dir="auto">I first discovered this behavior while trying to create a dynamic list moving up and down with transiotion (of "top" property) on each element. Moving down was OK, transition applied correctly. Moving up was just moving elements without any trasition. I went deeper and discovered whole list was rerendered so transition was not applied.</p>
0
<p dir="auto"><strong>Symfony version(s) affected</strong>: 4.1.2</p> <p dir="auto"><strong>Description</strong><br> Since i update from 4.1.1 to 4.1.2, default binding from controllers failed :</p> <p dir="auto">Controller "App\Controller\Admin\KitController::edit()" requires that you provide a value for the "$customDir" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or because there is a non optional argument after this one.</p> <p dir="auto">custom_dir is defined in env, i try to rollback to 4.1.1 and it works.</p> <p dir="auto"><strong>How to reproduce</strong><br> service.yml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="services: # default configuration for services in *this* file _defaults: bind: $customDir: '%custom_dir%'"><pre class="notranslate"><code class="notranslate">services: # default configuration for services in *this* file _defaults: bind: $customDir: '%custom_dir%' </code></pre></div> <p dir="auto">Controller :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public function edit($customDir) { // ... }"><pre class="notranslate"><code class="notranslate">public function edit($customDir) { // ... } </code></pre></div>
<p dir="auto"><strong>Symfony version(s) affected</strong>: 3.4.13 (and other new patch releases for 4.0 &amp; 4.1)</p> <p dir="auto"><strong>Description</strong><br> I just updated my app from <code class="notranslate">3.4.12</code> to <code class="notranslate">3.4.13</code> and have an error with a service configuration.</p> <p dir="auto"><strong>How to reproduce</strong><br> Add a binding by variable name for an argument of a controller action.</p> <p dir="auto">I have a controller like this:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class LegacyAdminController extends Controller { /** * @Route(&quot;/{path}&quot;, requirements={&quot;path&quot;=&quot;.+&quot;}) */ public function proxyAction( ServerRequestInterface $request, LegacyUserMapper $legacyUserMapper, Client $legacyProxyClient ) {"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">LegacyAdminController</span> <span class="pl-k">extends</span> <span class="pl-v">Controller</span> { <span class="pl-c">/**</span> <span class="pl-c"> * @Route("/{path}", requirements={"path"=".+"})</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-k">function</span> proxyAction( <span class="pl-smi"><span class="pl-smi">ServerRequestInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>request</span>, <span class="pl-smi"><span class="pl-smi">LegacyUserMapper</span></span> <span class="pl-s1"><span class="pl-c1">$</span>legacyUserMapper</span>, <span class="pl-smi"><span class="pl-smi">Client</span></span> <span class="pl-s1"><span class="pl-c1">$</span>legacyProxyClient</span> ) {</pre></div> <p dir="auto">And the config:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" App\Controller\LegacyAdminController: tags: ['controller.service_arguments'] bind: $legacyProxyClient: '@ca_admin.legacy_proxy_client'"><pre class="notranslate"> <span class="pl-ent">App\Controller\LegacyAdminController</span>: <span class="pl-ent">tags</span>: <span class="pl-s">['controller.service_arguments']</span> <span class="pl-ent">bind</span>: <span class="pl-ent">$legacyProxyClient</span>: <span class="pl-s"><span class="pl-pds">'</span>@ca_admin.legacy_proxy_client<span class="pl-pds">'</span></span></pre></div> <p dir="auto">Now I get this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In ResolveBindingsPass.php line 48: Unused binding &quot;$legacyProxyClient&quot; in service &quot;CA\AdminBundle\Controller\LegacyAdminController&quot;."><pre class="notranslate"><code class="notranslate">In ResolveBindingsPass.php line 48: Unused binding "$legacyProxyClient" in service "CA\AdminBundle\Controller\LegacyAdminController". </code></pre></div> <p dir="auto"><strong>Possible Solution</strong><br> As just discussed with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nicolas-grekas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nicolas-grekas">@nicolas-grekas</a> the problem was introduced in <a href="https://github.com/symfony/symfony/pull/27834/files">https://github.com/symfony/symfony/pull/27834/files</a>.</p>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">If Comment is done in a block format it fails challenge.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10080526/9741077/582261fc-5626-11e5-8fb0-7bd17c95a19a.png"><img src="https://cloud.githubusercontent.com/assets/10080526/9741077/582261fc-5626-11e5-8fb0-7bd17c95a19a.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">Left side error checking seems wrong</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6602253/9322092/8ff4273c-4523-11e5-8b61-72997748f789.png"><img src="https://cloud.githubusercontent.com/assets/6602253/9322092/8ff4273c-4523-11e5-8b61-72997748f789.png" alt="comment your javascript code" style="max-width: 100%;"></a></p>
1
<p dir="auto">opencv-4.1.2 breaks vlc, e.g., since it compiles some files with gcc instead of g++<br> Some parts of /usr/include/x86_64-pc-linux-gnu/opencv4/opencv2/core/cvdef.h<br> can only be compiled by a C++ compiler, e.g.,<br> #ifndef CV_CXX11</p> <h1 dir="auto">if __cplusplus &gt;= 201103L || (defined(_MSC_VER) &amp;&amp; _MSC_VER &gt;= 1800)</h1> <h1 dir="auto">define CV_CXX11 1</h1> <h1 dir="auto">endif</h1> <p dir="auto">#else</p> <h1 dir="auto">if CV_CXX11 == 0</h1> <h1 dir="auto">undef CV_CXX11</h1> <h1 dir="auto">endif</h1> <p dir="auto">#endif<br> #ifndef CV_CXX11</p> <h1 dir="auto">error "OpenCV 4.x+ requires enabled C++11 support"</h1> <p dir="auto">#endif</p> <p dir="auto">or</p> <p dir="auto">#include </p> <p dir="auto">Is it really intended to break packages which compile (some) files with a C-compiler?</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4.1</li> <li>Operating System / Platform =&gt; Linux</li> <li>Compiler =&gt; gcc-7-20180222 (a 7.3.1 snapshot)</li> </ul> <p dir="auto">vlc-3.0.1 fails to build against opencv-3.4.1, because the C compiler produces and error at line 485 of /usr/include/opencv2/core/cvdef.h. The error message is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" /usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name 'namespace' "><pre class="notranslate"><code class="notranslate"> /usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name 'namespace' </code></pre></div> <p dir="auto">This is because the C compiler is trying to compile C++ code.</p> <h5 dir="auto">Steps to reproduce</h5> <ol dir="auto"> <li>build and install opencv-3.4.1</li> <li>configure vlc-3.0.1 to include opencv and then run make</li> </ol> <h5 dir="auto">Proposed fix</h5> <p dir="auto">The following patch to opencv allows the build of vlc to complete:</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h.orig 2018-02-28 10:16:45.000320632 +0000 +++ opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h 2018-02-28 10:34:30.852346927 +0000 @@ -454,6 +454,7 @@ Cv64suf; // Integer types portatibility +#if defined __cplusplus #ifdef OPENCV_STDINT_HEADER #include OPENCV_STDINT_HEADER #else @@ -494,6 +495,9 @@ typedef ::uint64_t uint64_t; } #endif #endif +#else +#include &lt;stdint.h&gt; +#endif //! @}"><pre class="notranslate"><span class="pl-md">--- opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h.orig 2018-02-28 10:16:45.000320632 +0000</span> <span class="pl-mi1">+++ opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h 2018-02-28 10:34:30.852346927 +0000</span> <span class="pl-mdr">@@ -454,6 +454,7 @@</span> Cv64suf; // Integer types portatibility <span class="pl-mi1"><span class="pl-mi1">+</span>#if defined __cplusplus</span> #ifdef OPENCV_STDINT_HEADER #include OPENCV_STDINT_HEADER #else <span class="pl-mdr">@@ -494,6 +495,9 @@</span> typedef ::uint64_t uint64_t; } #endif #endif <span class="pl-mi1"><span class="pl-mi1">+</span>#else</span> <span class="pl-mi1"><span class="pl-mi1">+</span>#include &lt;stdint.h&gt;</span> <span class="pl-mi1"><span class="pl-mi1">+</span>#endif</span> //! @}</pre></div> <p dir="auto">With the patched opencv installed, I have also built the frei0r-plugin-1.6.0, gstreamer-plugins-bad-1.12.4 and LiVES-2.8.7, all of which use opencv (although I don't know whether they failed against an unpatched version)</p>
1
<ul dir="auto"> <li>For Visual Studio Code 0.10./6</li> <li>And for Windows 7 Enterprise SP1</li> <li>When in the cmd I <code class="notranslate">type %HTTP_PROXY%</code></li> <li>Then I get "<a href="http://proxy.mydomain.com:8083" rel="nofollow">http://proxy.mydomain.com:8083</a>"</li> <li>And when I try do install any extension, e.g. PureScript language supports.</li> <li>Then I get the error: <code class="notranslate">getaddrinfo ENOTFOUND proxy.ml.mydomain:8083 proxy.mydomain.com:8083:8083</code></li> </ul> <p dir="auto">My User Settings is <code class="notranslate">{ "http.proxyStrictSSL": false }</code></p> <p dir="auto">My Workspace Settings is <code class="notranslate">{..."http.proxy": ""...}</code></p> <p dir="auto">WTF? And why the port is duplicated???</p> <p dir="auto">I get the same error even when I overwrite "http.proxy" with explicit value in my User Settings.</p>
<p dir="auto">Whenever I try to install any extension, using <em>ext install</em>, I get a <strong>connect ETIMEDOUT 191.238.172.191:443</strong> error.</p> <p dir="auto">Trying to navigate to <strong><a href="https://191.238.172.191" rel="nofollow">https://191.238.172.191</a></strong> in the browser produces a warning regarding the certificate being valid only for *<strong>.market.visualstudio.com</strong>, but I'm allowed to proceed.</p> <p dir="auto">Shouldn't VSCode try to connect to the name instead of the IP?</p> <p dir="auto">I'm behind a proxy, VSCode updates just fine behind it, and also lists the available extensions. The firewall here logs the invalid certificate but allows the connection to proceed. Doesn't look like a problem in my end...</p> <p dir="auto"><strong>OS:</strong> Windows 7<br> <strong>VSCode:</strong> 0.10.1</p>
1
<p dir="auto">Why this framework using Dart ? not using more stable and robust like TypeScript or ES6 Javascript ?<br> Look at Angular and other TypeScript based framework, it stable and easy to understand for large team and beginner.</p> <p dir="auto">So any plan to leave Dart and using TypeScript language ?</p>
<p dir="auto">Hi, I don't know to ask for help for implementation so I fire an issue. If you find this not appropriate, please delete. Thanks.</p> <p dir="auto">In iOS, we have a <code class="notranslate">UITabBarController</code> which stays permanently at the bottom of the screen when we push to a new ViewController.</p> <p dir="auto">In iOS, we have a UITabBarController which stays permanently at the bottom of the screen when we push to a new ViewController.</p> <p dir="auto">In Flutter, we have a <code class="notranslate">bottomNavigationBar</code> of a <code class="notranslate">Scaffold</code>. However, unlike iOS, when we <code class="notranslate">Navigator.push</code> to a new screen, this <code class="notranslate">bottomNavigationBar</code> disappears.</p> <p dir="auto">In my app, I want to fulfil this requirement: Home screen has a <code class="notranslate">bottomNavigationBar</code> with 2 items (<em>a</em> &amp; <em>b</em>) presenting screen <em>A</em> &amp; <em>B</em>. By default, screen <em>A</em> is displayed. Inside screen <em>A</em>, there is a button. Tap that button, <code class="notranslate">Navigator.push</code> to screen <em>C</em>. Now in screen <em>C</em>, we can still see the <code class="notranslate">bottomNavigationBar</code>. Tap item <em>b</em>, I go to screen <em>B</em>. Now in screen <em>B</em>, tap item <em>a</em> in the <code class="notranslate">bottomNavigationBar</code>, I go back to screen <em>C</em> (not <em>A</em>, <em>A</em> is currently below <em>C</em> in the navigation hierarchy).</p> <p dir="auto">How can I do this? Thanks, guys.</p> <p dir="auto">I'm including some pictures for demonstration:</p> <p dir="auto">Screen A<br> <a href="https://i.stack.imgur.com/TLckw.png" rel="nofollow">https://i.stack.imgur.com/TLckw.png</a></p> <p dir="auto">Tap Go to C button, push to screen C<br> <a href="https://i.stack.imgur.com/5MpU5.png" rel="nofollow">https://i.stack.imgur.com/5MpU5.png</a></p> <p dir="auto">Tap Right item inside bottom navigation bar, go to screen B<br> <a href="https://i.stack.imgur.com/gtqQq.png" rel="nofollow">https://i.stack.imgur.com/gtqQq.png</a></p>
0
<p dir="auto">It is unclear in the prompt whether the test function <code class="notranslate">sym(A, B, C, D, E, F)</code> is requesting the user to create a function that accomplishes:</p> <p dir="auto"><code class="notranslate">return A △ B △ C △ D △ E △ F</code><br> OR<br> <code class="notranslate">return ((((A △ B) △ C) △ D) △ E) △ F</code></p> <p dir="auto">The syntax difference is important. For the following test case:</p> <p dir="auto"><code class="notranslate">A = [3, 3, 3, 2, 5] B = [2, 1, 5, 7] C = [3, 4, 6, 6] D = [1, 2, 3], E = [5, 3, 9, 8] F = [1] should return [1, 2, 4, 5, 6, 7, 8, 9]</code></p> <p dir="auto">The first version I mentioned (the symmetric difference of ALL ARRAYS) would return<br> <code class="notranslate">[4, 7, 8, 9]</code></p> <p dir="auto">Whereas the second returns<br> <code class="notranslate">[1, 2, 4, 5, 6, 7, 8, 9]</code>.</p> <p dir="auto">I'm just wondering if we could make this clearer in the instructions? <strong>Technically</strong>, the instructions</p> <p dir="auto"><code class="notranslate">Create a function that takes two or more arrays and returns an array of the symmetric difference (△ or ⊕) of the provided arrays.</code></p> <p dir="auto">actually ask for the first version, not the second version, and according to my limited programming and mathematics knowledge, the test cases are wrong ...</p> <p dir="auto">Maybe someone can clarify this?</p>
<p dir="auto">This is a bit of a formal issue, not a "bug" per se:</p> <p dir="auto">In CSS, proper font names like Arial or "Times New Roman" should be Title Case (and in quotes where applicable).<br> Generic font names like sans-serif or monospace should be lowercase.</p> <p dir="auto">--- wm</p> <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/set-the-font-family-of-an-element#?solution=%3Cstyle%3E%0A%20%20.red-text%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%20%20%7D%0A%0A%20%20p%20%7B%0A%20%20%20%20font-size%3A%2016px%3B%0A%20%20%20%20font-family%3A%20monospace%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Ch2%20class%3D%22red-text%22%3ECatPhotoApp%3C%2Fh2%3E%0A%0A%3Cp%20class%3D%22red-text%22%3EKitty%20ipsum%20dolor%20sit%20amet%2C%20shed%20everywhere%20shed%20everywhere%20stretching%20attack%20your%20ankles%20chase%20the%20red%20dot%2C%20hairball%20run%20catnip%20eat%20the%20grass%20sniff.%3C%2Fp%3E%0A%3Cp%3EPurr%20jump%20eat%20the%20grass%20rip%20the%20couch%20scratched%20sunbathe%2C%20shed%20everywhere%20rip%20the%20couch%20sleep%20in%20the%20sink%20fluffy%20fur%20catnip%20scratched.%3C%2Fp%3E%0A" rel="nofollow">Set the Font Family of an Element</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;style&gt; .red-text { color: red; } p { font-size: 16px; font-family: monospace; } &lt;/style&gt; &lt;h2 class=&quot;red-text&quot;&gt;CatPhotoApp&lt;/h2&gt; &lt;p class=&quot;red-text&quot;&gt;Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.&lt;/p&gt; &lt;p&gt;Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.&lt;/p&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> .<span class="pl-c1">red-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> red; } <span class="pl-ent">p</span> { <span class="pl-c1">font-size</span><span class="pl-kos">:</span> <span class="pl-c1">16<span class="pl-smi">px</span></span>; <span class="pl-c1">font-family</span><span class="pl-kos">:</span> monospace; } <span class="pl-kos">&lt;/</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">&gt;</span>CatPhotoApp<span class="pl-kos">&lt;/</span><span class="pl-ent">h2</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">&gt;</span>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span></pre></div>
0
<ul dir="auto"> <li>VSCode Version: Version 1.2.0 (1.2.0)</li> <li>OSX Version: 10.11.5</li> </ul> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/bin/bash export GOPATH=$HOME/go export GOBIN=$HOME/go/bin export GOAPP=$HOME/go_appengine export JSBIN=$HOME/node_modules/.bin/ export ANDROID=$HOME/Library/Android/sdk/platform-tools/ export PATH=$PATH:$GOBIN:$GOAPP:$JSBIN:$ANDROID export EDITOR=&quot;code&quot; export VISUAL=&quot;code&quot; export CLICOLOR=1 function prompt { EXITSTATUS=&quot;$?&quot; BOLD=&quot;\[\033[1m\]&quot; RED=&quot;\[\033[1;31m\]&quot; GREEN=&quot;\[\e[32;1m\]&quot; BLUE=&quot;\[\e[34;1m\]&quot; OFF=&quot;\[\033[m\]&quot; PROMPT=&quot;\u@\h ${BLUE}\W${OFF}&quot; if [ &quot;${EXITSTATUS}&quot; -eq 0 ] then PS1=&quot;${PROMPT}${BOLD}${GREEN}/${OFF} &quot; else PS1=&quot;${PROMPT}${BOLD}${RED}/${OFF} &quot; fi PS2=&quot;${BOLD}&gt;${OFF} &quot; } export PROMPT_COMMAND=prompt"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#!</span>/bin/bash</span> <span class="pl-k">export</span> GOPATH=<span class="pl-smi">$HOME</span>/go <span class="pl-k">export</span> GOBIN=<span class="pl-smi">$HOME</span>/go/bin <span class="pl-k">export</span> GOAPP=<span class="pl-smi">$HOME</span>/go_appengine <span class="pl-k">export</span> JSBIN=<span class="pl-smi">$HOME</span>/node_modules/.bin/ <span class="pl-k">export</span> ANDROID=<span class="pl-smi">$HOME</span>/Library/Android/sdk/platform-tools/ <span class="pl-k">export</span> PATH=<span class="pl-smi">$PATH</span>:<span class="pl-smi">$GOBIN</span>:<span class="pl-smi">$GOAPP</span>:<span class="pl-smi">$JSBIN</span>:<span class="pl-smi">$ANDROID</span> <span class="pl-k">export</span> EDITOR=<span class="pl-s"><span class="pl-pds">"</span>code<span class="pl-pds">"</span></span> <span class="pl-k">export</span> VISUAL=<span class="pl-s"><span class="pl-pds">"</span>code<span class="pl-pds">"</span></span> <span class="pl-k">export</span> CLICOLOR=1 <span class="pl-k">function</span> <span class="pl-en">prompt</span> { EXITSTATUS=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">$?</span><span class="pl-pds">"</span></span> BOLD=<span class="pl-s"><span class="pl-pds">"</span>\[\033[1m\]<span class="pl-pds">"</span></span> RED=<span class="pl-s"><span class="pl-pds">"</span>\[\033[1;31m\]<span class="pl-pds">"</span></span> GREEN=<span class="pl-s"><span class="pl-pds">"</span>\[\e[32;1m\]<span class="pl-pds">"</span></span> BLUE=<span class="pl-s"><span class="pl-pds">"</span>\[\e[34;1m\]<span class="pl-pds">"</span></span> OFF=<span class="pl-s"><span class="pl-pds">"</span>\[\033[m\]<span class="pl-pds">"</span></span> PROMPT=<span class="pl-s"><span class="pl-pds">"</span>\u@\h <span class="pl-smi">${BLUE}</span>\W<span class="pl-smi">${OFF}</span><span class="pl-pds">"</span></span> <span class="pl-k">if</span> [ <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${EXITSTATUS}</span><span class="pl-pds">"</span></span> <span class="pl-k">-eq</span> 0 ] <span class="pl-k">then</span> PS1=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${PROMPT}${BOLD}${GREEN}</span>/<span class="pl-smi">${OFF}</span> <span class="pl-pds">"</span></span> <span class="pl-k">else</span> PS1=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${PROMPT}${BOLD}${RED}</span>/<span class="pl-smi">${OFF}</span> <span class="pl-pds">"</span></span> <span class="pl-k">fi</span> PS2=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${BOLD}</span>&gt;<span class="pl-smi">${OFF}</span> <span class="pl-pds">"</span></span> } <span class="pl-k">export</span> PROMPT_COMMAND=prompt</pre></div> <p dir="auto">It seems it does execute <code class="notranslate">.bash_profile</code> but it doesn't do it correctly on startup?<br> After doing it manually it works? (see screenshots)</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/863731/15843453/9051f25a-2c62-11e6-96a2-5e5ec2e13a62.png"><img src="https://cloud.githubusercontent.com/assets/863731/15843453/9051f25a-2c62-11e6-96a2-5e5ec2e13a62.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/863731/15843499/e4fba116-2c62-11e6-83d9-2439411f7a1f.png"><img src="https://cloud.githubusercontent.com/assets/863731/15843499/e4fba116-2c62-11e6-83d9-2439411f7a1f.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135375264" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3246" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3246/hovercard" href="https://github.com/microsoft/vscode/issues/3246">#3246</a></p> <p dir="auto">When tab focus mode is on, doing the following:</p> <ul dir="auto"> <li>Select text editor</li> <li>Press <kbd>tab</kbd></li> <li>At this point I have no idea what is focused as I can't see anything on the UI with a border. <ul dir="auto"> <li>Pressing <kbd>enter</kbd> will add a new line where the cursor was, pressing <kbd>enter</kbd> again will not add another line</li> <li>Pressing <kbd>enter</kbd> will add a new line, pressing <kbd>backspace</kbd> and <kbd>enter</kbd> will add another new line</li> </ul> </li> </ul>
0
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="-- -- ******** Summary ******** -- General: -- CMake version : 3.14.0 -- CMake command : /root/miniconda3/envs/torchbeast/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler id : GNU -- C++ compiler version : 7.4.0 -- BLAS : MKL -- CXX flags : -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow -- Build type : Release -- Compile definitions : TH_BLAS_MKL;ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;MAGMA_V2;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1 -- CMAKE_PREFIX_PATH : /root/miniconda3/envs/torchbeast -- CMAKE_INSTALL_PREFIX : /src/pytorch/torch -- -- TORCH_VERSION : 1.2.0 -- CAFFE2_VERSION : 1.2.0 -- BUILD_CAFFE2_MOBILE : ON -- BUILD_ATEN_ONLY : OFF -- BUILD_BINARY : OFF -- BUILD_CUSTOM_PROTOBUF : ON -- Link local protobuf : ON -- BUILD_DOCS : OFF -- BUILD_PYTHON : True -- Python version : 3.7.5 -- Python executable : /root/miniconda3/envs/torchbeast/bin/python -- Pythonlibs version : 3.7.5 -- Python library : /root/miniconda3/envs/torchbeast/lib/libpython3.7m.so.1.0 -- Python includes : /root/miniconda3/envs/torchbeast/include/python3.7m -- Python site-packages: lib/python3.7/site-packages -- BUILD_CAFFE2_OPS : ON -- BUILD_SHARED_LIBS : ON -- BUILD_TEST : True -- INTERN_BUILD_MOBILE : -- USE_ASAN : OFF -- USE_CUDA : True -- CUDA static link : OFF -- USE_CUDNN : ON -- CUDA version : 10.1 -- cuDNN version : 7.6.5 -- CUDA root directory : /usr/local/cuda -- CUDA library : /usr/local/cuda/lib64/stubs/libcuda.so -- cudart library : /usr/local/cuda/lib64/libcudart.so -- cublas library : /usr/lib/x86_64-linux-gnu/libcublas.so -- cufft library : /usr/local/cuda/lib64/libcufft.so -- curand library : /usr/local/cuda/lib64/libcurand.so -- cuDNN library : /usr/lib/x86_64-linux-gnu/libcudnn.so.7 -- nvrtc : /usr/local/cuda/lib64/libnvrtc.so -- CUDA include path : /usr/local/cuda/include -- NVCC executable : /usr/local/cuda/bin/nvcc -- CUDA host compiler : /usr/bin/cc -- USE_TENSORRT : OFF -- USE_ROCM : OFF -- USE_EIGEN_FOR_BLAS : -- USE_FBGEMM : ON -- USE_FFMPEG : OFF -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_LEVELDB : OFF -- USE_LITE_PROTO : OFF -- USE_LMDB : OFF -- USE_METAL : OFF -- USE_MKL : ON -- USE_MKLDNN : ON -- USE_MKLDNN_CBLAS : OFF -- USE_NCCL : ON -- USE_SYSTEM_NCCL : OFF -- USE_NNPACK : ON -- USE_NUMPY : ON -- USE_OBSERVERS : ON -- USE_OPENCL : OFF -- USE_OPENCV : OFF -- USE_OPENMP : ON -- USE_TBB : OFF -- USE_PROF : OFF -- USE_QNNPACK : ON -- USE_REDIS : OFF -- USE_ROCKSDB : OFF -- USE_ZMQ : OFF -- USE_DISTRIBUTED : True -- USE_MPI : OFF -- USE_GLOO : ON -- USE_GLOO_IBVERBS : OFF -- BUILD_NAMEDTENSOR : OFF -- Public Dependencies : Threads::Threads;caffe2::mkl;caffe2::mkldnn -- Private Dependencies : qnnpack;nnpack;cpuinfo;fbgemm;fp16;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl -- Configuring done CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe linker search path for target torch because files in some directories may conflict with libraries in implicit directories: link library [libgomp.so] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): caffe2/CMakeLists.txt:564 (cuda_add_library) CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe runtime search path for target torch because files in some directories may conflict with libraries in implicit directories: runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): caffe2/CMakeLists.txt:564 (cuda_add_library) CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe linker search path for target caffe2_detectron_ops_gpu because files in some directories may conflict with libraries in implicit directories: link library [libgomp.so] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): modules/detectron/CMakeLists.txt:13 (CUDA_ADD_LIBRARY) CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe runtime search path for target caffe2_detectron_ops_gpu because files in some directories may conflict with libraries in implicit directories: runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): modules/detectron/CMakeLists.txt:13 (CUDA_ADD_LIBRARY) -- Generating done -- Build files have been written to: /src/pytorch/build [1/3154] Creating directories for 'nccl_external' [2/3154] No download step for 'nccl_external' [3/3154] No update step for 'nccl_external' [4/3154] No patch step for 'nccl_external' [5/3154] No configure step for 'nccl_external' [6/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arena.cc.o [7/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arenastring.cc.o [8/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_util.cc.o [9/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [10/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/extension_set.cc.o [11/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/implicit_weak_message.cc.o [12/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [13/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [14/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/coded_stream.cc.o [15/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/message_lite.cc.o [16/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/repeated_field.cc.o [17/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/bytestream.cc.o [18/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/io_win32.cc.o [19/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/int128.cc.o [20/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/status.cc.o [21/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/common.cc.o [22/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/statusor.cc.o [23/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [24/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [25/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [26/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/time.cc.o [27/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/code_generator.cc.o [28/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/wire_format_lite.cc.o [29/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum.cc.o [30/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/strutil.cc.o [31/3154] Linking CXX static library lib/libprotobuf-lite.a [32/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum_field.cc.o [33/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/command_line_interface.cc.o [34/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_extension.cc.o [35/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_field.cc.o [36/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_generator.cc.o [37/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_file.cc.o [38/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_map_field.cc.o [39/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_helpers.cc.o [40/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message_field.cc.o [41/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc.o [42/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc.o [43/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_service.cc.o [44/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc.o [45/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_string_field.cc.o [46/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message.cc.o [47/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum.cc.o [48/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum_field.cc.o [49/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_generator.cc.o [50/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_field_base.cc.o [51/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_helpers.cc.o [52/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_map_field.cc.o [53/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message_field.cc.o [54/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc.o [55/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message.cc.o [56/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc.o [57/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc.o [58/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc.o [59/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc.o [60/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc.o [61/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc.o [62/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_doc_comment.cc.o [63/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_context.cc.o [64/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum.cc.o [65/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field.cc.o [66/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field_lite.cc.o [67/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_lite.cc.o [68/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension.cc.o [69/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension_lite.cc.o [70/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_field.cc.o [71/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator.cc.o [72/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_file.cc.o [73/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator_factory.cc.o [74/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field.cc.o [75/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc.o [76/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_helpers.cc.o [77/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field.cc.o [78/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field_lite.cc.o [79/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message.cc.o [80/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder_lite.cc.o [81/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder.cc.o [82/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/average-pooling.c.o [83/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o [84/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field.cc.o [85/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field_lite.cc.o [86/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_lite.cc.o [87/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_name_resolver.cc.o [88/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field.cc.o [89/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field_lite.cc.o [90/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_service.cc.o [91/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_shared_code_generator.cc.o [92/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field.cc.o [93/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/well_known_types_embed.cc.o [94/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field_lite.cc.o [95/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum.cc.o [96/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc.o [97/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/js_generator.cc.o [98/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_extension.cc.o [99/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_field.cc.o [100/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o [101/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o [102/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o [103/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc.o [104/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o [105/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc.o [106/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc.o [107/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc.o [108/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.cc.o [109/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/php/php_generator.cc.o [110/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.pb.cc.o [111/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/subprocess.cc.o [112/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/ruby/ruby_generator.cc.o [113/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/zip_writer.cc.o [114/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/python/python_generator.cc.o [115/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/protoc.dir/__/src/google/protobuf/compiler/main.cc.o [116/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arena.cc.o [117/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arenastring.cc.o [118/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/parser.cc.o [119/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [120/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set.cc.o [121/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/implicit_weak_message.cc.o [122/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [123/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_util.cc.o [124/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/coded_stream.cc.o [125/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [126/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/repeated_field.cc.o [127/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/bytestream.cc.o [128/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message_lite.cc.o [129/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/io_win32.cc.o [130/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/common.cc.o [131/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/int128.cc.o [132/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/status.cc.o [133/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/statusor.cc.o [134/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [135/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [136/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [137/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/time.cc.o [138/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format_lite.cc.o [139/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/strutil.cc.o [140/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.cc.o [141/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o [142/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/importer.cc.o [143/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/api.pb.cc.o [144/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor_database.cc.o [145/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/duration.pb.cc.o [146/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/dynamic_message.cc.o [147/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.pb.cc.o [148/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.cc.o [149/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/empty.pb.cc.o [150/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/field_mask.pb.cc.o [151/3154] Performing build step for 'nccl_external' make -C src build BUILDDIR=/src/pytorch/build/nccl make[1]: Entering directory '/src/pytorch/third_party/nccl/nccl/src' Grabbing include/nccl_net.h &gt; /src/pytorch/build/nccl/include/nccl_net.h Compiling init.cc &gt; /src/pytorch/build/nccl/obj/init.o Compiling channel.cc &gt; /src/pytorch/build/nccl/obj/channel.o Compiling bootstrap.cc &gt; /src/pytorch/build/nccl/obj/bootstrap.o Compiling transport.cc &gt; /src/pytorch/build/nccl/obj/transport.o Compiling enqueue.cc &gt; /src/pytorch/build/nccl/obj/enqueue.o Compiling misc/group.cc &gt; /src/pytorch/build/nccl/obj/misc/group.o Compiling misc/nvmlwrap.cc &gt; /src/pytorch/build/nccl/obj/misc/nvmlwrap.o Compiling misc/ibvwrap.cc &gt; /src/pytorch/build/nccl/obj/misc/ibvwrap.o Compiling misc/rings.cc &gt; /src/pytorch/build/nccl/obj/misc/rings.o Compiling misc/utils.cc &gt; /src/pytorch/build/nccl/obj/misc/utils.o Compiling misc/argcheck.cc &gt; /src/pytorch/build/nccl/obj/misc/argcheck.o Generating nccl.h.in &gt; /src/pytorch/build/nccl/include/nccl.h Compiling misc/trees.cc &gt; /src/pytorch/build/nccl/obj/misc/trees.o Compiling misc/topo.cc &gt; /src/pytorch/build/nccl/obj/misc/topo.o Compiling transport/p2p.cc &gt; /src/pytorch/build/nccl/obj/transport/p2p.o Compiling transport/shm.cc &gt; /src/pytorch/build/nccl/obj/transport/shm.o Compiling transport/net.cc &gt; /src/pytorch/build/nccl/obj/transport/net.o Compiling transport/net_socket.cc &gt; /src/pytorch/build/nccl/obj/transport/net_socket.o Compiling transport/net_ib.cc &gt; /src/pytorch/build/nccl/obj/transport/net_ib.o Compiling collectives/all_reduce.cc &gt; /src/pytorch/build/nccl/obj/collectives/all_reduce.o Compiling collectives/all_gather.cc &gt; /src/pytorch/build/nccl/obj/collectives/all_gather.o Compiling collectives/broadcast.cc &gt; /src/pytorch/build/nccl/obj/collectives/broadcast.o Compiling collectives/reduce.cc &gt; /src/pytorch/build/nccl/obj/collectives/reduce.o Compiling collectives/reduce_scatter.cc &gt; /src/pytorch/build/nccl/obj/collectives/reduce_scatter.o make[2]: Entering directory '/src/pytorch/third_party/nccl/nccl/src/collectives/device' Generating nccl.pc.in &gt; /src/pytorch/build/nccl/lib/pkgconfig/nccl.pc Generating rules &gt; /src/pytorch/build/nccl/obj/collectives/device/Makefile.rules Compiling functions.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/functions.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_f64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_f64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_f64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_f64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_f64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_f64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_f64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_f64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_f64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_f64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_i32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_u32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_i64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_u64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_f16.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_f32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_f64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_i32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_u32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_i64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_u64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_f16.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_f32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_f64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_i32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_u32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_i64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_u64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_f16.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_f32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_i32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_u32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_i64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_u64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_f16.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_f32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Archiving objects &gt; /src/pytorch/build/nccl/obj/collectives/device/colldevice.a make[2]: Leaving directory '/src/pytorch/third_party/nccl/nccl/src/collectives/device' Linking libnccl.so.2.4.8 &gt; /src/pytorch/build/nccl/lib/libnccl.so.2.4.8 Archiving libnccl_static.a &gt; /src/pytorch/build/nccl/lib/libnccl_static.a /src/pytorch/third_party/nccl/nccl/src make[1]: Leaving directory '/src/pytorch/third_party/nccl/nccl/src' [152/3154] No install step for 'nccl_external' [153/3154] Completed 'nccl_external' [154/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_reflection.cc.o [155/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven.cc.o [156/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set_heavy.cc.o [157/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/gzip_stream.cc.o [158/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/strtod.cc.o [159/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl.cc.o [160/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/tokenizer.cc.o [161/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/printer.cc.o [162/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/service.cc.o [163/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/reflection_ops.cc.o [164/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/map_field.cc.o [165/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/source_context.pb.cc.o [166/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/mathlimits.cc.o [167/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message.cc.o [168/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/substitute.cc.o [169/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/timestamp.pb.cc.o [170/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/struct.pb.cc.o [171/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/unknown_field_set.cc.o [172/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/delimited_message_util.cc.o [173/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/type.pb.cc.o [174/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_comparator.cc.o [175/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/text_format.cc.o [176/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/error_listener.cc.o [177/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_mask_util.cc.o [178/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/datapiece.cc.o [179/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_escaping.cc.o [180/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [181/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/field_mask_utility.cc.o [182/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/object_writer.cc.o [183/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_objectwriter.cc.o [184/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_stream_parser.cc.o [185/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/proto_writer.cc.o [186/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info.cc.o [187/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectsource.cc.o [188/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [189/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info_test_helper.cc.o [190/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/utility.cc.o [191/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/json_util.cc.o [192/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/time_util.cc.o [193/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/type_resolver_util.cc.o [194/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/add.c.o [195/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/init.c.o [196/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wrappers.pb.cc.o [197/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/message_differencer.cc.o [198/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o [199/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format.cc.o [200/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/clamp.c.o [201/3154] Linking CXX static library lib/libprotobuf.a [202/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/deconvolution.c.o [203/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/convolution.c.o [204/3154] Linking CXX static library lib/libprotoc.a [205/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/fully-connected.c.o [206/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o [207/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o [208/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/leaky-relu.c.o [209/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/max-pooling.c.o [210/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sigmoid.c.o [211/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/softargmax.c.o [212/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-delete.c.o [213/3154] Linking CXX executable bin/protoc [214/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/indirection.c.o [215/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o [216/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-run.c.o [217/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o [218/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o [219/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o [220/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o [221/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o [222/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o [223/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o [224/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o [225/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o [226/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o [227/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o [228/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o [229/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o [230/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o [231/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o [232/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o [233/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o [234/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o [235/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o [236/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o [237/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o [238/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o [239/3154] Building C object confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_fatal’: ../third_party/QNNPACK/deps/clog/src/clog.c:120:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_error’: ../third_party/QNNPACK/deps/clog/src/clog.c:196:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_warning’: ../third_party/QNNPACK/deps/clog/src/clog.c:272:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_info’: ../third_party/QNNPACK/deps/clog/src/clog.c:348:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_debug’: ../third_party/QNNPACK/deps/clog/src/clog.c:424:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [240/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/init.c.o [241/3154] Linking C static library lib/libclog.a [242/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/init.c.o [243/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/api.c.o [244/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/info.c.o [245/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/vendor.c.o [246/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/uarch.c.o [247/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/topology.c.o [248/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/isa.c.o [249/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/name.c.o [250/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/descriptor.c.o [251/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/init.c.o [252/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/deterministic.c.o [253/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/smallfile.c.o [254/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/cpuinfo.c.o [255/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/multiline.c.o [256/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/current.c.o [257/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/init.c.o [258/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/init.c.o [259/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/cpulist.c.o [260/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/processors.c.o [261/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/init.c.o [262/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/info.c.o [263/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/api.c.o [264/3154] Linking C static library lib/libcpuinfo_internals.a [265/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/vendor.c.o [266/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/uarch.c.o [267/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/topology.c.o [268/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/init.c.o [269/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/isa.c.o [270/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/descriptor.c.o [271/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/name.c.o [272/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/deterministic.c.o [273/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/cpuinfo.c.o [274/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/smallfile.c.o [275/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/multiline.c.o [276/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/current.c.o [277/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/init.c.o [278/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/cpulist.c.o [279/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/processors.c.o [280/3154] Linking C static library lib/libcpuinfo.a [281/3154] Linking C static library lib/libqnnpack.a [282/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-input-gradient.c.o [283/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-output.c.o [284/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-kernel.c.o [285/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/max-pooling-output.c.o [286/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/softmax-output.c.o [287/3154] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o [288/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/fully-connected-output.c.o [289/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-input-gradient.c.o [290/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-output.c.o [291/3154] Linking C static library lib/libpthreadpool.a [292/3154] Linking C static library lib/libnnpack_reference_layers.a [293/3154] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [294/3154] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [295/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder_utils.cpp.o [296/3154] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [297/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o [298/3154] Generating src/x86_64-fma/2d-fourier-8x8.py.o [299/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nchw_pooling.cpp.o [300/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o [301/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o [302/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o [303/3154] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [304/3154] Linking CXX static library lib/libgtest.a [305/3154] Linking CXX static library lib/libgmock.a [306/3154] Linking CXX static library lib/libgmock_main.a [307/3154] Linking CXX static library lib/libgtest_main.a [308/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o [309/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o [310/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o [311/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o [312/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o [313/3154] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o [314/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o [315/3154] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o [316/3154] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o [317/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [318/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o [319/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o [320/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmFP16UKernelsAvx2.cc.o [321/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [322/3154] Linking CXX static library lib/libbenchmark.a [323/3154] Linking CXX static library lib/libbenchmark_main.a [324/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/OptimizedKernelsAvx2.cc.o [325/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/UtilsAvx2.cc.o [326/3154] Generating src/x86_64-fma/2d-fourier-16x16.py.o [327/3154] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o [328/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernel.cc.o [329/3154] Generating src/x86_64-fma/blas/s8gemm.py.o [330/3154] Generating src/x86_64-fma/blas/c8gemm.py.o [331/3154] Generating src/x86_64-fma/blas/s4c6gemm.py.o [332/3154] Generating src/x86_64-fma/blas/conv1x1.py.o [333/3154] Generating src/x86_64-fma/blas/sgemm.py.o [334/3154] Generating src/x86_64-fma/max-pooling.py.o [335/3154] Generating src/x86_64-fma/relu.py.o [336/3154] Generating src/x86_64-fma/softmax.py.o [337/3154] Generating src/x86_64-fma/blas/sdotxf.py.o [338/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/QuantUtilsAvx2.cc.o [339/3154] Generating src/x86_64-fma/blas/shdotxf.py.o [340/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernelU8S8.cc.o [341/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/init.c.o [342/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-inference.c.o [343/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/pooling-output.c.o [344/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-output.c.o [345/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/softmax-output.c.o [346/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-inference.c.o [347/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-output.c.o [348/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-input-gradient.c.o [349/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-kernel-gradient.c.o [350/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-input-gradient.c.o [351/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/x86_64-fma/softmax.c.o [352/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-output.c.o [353/3154] Linking C static library lib/libnnpack.a [354/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmFP16.cc.o [355/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmI8Spmdm.cc.o [356/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmConv.cc.o [357/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16.cc.o [358/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Fbgemm.cc.o [359/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512.cc.o [360/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32.cc.o [361/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512.cc.o [362/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAMatrix.cc.o [363/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithIm2Col.cc.o [364/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackBMatrix.cc.o [365/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithQuantRowOffset.cc.o [366/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackMatrix.cc.o [367/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithRowOffset.cc.o [368/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightMatrixForGConv.cc.o [369/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightsForConv.cc.o [370/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/QuantUtils.cc.o [371/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GroupwiseConvAcc32Avx2.cc.o [372/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Utils.cc.o [373/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/src/UtilsAvx512.cc.o [374/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/arch.cpp.o [375/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/assembler.cpp.o [376/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codebuilder.cpp.o [377/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/RefImplementations.cc.o [378/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codecompiler.cpp.o [379/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codeemitter.cpp.o [380/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codeholder.cpp.o [381/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/constpool.cpp.o [382/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/cpuinfo.cpp.o [383/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/globals.cpp.o [384/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/inst.cpp.o [385/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/logging.cpp.o [386/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/operand.cpp.o [387/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/osutils.cpp.o [388/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/runtime.cpp.o [389/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/regalloc.cpp.o [390/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/func.cpp.o [391/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/utils.cpp.o [392/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/string.cpp.o [393/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/vmem.cpp.o [394/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/zone.cpp.o [395/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86builder.cpp.o [396/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86compiler.cpp.o [397/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86inst.cpp.o [398/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86assembler.cpp.o [399/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86internal.cpp.o [400/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instimpl.cpp.o [401/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86operand.cpp.o [402/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86logging.cpp.o [403/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86operand_regs.cpp.o [404/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o [405/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o [406/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o [407/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o [408/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o [409/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o [410/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86regalloc.cpp.o [411/3154] Linking CXX static library lib/libasmjit.a [412/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o [413/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o [414/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o [415/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o [416/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o [417/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o [418/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o [419/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o [420/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o [421/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o [422/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o [423/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o [424/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o [425/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o [426/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o [427/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o [428/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o [429/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o [430/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o [431/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o [432/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o [433/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o [434/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o [435/3154] Running gen_proto.py on onnx/onnx.in.proto Processing /src/pytorch/third_party/onnx/onnx/onnx.in.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto3 Writing /src/pytorch/build/third_party/onnx/onnx/onnx-ml.pb.h generating /src/pytorch/build/third_party/onnx/onnx/onnx_pb.py [436/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o [437/3154] Building C object third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o [438/3154] Linking C static library lib/libfoxi_loader.a [439/3154] Running C++ protocol buffer compiler on /src/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto [440/3154] Running gen_proto.py on onnx/onnx-operators.in.proto Processing /src/pytorch/third_party/onnx/onnx/onnx-operators.in.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto3 Writing /src/pytorch/build/third_party/onnx/onnx/onnx-operators-ml.pb.h generating /src/pytorch/build/third_party/onnx/onnx/onnx_operators_pb.py [441/3154] Running C++ protocol buffer compiler on /src/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto [442/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o [443/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o [444/3154] Linking CXX static library lib/libgloo.a [445/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o [446/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o [447/3154] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda_private.cu.o /src/pytorch/third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaSetDevice(previous_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda_private.cu: In instantiation of ‘gloo::CudaMemory&lt;T&gt;::~CudaMemory() [with T = float]’: /src/pytorch/third_party/gloo/gloo/cuda_private.cu:91:16: required from here /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(ptr_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda_private.cu: In instantiation of ‘gloo::CudaMemory&lt;T&gt;::~CudaMemory() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/cuda_private.cu:92:16: required from here /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: note: in C++11 destructors default to noexcept [448/3154] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda.cu.o /src/pytorch/third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaSetDevice(previous_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In destructor ‘gloo::CudaStream::~CudaStream()’: /src/pytorch/third_party/gloo/gloo/cuda.cu:77:411: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaEventSynchronize(event_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:77:411: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu:78:407: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaEventDestroy(event_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:78:407: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu:81:409: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaStreamDestroy(stream_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:81:409: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = signed char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:291:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = signed char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:291:64: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = unsigned char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:292:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = unsigned char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:292:66: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:293:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:293:63: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = long int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:294:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = long int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:294:64: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = long unsigned int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:295:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = long unsigned int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:295:66: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:296:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:296:60: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = float]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:297:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = float]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:297:58: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = double]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:298:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = double]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:298:59: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept [449/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o [450/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o [451/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o [452/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o [453/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o [454/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o [455/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o [456/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o [457/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o [458/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o [459/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o [460/3154] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/nccl/gloo_cuda_generated_nccl.cu.o /src/pytorch/third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaSetDevice(previous_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = signed char]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:350:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaEventDestroy(ncclEvents[i])); ^ /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = unsigned char]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:351:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = int]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:352:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = long int]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:353:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = long unsigned int]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:354:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:355:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = float]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:356:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = double]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:357:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept [461/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o [462/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o [463/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_local.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_local.h:12, from ../third_party/gloo/gloo/cuda_allreduce_local.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [464/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_bcube.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_bcube.h:21, from ../third_party/gloo/gloo/cuda_allreduce_bcube.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [465/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_ring.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_ring.h:12, from ../third_party/gloo/gloo/cuda_allreduce_ring.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [466/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_halving_doubling.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_halving_doubling.h:17, from ../third_party/gloo/gloo/cuda_allreduce_halving_doubling.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [467/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o [468/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o [469/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_broadcast_one_to_all.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_broadcast_one_to_all.h:12, from ../third_party/gloo/gloo/cuda_broadcast_one_to_all.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [470/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 9]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] posix_memalign( ~~~~~~~~~~~~~~^ (void**)&amp;pmat_, ~~~~~~~~~~~~~~~ 64, ~~~ ((K + 31) / 32) * KERNEL_PROD_ALIGNED * 32 * sizeof(int8_t)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 27]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 1]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 2]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 3]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 4]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 5]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 10]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 11]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] [471/3154] Linking CXX static library lib/libfbgemm.a [472/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_ring_chunked.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_ring_chunked.h:14, from ../third_party/gloo/gloo/cuda_allreduce_ring_chunked.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x &quot; == &quot; #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [473/3154] Linking CXX static library lib/libgloo_cuda.a [474/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o [475/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o [476/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o [477/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o [478/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o [479/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o [480/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o [481/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o [482/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o [483/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o [484/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o [485/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o [486/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o [487/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o [488/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/onnxifi_utils.cc.o [489/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o [490/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o [491/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass.cc.o [492/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_manager.cc.o [493/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_registry.cc.o [494/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o [495/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/optimize.cc.o [496/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o [497/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution.cpp.o [498/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution_pd.cpp.o [499/3154] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch-ml.pb.cc.o [500/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/deconvolution.cpp.o [501/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/eltwise.cpp.o [502/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/engine.cpp.o [503/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/inner_product.cpp.o [504/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/lrn.cpp.o [505/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory.cpp.o [506/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o [507/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/mkldnn_debug.cpp.o [508/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/pooling.cpp.o [509/3154] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch-ml.pb.cc.o [510/3154] Linking CXX static library lib/libonnx_proto.a [511/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive.cpp.o [512/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_attr.cpp.o [513/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_desc.cpp.o [514/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_iterator.cpp.o [515/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o [516/3154] Linking CXX static library lib/libonnx.a [517/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/reorder.cpp.o [518/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/query.cpp.o [519/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/scratchpad.cpp.o [520/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/rnn.cpp.o [521/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/softmax.cpp.o [522/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/shuffle.cpp.o [523/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o [524/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/stream.cpp.o [525/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/verbose.cpp.o [526/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_batch_normalization_utils.cpp.o [527/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o [528/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_primitive.cpp.o [529/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_concat.cpp.o [530/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reducer.cpp.o [531/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_sum.cpp.o [532/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/gemm_utils_f32.cpp.o [533/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx512_common_gemm_f32.cpp.o [534/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_engine.cpp.o [535/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx_gemm_f32.cpp.o [536/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/gemm.cpp.o [537/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/ref_gemm_f32.cpp.o [538/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_memory.cpp.o [539/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8s8s32.cpp.o [540/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemv_s8u8s32.cpp.o [541/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp.o [542/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32_kern.cpp.o [543/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_kernel_gemv_s8u8s32_kern.cpp.o [544/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reorder.cpp.o [545/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bn_kern.cpp.o [546/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bt_kern.cpp.o [547/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_an_kern.cpp.o [548/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_at_kern.cpp.o [549/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_an_kern.cpp.o [550/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/ref_gemm_s8x8s32.cpp.o [551/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution.cpp.o [552/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_bt_kern.cpp.o [553/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_bn_kern.cpp.o [554/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_inner_product.cpp.o [555/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution_utils.cpp.o [556/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_at_kern.cpp.o [557/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_conv_kernel_f32.cpp.o [558/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_convolution.cpp.o [559/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_inner_product.cpp.o [560/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_convolution.cpp.o [561/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_conv_kernel_f32.cpp.o [562/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_convolution.cpp.o [563/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_conv_kernel.cpp.o [564/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_winograd_kernel_f32.cpp.o [565/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_convolution.cpp.o [566/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_kernel.cpp.o [567/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution_winograd.cpp.o [568/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution.cpp.o [569/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_lrn.cpp.o [570/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_2x3.cpp.o [571/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3.cpp.o [572/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_conv_kernel.cpp.o [573/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3_kernel.cpp.o [574/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_u8s8s32x_wino_convolution.cpp.o [575/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_conv_kernel.cpp.o [576/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_convolution.cpp.o [577/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_convolution.cpp.o [578/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_conv_kernel_f32.cpp.o [579/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_convolution.cpp.o [580/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_deconvolution.cpp.o [581/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_conv_kernel_f32.cpp.o [582/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_convolution.cpp.o [583/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_transpose_src_utils.cpp.o [584/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_convolution.cpp.o [585/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_conv_kernel_f32.cpp.o [586/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_batch_normalization.cpp.o [587/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_eltwise.cpp.o [588/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn.cpp.o [589/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_i8i8_pooling.cpp.o [590/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn_kernel_f32.cpp.o [591/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pool_kernel_f32.cpp.o [592/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pooling.cpp.o [593/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder.cpp.o [594/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ncsp_batch_normalization.cpp.o [595/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nhwc_pooling.cpp.o [596/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nspc_batch_normalization.cpp.o [597/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_deconvolution.cpp.o [598/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_batch_normalization.cpp.o [599/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_convolution.cpp.o [600/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_lrn.cpp.o [601/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_eltwise.cpp.o [602/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_inner_product.cpp.o [603/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_common.cpp.o [604/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_softmax.cpp.o [605/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_pooling.cpp.o [606/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_shuffle.cpp.o [607/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru.cpp.o [608/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru_lbr.cpp.o [609/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_lstm.cpp.o [610/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_rnn.cpp.o [611/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/rnn_utils.cpp.o [612/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o [613/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_sum.cpp.o [614/3154] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o [615/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_concat.cpp.o [616/3154] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o [617/3154] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o [618/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o [619/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/ref_rnn.cpp.o [620/3154] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o [621/3154] Linking CXX static library lib/libmkldnn.a [622/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o [623/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o [624/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o [625/3154] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o [626/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeId.cpp.o [627/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o [628/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeIdRegistration.cpp.o [629/3154] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o [630/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Array.cpp.o [631/3154] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o [632/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o [633/3154] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o [634/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o [635/3154] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o [636/3154] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o [637/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o [638/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o [639/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o [640/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o [641/3154] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o [642/3154] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o [643/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Type.cpp.o [644/3154] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o [645/3154] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o [646/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o [647/3154] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o [648/3154] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o [649/3154] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o [650/3154] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o [651/3154] Linking CXX shared library lib/libc10.so [652/3154] Building CXX object c10/test/CMakeFiles/c10_TensorTypeId_test.dir/core/TensorTypeId_test.cpp.o [653/3154] Building CXX object c10/test/CMakeFiles/c10_TypeList_test.dir/util/TypeList_test.cpp.o [654/3154] Linking CXX executable bin/c10_TensorTypeId_test [655/3154] Linking CXX executable bin/c10_TypeList_test [656/3154] Building CXX object c10/test/CMakeFiles/c10_flags_test.dir/util/flags_test.cpp.o [657/3154] Linking CXX executable bin/c10_flags_test [658/3154] Building CXX object c10/test/CMakeFiles/c10_Array_test.dir/util/Array_test.cpp.o [659/3154] Building CXX object c10/test/CMakeFiles/c10_Half_test.dir/util/Half_test.cpp.o [660/3154] Linking CXX executable bin/c10_Array_test [661/3154] Linking CXX executable bin/c10_Half_test [662/3154] Building CXX object c10/test/CMakeFiles/c10_StreamGuard_test.dir/core/StreamGuard_test.cpp.o [663/3154] Linking CXX executable bin/c10_StreamGuard_test [664/3154] Building CXX object c10/test/CMakeFiles/c10_registry_test.dir/util/registry_test.cpp.o [665/3154] Building CXX object c10/test/CMakeFiles/c10_LeftRight_test.dir/util/LeftRight_test.cpp.o [666/3154] Linking CXX executable bin/c10_registry_test [667/3154] Linking CXX executable bin/c10_LeftRight_test [668/3154] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o [669/3154] Linking CXX executable bin/c10_tempfile_test [670/3154] Building CXX object c10/test/CMakeFiles/c10_TypeTraits_test.dir/util/TypeTraits_test.cpp.o [671/3154] Linking CXX executable bin/c10_TypeTraits_test [672/3154] Building CXX object c10/test/CMakeFiles/c10_Metaprogramming_test.dir/util/Metaprogramming_test.cpp.o [673/3154] Linking CXX executable bin/c10_Metaprogramming_test [674/3154] Building CXX object c10/test/CMakeFiles/c10_DeviceGuard_test.dir/core/DeviceGuard_test.cpp.o [675/3154] Linking CXX executable bin/c10_DeviceGuard_test [676/3154] Building CXX object c10/test/CMakeFiles/c10_InlineDeviceGuard_test.dir/core/impl/InlineDeviceGuard_test.cpp.o [677/3154] Linking CXX executable bin/c10_InlineDeviceGuard_test [678/3154] Building CXX object c10/test/CMakeFiles/c10_InlineStreamGuard_test.dir/core/impl/InlineStreamGuard_test.cpp.o [679/3154] Building CXX object c10/test/CMakeFiles/c10_bfloat16_test.dir/util/bfloat16_test.cpp.o [680/3154] Linking CXX executable bin/c10_InlineStreamGuard_test [681/3154] Linking CXX executable bin/c10_bfloat16_test [682/3154] Building CXX object c10/test/CMakeFiles/c10_logging_test.dir/util/logging_test.cpp.o [683/3154] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o [684/3154] Linking CXX executable bin/c10_typeid_test [685/3154] Linking CXX executable bin/c10_logging_test [686/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/CUDAStream.cpp.o [687/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/CUDACachingAllocator.cpp.o [688/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/impl/CUDAGuardImpl.cpp.o [689/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/impl/CUDATest.cpp.o [690/3154] Linking CXX shared library lib/libc10_cuda.so [691/3154] Building CXX object caffe2/CMakeFiles/caffe2_nvrtc.dir/__/aten/src/ATen/cuda/nvrtc_stub/ATenNVRTC.cpp.o [692/3154] Building CXX object c10/cuda/test/CMakeFiles/c10_cuda_CUDATest.dir/impl/CUDATest.cpp.o [693/3154] Linking CXX shared library lib/libcaffe2_nvrtc.so [694/3154] Generating python/build.py [695/3154] Generating python/caffe_translator.py [696/3154] Generating python/checkpoint.py [697/3154] Linking CXX executable bin/c10_cuda_CUDATest [698/3154] Generating python/checkpoint_test.py [699/3154] Generating python/docs/generator.py [700/3154] Generating python/docs/github.py [701/3154] Generating python/docs/parser.py [702/3154] Generating python/dyndep.py [703/3154] Generating python/embedding_generation_benchmark.py [704/3154] Generating python/examples/__init__.py [705/3154] Generating python/examples/char_rnn.py [706/3154] Generating python/caffe_translator_test.py [707/3154] Generating python/convert_test.py [708/3154] Generating python/convnet_benchmarks.py [709/3154] Generating python/core.py [710/3154] Generating python/convnet_benchmarks_test.py [711/3154] Generating python/core_test.py [712/3154] Generating python/core_gradients_test.py [713/3154] Generating python/crf.py [714/3154] Generating python/crf_predict.py [715/3154] Generating python/data_parallel_model.py [716/3154] Generating python/crf_viterbi_test.py [717/3154] Generating python/dataset.py [718/3154] Generating python/db_file_reader.py [719/3154] Generating python/db_test.py [720/3154] Generating python/docs/__init__.py [721/3154] Generating python/device_checker.py [722/3154] Generating python/docs/formatter.py [723/3154] Generating __init__.py [724/3154] Generating python/cached_reader.py [725/3154] Generating contrib/__init__.py [726/3154] Generating python/control_ops_grad.py [727/3154] Generating python/control_ops_grad_test.py [728/3154] Generating python/control_ops_util.py [729/3154] Generating python/control_test.py [730/3154] Generating python/convert.py [731/3154] Generating python/cnn.py [732/3154] Generating python/compatibility.py [733/3154] Generating python/context.py [734/3154] Generating python/context_test.py [735/3154] Generating python/control.py [736/3154] Generating python/data_parallel_model_test.py [737/3154] Generating python/data_workers.py [738/3154] Generating python/data_workers_test.py [739/3154] Generating python/dataio.py [740/3154] Generating python/dataio_test.py [741/3154] Generating python/brew_test.py [742/3154] Generating contrib/aten/__init__.py [743/3154] Generating contrib/aten/aten_test.py [744/3154] Generating contrib/aten/docs/__init__.py [745/3154] Generating contrib/aten/docs/sample.py [746/3154] Generating contrib/aten/gen_op.py [747/3154] Generating contrib/gloo/__init__.py [748/3154] Generating contrib/gloo/gloo_test.py [749/3154] Generating contrib/nccl/__init__.py [750/3154] Generating contrib/nccl/nccl_ops_test.py [751/3154] Generating contrib/nnpack/__init__.py [752/3154] Generating contrib/nnpack/nnpack_ops_test.py [753/3154] Generating contrib/playground/AnyExp.py [754/3154] Generating contrib/playground/AnyExpOnTerm.py [755/3154] Generating contrib/playground/ModuleRegister.py [756/3154] Generating contrib/playground/__init__.py [757/3154] Generating contrib/playground/checkpoint.py [758/3154] Generating contrib/playground/compute_loss.py [759/3154] Generating contrib/playground/compute_topk_accuracy.py [760/3154] Generating contrib/playground/meter.py [761/3154] Generating contrib/playground/output_generator.py [762/3154] Generating contrib/playground/module_map.py [763/3154] Generating contrib/playground/resnetdemo/IN1k_resnet.py [764/3154] Generating contrib/playground/resnetdemo/IN1k_resnet_no_test_model.py [765/3154] Generating contrib/playground/resnetdemo/__init__.py [766/3154] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_forward.py [767/3154] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_param_update.py [768/3154] Generating contrib/playground/resnetdemo/explicit_resnet_forward.py [769/3154] Generating contrib/playground/resnetdemo/explicit_resnet_param_update.py [770/3154] Generating contrib/playground/resnetdemo/gfs_IN1k.py [771/3154] Generating contrib/playground/resnetdemo/override_no_test_model_no_checkpoint.py [772/3154] Generating contrib/playground/resnetdemo/rendezvous_filestore.py [773/3154] Generating contrib/prof/__init__.py [774/3154] Generating contrib/script/__init__.py [775/3154] Generating contrib/prof/cuda_profile_ops_test.py [776/3154] Generating contrib/tensorboard/__init__.py [777/3154] Generating contrib/script/examples/__init__.py [778/3154] Generating contrib/tensorboard/tensorboard_exporter.py [779/3154] Generating contrib/tensorboard/tensorboard.py [780/3154] Generating contrib/tensorboard/tensorboard_exporter_test.py [781/3154] Generating contrib/tensorboard/tensorboard_test.py [782/3154] Generating contrib/warpctc/__init__.py [783/3154] Generating contrib/warpctc/ctc_ops_test.py [784/3154] Generating core/__init__.py [785/3154] Generating core/nomnigraph/__init__.py [786/3154] Generating core/nomnigraph/op_gen.py [787/3154] Generating distributed/__init__.py [788/3154] Generating distributed/file_store_handler_op_test.py [789/3154] Generating distributed/redis_store_handler_op_test.py [790/3154] Generating distributed/store_ops_test_util.py [791/3154] Generating experiments/__init__.py [792/3154] Generating experiments/python/SparseTransformer.py [793/3154] Generating experiments/python/__init__.py [794/3154] Generating experiments/python/convnet_benchmarks.py [795/3154] Generating experiments/python/funhash_op_test.py [796/3154] Generating experiments/python/device_reduce_sum_bench.py [797/3154] Generating experiments/python/sparse_funhash_op_test.py [798/3154] Generating experiments/python/net_construct_bench.py [799/3154] Generating experiments/python/sparse_reshape_op_test.py [800/3154] Generating experiments/python/tt_contraction_op_test.py [801/3154] Generating experiments/python/tt_pad_op_test.py [802/3154] Generating perfkernels/__init__.py [803/3154] Generating perfkernels/hp_emblookup_codegen.py [804/3154] Generating proto/__init__.py [805/3154] Generating python/__init__.py [806/3154] Generating python/_import_c_extension.py [807/3154] Generating python/attention.py [808/3154] Generating python/allcompare_test.py [809/3154] Generating python/benchmark_generator.py [810/3154] Generating python/binarysize.py [811/3154] Generating python/brew.py [812/3154] Generating python/examples/imagenet_trainer.py [813/3154] Generating python/examples/lmdb_create_example.py [814/3154] Generating python/experiment_util.py [815/3154] Generating python/examples/resnet50_trainer.py [816/3154] Generating python/extension_loader.py [817/3154] Generating python/filler_test.py [818/3154] Generating python/functional_test.py [819/3154] Generating python/functional.py [820/3154] Generating python/fused_8bit_rowwise_conversion_ops_test.py [821/3154] Generating python/gradient_check_test.py [822/3154] Generating python/gradient_checker.py [823/3154] Generating python/gru_cell.py [824/3154] Generating python/helpers/__init__.py [825/3154] Generating python/helpers/algebra.py [826/3154] Generating python/helpers/arg_scope.py [827/3154] Generating python/helpers/array_helpers.py [828/3154] Generating python/helpers/control_ops.py [829/3154] Generating python/helpers/conv.py [830/3154] Generating python/helpers/db_input.py [831/3154] Generating python/helpers/dropout.py [832/3154] Generating python/helpers/elementwise_linear.py [833/3154] Generating python/helpers/nonlinearity.py [834/3154] Generating python/helpers/fc.py [835/3154] Generating python/helpers/pooling.py [836/3154] Generating python/helpers/normalization.py [837/3154] Generating python/helpers/tools.py [838/3154] Generating python/helpers/train.py [839/3154] Generating python/hip_test_util.py [840/3154] Generating python/hsm_util.py [841/3154] Generating python/hypothesis_test.py [842/3154] Generating python/hypothesis_test_util.py [843/3154] Generating python/ideep/__init__.py [844/3154] Generating python/ideep/LRN_op_test.py [845/3154] Generating python/ideep/blobs_queue_db_test.py [846/3154] Generating python/ideep/adam_op_test.py [847/3154] Generating python/ideep/channel_shuffle_op_test.py [848/3154] Generating python/ideep/concat_split_op_test.py [849/3154] Generating python/ideep/conv_op_test.py [850/3154] Generating python/ideep/conv_transpose_test.py [851/3154] Generating python/ideep/convfusion_op_test.py [852/3154] Generating python/ideep/copy_op_test.py [853/3154] Generating python/ideep/dropout_op_test.py [854/3154] Generating python/ideep/elementwise_sum_op_test.py [855/3154] Generating python/ideep/fc_op_test.py [856/3154] Generating python/ideep/expanddims_squeeze_op_test.py [857/3154] Generating python/ideep/leaky_relu_op_test.py [858/3154] Generating python/ideep/moment_sgd_op_test.py [859/3154] Generating python/ideep/operator_fallback_op_test.py [860/3154] Generating python/ideep/order_switch_op_test.py [861/3154] Generating python/ideep/pool_op_test.py [862/3154] Generating python/ideep/pre_convert_test.py [863/3154] Generating python/ideep/relu_op_test.py [864/3154] Generating python/ideep/reshape_op_test.py [865/3154] Generating python/ideep/shape_op_test.py [866/3154] Generating python/ideep/sigmoid_op_test.py [867/3154] Generating python/ideep/softmax_op_test.py [868/3154] Generating python/ideep/spatial_bn_op_test.py [869/3154] Generating python/ideep/test_ideep_net.py [870/3154] Generating python/ideep/transform_ideep_net.py [871/3154] Generating python/ideep/weightedsum_op_test.py [872/3154] Generating python/ideep/transpose_op_test.py [873/3154] Generating python/ideep_test_util.py [874/3154] Generating python/layer_model_helper.py [875/3154] Generating python/layer_model_instantiator.py [876/3154] Generating python/layer_parameter_sharing_test.py [877/3154] Generating python/layer_test_util.py [878/3154] Generating python/layers/__init__.py [879/3154] Generating python/layers/adaptive_weight.py [880/3154] Generating python/layers/add_bias.py [881/3154] Generating python/layers/batch_huber_loss.py [882/3154] Generating python/layers/arc_cosine_feature_map.py [883/3154] Generating python/layers/batch_lr_loss.py [884/3154] Generating python/layers/batch_normalization.py [885/3154] Generating python/layers/batch_mse_loss.py [886/3154] Generating python/layers/batch_sigmoid_cross_entropy_loss.py [887/3154] Generating python/layers/batch_softmax_loss.py [888/3154] Generating python/layers/blob_weighted_sum.py [889/3154] Generating python/layers/bucket_weighted.py [890/3154] Generating python/layers/build_index.py [891/3154] Generating python/layers/concat.py [892/3154] Generating python/layers/constant_weight.py [893/3154] Generating python/layers/conv.py [894/3154] Generating python/layers/fc.py [895/3154] Generating python/layers/dropout.py [896/3154] Generating python/layers/fc_without_bias.py [897/3154] Generating python/layers/feature_sparse_to_dense.py [898/3154] Generating python/layers/functional.py [899/3154] Generating python/layers/gather_record.py [900/3154] Generating python/layers/homotopy_weight.py [901/3154] Generating python/layers/label_smooth.py [902/3154] Generating python/layers/last_n_window_collector.py [903/3154] Generating python/layers/layer_normalization.py [904/3154] Generating python/layers/margin_rank_loss.py [905/3154] Generating python/layers/layers.py [906/3154] Generating python/layers/merge_id_lists.py [907/3154] Generating python/layers/pairwise_similarity.py [908/3154] Generating python/layers/position_weighted.py [909/3154] Generating python/layers/random_fourier_features.py [910/3154] Generating python/layers/reservoir_sampling.py [911/3154] Generating python/layers/sampling_train.py [912/3154] Generating python/layers/sampling_trainable_mixin.py [913/3154] Generating python/layers/select_record_by_context.py [914/3154] Generating python/layers/semi_random_features.py [915/3154] Generating python/layers/sparse_dropout_with_replacement.py [916/3154] Generating python/layers/sparse_feature_hash.py [917/3154] Generating python/layers/sparse_lookup.py [918/3154] Generating python/layers/split.py [919/3154] Generating python/layers/tags.py [920/3154] Generating python/layers/uniform_sampling.py [921/3154] Generating python/lengths_reducer_fused_8bit_rowwise_ops_test.py [922/3154] Generating python/layers_test.py [923/3154] Generating python/lengths_reducer_rowwise_8bit_ops_test.py [924/3154] Generating python/lstm_benchmark.py [925/3154] Generating python/memonger.py [926/3154] Generating python/memonger_test.py [927/3154] Generating python/mint/__init__.py [928/3154] Generating python/mint/app.py [929/3154] Generating python/mkl/__init__.py [930/3154] Generating python/mkl/mkl_LRN_speed_test.py [931/3154] Generating python/mkl/mkl_LRN_op_test.py [932/3154] Generating python/mkl/mkl_concat_op_test.py [933/3154] Generating python/mkl/mkl_conv_op_test.py [934/3154] Generating python/mkl/mkl_copy_op_test.py [935/3154] Generating python/mkl/mkl_elementwise_add_op_test.py [936/3154] Generating python/mkl/mkl_elementwise_sum_op_test.py [937/3154] Generating python/mkl/mkl_fc_op_test.py [938/3154] Generating python/mkl/mkl_fc_speed_test.py [939/3154] Generating python/mkl/mkl_fill_op_test.py [940/3154] Generating python/mkl/mkl_pool_op_test.py [941/3154] Generating python/mkl/mkl_pool_speed_test.py [942/3154] Generating python/mkl/mkl_relu_op_test.py [943/3154] Generating python/mkl/mkl_sbn_op_test.py [944/3154] Generating python/mkl/mkl_sbn_speed_test.py [945/3154] Generating python/mkl/mkl_sigmoid_op_test.py [946/3154] Generating python/mkl/mkl_speed_test.py [947/3154] Generating python/mkl/mkl_squeeze_op_test.py [948/3154] Generating python/mkl/rewrite_graph.py [949/3154] Generating python/mkl/rewrite_graph_test.py [950/3154] Generating python/mkl_test_util.py [951/3154] Generating python/model_device_test.py [952/3154] Generating python/model_helper.py [953/3154] Generating python/modeling/__init__.py [954/3154] Generating python/model_helper_test.py [955/3154] Generating python/modeling/compute_histogram_for_blobs.py [956/3154] Generating python/modeling/compute_histogram_for_blobs_test.py [957/3154] Generating python/modeling/compute_norm_for_blobs.py [958/3154] Generating python/modeling/compute_norm_for_blobs_test.py [959/3154] Generating python/modeling/compute_statistics_for_blobs.py [960/3154] Generating python/modeling/get_entry_from_blobs.py [961/3154] Generating python/modeling/compute_statistics_for_blobs_test.py [962/3154] Generating python/modeling/get_entry_from_blobs_test.py [963/3154] Generating python/modeling/gradient_clipping.py [964/3154] Generating python/modeling/initializers.py [965/3154] Generating python/modeling/gradient_clipping_test.py [966/3154] Generating python/modeling/initializers_test.py [967/3154] Generating python/modeling/net_modifier.py [968/3154] Generating python/modeling/parameter_info.py [969/3154] Generating python/modeling/parameter_sharing.py [970/3154] Generating python/modeling/parameter_sharing_test.py [971/3154] Generating python/models/__init__.py [972/3154] Generating python/models/__sym_init__.py [973/3154] Generating python/models/download.py [974/3154] Generating python/models/imagenet_trainer_test_utils.py [975/3154] Generating python/models/resnet.py [976/3154] Generating python/models/resnet_test.py [977/3154] Generating python/models/seq2seq/__init__.py [978/3154] Generating python/models/seq2seq/seq2seq_beam_search_test.py [979/3154] Generating python/models/seq2seq/beam_search.py [980/3154] Generating python/models/seq2seq/seq2seq_model_helper_test.py [981/3154] Generating python/models/seq2seq/seq2seq_model_helper.py [982/3154] Generating python/models/seq2seq/seq2seq_util.py [983/3154] Generating python/models/seq2seq/train.py [984/3154] Generating python/models/seq2seq/translate.py [985/3154] Generating python/models/shufflenet.py [986/3154] Generating python/models/shufflenet_test.py [987/3154] Generating python/modifier_context.py [988/3154] Generating python/muji.py [989/3154] Generating python/muji_test.py [990/3154] Generating python/net_builder.py [991/3154] Generating python/net_builder_test.py [992/3154] Generating python/net_drawer.py [993/3154] Generating python/net_printer.py [994/3154] Generating python/net_printer_test.py [995/3154] Generating python/nomnigraph.py [996/3154] Generating python/nomnigraph_test.py [997/3154] Generating python/nomnigraph_transformations.py [998/3154] Generating python/nomnigraph_transformations_test.py [999/3154] Generating python/normalizer.py [1000/3154] Generating python/normalizer_context.py [1001/3154] Generating python/normalizer_test.py [1002/3154] Generating python/numa_benchmark.py [1003/3154] Generating python/numa_test.py [1004/3154] Generating python/observer_test.py [1005/3154] Generating python/onnx/__init__.py [1006/3154] Generating python/onnx/backend.py [1007/3154] Generating python/onnx/backend_cpp_rep.py [1008/3154] Generating python/onnx/backend_rep.py [1009/3154] Generating python/onnx/bin/conversion.py [1010/3154] Generating python/onnx/bin/__init__.py [1011/3154] Generating python/onnx/error.py [1012/3154] Generating python/onnx/frontend.py [1013/3154] Generating python/onnx/helper.py [1014/3154] Generating python/onnx/onnxifi.py [1015/3154] Generating python/onnx/test_onnxifi.py [1016/3154] Generating python/onnx/tests/__init__.py [1017/3154] Generating python/onnx/tests/c2_ref_test.py [1018/3154] Generating python/onnx/tests/conversion_test.py [1019/3154] Generating python/onnx/tests/helper_test.py [1020/3154] Generating python/onnx/tests/onnx_backend_test.py [1021/3154] Generating python/onnx/tests/ssa_test.py [1022/3154] Generating python/onnx/tests/test_utils.py [1023/3154] Generating python/onnx/workspace.py [1024/3154] Generating python/operator_fp_exceptions_test.py [1025/3154] Generating python/operator_test/__init__.py [1026/3154] Generating python/operator_test/activation_ops_test.py [1027/3154] Generating python/operator_test/adagrad_test.py [1028/3154] Generating python/operator_test/adadelta_test.py [1029/3154] Generating python/operator_test/adagrad_test_helper.py [1030/3154] Generating python/operator_test/adam_test.py [1031/3154] Generating python/operator_test/affine_channel_op_test.py [1032/3154] Generating python/operator_test/apmeter_test.py [1033/3154] Generating python/operator_test/arg_ops_test.py [1034/3154] Generating python/operator_test/assert_test.py [1035/3154] Generating python/operator_test/atomic_ops_test.py [1036/3154] Generating python/operator_test/basic_rnn_test.py [1037/3154] Generating python/operator_test/batch_box_cox_test.py [1038/3154] Generating python/operator_test/batch_bucketize_op_test.py [1039/3154] Generating python/operator_test/batch_moments_op_test.py [1040/3154] Generating python/operator_test/batch_sparse_to_dense_op_test.py [1041/3154] Generating python/operator_test/bbox_transform_test.py [1042/3154] Generating python/operator_test/blobs_queue_db_test.py [1043/3154] Generating python/operator_test/bisect_percentile_op_test.py [1044/3154] Generating python/operator_test/boolean_unmask_test.py [1045/3154] Generating python/operator_test/boolean_mask_test.py [1046/3154] Generating python/operator_test/box_with_nms_limit_op_test.py [1047/3154] Generating python/operator_test/bucketize_op_test.py [1048/3154] Generating python/operator_test/cast_op_test.py [1049/3154] Generating python/operator_test/ceil_op_test.py [1050/3154] Generating python/operator_test/channel_backprop_stats_op_test.py [1051/3154] Generating python/operator_test/channel_shuffle_test.py [1052/3154] Generating python/operator_test/channel_stats_op_test.py [1053/3154] Generating python/operator_test/checkpoint_test.py [1054/3154] Generating python/operator_test/clip_op_test.py [1055/3154] Generating python/operator_test/clip_tensor_op_test.py [1056/3154] Generating python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py [1057/3154] Generating python/operator_test/concat_split_op_test.py [1058/3154] Generating python/operator_test/conditional_test.py [1059/3154] Generating python/operator_test/conftest.py [1060/3154] Generating python/operator_test/conv_test.py [1061/3154] Generating python/operator_test/conv_transpose_test.py [1062/3154] Generating python/operator_test/copy_ops_test.py [1063/3154] Generating python/operator_test/cosine_embedding_criterion_op_test.py [1064/3154] Generating python/operator_test/copy_rows_to_tensor_op_test.py [1065/3154] Generating python/operator_test/counter_ops_test.py [1066/3154] Generating python/operator_test/crf_test.py [1067/3154] Generating python/operator_test/cross_entropy_ops_test.py [1068/3154] Generating python/operator_test/ctc_beam_search_decoder_op_test.py [1069/3154] Generating python/operator_test/ctc_greedy_decoder_op_test.py [1070/3154] Generating python/operator_test/cudnn_recurrent_test.py [1071/3154] Generating python/operator_test/data_couple_op_test.py [1072/3154] Generating python/operator_test/dataset_ops_test.py [1073/3154] Generating python/operator_test/dense_vector_to_id_list_op_test.py [1074/3154] Generating python/operator_test/deform_conv_test.py [1075/3154] Generating python/operator_test/detectron_keypoints.py [1076/3154] Generating python/operator_test/depthwise_3x3_conv_test.py [1077/3154] Generating python/operator_test/distance_op_test.py [1078/3154] Generating python/operator_test/dropout_op_test.py [1079/3154] Generating python/operator_test/elementwise_linear_op_test.py [1080/3154] Generating python/operator_test/elementwise_logical_ops_test.py [1081/3154] Generating python/operator_test/duplicate_operands_test.py [1082/3154] Generating python/operator_test/elementwise_op_broadcast_test.py [1083/3154] Generating python/operator_test/elementwise_ops_test.py [1084/3154] Generating python/operator_test/emptysample_ops_test.py [1085/3154] Generating python/operator_test/enforce_finite_op_test.py [1086/3154] Generating python/operator_test/ensure_clipped_test.py [1087/3154] Generating python/operator_test/ensure_cpu_output_op_test.py [1088/3154] Generating python/operator_test/erf_op_test.py [1089/3154] Generating python/operator_test/expand_op_test.py [1090/3154] Generating python/operator_test/fc_operator_test.py [1091/3154] Generating python/operator_test/feature_maps_ops_test.py [1092/3154] Generating python/operator_test/filler_ops_test.py [1093/3154] Generating python/operator_test/find_op_test.py [1094/3154] Generating python/operator_test/flatten_op_test.py [1095/3154] Generating python/operator_test/flexible_top_k_test.py [1096/3154] Generating python/operator_test/floor_op_test.py [1097/3154] Generating python/operator_test/gather_ops_test.py [1098/3154] Generating python/operator_test/gather_ranges_op_test.py [1099/3154] Generating python/operator_test/given_tensor_byte_string_to_uint8_fill_op_test.py [1100/3154] Generating python/operator_test/given_tensor_fill_op_test.py [1101/3154] Generating python/operator_test/glu_op_test.py [1102/3154] Generating python/operator_test/group_conv_test.py [1103/3154] Generating python/operator_test/group_norm_op_test.py [1104/3154] Generating python/operator_test/gru_test.py [1105/3154] Generating python/operator_test/heatmap_max_keypoint_op_test.py [1106/3154] Generating python/operator_test/hsm_test.py [1107/3154] Generating python/operator_test/hyperbolic_ops_test.py [1108/3154] Generating python/operator_test/image_input_op_test.py [1109/3154] Generating python/operator_test/im2col_col2im_test.py [1110/3154] Generating python/operator_test/index_hash_ops_test.py [1111/3154] Generating python/operator_test/index_ops_test.py [1112/3154] Generating python/operator_test/instance_norm_test.py [1113/3154] Generating python/operator_test/integral_image_ops_test.py [1114/3154] Generating python/operator_test/jsd_ops_test.py [1115/3154] Generating python/operator_test/key_split_ops_test.py [1116/3154] Generating python/operator_test/lars_test.py [1117/3154] Generating python/operator_test/leaky_relu_test.py [1118/3154] Generating python/operator_test/layer_norm_op_test.py [1119/3154] Generating python/operator_test/learning_rate_adaption_op_test.py [1120/3154] Generating python/operator_test/learning_rate_op_test.py [1121/3154] Generating python/operator_test/length_split_op_test.py [1122/3154] Generating python/operator_test/lengths_pad_op_test.py [1123/3154] Generating python/operator_test/lengths_tile_op_test.py [1124/3154] Generating python/operator_test/lengths_top_k_ops_test.py [1125/3154] Generating python/operator_test/listwise_l2r_operator_test.py [1126/3154] Generating python/operator_test/locally_connected_op_test.py [1127/3154] Generating python/operator_test/load_save_test.py [1128/3154] Generating python/operator_test/lpnorm_op_test.py [1129/3154] Generating python/operator_test/loss_ops_test.py [1130/3154] Generating python/operator_test/map_ops_test.py [1131/3154] Generating python/operator_test/margin_ranking_criterion_op_test.py [1132/3154] Generating python/operator_test/math_ops_test.py [1133/3154] Generating python/operator_test/matmul_op_test.py [1134/3154] Generating python/operator_test/mean_op_test.py [1135/3154] Generating python/operator_test/merge_id_lists_op_test.py [1136/3154] Generating python/operator_test/mkl_conv_op_test.py [1137/3154] Generating python/operator_test/mkl_packed_fc_op_test.py [1138/3154] Generating python/operator_test/mkl_speed_test.py [1139/3154] Generating python/operator_test/mod_op_test.py [1140/3154] Generating python/operator_test/moments_op_test.py [1141/3154] Generating python/operator_test/momentum_sgd_test.py [1142/3154] Generating python/operator_test/mpi_test.py [1143/3154] Generating python/operator_test/negate_gradient_op_test.py [1144/3154] Generating python/operator_test/ngram_ops_test.py [1145/3154] Generating python/operator_test/normalize_op_test.py [1146/3154] Generating python/operator_test/numpy_tile_op_test.py [1147/3154] Generating python/operator_test/one_hot_ops_test.py [1148/3154] Generating python/operator_test/onnx_while_test.py [1149/3154] Generating python/operator_test/order_switch_test.py [1150/3154] Building CXX object c10/test/CMakeFiles/c10_either_test.dir/util/either_test.cpp.o [1151/3154] Generating python/operator_test/pack_rnn_sequence_op_test.py [1152/3154] Generating python/operator_test/pack_ops_test.py [1153/3154] Generating python/operator_test/pad_test.py [1154/3154] Generating python/operator_test/partition_ops_test.py [1155/3154] Generating python/operator_test/percentile_op_test.py [1156/3154] Generating python/operator_test/piecewise_linear_transform_test.py [1157/3154] Generating python/operator_test/pooling_test.py [1158/3154] Generating python/operator_test/prepend_dim_test.py [1159/3154] Generating python/operator_test/python_op_test.py [1160/3154] Generating python/operator_test/rand_quantization_op_speed_test.py [1161/3154] Generating python/operator_test/rand_quantization_op_test.py [1162/3154] Generating python/operator_test/rank_loss_operator_test.py [1163/3154] Generating python/operator_test/rebatching_queue_test.py [1164/3154] Generating python/operator_test/recurrent_net_executor_test.py [1165/3154] Generating python/operator_test/record_queue_test.py [1166/3154] Generating python/operator_test/recurrent_network_test.py [1167/3154] Generating python/operator_test/reduce_ops_test.py [1168/3154] Generating python/operator_test/reduction_ops_test.py [1169/3154] Generating python/operator_test/reshape_ops_test.py [1170/3154] Generating python/operator_test/resize_op_test.py [1171/3154] Generating python/operator_test/rmac_regions_op_test.py [1172/3154] Generating python/operator_test/rnn_cell_test.py [1173/3154] Generating python/operator_test/roi_align_rotated_op_test.py [1174/3154] Generating python/operator_test/scale_op_test.py [1175/3154] Generating python/operator_test/selu_op_test.py [1176/3154] Generating python/operator_test/segment_ops_test.py [1177/3154] Generating python/operator_test/shape_inference_test.py [1178/3154] Generating python/operator_test/sequence_ops_test.py [1179/3154] Generating python/operator_test/sinusoid_position_encoding_op_test.py [1180/3154] Generating python/operator_test/softmax_ops_test.py [1181/3154] Generating python/operator_test/softplus_op_test.py [1182/3154] Generating python/operator_test/sparse_dropout_with_replacement_op_test.py [1183/3154] Linking CXX executable bin/c10_either_test [1184/3154] Generating python/operator_test/sparse_lengths_sum_benchmark.py [1185/3154] Generating python/operator_test/sparse_gradient_checker_test.py [1186/3154] Generating python/operator_test/sparse_normalize_test.py [1187/3154] Generating python/operator_test/sparse_ops_test.py [1188/3154] Generating python/operator_test/sparse_to_dense_mask_op_test.py [1189/3154] Generating python/operator_test/specialized_segment_ops_test.py [1190/3154] Generating python/operator_test/spatial_bn_op_test.py [1191/3154] Generating python/operator_test/stats_ops_test.py [1192/3154] Generating python/operator_test/stats_put_ops_test.py [1193/3154] Generating python/operator_test/square_root_divide_op_test.py [1194/3154] Generating python/operator_test/string_ops_test.py [1195/3154] Generating python/operator_test/text_file_reader_test.py [1196/3154] Generating python/operator_test/thresholded_relu_op_test.py [1197/3154] Generating python/operator_test/top_k_test.py [1198/3154] Generating python/operator_test/tile_op_test.py [1199/3154] Generating python/operator_test/torch_integration_test.py [1200/3154] Generating python/operator_test/transpose_op_test.py [1201/3154] Generating python/operator_test/trigonometric_op_test.py [1202/3154] Generating python/operator_test/unique_ops_test.py [1203/3154] Generating python/operator_test/unique_uniform_fill_op_test.py [1204/3154] Generating python/operator_test/video_input_op_test.py [1205/3154] Generating python/operator_test/upsample_op_test.py [1206/3154] Generating python/operator_test/utility_ops_test.py [1207/3154] Generating python/operator_test/weighted_sum_test.py [1208/3154] Generating python/operator_test/weighted_sample_test.py [1209/3154] Generating python/operator_test/weighted_multi_sample_test.py [1210/3154] Generating python/operator_test/wngrad_test.py [1211/3154] Generating python/optimizer_context.py [1212/3154] Generating python/optimizer.py [1213/3154] Generating python/optimizer_test.py [1214/3154] Generating python/optimizer_test_util.py [1215/3154] Generating python/parallel_workers.py [1216/3154] Generating python/parallelize_bmuf_distributed_test.py [1217/3154] Generating python/parallel_workers_test.py [1218/3154] Generating python/pipeline.py [1219/3154] Generating python/pipeline_test.py [1220/3154] Generating python/predictor/__init__.py [1221/3154] Generating python/predictor/mobile_exporter.py [1222/3154] Generating python/predictor/mobile_exporter_test.py [1223/3154] Generating python/predictor/predictor_exporter.py [1224/3154] Generating python/predictor/predictor_py_utils.py [1225/3154] Generating python/predictor/predictor_exporter_test.py [1226/3154] Generating python/predictor/predictor_test.py [1227/3154] Generating python/predictor/serde.py [1228/3154] Generating python/predictor_constants.py [1229/3154] Generating python/python_op_test.py [1230/3154] Generating python/queue_util.py [1231/3154] Generating python/record_queue.py [1232/3154] Generating python/regularizer.py [1233/3154] Generating python/recurrent.py [1234/3154] Generating python/regularizer_context.py [1235/3154] Generating python/regularizer_test.py [1236/3154] Generating python/rnn/lstm_comparison.py [1237/3154] Generating python/rnn/__init__.py [1238/3154] Generating python/rnn/rnn_cell_test_util.py [1239/3154] Generating python/schema.py [1240/3154] Generating python/rnn_cell.py [1241/3154] Generating python/schema_test.py [1242/3154] Generating python/scope.py [1243/3154] Generating python/scope_test.py [1244/3154] Generating python/serialized_test/__init__.py [1245/3154] Generating python/serialized_test/coverage.py [1246/3154] Generating python/serialized_test/serialized_test_util.py [1247/3154] Generating python/session_test.py [1248/3154] Generating python/session.py [1249/3154] Generating python/sparse_to_dense_mask_test.py [1250/3154] Generating python/sparse_to_dense_test.py [1251/3154] Generating python/task.py [1252/3154] Generating python/task_test.py [1253/3154] Generating python/test/__init__.py [1254/3154] Generating python/test/blob_deallocation_test.py [1255/3154] Generating python/test/do_op_test.py [1256/3154] Generating python/test/executor_test.py [1257/3154] Generating python/test/executor_test_util.py [1258/3154] Generating python/test/inference_lstm_op_test.py [1259/3154] Generating python/test/python_protobuf_test.py [1260/3154] Generating python/test_util.py [1261/3154] Generating python/text_file_reader.py [1262/3154] Generating python/timeout_guard.py [1263/3154] Generating python/toy_regression_test.py [1264/3154] Generating python/transformations.py [1265/3154] Generating python/transformations_test.py [1266/3154] Generating python/trt/test_trt.py [1267/3154] Generating python/trt/transform.py [1268/3154] Generating python/trt/__init__.py [1269/3154] Generating python/tt_core.py [1270/3154] Generating python/tt_core_test.py [1271/3154] Generating python/utils.py [1272/3154] Generating python/utils_test.py [1273/3154] Generating python/visualize.py [1274/3154] Generating python/workspace.py [1275/3154] Generating python/workspace_test.py [1276/3154] Generating quantization/server/__init__.py [1277/3154] Generating quantization/__init__.py [1278/3154] Generating quantization/server/batch_matmul_dnnlowp_op_test.py [1279/3154] Generating quantization/server/batch_permutation_dnnlowp_op_test.py [1280/3154] Generating quantization/server/concat_dnnlowp_op_test.py [1281/3154] Generating quantization/server/channel_shuffle_dnnlowp_op_test.py [1282/3154] Generating quantization/server/conv_dnnlowp_acc16_op_test.py [1283/3154] Generating quantization/server/conv_groupwise_dnnlowp_acc16_op_test.py [1284/3154] Generating quantization/server/conv_dnnlowp_op_test.py [1285/3154] Generating quantization/server/conv_depthwise_dnnlowp_op_test.py [1286/3154] Generating quantization/server/conv_groupwise_dnnlowp_op_test.py [1287/3154] Generating quantization/server/dequantize_dnnlowp_op_test.py [1288/3154] Generating quantization/server/dnnlowp_test_utils.py [1289/3154] Generating quantization/server/elementwise_add_dnnlowp_op_test.py [1290/3154] Generating quantization/server/elementwise_linear_dnnlowp_op_test.py [1291/3154] Generating quantization/server/elementwise_mul_dnnlowp_op_test.py [1292/3154] Generating quantization/server/elementwise_sum_dnnlowp_op_test.py [1293/3154] Generating quantization/server/fully_connected_dnnlowp_op_test.py [1294/3154] Generating quantization/server/fully_connected_dnnlowp_acc16_op_test.py [1295/3154] Generating quantization/server/fully_connected_fp16_test.py [1296/3154] Generating quantization/server/fully_connected_rowwise_dnnlowp_op_test.py [1297/3154] Generating quantization/server/gather_dnnlowp_op_test.py [1298/3154] Generating quantization/server/group_norm_dnnlowp_op_test.py [1299/3154] Generating quantization/server/observer_test.py [1300/3154] Generating quantization/server/lstm_unit_dnnlowp_op_test.py [1301/3154] Generating quantization/server/pool_dnnlowp_op_test.py [1302/3154] Generating quantization/server/relu_dnnlowp_op_test.py [1303/3154] Generating quantization/server/resize_nearest_dnnlowp_op_test.py [1304/3154] Generating quantization/server/quantize_dnnlowp_op_test.py [1305/3154] Generating quantization/server/sigmoid_dnnlowp_op_test.py [1306/3154] Generating quantization/server/spatial_batch_norm_dnnlowp_op_test.py [1307/3154] Generating quantization/server/tanh_dnnlowp_op_test.py [1308/3154] Generating quantization/server/utils.py [1309/3154] Building C object sleef/src/libm/CMakeFiles/mkrename.dir/mkrename.c.o [1310/3154] Building C object sleef/src/libm/CMakeFiles/mkrename_gnuabi.dir/mkrename_gnuabi.c.o [1311/3154] Linking C executable sleef/bin/mkrename [1312/3154] Linking C executable sleef/bin/mkrename_gnuabi [1313/3154] Building C object sleef/src/libm/CMakeFiles/mkmasked_gnuabi.dir/mkmasked_gnuabi.c.o [1314/3154] Building C object sleef/src/libm/CMakeFiles/mkdisp.dir/mkdisp.c.o [1315/3154] Linking C executable sleef/bin/mkmasked_gnuabi [1316/3154] Linking C executable sleef/bin/mkdisp [1317/3154] Generating renamedsp256.h [1318/3154] Generating dispavx.c [1319/3154] Generating ../../../include/sleef.h Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ sse2 Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ sse4 Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ avx Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ fma4 Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i __m256i __AVX__ avx2 Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ avx2128 Generating sleef.h: mkrename 8 16 __m512d __m512 __m256i __m512i __AVX512F__ Generating sleef.h: mkrename 8 16 __m512d __m512 __m256i __m512i __AVX512F__ avx512f [1320/3154] Generating include/renameavx512f.h Generating renameavx512f.h: mkrename 8 16 avx512f [1321/3154] Generating include/renameavx2.h Generating renameavx2.h: mkrename 4 8 avx2 [1322/3154] Generating include/renameavx2128.h Generating renameavx2128.h: mkrename 2 4 avx2128 [1323/3154] Generating include/renamefma4.h Generating renamefma4.h: mkrename 4 8 fma4 [1324/3154] Generating include/renameavx.h Generating renameavx.h: mkrename 4 8 avx [1325/3154] Generating include/renamesse4.h Generating renamesse4.h: mkrename 2 4 sse4 [1326/3154] Generating include/renamesse2.h Generating renamesse2.h: mkrename 2 4 sse2 [1327/3154] Building C object sleef/src/libm/CMakeFiles/mkalias.dir/mkalias.c.o [1328/3154] Linking C executable sleef/bin/mkalias [1329/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimdsp.c.o [1330/3154] Building C object sleef/src/libm/CMakeFiles/dispavx_obj.dir/dispavx.c.o [1331/3154] Generating dispsse.c [1332/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimdsp.c.o [1333/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimddp.c.o [1334/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimddp.c.o [1335/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimdsp.c.o [1336/3154] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimdsp.c.o [1337/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimddp.c.o [1338/3154] Generating alias_avx512f.h [1339/3154] Building CXX object c10/test/CMakeFiles/c10_intrusive_ptr_test.dir/util/intrusive_ptr_test.cpp.o [1340/3154] Linking CXX executable bin/c10_intrusive_ptr_test [1341/3154] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/ExtensionBackendRegistration.h, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.h, ../aten/src/ATen/MSNPUType.cpp, ../aten/src/ATen/MSNPUType.h, ../aten/src/ATen/MkldnnCPUType.cpp, ../aten/src/ATen/MkldnnCPUType.h, ../aten/src/ATen/NativeFunctions.h, ../aten/src/ATen/QuantizedCPUType.cpp, ../aten/src/ATen/QuantizedCPUType.h, ../aten/src/ATen/RegistrationDeclarations.h, ../aten/src/ATen/SparseCPUType.cpp, ../aten/src/ATen/SparseCPUType.h, ../aten/src/ATen/TypeDefault.cpp, ../aten/src/ATen/TypeDefault.h, ../aten/src/ATen/XLAType.cpp, ../aten/src/ATen/XLAType.h, ../aten/src/ATen/CUDAType.cpp, ../aten/src/ATen/CUDAType.h, ../aten/src/ATen/LegacyTHFunctionsCUDA.cpp, ../aten/src/ATen/LegacyTHFunctionsCUDA.h, ../aten/src/ATen/SparseCUDAType.cpp, ../aten/src/ATen/SparseCUDAType.h [1342/3154] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimddp.c.o [1343/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimdsp.c.o [1344/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimddp.c.o [1345/3154] Generating contrib/aten/aten_op.h Skipping backward Because of Ret: void (void) Skipping backward Because of Ret: void (void) Skipping backward Because of Ret: void (void) Skipping backward Because of Ret: void (void) Skipping set_data Because of Ret: void (void) Skipping _cudnn_rnn_backward Because of Arg: std::array&lt;bool,4&gt; (std::array&lt;bool,4&gt;) Skipping _cudnn_init_dropout_state because it is a factory method Skipping _fused_dropout Because of Arg: Generator * (Generator *) Skipping _sobol_engine_draw Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping arange because it is a factory method Skipping argmax Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping argmax Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping argmin Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping argmin Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping as_strided Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping bartlett_window because it is a factory method Skipping bernoulli Because of Arg: Generator * (Generator *) Skipping bernoulli Because of Arg: Generator * (Generator *) Skipping blackman_window because it is a factory method Skipping clamp Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping clamp Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping contiguous Because of Arg: MemoryFormat (MemoryFormat) Skipping cumsum Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping cumprod Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping einsum Because of Arg: std::string (std::string) Skipping empty because it is a factory method Skipping _empty_affine_quantized because it is a factory method Skipping empty_like because it is a factory method Skipping empty_strided because it is a factory method Skipping eye because it is a factory method Skipping full because it is a factory method Skipping full_like because it is a factory method Skipping from_file because it is a factory method Skipping hann_window because it is a factory method Skipping hamming_window because it is a factory method Skipping _cufft_set_plan_cache_max_size Because of Ret: void (void) Skipping _cufft_clear_plan_cache Because of Ret: void (void) Skipping fbgemm_linear_quantize_weight Because of Ret: double (double) Skipping linspace because it is a factory method Skipping logspace because it is a factory method Skipping log_softmax Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping mean Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping mean Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping miopen_rnn_backward Because of Arg: std::array&lt;bool,4&gt; (std::array&lt;bool,4&gt;) Skipping ones because it is a factory method Skipping ones_like because it is a factory method Skipping scalar_tensor because it is a factory method Skipping rand because it is a factory method Skipping rand_like because it is a factory method Skipping randint because it is a factory method Skipping randint_like because it is a factory method Skipping randn because it is a factory method Skipping randn_like because it is a factory method Skipping randperm because it is a factory method Skipping range because it is a factory method Skipping repeat_interleave Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping repeat_interleave Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping rrelu Because of Arg: Generator * (Generator *) Skipping softmax Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping sum Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping sum Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping prod Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping prod Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping unique_consecutive Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping zeros because it is a factory method Skipping zeros_like because it is a factory method Skipping _standard_gamma Because of Arg: Generator * (Generator *) Skipping _sample_dirichlet Because of Arg: Generator * (Generator *) Skipping poisson Because of Arg: Generator * (Generator *) Skipping _sparse_sum Because of Arg: ScalarType (ScalarType) Skipping _sparse_sum Because of Arg: ScalarType (ScalarType) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping sparse_coo_tensor because it is a factory method Skipping _sparse_coo_tensor_unsafe because it is a factory method Skipping _sparse_coo_tensor_with_dims because it is a factory method Skipping _sparse_coo_tensor_with_dims_and_tensors because it is a factory method Skipping quantize_linear Because of Arg: ScalarType (ScalarType) Skipping quantize_linear_per_channel Because of Arg: ScalarType (ScalarType) Skipping _dequantize_linear Because of Arg: ScalarType (ScalarType) Skipping q_scale Because of Ret: double (double) Skipping qscheme Because of Ret: QScheme (QScheme) Skipping to because it is a factory method Skipping quantized_lstm Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping cross Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping tril_indices because it is a factory method Skipping triu_indices because it is a factory method Skipping multinomial Because of Arg: Generator * (Generator *) Skipping _multinomial_alias_draw Because of Arg: Generator * (Generator *) Skipping normal because it is a factory method Skipping rrelu_with_noise Because of Arg: Generator * (Generator *) Skipping avg_pool2d Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping avg_pool2d_backward Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping avg_pool3d Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping avg_pool3d_backward Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) [1346/3154] Generating renamedsp128.h [1347/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimdsp.c.o [1348/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimddp.c.o [1349/3154] Building C object sleef/src/libm/CMakeFiles/dispsse_obj.dir/dispsse.c.o [1350/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefld.c.o [1351/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefqp.c.o [1352/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefdp.c.o [1353/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefsp.c.o [1354/3154] Building C object sleef/src/common/CMakeFiles/arraymap.dir/arraymap.c.o [1355/3154] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o [1356/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/caffe2.proto [1357/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/caffe2_legacy.proto [1358/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/hsm.proto [1359/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/metanet.proto [1360/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/predictor_consts.proto [1361/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/prof_dag.proto [1362/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/torch.proto [1363/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimddp.c.o [1364/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimdsp.c.o [1365/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o [1366/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o [1367/3154] Linking C static library sleef/lib/libsleef.a [1368/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o [1369/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o [1370/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o [1371/3154] Generating ../../torch/csrc/autograd/generated/Functions.cpp, ../../torch/csrc/autograd/generated/VariableType_0.cpp, ../../torch/csrc/autograd/generated/VariableType_1.cpp, ../../torch/csrc/autograd/generated/VariableType_2.cpp, ../../torch/csrc/autograd/generated/VariableType_3.cpp, ../../torch/csrc/autograd/generated/VariableType_4.cpp, ../../torch/csrc/jit/generated/register_aten_ops_0.cpp, ../../torch/csrc/jit/generated/register_aten_ops_1.cpp, ../../torch/csrc/jit/generated/register_aten_ops_2.cpp, ../../torch/csrc/nn/THNN.cpp, ../../torch/csrc/nn/THCUNN.cpp, ../../torch/csrc/autograd/generated/VariableType.h, ../../torch/csrc/autograd/generated/Functions.h, ../../torch/csrc/autograd/generated/variable_factories.h, ../../torch/csrc/autograd/generated/python_functions.cpp, ../../torch/csrc/autograd/generated/python_variable_methods.cpp, ../../torch/csrc/autograd/generated/python_torch_functions.cpp, ../../torch/csrc/autograd/generated/python_nn_functions.cpp, ../../torch/csrc/autograd/generated/python_functions.h, ../../torch/csrc/autograd/generated/python_variable_methods_dispatch.h, ../../torch/csrc/autograd/generated/python_torch_functions_dispatch.h, ../../torch/csrc/autograd/generated/python_nn_functions.h, ../../torch/csrc/autograd/generated/python_nn_functions_dispatch.h Writing torch/csrc/nn/THNN.cpp Writing torch/csrc/nn/THCUNN.cpp Writing torch/csrc/autograd/generated/python_functions.h Writing torch/csrc/autograd/generated/python_functions.cpp Writing torch/csrc/autograd/generated/python_variable_methods.cpp Writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h Writing torch/csrc/autograd/generated/python_torch_functions.cpp Writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h Writing torch/csrc/autograd/generated/python_nn_functions.cpp Writing torch/csrc/autograd/generated/python_nn_functions.h Writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h Writing torch/csrc/autograd/generated/VariableType.h Writing torch/csrc/autograd/generated/VariableType_0.cpp Writing torch/csrc/autograd/generated/VariableType_1.cpp Writing torch/csrc/autograd/generated/VariableType_2.cpp Writing torch/csrc/autograd/generated/VariableType_3.cpp Writing torch/csrc/autograd/generated/VariableType_4.cpp Writing torch/csrc/autograd/generated/VariableTypeEverything.cpp Writing torch/csrc/autograd/generated/Functions.h Writing torch/csrc/autograd/generated/Functions.cpp Writing torch/csrc/autograd/generated/variable_factories.h Writing torch/csrc/jit/generated/register_aten_ops_0.cpp Writing torch/csrc/jit/generated/register_aten_ops_1.cpp Writing torch/csrc/jit/generated/register_aten_ops_2.cpp [1372/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o [1373/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o [1374/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o [1375/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o [1376/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o [1377/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o [1378/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o [1379/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/adagrad_avx.cc.o [1380/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o [1381/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o [1382/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o [1383/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o [1384/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o [1385/3154] Linking CXX static library lib/libCaffe2_perfkernels_avx2.a [1386/3154] Linking CXX static library lib/libcaffe2_protos.a [1387/3154] Linking CXX static library lib/libCaffe2_perfkernels_avx512.a [1388/3154] Linking CXX static library lib/libCaffe2_perfkernels_avx.a [1389/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o [1390/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o [1391/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o [1392/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o [1393/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o [1394/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o [1395/3154] Generating ../../../torch/__init__.pyi, ../../../torch/nn/functional.pyi Writing ./torch/__init__.pyi Writing ./torch/nn/functional.pyi [1396/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_cosine_embedding_criterion_op.cu.o [1397/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lengths_pad_op.cu.o [1398/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_cross_entropy_op.cu.o [1399/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCSleep.cu.o [1400/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorScatterGather.cu.o [1401/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCReduceApplyUtils.cu.o [1402/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_one_hot_ops.cu.o [1403/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCBlas.cu.o [1404/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_moments_op.cu.o [1405/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_minmax_ops.cu.o [1406/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCStorage.cu.o [1407/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCStorageCopy.cu.o [1408/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensor.cu.o [1409/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareFloat.cu.o [1410/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorCopy.cu.o [1411/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTChar.cu.o [1412/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceByte.cu.o [1413/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMath.cu.o [1414/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathBlas.cu.o [1415/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathMagma.cu.o [1416/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathReduce.cu.o [1417/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_margin_ranking_criterion_op.cu.o [1418/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortChar.cu.o [1419/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorRandom.cu.o [1420/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathScan.cu.o [1421/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathPairwise.cu.o [1422/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseByte.cu.o [1423/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorSort.cu.o [1424/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCSortUtils.cu.o [1425/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortByte.cu.o [1426/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorTopK.cu.o [1427/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareByte.cu.o [1428/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTByte.cu.o [1429/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorIndex.cu.o [1430/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseChar.cu.o [1431/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTFloat.cu.o [1432/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedByte.cu.o [1433/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Col2Im.cu.o [1434/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lstm_unit_op_gpu.cu.o [1435/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareChar.cu.o [1436/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceChar.cu.o [1437/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMode.cu.o [1438/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedChar.cu.o [1439/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortShort.cu.o [1440/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareShort.cu.o [1441/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTShort.cu.o [1442/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceShort.cu.o [1443/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseShort.cu.o [1444/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedShort.cu.o [1445/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortInt.cu.o [1446/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareInt.cu.o [1447/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTInt.cu.o [1448/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseInt.cu.o [1449/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceInt.cu.o [1450/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedInt.cu.o [1451/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareLong.cu.o [1452/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortLong.cu.o [1453/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTLong.cu.o [1454/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceLong.cu.o [1455/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseLong.cu.o [1456/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedLong.cu.o [1457/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareHalf.cu.o [1458/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortHalf.cu.o [1459/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTHalf.cu.o [1460/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedHalf.cu.o [1461/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseHalf.cu.o [1462/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lp_pool_op.cu.o [1463/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortFloat.cu.o [1464/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceHalf.cu.o [1465/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceFloat.cu.o [1466/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_BinaryOpsKernel.cu.o [1467/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_max_pool_with_index.cu.o [1468/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ConvolutionTranspose2d.cu.o [1469/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_mean_op.cu.o [1470/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedFloat.cu.o [1471/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortDouble.cu.o [1472/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTDouble.cu.o [1473/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseFloat.cu.o [1474/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareDouble.cu.o [1475/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedDouble.cu.o [1476/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTBool.cu.o [1477/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareBool.cu.o [1478/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseDouble.cu.o [1479/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceBool.cu.o [1480/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedBool.cu.o [1481/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseBool.cu.o [1482/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_AbsCriterion.cu.o [1483/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Abs.cu.o [1484/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceDouble.cu.o [1485/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_ClassNLLCriterion.cu.o [1486/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_BCECriterion.cu.o [1487/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_ELU.cu.o [1488/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_DistKLDivCriterion.cu.o [1489/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_GatedLinearUnit.cu.o [1490/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_IndexLinear.cu.o [1491/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_HardTanh.cu.o [1492/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_L1Cost.cu.o [1493/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LeakyReLU.cu.o [1494/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LogSigmoid.cu.o [1495/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LookupTableBag.cu.o [1496/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LookupTable.cu.o [1497/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MarginCriterion.cu.o [1498/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MSECriterion.cu.o [1499/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MultiLabelMarginCriterion.cu.o [1500/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_RReLU.cu.o [1501/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MultiMarginCriterion.cu.o [1502/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Sigmoid.cu.o [1503/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SmoothL1Criterion.cu.o [1504/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SoftPlus.cu.o [1505/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SoftMarginCriterion.cu.o [1506/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialClassNLLCriterion.cu.o [1507/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_FeatureLPPooling.cu.o [1508/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SoftShrink.cu.o [1509/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialConvolutionLocal.cu.o [1510/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialCrossMapLRN.cu.o [1511/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialConvolutionMM.cu.o [1512/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialSubSampling.cu.o [1513/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialDepthwiseConvolution.cu.o [1514/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Square.cu.o [1515/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Sqrt.cu.o [1516/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Tanh.cu.o [1517/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_gelu_op.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; [1518/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_TemporalMaxPooling.cu.o [1519/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_TemporalConvolution.cu.o [1520/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_TemporalRowConvolution.cu.o [1521/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_VolumetricConvolution.cu.o [1522/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/cuda/detail/torch_generated_IndexUtils.cu.o [1523/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveAveragePooling.cu.o [1524/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_instance_norm_op.cu.o [1525/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveAveragePooling3d.cu.o [1526/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_integral_image_op.cu.o [1527/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveMaxPooling2d.cu.o [1528/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveMaxPooling3d.cu.o [1529/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_layer_norm_op.cu.o [1530/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_leaky_relu_op.cu.o [1531/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AveragePool2d.cu.o [1532/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Activation.cu.o [1533/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lengths_tile_op.cu.o [1534/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ConvolutionTranspose3d.cu.o [1535/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AveragePool3d.cu.o [1536/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_local_response_normalization_op.cu.o [1537/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_BatchLinearAlgebra.cu.o [1538/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_CUDAScalar.cu.o [1539/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_mem_query_op.cu.o [1540/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_logit_op.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; [1541/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_loss_op.cu.o [1542/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_multi_class_accuracy_op.cu.o [1543/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_normalize_ops.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; [1544/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_CrossKernel.cu.o [1545/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DilatedConvolution.cu.o [1546/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DilatedMaxPool2d.cu.o [1547/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DilatedMaxPool3d.cu.o [1548/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DistanceKernel.cu.o [1549/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Dropout.cu.o [1550/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Copy.cu.o [1551/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Embedding.cu.o [1552/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_EmbeddingBackwardKernel.cu.o [1553/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_EmbeddingBag.cu.o [1554/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_FillKernel.cu.o [1555/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_FractionalMaxPool2d.cu.o [1556/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_FractionalMaxPool3d.cu.o [1557/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_GridSampler.cu.o [1558/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Im2Col.cu.o [1559/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_IndexKernel.cu.o [1560/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_LinearAlgebra.cu.o [1561/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Indexing.cu.o [1562/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_LossCTC.cu.o [1563/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Loss.cu.o [1564/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Lerp.cu.o [1565/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_MaxUnpooling.cu.o /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:105:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:186:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:198:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:198:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:198:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:273:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:273:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:273:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:365:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:365:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:365:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:377:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:468:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:482:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:482:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:482:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:581:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:581:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:581:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ [1566/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_RangeFactories.cu.o [1567/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Normalization.cu.o [1568/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_RNN.cu.o [1569/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Reduce.cu.o [1570/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Repeat.cu.o [1571/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ReflectionPad.cu.o [1572/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ReplicationPadding.cu.o [1573/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Resize.cu.o [1574/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SoftMax.cu.o [1575/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SparseMM.cu.o [1576/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ReduceOpsKernel.cu.o [1577/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SpectralOps.cu.o [1578/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SortingKthValue.cu.o [1579/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SummaryOps.cu.o [1580/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_TensorTransformations.cu.o /src/pytorch/aten/src/ATen/native/cuda/TensorTransformations.cu(15): warning: variable &quot;at::native::AT_APPLY_THREADS_PER_BLOCK&quot; was declared but never referenced /src/pytorch/aten/src/ATen/native/cuda/TensorTransformations.cu(16): warning: variable &quot;at::native::AT_APPLY_BLOCKS_PER_SM&quot; was declared but never referenced [1581/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UnaryOpsKernel.cu.o [1582/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_TensorFactories.cu.o [1583/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleBicubic2d.cu.o [1584/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleBilinear2d.cu.o [1585/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleLinear1d.cu.o [1586/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_TensorCompare.cu.o [1587/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleNearest1d.cu.o [1588/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Distributions.cu.o [1589/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleNearest2d.cu.o [1590/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleNearest3d.cu.o [1591/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/sparse/cuda/torch_generated_SparseCUDABlas.cu.o [1592/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleTrilinear3d.cu.o [1593/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_WeightNorm.cu.o [1594/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/sparse/cuda/torch_generated_SparseCUDATensorMath.cu.o [1595/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/sparse/cuda/torch_generated_SparseCUDATensor.cu.o [1596/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/quantized/cuda/torch_generated_fake_quantize_per_tensor_affine.cu.o [1597/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_broadcast.cu.o [1598/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/core/torch_generated_context_gpu.cu.o [1599/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_transpose.cu.o [1600/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_elementwise.cu.o [1601/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_reduce.cu.o [1602/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Unique.cu.o [1603/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_channelwise_conv3d_op_cudnn.cu.o FAILED: caffe2/CMakeFiles/torch.dir/operators/torch_generated_channelwise_conv3d_op_cudnn.cu.o cd /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators &amp;&amp; /root/miniconda3/envs/torchbeast/bin/cmake -E make_directory /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/. &amp;&amp; /root/miniconda3/envs/torchbeast/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_channelwise_conv3d_op_cudnn.cu.o -D generated_cubin_file:STRING=/src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_channelwise_conv3d_op_cudnn.cu.o.cubin.txt -P /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/torch_generated_channelwise_conv3d_op_cudnn.cu.o.Release.cmake /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(102): error: identifier &quot;__ldg&quot; is undefined /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(123): error: identifier &quot;__ldg&quot; is undefined /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(102): error: identifier &quot;__ldg&quot; is undefined detected during instantiation of &quot;void caffe2::DepthwiseConv3dGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]&quot; (380): here /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(123): error: identifier &quot;__ldg&quot; is undefined detected during instantiation of &quot;void caffe2::DepthwiseConv3dGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]&quot; (380): here /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(184): error: identifier &quot;__ldg&quot; is undefined detected during instantiation of &quot;void caffe2::DepthwiseConv3dBackpropFilterGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]&quot; (505): here /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(303): error: identifier &quot;__ldg&quot; is undefined detected during instantiation of &quot;void caffe2::DepthwiseConv3dBackpropInputGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]&quot; (515): here 6 errors detected in the compilation of &quot;/tmp/tmpxft_00002dce_00000000-14_channelwise_conv3d_op_cudnn.compute_30.cpp1.ii&quot;. CMake Error at torch_generated_channelwise_conv3d_op_cudnn.cu.o.Release.cmake:279 (message): Error generating file /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_channelwise_conv3d_op_cudnn.cu.o [1604/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_depthwise_3x3_conv_op_cudnn.cu.o [1605/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_spatial_batch_norm_op_cudnn.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function &quot;Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]&quot; [1606/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/torch_generated_math_gpu.cu.o ninja: build stopped: subcommand failed. Building wheel torch-1.2.0a0+54a63e0 -- Building version 1.2.0a0+54a63e0 cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/src/pytorch/torch -DCMAKE_PREFIX_PATH=/root/miniconda3/envs/torchbeast -DNUMPY_INCLUDE_DIR=/root/miniconda3/envs/torchbeast/lib/python3.7/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/root/miniconda3/envs/torchbeast/bin/python -DPYTHON_INCLUDE_DIR=/root/miniconda3/envs/torchbeast/include/python3.7m -DPYTHON_LIBRARY=/root/miniconda3/envs/torchbeast/lib/libpython3.7m.so.1.0 -DTORCH_BUILD_VERSION=1.2.0a0+54a63e0 -DUSE_CUDA=True -DUSE_DISTRIBUTED=True -DUSE_NUMPY=True -DUSE_SYSTEM_EIGEN_INSTALL=OFF /src/pytorch cmake --build . --target install --config Release -- -j 4 Traceback (most recent call last): File &quot;setup.py&quot;, line 756, in &lt;module&gt; build_deps() File &quot;setup.py&quot;, line 325, in build_deps cmake=cmake) File &quot;/src/pytorch/tools/build_pytorch_libs.py&quot;, line 64, in build_caffe2 cmake.build(my_env) File &quot;/src/pytorch/tools/setup_helpers/cmake.py&quot;, line 321, in build self.run(build_args, my_env) File &quot;/src/pytorch/tools/setup_helpers/cmake.py&quot;, line 133, in run check_call(command, cwd=self.build_dir, env=env) File &quot;/root/miniconda3/envs/torchbeast/lib/python3.7/subprocess.py&quot;, line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '4']' returned non-zero exit status 1."><pre class="notranslate"><code class="notranslate">-- -- ******** Summary ******** -- General: -- CMake version : 3.14.0 -- CMake command : /root/miniconda3/envs/torchbeast/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler id : GNU -- C++ compiler version : 7.4.0 -- BLAS : MKL -- CXX flags : -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow -- Build type : Release -- Compile definitions : TH_BLAS_MKL;ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;MAGMA_V2;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1 -- CMAKE_PREFIX_PATH : /root/miniconda3/envs/torchbeast -- CMAKE_INSTALL_PREFIX : /src/pytorch/torch -- -- TORCH_VERSION : 1.2.0 -- CAFFE2_VERSION : 1.2.0 -- BUILD_CAFFE2_MOBILE : ON -- BUILD_ATEN_ONLY : OFF -- BUILD_BINARY : OFF -- BUILD_CUSTOM_PROTOBUF : ON -- Link local protobuf : ON -- BUILD_DOCS : OFF -- BUILD_PYTHON : True -- Python version : 3.7.5 -- Python executable : /root/miniconda3/envs/torchbeast/bin/python -- Pythonlibs version : 3.7.5 -- Python library : /root/miniconda3/envs/torchbeast/lib/libpython3.7m.so.1.0 -- Python includes : /root/miniconda3/envs/torchbeast/include/python3.7m -- Python site-packages: lib/python3.7/site-packages -- BUILD_CAFFE2_OPS : ON -- BUILD_SHARED_LIBS : ON -- BUILD_TEST : True -- INTERN_BUILD_MOBILE : -- USE_ASAN : OFF -- USE_CUDA : True -- CUDA static link : OFF -- USE_CUDNN : ON -- CUDA version : 10.1 -- cuDNN version : 7.6.5 -- CUDA root directory : /usr/local/cuda -- CUDA library : /usr/local/cuda/lib64/stubs/libcuda.so -- cudart library : /usr/local/cuda/lib64/libcudart.so -- cublas library : /usr/lib/x86_64-linux-gnu/libcublas.so -- cufft library : /usr/local/cuda/lib64/libcufft.so -- curand library : /usr/local/cuda/lib64/libcurand.so -- cuDNN library : /usr/lib/x86_64-linux-gnu/libcudnn.so.7 -- nvrtc : /usr/local/cuda/lib64/libnvrtc.so -- CUDA include path : /usr/local/cuda/include -- NVCC executable : /usr/local/cuda/bin/nvcc -- CUDA host compiler : /usr/bin/cc -- USE_TENSORRT : OFF -- USE_ROCM : OFF -- USE_EIGEN_FOR_BLAS : -- USE_FBGEMM : ON -- USE_FFMPEG : OFF -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_LEVELDB : OFF -- USE_LITE_PROTO : OFF -- USE_LMDB : OFF -- USE_METAL : OFF -- USE_MKL : ON -- USE_MKLDNN : ON -- USE_MKLDNN_CBLAS : OFF -- USE_NCCL : ON -- USE_SYSTEM_NCCL : OFF -- USE_NNPACK : ON -- USE_NUMPY : ON -- USE_OBSERVERS : ON -- USE_OPENCL : OFF -- USE_OPENCV : OFF -- USE_OPENMP : ON -- USE_TBB : OFF -- USE_PROF : OFF -- USE_QNNPACK : ON -- USE_REDIS : OFF -- USE_ROCKSDB : OFF -- USE_ZMQ : OFF -- USE_DISTRIBUTED : True -- USE_MPI : OFF -- USE_GLOO : ON -- USE_GLOO_IBVERBS : OFF -- BUILD_NAMEDTENSOR : OFF -- Public Dependencies : Threads::Threads;caffe2::mkl;caffe2::mkldnn -- Private Dependencies : qnnpack;nnpack;cpuinfo;fbgemm;fp16;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl -- Configuring done CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe linker search path for target torch because files in some directories may conflict with libraries in implicit directories: link library [libgomp.so] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): caffe2/CMakeLists.txt:564 (cuda_add_library) CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe runtime search path for target torch because files in some directories may conflict with libraries in implicit directories: runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): caffe2/CMakeLists.txt:564 (cuda_add_library) CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe linker search path for target caffe2_detectron_ops_gpu because files in some directories may conflict with libraries in implicit directories: link library [libgomp.so] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): modules/detectron/CMakeLists.txt:13 (CUDA_ADD_LIBRARY) CMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1839 (add_library): Cannot generate a safe runtime search path for target caffe2_detectron_ops_gpu because files in some directories may conflict with libraries in implicit directories: runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/7 may be hidden by files in: /root/miniconda3/envs/torchbeast/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): modules/detectron/CMakeLists.txt:13 (CUDA_ADD_LIBRARY) -- Generating done -- Build files have been written to: /src/pytorch/build [1/3154] Creating directories for 'nccl_external' [2/3154] No download step for 'nccl_external' [3/3154] No update step for 'nccl_external' [4/3154] No patch step for 'nccl_external' [5/3154] No configure step for 'nccl_external' [6/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arena.cc.o [7/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arenastring.cc.o [8/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_util.cc.o [9/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [10/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/extension_set.cc.o [11/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/implicit_weak_message.cc.o [12/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [13/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [14/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/coded_stream.cc.o [15/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/message_lite.cc.o [16/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/repeated_field.cc.o [17/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/bytestream.cc.o [18/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/io_win32.cc.o [19/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/int128.cc.o [20/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/status.cc.o [21/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/common.cc.o [22/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/statusor.cc.o [23/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [24/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [25/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [26/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/time.cc.o [27/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/code_generator.cc.o [28/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/wire_format_lite.cc.o [29/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum.cc.o [30/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/strutil.cc.o [31/3154] Linking CXX static library lib/libprotobuf-lite.a [32/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum_field.cc.o [33/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/command_line_interface.cc.o [34/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_extension.cc.o [35/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_field.cc.o [36/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_generator.cc.o [37/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_file.cc.o [38/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_map_field.cc.o [39/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_helpers.cc.o [40/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message_field.cc.o [41/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc.o [42/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc.o [43/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_service.cc.o [44/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc.o [45/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_string_field.cc.o [46/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message.cc.o [47/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum.cc.o [48/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum_field.cc.o [49/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_generator.cc.o [50/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_field_base.cc.o [51/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_helpers.cc.o [52/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_map_field.cc.o [53/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message_field.cc.o [54/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc.o [55/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message.cc.o [56/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc.o [57/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc.o [58/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc.o [59/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc.o [60/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc.o [61/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc.o [62/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_doc_comment.cc.o [63/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_context.cc.o [64/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum.cc.o [65/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field.cc.o [66/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field_lite.cc.o [67/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_lite.cc.o [68/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension.cc.o [69/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension_lite.cc.o [70/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_field.cc.o [71/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator.cc.o [72/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_file.cc.o [73/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator_factory.cc.o [74/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field.cc.o [75/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc.o [76/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_helpers.cc.o [77/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field.cc.o [78/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field_lite.cc.o [79/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message.cc.o [80/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder_lite.cc.o [81/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder.cc.o [82/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/average-pooling.c.o [83/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o [84/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field.cc.o [85/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field_lite.cc.o [86/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_lite.cc.o [87/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_name_resolver.cc.o [88/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field.cc.o [89/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field_lite.cc.o [90/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_service.cc.o [91/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_shared_code_generator.cc.o [92/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field.cc.o [93/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/well_known_types_embed.cc.o [94/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field_lite.cc.o [95/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum.cc.o [96/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc.o [97/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/js_generator.cc.o [98/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_extension.cc.o [99/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_field.cc.o [100/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o [101/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o [102/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o [103/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc.o [104/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o [105/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc.o [106/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc.o [107/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc.o [108/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.cc.o [109/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/php/php_generator.cc.o [110/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.pb.cc.o [111/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/subprocess.cc.o [112/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/ruby/ruby_generator.cc.o [113/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/zip_writer.cc.o [114/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/python/python_generator.cc.o [115/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/protoc.dir/__/src/google/protobuf/compiler/main.cc.o [116/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arena.cc.o [117/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arenastring.cc.o [118/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/parser.cc.o [119/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [120/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set.cc.o [121/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/implicit_weak_message.cc.o [122/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [123/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_util.cc.o [124/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/coded_stream.cc.o [125/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [126/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/repeated_field.cc.o [127/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/bytestream.cc.o [128/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message_lite.cc.o [129/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/io_win32.cc.o [130/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/common.cc.o [131/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/int128.cc.o [132/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/status.cc.o [133/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/statusor.cc.o [134/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [135/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [136/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [137/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/time.cc.o [138/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format_lite.cc.o [139/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/strutil.cc.o [140/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.cc.o [141/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o [142/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/importer.cc.o [143/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/api.pb.cc.o [144/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor_database.cc.o [145/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/duration.pb.cc.o [146/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/dynamic_message.cc.o [147/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.pb.cc.o [148/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.cc.o [149/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/empty.pb.cc.o [150/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/field_mask.pb.cc.o [151/3154] Performing build step for 'nccl_external' make -C src build BUILDDIR=/src/pytorch/build/nccl make[1]: Entering directory '/src/pytorch/third_party/nccl/nccl/src' Grabbing include/nccl_net.h &gt; /src/pytorch/build/nccl/include/nccl_net.h Compiling init.cc &gt; /src/pytorch/build/nccl/obj/init.o Compiling channel.cc &gt; /src/pytorch/build/nccl/obj/channel.o Compiling bootstrap.cc &gt; /src/pytorch/build/nccl/obj/bootstrap.o Compiling transport.cc &gt; /src/pytorch/build/nccl/obj/transport.o Compiling enqueue.cc &gt; /src/pytorch/build/nccl/obj/enqueue.o Compiling misc/group.cc &gt; /src/pytorch/build/nccl/obj/misc/group.o Compiling misc/nvmlwrap.cc &gt; /src/pytorch/build/nccl/obj/misc/nvmlwrap.o Compiling misc/ibvwrap.cc &gt; /src/pytorch/build/nccl/obj/misc/ibvwrap.o Compiling misc/rings.cc &gt; /src/pytorch/build/nccl/obj/misc/rings.o Compiling misc/utils.cc &gt; /src/pytorch/build/nccl/obj/misc/utils.o Compiling misc/argcheck.cc &gt; /src/pytorch/build/nccl/obj/misc/argcheck.o Generating nccl.h.in &gt; /src/pytorch/build/nccl/include/nccl.h Compiling misc/trees.cc &gt; /src/pytorch/build/nccl/obj/misc/trees.o Compiling misc/topo.cc &gt; /src/pytorch/build/nccl/obj/misc/topo.o Compiling transport/p2p.cc &gt; /src/pytorch/build/nccl/obj/transport/p2p.o Compiling transport/shm.cc &gt; /src/pytorch/build/nccl/obj/transport/shm.o Compiling transport/net.cc &gt; /src/pytorch/build/nccl/obj/transport/net.o Compiling transport/net_socket.cc &gt; /src/pytorch/build/nccl/obj/transport/net_socket.o Compiling transport/net_ib.cc &gt; /src/pytorch/build/nccl/obj/transport/net_ib.o Compiling collectives/all_reduce.cc &gt; /src/pytorch/build/nccl/obj/collectives/all_reduce.o Compiling collectives/all_gather.cc &gt; /src/pytorch/build/nccl/obj/collectives/all_gather.o Compiling collectives/broadcast.cc &gt; /src/pytorch/build/nccl/obj/collectives/broadcast.o Compiling collectives/reduce.cc &gt; /src/pytorch/build/nccl/obj/collectives/reduce.o Compiling collectives/reduce_scatter.cc &gt; /src/pytorch/build/nccl/obj/collectives/reduce_scatter.o make[2]: Entering directory '/src/pytorch/third_party/nccl/nccl/src/collectives/device' Generating nccl.pc.in &gt; /src/pytorch/build/nccl/lib/pkgconfig/nccl.pc Generating rules &gt; /src/pytorch/build/nccl/obj/collectives/device/Makefile.rules Compiling functions.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/functions.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_sum_f64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_prod_f64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_min_f64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_i8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_u8.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_i32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_u32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_i64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_u64.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_f16.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_f32.o Compiling reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_max_f64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_sum_f64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_prod_f64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_min_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_i8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_u8.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_i32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_u32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_i64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_u64.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_f16.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_f32.o Compiling reduce_scatter.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/reduce_scatter_max_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_sum_f64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_prod_f64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_min_f64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_i8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_u8.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_i32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_u32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_i64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_u64.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_f16.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_f32.o Compiling all_reduce.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_reduce_max_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_sum_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_prod_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_min_f64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_i8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_u8.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_i32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_u32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_i64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_u64.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_f16.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_f32.o Compiling all_gather.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/all_gather_max_f64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_i32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_u32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_i64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_u64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_f16.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_f32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_sum_f64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_i32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_u32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_i64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_u64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_f16.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_f32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_prod_f64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_i32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_u32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_i64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_u64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_f16.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_f32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_min_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_i8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_u8.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_i32.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_u32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_i64.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_u64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_f16.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_f32.o Compiling broadcast.cu &gt; /src/pytorch/build/nccl/obj/collectives/device/broadcast_max_f64.o ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored ptxas warning : Too big maxrregcount value specified 96, will be ignored Archiving objects &gt; /src/pytorch/build/nccl/obj/collectives/device/colldevice.a make[2]: Leaving directory '/src/pytorch/third_party/nccl/nccl/src/collectives/device' Linking libnccl.so.2.4.8 &gt; /src/pytorch/build/nccl/lib/libnccl.so.2.4.8 Archiving libnccl_static.a &gt; /src/pytorch/build/nccl/lib/libnccl_static.a /src/pytorch/third_party/nccl/nccl/src make[1]: Leaving directory '/src/pytorch/third_party/nccl/nccl/src' [152/3154] No install step for 'nccl_external' [153/3154] Completed 'nccl_external' [154/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_reflection.cc.o [155/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven.cc.o [156/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set_heavy.cc.o [157/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/gzip_stream.cc.o [158/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/strtod.cc.o [159/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl.cc.o [160/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/tokenizer.cc.o [161/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/printer.cc.o [162/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/service.cc.o [163/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/reflection_ops.cc.o [164/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/map_field.cc.o [165/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/source_context.pb.cc.o [166/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/mathlimits.cc.o [167/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message.cc.o [168/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/substitute.cc.o [169/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/timestamp.pb.cc.o [170/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/struct.pb.cc.o [171/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/unknown_field_set.cc.o [172/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/delimited_message_util.cc.o [173/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/type.pb.cc.o [174/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_comparator.cc.o [175/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/text_format.cc.o [176/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/error_listener.cc.o [177/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_mask_util.cc.o [178/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/datapiece.cc.o [179/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_escaping.cc.o [180/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [181/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/field_mask_utility.cc.o [182/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/object_writer.cc.o [183/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_objectwriter.cc.o [184/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_stream_parser.cc.o [185/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/proto_writer.cc.o [186/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info.cc.o [187/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectsource.cc.o [188/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [189/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info_test_helper.cc.o [190/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/utility.cc.o [191/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/json_util.cc.o [192/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/time_util.cc.o [193/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/type_resolver_util.cc.o [194/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/add.c.o [195/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/init.c.o [196/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wrappers.pb.cc.o [197/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/message_differencer.cc.o [198/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o [199/3154] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format.cc.o [200/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/clamp.c.o [201/3154] Linking CXX static library lib/libprotobuf.a [202/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/deconvolution.c.o [203/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/convolution.c.o [204/3154] Linking CXX static library lib/libprotoc.a [205/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/fully-connected.c.o [206/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o [207/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o [208/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/leaky-relu.c.o [209/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/max-pooling.c.o [210/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sigmoid.c.o [211/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/softargmax.c.o [212/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-delete.c.o [213/3154] Linking CXX executable bin/protoc [214/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/indirection.c.o [215/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o [216/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-run.c.o [217/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o [218/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o [219/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o [220/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o [221/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o [222/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o [223/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o [224/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o [225/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o [226/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o [227/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o [228/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o [229/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o [230/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o [231/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o [232/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o [233/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o [234/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o [235/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o [236/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o [237/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o [238/3154] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o [239/3154] Building C object confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_fatal’: ../third_party/QNNPACK/deps/clog/src/clog.c:120:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_error’: ../third_party/QNNPACK/deps/clog/src/clog.c:196:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_warning’: ../third_party/QNNPACK/deps/clog/src/clog.c:272:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_info’: ../third_party/QNNPACK/deps/clog/src/clog.c:348:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_debug’: ../third_party/QNNPACK/deps/clog/src/clog.c:424:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [240/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/init.c.o [241/3154] Linking C static library lib/libclog.a [242/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/init.c.o [243/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/api.c.o [244/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/info.c.o [245/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/vendor.c.o [246/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/uarch.c.o [247/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/topology.c.o [248/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/isa.c.o [249/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/name.c.o [250/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/descriptor.c.o [251/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/init.c.o [252/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/deterministic.c.o [253/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/smallfile.c.o [254/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/cpuinfo.c.o [255/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/multiline.c.o [256/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/current.c.o [257/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/init.c.o [258/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/init.c.o [259/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/cpulist.c.o [260/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/processors.c.o [261/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/init.c.o [262/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/info.c.o [263/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/api.c.o [264/3154] Linking C static library lib/libcpuinfo_internals.a [265/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/vendor.c.o [266/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/uarch.c.o [267/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/topology.c.o [268/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/init.c.o [269/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/isa.c.o [270/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/descriptor.c.o [271/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/name.c.o [272/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/deterministic.c.o [273/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/cpuinfo.c.o [274/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/smallfile.c.o [275/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/multiline.c.o [276/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/current.c.o [277/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/init.c.o [278/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/cpulist.c.o [279/3154] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/processors.c.o [280/3154] Linking C static library lib/libcpuinfo.a [281/3154] Linking C static library lib/libqnnpack.a [282/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-input-gradient.c.o [283/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-output.c.o [284/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-kernel.c.o [285/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/max-pooling-output.c.o [286/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/softmax-output.c.o [287/3154] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o [288/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/fully-connected-output.c.o [289/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-input-gradient.c.o [290/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-output.c.o [291/3154] Linking C static library lib/libpthreadpool.a [292/3154] Linking C static library lib/libnnpack_reference_layers.a [293/3154] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [294/3154] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [295/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder_utils.cpp.o [296/3154] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [297/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o [298/3154] Generating src/x86_64-fma/2d-fourier-8x8.py.o [299/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nchw_pooling.cpp.o [300/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o [301/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o [302/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o [303/3154] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [304/3154] Linking CXX static library lib/libgtest.a [305/3154] Linking CXX static library lib/libgmock.a [306/3154] Linking CXX static library lib/libgmock_main.a [307/3154] Linking CXX static library lib/libgtest_main.a [308/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o [309/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o [310/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o [311/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o [312/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o [313/3154] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o [314/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o [315/3154] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o [316/3154] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o [317/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [318/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o [319/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o [320/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmFP16UKernelsAvx2.cc.o [321/3154] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [322/3154] Linking CXX static library lib/libbenchmark.a [323/3154] Linking CXX static library lib/libbenchmark_main.a [324/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/OptimizedKernelsAvx2.cc.o [325/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/UtilsAvx2.cc.o [326/3154] Generating src/x86_64-fma/2d-fourier-16x16.py.o [327/3154] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o [328/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernel.cc.o [329/3154] Generating src/x86_64-fma/blas/s8gemm.py.o [330/3154] Generating src/x86_64-fma/blas/c8gemm.py.o [331/3154] Generating src/x86_64-fma/blas/s4c6gemm.py.o [332/3154] Generating src/x86_64-fma/blas/conv1x1.py.o [333/3154] Generating src/x86_64-fma/blas/sgemm.py.o [334/3154] Generating src/x86_64-fma/max-pooling.py.o [335/3154] Generating src/x86_64-fma/relu.py.o [336/3154] Generating src/x86_64-fma/softmax.py.o [337/3154] Generating src/x86_64-fma/blas/sdotxf.py.o [338/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/QuantUtilsAvx2.cc.o [339/3154] Generating src/x86_64-fma/blas/shdotxf.py.o [340/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernelU8S8.cc.o [341/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/init.c.o [342/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-inference.c.o [343/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/pooling-output.c.o [344/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-output.c.o [345/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/softmax-output.c.o [346/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-inference.c.o [347/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-output.c.o [348/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-input-gradient.c.o [349/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-kernel-gradient.c.o [350/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-input-gradient.c.o [351/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/x86_64-fma/softmax.c.o [352/3154] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-output.c.o [353/3154] Linking C static library lib/libnnpack.a [354/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmFP16.cc.o [355/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmI8Spmdm.cc.o [356/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmConv.cc.o [357/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16.cc.o [358/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Fbgemm.cc.o [359/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512.cc.o [360/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32.cc.o [361/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512.cc.o [362/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAMatrix.cc.o [363/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithIm2Col.cc.o [364/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackBMatrix.cc.o [365/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithQuantRowOffset.cc.o [366/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackMatrix.cc.o [367/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithRowOffset.cc.o [368/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightMatrixForGConv.cc.o [369/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightsForConv.cc.o [370/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/QuantUtils.cc.o [371/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GroupwiseConvAcc32Avx2.cc.o [372/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Utils.cc.o [373/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/src/UtilsAvx512.cc.o [374/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/arch.cpp.o [375/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/assembler.cpp.o [376/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codebuilder.cpp.o [377/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/RefImplementations.cc.o [378/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codecompiler.cpp.o [379/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codeemitter.cpp.o [380/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/codeholder.cpp.o [381/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/constpool.cpp.o [382/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/cpuinfo.cpp.o [383/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/globals.cpp.o [384/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/inst.cpp.o [385/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/logging.cpp.o [386/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/operand.cpp.o [387/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/osutils.cpp.o [388/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/runtime.cpp.o [389/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/regalloc.cpp.o [390/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/func.cpp.o [391/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/utils.cpp.o [392/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/string.cpp.o [393/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/vmem.cpp.o [394/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/base/zone.cpp.o [395/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86builder.cpp.o [396/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86compiler.cpp.o [397/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86inst.cpp.o [398/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86assembler.cpp.o [399/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86internal.cpp.o [400/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instimpl.cpp.o [401/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86operand.cpp.o [402/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86logging.cpp.o [403/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86operand_regs.cpp.o [404/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o [405/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o [406/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o [407/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o [408/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o [409/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o [410/3154] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86regalloc.cpp.o [411/3154] Linking CXX static library lib/libasmjit.a [412/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o [413/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o [414/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o [415/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o [416/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o [417/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o [418/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o [419/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o [420/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o [421/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o [422/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o [423/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o [424/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o [425/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o [426/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o [427/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o [428/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o [429/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o [430/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o [431/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o [432/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o [433/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o [434/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o [435/3154] Running gen_proto.py on onnx/onnx.in.proto Processing /src/pytorch/third_party/onnx/onnx/onnx.in.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto3 Writing /src/pytorch/build/third_party/onnx/onnx/onnx-ml.pb.h generating /src/pytorch/build/third_party/onnx/onnx/onnx_pb.py [436/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o [437/3154] Building C object third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o [438/3154] Linking C static library lib/libfoxi_loader.a [439/3154] Running C++ protocol buffer compiler on /src/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto [440/3154] Running gen_proto.py on onnx/onnx-operators.in.proto Processing /src/pytorch/third_party/onnx/onnx/onnx-operators.in.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto Writing /src/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto3 Writing /src/pytorch/build/third_party/onnx/onnx/onnx-operators-ml.pb.h generating /src/pytorch/build/third_party/onnx/onnx/onnx_operators_pb.py [441/3154] Running C++ protocol buffer compiler on /src/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto [442/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o [443/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o [444/3154] Linking CXX static library lib/libgloo.a [445/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o [446/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o [447/3154] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda_private.cu.o /src/pytorch/third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaSetDevice(previous_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda_private.cu: In instantiation of ‘gloo::CudaMemory&lt;T&gt;::~CudaMemory() [with T = float]’: /src/pytorch/third_party/gloo/gloo/cuda_private.cu:91:16: required from here /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(ptr_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda_private.cu: In instantiation of ‘gloo::CudaMemory&lt;T&gt;::~CudaMemory() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/cuda_private.cu:92:16: required from here /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/cuda_private.cu:86:413: note: in C++11 destructors default to noexcept [448/3154] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda.cu.o /src/pytorch/third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaSetDevice(previous_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In destructor ‘gloo::CudaStream::~CudaStream()’: /src/pytorch/third_party/gloo/gloo/cuda.cu:77:411: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaEventSynchronize(event_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:77:411: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu:78:407: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaEventDestroy(event_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:78:407: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu:81:409: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaStreamDestroy(stream_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:81:409: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = signed char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:291:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = signed char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:291:64: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = unsigned char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:292:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = unsigned char]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:292:66: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:293:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:293:63: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = long int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:294:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = long int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:294:64: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = long unsigned int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:295:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = long unsigned int]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:295:66: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:296:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:296:60: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = float]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:297:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = float]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:297:58: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaDevicePointer&lt;T&gt;::~CudaDevicePointer() [with T = double]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:298:16: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFree(device_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:220:402: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/cuda.cu: In instantiation of ‘gloo::CudaHostPointer&lt;T&gt;::~CudaHostPointer() [with T = double]’: /src/pytorch/third_party/gloo/gloo/cuda.cu:298:59: required from here /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaFreeHost(host_)); ^ /src/pytorch/third_party/gloo/gloo/cuda.cu:266:404: note: in C++11 destructors default to noexcept [449/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o [450/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o [451/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o [452/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o [453/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o [454/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o [455/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o [456/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o [457/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o [458/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o [459/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o [460/3154] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/nccl/gloo_cuda_generated_nccl.cu.o /src/pytorch/third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaSetDevice(previous_)); ^ /src/pytorch/third_party/gloo/gloo/cuda_private.h:97:421: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = signed char]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:350:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] CUDA_CHECK(cudaEventDestroy(ncclEvents[i])); ^ /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = unsigned char]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:351:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = int]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:352:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = long int]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:353:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = long unsigned int]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:354:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = gloo::float16]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:355:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = float]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:356:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu: In instantiation of ‘gloo::nccl::NCCLExecution&lt;T&gt;::~NCCLExecution() [with T = double]’: /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:357:16: required from here /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: warning: throw will always call terminate() [-Wterminate] /src/pytorch/third_party/gloo/gloo/nccl/nccl.cu:103:428: note: in C++11 destructors default to noexcept [461/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o [462/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o [463/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_local.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_local.h:12, from ../third_party/gloo/gloo/cuda_allreduce_local.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [464/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_bcube.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_bcube.h:21, from ../third_party/gloo/gloo/cuda_allreduce_bcube.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [465/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_ring.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_ring.h:12, from ../third_party/gloo/gloo/cuda_allreduce_ring.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [466/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_halving_doubling.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_halving_doubling.h:17, from ../third_party/gloo/gloo/cuda_allreduce_halving_doubling.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [467/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o [468/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o [469/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_broadcast_one_to_all.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_broadcast_one_to_all.h:12, from ../third_party/gloo/gloo/cuda_broadcast_one_to_all.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [470/3154] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 9]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] posix_memalign( ~~~~~~~~~~~~~~^ (void**)&amp;pmat_, ~~~~~~~~~~~~~~~ 64, ~~~ ((K + 31) / 32) * KERNEL_PROD_ALIGNED * 32 * sizeof(int8_t)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 27]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 1]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 2]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 3]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 4]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 5]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 10]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 11]’: ../third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc:50:17: warning: ignoring return value of ‘int posix_memalign(void**, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] [471/3154] Linking CXX static library lib/libfbgemm.a [472/3154] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_ring_chunked.cc.o In file included from ../third_party/gloo/gloo/cuda.h:20:0, from ../third_party/gloo/gloo/cuda_allreduce_ring_chunked.h:14, from ../third_party/gloo/gloo/cuda_allreduce_ring_chunked.cc:9: ../third_party/gloo/gloo/cuda_private.h: In destructor ‘gloo::CudaDeviceGuard::~CudaDeviceGuard()’: ../third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ ../third_party/gloo/gloo/common/logging.h:141:58: note: in C++11 destructors default to noexcept r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ ../third_party/gloo/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’ GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:26:5: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ( \ ^~~~~~~~~~~~~~~ ../third_party/gloo/gloo/cuda_private.h:97:5: note: in expansion of macro ‘CUDA_CHECK’ CUDA_CHECK(cudaSetDevice(previous_)); ^~~~~~~~~~ [473/3154] Linking CXX static library lib/libgloo_cuda.a [474/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o [475/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o [476/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o [477/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o [478/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o [479/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o [480/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o [481/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o [482/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o [483/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o [484/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o [485/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o [486/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o [487/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o [488/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/onnxifi_utils.cc.o [489/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o [490/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o [491/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass.cc.o [492/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_manager.cc.o [493/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_registry.cc.o [494/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o [495/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/optimize.cc.o [496/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o [497/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution.cpp.o [498/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution_pd.cpp.o [499/3154] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch-ml.pb.cc.o [500/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/deconvolution.cpp.o [501/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/eltwise.cpp.o [502/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/engine.cpp.o [503/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/inner_product.cpp.o [504/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/lrn.cpp.o [505/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory.cpp.o [506/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o [507/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/mkldnn_debug.cpp.o [508/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/pooling.cpp.o [509/3154] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch-ml.pb.cc.o [510/3154] Linking CXX static library lib/libonnx_proto.a [511/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive.cpp.o [512/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_attr.cpp.o [513/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_desc.cpp.o [514/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_iterator.cpp.o [515/3154] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o [516/3154] Linking CXX static library lib/libonnx.a [517/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/reorder.cpp.o [518/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/query.cpp.o [519/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/scratchpad.cpp.o [520/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/rnn.cpp.o [521/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/softmax.cpp.o [522/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/shuffle.cpp.o [523/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o [524/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/stream.cpp.o [525/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/verbose.cpp.o [526/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_batch_normalization_utils.cpp.o [527/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o [528/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_primitive.cpp.o [529/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_concat.cpp.o [530/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reducer.cpp.o [531/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_sum.cpp.o [532/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/gemm_utils_f32.cpp.o [533/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx512_common_gemm_f32.cpp.o [534/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_engine.cpp.o [535/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx_gemm_f32.cpp.o [536/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/gemm.cpp.o [537/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/ref_gemm_f32.cpp.o [538/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_memory.cpp.o [539/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8s8s32.cpp.o [540/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemv_s8u8s32.cpp.o [541/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp.o [542/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32_kern.cpp.o [543/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_kernel_gemv_s8u8s32_kern.cpp.o [544/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reorder.cpp.o [545/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bn_kern.cpp.o [546/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bt_kern.cpp.o [547/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_an_kern.cpp.o [548/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_at_kern.cpp.o [549/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_an_kern.cpp.o [550/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/ref_gemm_s8x8s32.cpp.o [551/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution.cpp.o [552/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_bt_kern.cpp.o [553/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_bn_kern.cpp.o [554/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_inner_product.cpp.o [555/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution_utils.cpp.o [556/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_at_kern.cpp.o [557/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_conv_kernel_f32.cpp.o [558/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_convolution.cpp.o [559/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_inner_product.cpp.o [560/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_convolution.cpp.o [561/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_conv_kernel_f32.cpp.o [562/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_convolution.cpp.o [563/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_conv_kernel.cpp.o [564/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_winograd_kernel_f32.cpp.o [565/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_convolution.cpp.o [566/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_kernel.cpp.o [567/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution_winograd.cpp.o [568/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution.cpp.o [569/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_lrn.cpp.o [570/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_2x3.cpp.o [571/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3.cpp.o [572/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_conv_kernel.cpp.o [573/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3_kernel.cpp.o [574/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_u8s8s32x_wino_convolution.cpp.o [575/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_conv_kernel.cpp.o [576/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_convolution.cpp.o [577/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_convolution.cpp.o [578/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_conv_kernel_f32.cpp.o [579/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_convolution.cpp.o [580/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_deconvolution.cpp.o [581/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_conv_kernel_f32.cpp.o [582/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_convolution.cpp.o [583/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_transpose_src_utils.cpp.o [584/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_convolution.cpp.o [585/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_conv_kernel_f32.cpp.o [586/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_batch_normalization.cpp.o [587/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_eltwise.cpp.o [588/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn.cpp.o [589/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_i8i8_pooling.cpp.o [590/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn_kernel_f32.cpp.o [591/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pool_kernel_f32.cpp.o [592/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pooling.cpp.o [593/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder.cpp.o [594/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ncsp_batch_normalization.cpp.o [595/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nhwc_pooling.cpp.o [596/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nspc_batch_normalization.cpp.o [597/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_deconvolution.cpp.o [598/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_batch_normalization.cpp.o [599/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_convolution.cpp.o [600/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_lrn.cpp.o [601/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_eltwise.cpp.o [602/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_inner_product.cpp.o [603/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_common.cpp.o [604/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_softmax.cpp.o [605/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_pooling.cpp.o [606/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_shuffle.cpp.o [607/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru.cpp.o [608/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru_lbr.cpp.o [609/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_lstm.cpp.o [610/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_rnn.cpp.o [611/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/rnn_utils.cpp.o [612/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o [613/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_sum.cpp.o [614/3154] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o [615/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_concat.cpp.o [616/3154] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o [617/3154] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o [618/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o [619/3154] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/ref_rnn.cpp.o [620/3154] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o [621/3154] Linking CXX static library lib/libmkldnn.a [622/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o [623/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o [624/3154] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o [625/3154] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o [626/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeId.cpp.o [627/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o [628/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeIdRegistration.cpp.o [629/3154] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o [630/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Array.cpp.o [631/3154] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o [632/3154] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o [633/3154] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o [634/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o [635/3154] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o [636/3154] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o [637/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o [638/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o [639/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o [640/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o [641/3154] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o [642/3154] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o [643/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Type.cpp.o [644/3154] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o [645/3154] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o [646/3154] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o [647/3154] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o [648/3154] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o [649/3154] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o [650/3154] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o [651/3154] Linking CXX shared library lib/libc10.so [652/3154] Building CXX object c10/test/CMakeFiles/c10_TensorTypeId_test.dir/core/TensorTypeId_test.cpp.o [653/3154] Building CXX object c10/test/CMakeFiles/c10_TypeList_test.dir/util/TypeList_test.cpp.o [654/3154] Linking CXX executable bin/c10_TensorTypeId_test [655/3154] Linking CXX executable bin/c10_TypeList_test [656/3154] Building CXX object c10/test/CMakeFiles/c10_flags_test.dir/util/flags_test.cpp.o [657/3154] Linking CXX executable bin/c10_flags_test [658/3154] Building CXX object c10/test/CMakeFiles/c10_Array_test.dir/util/Array_test.cpp.o [659/3154] Building CXX object c10/test/CMakeFiles/c10_Half_test.dir/util/Half_test.cpp.o [660/3154] Linking CXX executable bin/c10_Array_test [661/3154] Linking CXX executable bin/c10_Half_test [662/3154] Building CXX object c10/test/CMakeFiles/c10_StreamGuard_test.dir/core/StreamGuard_test.cpp.o [663/3154] Linking CXX executable bin/c10_StreamGuard_test [664/3154] Building CXX object c10/test/CMakeFiles/c10_registry_test.dir/util/registry_test.cpp.o [665/3154] Building CXX object c10/test/CMakeFiles/c10_LeftRight_test.dir/util/LeftRight_test.cpp.o [666/3154] Linking CXX executable bin/c10_registry_test [667/3154] Linking CXX executable bin/c10_LeftRight_test [668/3154] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o [669/3154] Linking CXX executable bin/c10_tempfile_test [670/3154] Building CXX object c10/test/CMakeFiles/c10_TypeTraits_test.dir/util/TypeTraits_test.cpp.o [671/3154] Linking CXX executable bin/c10_TypeTraits_test [672/3154] Building CXX object c10/test/CMakeFiles/c10_Metaprogramming_test.dir/util/Metaprogramming_test.cpp.o [673/3154] Linking CXX executable bin/c10_Metaprogramming_test [674/3154] Building CXX object c10/test/CMakeFiles/c10_DeviceGuard_test.dir/core/DeviceGuard_test.cpp.o [675/3154] Linking CXX executable bin/c10_DeviceGuard_test [676/3154] Building CXX object c10/test/CMakeFiles/c10_InlineDeviceGuard_test.dir/core/impl/InlineDeviceGuard_test.cpp.o [677/3154] Linking CXX executable bin/c10_InlineDeviceGuard_test [678/3154] Building CXX object c10/test/CMakeFiles/c10_InlineStreamGuard_test.dir/core/impl/InlineStreamGuard_test.cpp.o [679/3154] Building CXX object c10/test/CMakeFiles/c10_bfloat16_test.dir/util/bfloat16_test.cpp.o [680/3154] Linking CXX executable bin/c10_InlineStreamGuard_test [681/3154] Linking CXX executable bin/c10_bfloat16_test [682/3154] Building CXX object c10/test/CMakeFiles/c10_logging_test.dir/util/logging_test.cpp.o [683/3154] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o [684/3154] Linking CXX executable bin/c10_typeid_test [685/3154] Linking CXX executable bin/c10_logging_test [686/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/CUDAStream.cpp.o [687/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/CUDACachingAllocator.cpp.o [688/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/impl/CUDAGuardImpl.cpp.o [689/3154] Building CXX object c10/cuda/CMakeFiles/c10_cuda.dir/impl/CUDATest.cpp.o [690/3154] Linking CXX shared library lib/libc10_cuda.so [691/3154] Building CXX object caffe2/CMakeFiles/caffe2_nvrtc.dir/__/aten/src/ATen/cuda/nvrtc_stub/ATenNVRTC.cpp.o [692/3154] Building CXX object c10/cuda/test/CMakeFiles/c10_cuda_CUDATest.dir/impl/CUDATest.cpp.o [693/3154] Linking CXX shared library lib/libcaffe2_nvrtc.so [694/3154] Generating python/build.py [695/3154] Generating python/caffe_translator.py [696/3154] Generating python/checkpoint.py [697/3154] Linking CXX executable bin/c10_cuda_CUDATest [698/3154] Generating python/checkpoint_test.py [699/3154] Generating python/docs/generator.py [700/3154] Generating python/docs/github.py [701/3154] Generating python/docs/parser.py [702/3154] Generating python/dyndep.py [703/3154] Generating python/embedding_generation_benchmark.py [704/3154] Generating python/examples/__init__.py [705/3154] Generating python/examples/char_rnn.py [706/3154] Generating python/caffe_translator_test.py [707/3154] Generating python/convert_test.py [708/3154] Generating python/convnet_benchmarks.py [709/3154] Generating python/core.py [710/3154] Generating python/convnet_benchmarks_test.py [711/3154] Generating python/core_test.py [712/3154] Generating python/core_gradients_test.py [713/3154] Generating python/crf.py [714/3154] Generating python/crf_predict.py [715/3154] Generating python/data_parallel_model.py [716/3154] Generating python/crf_viterbi_test.py [717/3154] Generating python/dataset.py [718/3154] Generating python/db_file_reader.py [719/3154] Generating python/db_test.py [720/3154] Generating python/docs/__init__.py [721/3154] Generating python/device_checker.py [722/3154] Generating python/docs/formatter.py [723/3154] Generating __init__.py [724/3154] Generating python/cached_reader.py [725/3154] Generating contrib/__init__.py [726/3154] Generating python/control_ops_grad.py [727/3154] Generating python/control_ops_grad_test.py [728/3154] Generating python/control_ops_util.py [729/3154] Generating python/control_test.py [730/3154] Generating python/convert.py [731/3154] Generating python/cnn.py [732/3154] Generating python/compatibility.py [733/3154] Generating python/context.py [734/3154] Generating python/context_test.py [735/3154] Generating python/control.py [736/3154] Generating python/data_parallel_model_test.py [737/3154] Generating python/data_workers.py [738/3154] Generating python/data_workers_test.py [739/3154] Generating python/dataio.py [740/3154] Generating python/dataio_test.py [741/3154] Generating python/brew_test.py [742/3154] Generating contrib/aten/__init__.py [743/3154] Generating contrib/aten/aten_test.py [744/3154] Generating contrib/aten/docs/__init__.py [745/3154] Generating contrib/aten/docs/sample.py [746/3154] Generating contrib/aten/gen_op.py [747/3154] Generating contrib/gloo/__init__.py [748/3154] Generating contrib/gloo/gloo_test.py [749/3154] Generating contrib/nccl/__init__.py [750/3154] Generating contrib/nccl/nccl_ops_test.py [751/3154] Generating contrib/nnpack/__init__.py [752/3154] Generating contrib/nnpack/nnpack_ops_test.py [753/3154] Generating contrib/playground/AnyExp.py [754/3154] Generating contrib/playground/AnyExpOnTerm.py [755/3154] Generating contrib/playground/ModuleRegister.py [756/3154] Generating contrib/playground/__init__.py [757/3154] Generating contrib/playground/checkpoint.py [758/3154] Generating contrib/playground/compute_loss.py [759/3154] Generating contrib/playground/compute_topk_accuracy.py [760/3154] Generating contrib/playground/meter.py [761/3154] Generating contrib/playground/output_generator.py [762/3154] Generating contrib/playground/module_map.py [763/3154] Generating contrib/playground/resnetdemo/IN1k_resnet.py [764/3154] Generating contrib/playground/resnetdemo/IN1k_resnet_no_test_model.py [765/3154] Generating contrib/playground/resnetdemo/__init__.py [766/3154] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_forward.py [767/3154] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_param_update.py [768/3154] Generating contrib/playground/resnetdemo/explicit_resnet_forward.py [769/3154] Generating contrib/playground/resnetdemo/explicit_resnet_param_update.py [770/3154] Generating contrib/playground/resnetdemo/gfs_IN1k.py [771/3154] Generating contrib/playground/resnetdemo/override_no_test_model_no_checkpoint.py [772/3154] Generating contrib/playground/resnetdemo/rendezvous_filestore.py [773/3154] Generating contrib/prof/__init__.py [774/3154] Generating contrib/script/__init__.py [775/3154] Generating contrib/prof/cuda_profile_ops_test.py [776/3154] Generating contrib/tensorboard/__init__.py [777/3154] Generating contrib/script/examples/__init__.py [778/3154] Generating contrib/tensorboard/tensorboard_exporter.py [779/3154] Generating contrib/tensorboard/tensorboard.py [780/3154] Generating contrib/tensorboard/tensorboard_exporter_test.py [781/3154] Generating contrib/tensorboard/tensorboard_test.py [782/3154] Generating contrib/warpctc/__init__.py [783/3154] Generating contrib/warpctc/ctc_ops_test.py [784/3154] Generating core/__init__.py [785/3154] Generating core/nomnigraph/__init__.py [786/3154] Generating core/nomnigraph/op_gen.py [787/3154] Generating distributed/__init__.py [788/3154] Generating distributed/file_store_handler_op_test.py [789/3154] Generating distributed/redis_store_handler_op_test.py [790/3154] Generating distributed/store_ops_test_util.py [791/3154] Generating experiments/__init__.py [792/3154] Generating experiments/python/SparseTransformer.py [793/3154] Generating experiments/python/__init__.py [794/3154] Generating experiments/python/convnet_benchmarks.py [795/3154] Generating experiments/python/funhash_op_test.py [796/3154] Generating experiments/python/device_reduce_sum_bench.py [797/3154] Generating experiments/python/sparse_funhash_op_test.py [798/3154] Generating experiments/python/net_construct_bench.py [799/3154] Generating experiments/python/sparse_reshape_op_test.py [800/3154] Generating experiments/python/tt_contraction_op_test.py [801/3154] Generating experiments/python/tt_pad_op_test.py [802/3154] Generating perfkernels/__init__.py [803/3154] Generating perfkernels/hp_emblookup_codegen.py [804/3154] Generating proto/__init__.py [805/3154] Generating python/__init__.py [806/3154] Generating python/_import_c_extension.py [807/3154] Generating python/attention.py [808/3154] Generating python/allcompare_test.py [809/3154] Generating python/benchmark_generator.py [810/3154] Generating python/binarysize.py [811/3154] Generating python/brew.py [812/3154] Generating python/examples/imagenet_trainer.py [813/3154] Generating python/examples/lmdb_create_example.py [814/3154] Generating python/experiment_util.py [815/3154] Generating python/examples/resnet50_trainer.py [816/3154] Generating python/extension_loader.py [817/3154] Generating python/filler_test.py [818/3154] Generating python/functional_test.py [819/3154] Generating python/functional.py [820/3154] Generating python/fused_8bit_rowwise_conversion_ops_test.py [821/3154] Generating python/gradient_check_test.py [822/3154] Generating python/gradient_checker.py [823/3154] Generating python/gru_cell.py [824/3154] Generating python/helpers/__init__.py [825/3154] Generating python/helpers/algebra.py [826/3154] Generating python/helpers/arg_scope.py [827/3154] Generating python/helpers/array_helpers.py [828/3154] Generating python/helpers/control_ops.py [829/3154] Generating python/helpers/conv.py [830/3154] Generating python/helpers/db_input.py [831/3154] Generating python/helpers/dropout.py [832/3154] Generating python/helpers/elementwise_linear.py [833/3154] Generating python/helpers/nonlinearity.py [834/3154] Generating python/helpers/fc.py [835/3154] Generating python/helpers/pooling.py [836/3154] Generating python/helpers/normalization.py [837/3154] Generating python/helpers/tools.py [838/3154] Generating python/helpers/train.py [839/3154] Generating python/hip_test_util.py [840/3154] Generating python/hsm_util.py [841/3154] Generating python/hypothesis_test.py [842/3154] Generating python/hypothesis_test_util.py [843/3154] Generating python/ideep/__init__.py [844/3154] Generating python/ideep/LRN_op_test.py [845/3154] Generating python/ideep/blobs_queue_db_test.py [846/3154] Generating python/ideep/adam_op_test.py [847/3154] Generating python/ideep/channel_shuffle_op_test.py [848/3154] Generating python/ideep/concat_split_op_test.py [849/3154] Generating python/ideep/conv_op_test.py [850/3154] Generating python/ideep/conv_transpose_test.py [851/3154] Generating python/ideep/convfusion_op_test.py [852/3154] Generating python/ideep/copy_op_test.py [853/3154] Generating python/ideep/dropout_op_test.py [854/3154] Generating python/ideep/elementwise_sum_op_test.py [855/3154] Generating python/ideep/fc_op_test.py [856/3154] Generating python/ideep/expanddims_squeeze_op_test.py [857/3154] Generating python/ideep/leaky_relu_op_test.py [858/3154] Generating python/ideep/moment_sgd_op_test.py [859/3154] Generating python/ideep/operator_fallback_op_test.py [860/3154] Generating python/ideep/order_switch_op_test.py [861/3154] Generating python/ideep/pool_op_test.py [862/3154] Generating python/ideep/pre_convert_test.py [863/3154] Generating python/ideep/relu_op_test.py [864/3154] Generating python/ideep/reshape_op_test.py [865/3154] Generating python/ideep/shape_op_test.py [866/3154] Generating python/ideep/sigmoid_op_test.py [867/3154] Generating python/ideep/softmax_op_test.py [868/3154] Generating python/ideep/spatial_bn_op_test.py [869/3154] Generating python/ideep/test_ideep_net.py [870/3154] Generating python/ideep/transform_ideep_net.py [871/3154] Generating python/ideep/weightedsum_op_test.py [872/3154] Generating python/ideep/transpose_op_test.py [873/3154] Generating python/ideep_test_util.py [874/3154] Generating python/layer_model_helper.py [875/3154] Generating python/layer_model_instantiator.py [876/3154] Generating python/layer_parameter_sharing_test.py [877/3154] Generating python/layer_test_util.py [878/3154] Generating python/layers/__init__.py [879/3154] Generating python/layers/adaptive_weight.py [880/3154] Generating python/layers/add_bias.py [881/3154] Generating python/layers/batch_huber_loss.py [882/3154] Generating python/layers/arc_cosine_feature_map.py [883/3154] Generating python/layers/batch_lr_loss.py [884/3154] Generating python/layers/batch_normalization.py [885/3154] Generating python/layers/batch_mse_loss.py [886/3154] Generating python/layers/batch_sigmoid_cross_entropy_loss.py [887/3154] Generating python/layers/batch_softmax_loss.py [888/3154] Generating python/layers/blob_weighted_sum.py [889/3154] Generating python/layers/bucket_weighted.py [890/3154] Generating python/layers/build_index.py [891/3154] Generating python/layers/concat.py [892/3154] Generating python/layers/constant_weight.py [893/3154] Generating python/layers/conv.py [894/3154] Generating python/layers/fc.py [895/3154] Generating python/layers/dropout.py [896/3154] Generating python/layers/fc_without_bias.py [897/3154] Generating python/layers/feature_sparse_to_dense.py [898/3154] Generating python/layers/functional.py [899/3154] Generating python/layers/gather_record.py [900/3154] Generating python/layers/homotopy_weight.py [901/3154] Generating python/layers/label_smooth.py [902/3154] Generating python/layers/last_n_window_collector.py [903/3154] Generating python/layers/layer_normalization.py [904/3154] Generating python/layers/margin_rank_loss.py [905/3154] Generating python/layers/layers.py [906/3154] Generating python/layers/merge_id_lists.py [907/3154] Generating python/layers/pairwise_similarity.py [908/3154] Generating python/layers/position_weighted.py [909/3154] Generating python/layers/random_fourier_features.py [910/3154] Generating python/layers/reservoir_sampling.py [911/3154] Generating python/layers/sampling_train.py [912/3154] Generating python/layers/sampling_trainable_mixin.py [913/3154] Generating python/layers/select_record_by_context.py [914/3154] Generating python/layers/semi_random_features.py [915/3154] Generating python/layers/sparse_dropout_with_replacement.py [916/3154] Generating python/layers/sparse_feature_hash.py [917/3154] Generating python/layers/sparse_lookup.py [918/3154] Generating python/layers/split.py [919/3154] Generating python/layers/tags.py [920/3154] Generating python/layers/uniform_sampling.py [921/3154] Generating python/lengths_reducer_fused_8bit_rowwise_ops_test.py [922/3154] Generating python/layers_test.py [923/3154] Generating python/lengths_reducer_rowwise_8bit_ops_test.py [924/3154] Generating python/lstm_benchmark.py [925/3154] Generating python/memonger.py [926/3154] Generating python/memonger_test.py [927/3154] Generating python/mint/__init__.py [928/3154] Generating python/mint/app.py [929/3154] Generating python/mkl/__init__.py [930/3154] Generating python/mkl/mkl_LRN_speed_test.py [931/3154] Generating python/mkl/mkl_LRN_op_test.py [932/3154] Generating python/mkl/mkl_concat_op_test.py [933/3154] Generating python/mkl/mkl_conv_op_test.py [934/3154] Generating python/mkl/mkl_copy_op_test.py [935/3154] Generating python/mkl/mkl_elementwise_add_op_test.py [936/3154] Generating python/mkl/mkl_elementwise_sum_op_test.py [937/3154] Generating python/mkl/mkl_fc_op_test.py [938/3154] Generating python/mkl/mkl_fc_speed_test.py [939/3154] Generating python/mkl/mkl_fill_op_test.py [940/3154] Generating python/mkl/mkl_pool_op_test.py [941/3154] Generating python/mkl/mkl_pool_speed_test.py [942/3154] Generating python/mkl/mkl_relu_op_test.py [943/3154] Generating python/mkl/mkl_sbn_op_test.py [944/3154] Generating python/mkl/mkl_sbn_speed_test.py [945/3154] Generating python/mkl/mkl_sigmoid_op_test.py [946/3154] Generating python/mkl/mkl_speed_test.py [947/3154] Generating python/mkl/mkl_squeeze_op_test.py [948/3154] Generating python/mkl/rewrite_graph.py [949/3154] Generating python/mkl/rewrite_graph_test.py [950/3154] Generating python/mkl_test_util.py [951/3154] Generating python/model_device_test.py [952/3154] Generating python/model_helper.py [953/3154] Generating python/modeling/__init__.py [954/3154] Generating python/model_helper_test.py [955/3154] Generating python/modeling/compute_histogram_for_blobs.py [956/3154] Generating python/modeling/compute_histogram_for_blobs_test.py [957/3154] Generating python/modeling/compute_norm_for_blobs.py [958/3154] Generating python/modeling/compute_norm_for_blobs_test.py [959/3154] Generating python/modeling/compute_statistics_for_blobs.py [960/3154] Generating python/modeling/get_entry_from_blobs.py [961/3154] Generating python/modeling/compute_statistics_for_blobs_test.py [962/3154] Generating python/modeling/get_entry_from_blobs_test.py [963/3154] Generating python/modeling/gradient_clipping.py [964/3154] Generating python/modeling/initializers.py [965/3154] Generating python/modeling/gradient_clipping_test.py [966/3154] Generating python/modeling/initializers_test.py [967/3154] Generating python/modeling/net_modifier.py [968/3154] Generating python/modeling/parameter_info.py [969/3154] Generating python/modeling/parameter_sharing.py [970/3154] Generating python/modeling/parameter_sharing_test.py [971/3154] Generating python/models/__init__.py [972/3154] Generating python/models/__sym_init__.py [973/3154] Generating python/models/download.py [974/3154] Generating python/models/imagenet_trainer_test_utils.py [975/3154] Generating python/models/resnet.py [976/3154] Generating python/models/resnet_test.py [977/3154] Generating python/models/seq2seq/__init__.py [978/3154] Generating python/models/seq2seq/seq2seq_beam_search_test.py [979/3154] Generating python/models/seq2seq/beam_search.py [980/3154] Generating python/models/seq2seq/seq2seq_model_helper_test.py [981/3154] Generating python/models/seq2seq/seq2seq_model_helper.py [982/3154] Generating python/models/seq2seq/seq2seq_util.py [983/3154] Generating python/models/seq2seq/train.py [984/3154] Generating python/models/seq2seq/translate.py [985/3154] Generating python/models/shufflenet.py [986/3154] Generating python/models/shufflenet_test.py [987/3154] Generating python/modifier_context.py [988/3154] Generating python/muji.py [989/3154] Generating python/muji_test.py [990/3154] Generating python/net_builder.py [991/3154] Generating python/net_builder_test.py [992/3154] Generating python/net_drawer.py [993/3154] Generating python/net_printer.py [994/3154] Generating python/net_printer_test.py [995/3154] Generating python/nomnigraph.py [996/3154] Generating python/nomnigraph_test.py [997/3154] Generating python/nomnigraph_transformations.py [998/3154] Generating python/nomnigraph_transformations_test.py [999/3154] Generating python/normalizer.py [1000/3154] Generating python/normalizer_context.py [1001/3154] Generating python/normalizer_test.py [1002/3154] Generating python/numa_benchmark.py [1003/3154] Generating python/numa_test.py [1004/3154] Generating python/observer_test.py [1005/3154] Generating python/onnx/__init__.py [1006/3154] Generating python/onnx/backend.py [1007/3154] Generating python/onnx/backend_cpp_rep.py [1008/3154] Generating python/onnx/backend_rep.py [1009/3154] Generating python/onnx/bin/conversion.py [1010/3154] Generating python/onnx/bin/__init__.py [1011/3154] Generating python/onnx/error.py [1012/3154] Generating python/onnx/frontend.py [1013/3154] Generating python/onnx/helper.py [1014/3154] Generating python/onnx/onnxifi.py [1015/3154] Generating python/onnx/test_onnxifi.py [1016/3154] Generating python/onnx/tests/__init__.py [1017/3154] Generating python/onnx/tests/c2_ref_test.py [1018/3154] Generating python/onnx/tests/conversion_test.py [1019/3154] Generating python/onnx/tests/helper_test.py [1020/3154] Generating python/onnx/tests/onnx_backend_test.py [1021/3154] Generating python/onnx/tests/ssa_test.py [1022/3154] Generating python/onnx/tests/test_utils.py [1023/3154] Generating python/onnx/workspace.py [1024/3154] Generating python/operator_fp_exceptions_test.py [1025/3154] Generating python/operator_test/__init__.py [1026/3154] Generating python/operator_test/activation_ops_test.py [1027/3154] Generating python/operator_test/adagrad_test.py [1028/3154] Generating python/operator_test/adadelta_test.py [1029/3154] Generating python/operator_test/adagrad_test_helper.py [1030/3154] Generating python/operator_test/adam_test.py [1031/3154] Generating python/operator_test/affine_channel_op_test.py [1032/3154] Generating python/operator_test/apmeter_test.py [1033/3154] Generating python/operator_test/arg_ops_test.py [1034/3154] Generating python/operator_test/assert_test.py [1035/3154] Generating python/operator_test/atomic_ops_test.py [1036/3154] Generating python/operator_test/basic_rnn_test.py [1037/3154] Generating python/operator_test/batch_box_cox_test.py [1038/3154] Generating python/operator_test/batch_bucketize_op_test.py [1039/3154] Generating python/operator_test/batch_moments_op_test.py [1040/3154] Generating python/operator_test/batch_sparse_to_dense_op_test.py [1041/3154] Generating python/operator_test/bbox_transform_test.py [1042/3154] Generating python/operator_test/blobs_queue_db_test.py [1043/3154] Generating python/operator_test/bisect_percentile_op_test.py [1044/3154] Generating python/operator_test/boolean_unmask_test.py [1045/3154] Generating python/operator_test/boolean_mask_test.py [1046/3154] Generating python/operator_test/box_with_nms_limit_op_test.py [1047/3154] Generating python/operator_test/bucketize_op_test.py [1048/3154] Generating python/operator_test/cast_op_test.py [1049/3154] Generating python/operator_test/ceil_op_test.py [1050/3154] Generating python/operator_test/channel_backprop_stats_op_test.py [1051/3154] Generating python/operator_test/channel_shuffle_test.py [1052/3154] Generating python/operator_test/channel_stats_op_test.py [1053/3154] Generating python/operator_test/checkpoint_test.py [1054/3154] Generating python/operator_test/clip_op_test.py [1055/3154] Generating python/operator_test/clip_tensor_op_test.py [1056/3154] Generating python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py [1057/3154] Generating python/operator_test/concat_split_op_test.py [1058/3154] Generating python/operator_test/conditional_test.py [1059/3154] Generating python/operator_test/conftest.py [1060/3154] Generating python/operator_test/conv_test.py [1061/3154] Generating python/operator_test/conv_transpose_test.py [1062/3154] Generating python/operator_test/copy_ops_test.py [1063/3154] Generating python/operator_test/cosine_embedding_criterion_op_test.py [1064/3154] Generating python/operator_test/copy_rows_to_tensor_op_test.py [1065/3154] Generating python/operator_test/counter_ops_test.py [1066/3154] Generating python/operator_test/crf_test.py [1067/3154] Generating python/operator_test/cross_entropy_ops_test.py [1068/3154] Generating python/operator_test/ctc_beam_search_decoder_op_test.py [1069/3154] Generating python/operator_test/ctc_greedy_decoder_op_test.py [1070/3154] Generating python/operator_test/cudnn_recurrent_test.py [1071/3154] Generating python/operator_test/data_couple_op_test.py [1072/3154] Generating python/operator_test/dataset_ops_test.py [1073/3154] Generating python/operator_test/dense_vector_to_id_list_op_test.py [1074/3154] Generating python/operator_test/deform_conv_test.py [1075/3154] Generating python/operator_test/detectron_keypoints.py [1076/3154] Generating python/operator_test/depthwise_3x3_conv_test.py [1077/3154] Generating python/operator_test/distance_op_test.py [1078/3154] Generating python/operator_test/dropout_op_test.py [1079/3154] Generating python/operator_test/elementwise_linear_op_test.py [1080/3154] Generating python/operator_test/elementwise_logical_ops_test.py [1081/3154] Generating python/operator_test/duplicate_operands_test.py [1082/3154] Generating python/operator_test/elementwise_op_broadcast_test.py [1083/3154] Generating python/operator_test/elementwise_ops_test.py [1084/3154] Generating python/operator_test/emptysample_ops_test.py [1085/3154] Generating python/operator_test/enforce_finite_op_test.py [1086/3154] Generating python/operator_test/ensure_clipped_test.py [1087/3154] Generating python/operator_test/ensure_cpu_output_op_test.py [1088/3154] Generating python/operator_test/erf_op_test.py [1089/3154] Generating python/operator_test/expand_op_test.py [1090/3154] Generating python/operator_test/fc_operator_test.py [1091/3154] Generating python/operator_test/feature_maps_ops_test.py [1092/3154] Generating python/operator_test/filler_ops_test.py [1093/3154] Generating python/operator_test/find_op_test.py [1094/3154] Generating python/operator_test/flatten_op_test.py [1095/3154] Generating python/operator_test/flexible_top_k_test.py [1096/3154] Generating python/operator_test/floor_op_test.py [1097/3154] Generating python/operator_test/gather_ops_test.py [1098/3154] Generating python/operator_test/gather_ranges_op_test.py [1099/3154] Generating python/operator_test/given_tensor_byte_string_to_uint8_fill_op_test.py [1100/3154] Generating python/operator_test/given_tensor_fill_op_test.py [1101/3154] Generating python/operator_test/glu_op_test.py [1102/3154] Generating python/operator_test/group_conv_test.py [1103/3154] Generating python/operator_test/group_norm_op_test.py [1104/3154] Generating python/operator_test/gru_test.py [1105/3154] Generating python/operator_test/heatmap_max_keypoint_op_test.py [1106/3154] Generating python/operator_test/hsm_test.py [1107/3154] Generating python/operator_test/hyperbolic_ops_test.py [1108/3154] Generating python/operator_test/image_input_op_test.py [1109/3154] Generating python/operator_test/im2col_col2im_test.py [1110/3154] Generating python/operator_test/index_hash_ops_test.py [1111/3154] Generating python/operator_test/index_ops_test.py [1112/3154] Generating python/operator_test/instance_norm_test.py [1113/3154] Generating python/operator_test/integral_image_ops_test.py [1114/3154] Generating python/operator_test/jsd_ops_test.py [1115/3154] Generating python/operator_test/key_split_ops_test.py [1116/3154] Generating python/operator_test/lars_test.py [1117/3154] Generating python/operator_test/leaky_relu_test.py [1118/3154] Generating python/operator_test/layer_norm_op_test.py [1119/3154] Generating python/operator_test/learning_rate_adaption_op_test.py [1120/3154] Generating python/operator_test/learning_rate_op_test.py [1121/3154] Generating python/operator_test/length_split_op_test.py [1122/3154] Generating python/operator_test/lengths_pad_op_test.py [1123/3154] Generating python/operator_test/lengths_tile_op_test.py [1124/3154] Generating python/operator_test/lengths_top_k_ops_test.py [1125/3154] Generating python/operator_test/listwise_l2r_operator_test.py [1126/3154] Generating python/operator_test/locally_connected_op_test.py [1127/3154] Generating python/operator_test/load_save_test.py [1128/3154] Generating python/operator_test/lpnorm_op_test.py [1129/3154] Generating python/operator_test/loss_ops_test.py [1130/3154] Generating python/operator_test/map_ops_test.py [1131/3154] Generating python/operator_test/margin_ranking_criterion_op_test.py [1132/3154] Generating python/operator_test/math_ops_test.py [1133/3154] Generating python/operator_test/matmul_op_test.py [1134/3154] Generating python/operator_test/mean_op_test.py [1135/3154] Generating python/operator_test/merge_id_lists_op_test.py [1136/3154] Generating python/operator_test/mkl_conv_op_test.py [1137/3154] Generating python/operator_test/mkl_packed_fc_op_test.py [1138/3154] Generating python/operator_test/mkl_speed_test.py [1139/3154] Generating python/operator_test/mod_op_test.py [1140/3154] Generating python/operator_test/moments_op_test.py [1141/3154] Generating python/operator_test/momentum_sgd_test.py [1142/3154] Generating python/operator_test/mpi_test.py [1143/3154] Generating python/operator_test/negate_gradient_op_test.py [1144/3154] Generating python/operator_test/ngram_ops_test.py [1145/3154] Generating python/operator_test/normalize_op_test.py [1146/3154] Generating python/operator_test/numpy_tile_op_test.py [1147/3154] Generating python/operator_test/one_hot_ops_test.py [1148/3154] Generating python/operator_test/onnx_while_test.py [1149/3154] Generating python/operator_test/order_switch_test.py [1150/3154] Building CXX object c10/test/CMakeFiles/c10_either_test.dir/util/either_test.cpp.o [1151/3154] Generating python/operator_test/pack_rnn_sequence_op_test.py [1152/3154] Generating python/operator_test/pack_ops_test.py [1153/3154] Generating python/operator_test/pad_test.py [1154/3154] Generating python/operator_test/partition_ops_test.py [1155/3154] Generating python/operator_test/percentile_op_test.py [1156/3154] Generating python/operator_test/piecewise_linear_transform_test.py [1157/3154] Generating python/operator_test/pooling_test.py [1158/3154] Generating python/operator_test/prepend_dim_test.py [1159/3154] Generating python/operator_test/python_op_test.py [1160/3154] Generating python/operator_test/rand_quantization_op_speed_test.py [1161/3154] Generating python/operator_test/rand_quantization_op_test.py [1162/3154] Generating python/operator_test/rank_loss_operator_test.py [1163/3154] Generating python/operator_test/rebatching_queue_test.py [1164/3154] Generating python/operator_test/recurrent_net_executor_test.py [1165/3154] Generating python/operator_test/record_queue_test.py [1166/3154] Generating python/operator_test/recurrent_network_test.py [1167/3154] Generating python/operator_test/reduce_ops_test.py [1168/3154] Generating python/operator_test/reduction_ops_test.py [1169/3154] Generating python/operator_test/reshape_ops_test.py [1170/3154] Generating python/operator_test/resize_op_test.py [1171/3154] Generating python/operator_test/rmac_regions_op_test.py [1172/3154] Generating python/operator_test/rnn_cell_test.py [1173/3154] Generating python/operator_test/roi_align_rotated_op_test.py [1174/3154] Generating python/operator_test/scale_op_test.py [1175/3154] Generating python/operator_test/selu_op_test.py [1176/3154] Generating python/operator_test/segment_ops_test.py [1177/3154] Generating python/operator_test/shape_inference_test.py [1178/3154] Generating python/operator_test/sequence_ops_test.py [1179/3154] Generating python/operator_test/sinusoid_position_encoding_op_test.py [1180/3154] Generating python/operator_test/softmax_ops_test.py [1181/3154] Generating python/operator_test/softplus_op_test.py [1182/3154] Generating python/operator_test/sparse_dropout_with_replacement_op_test.py [1183/3154] Linking CXX executable bin/c10_either_test [1184/3154] Generating python/operator_test/sparse_lengths_sum_benchmark.py [1185/3154] Generating python/operator_test/sparse_gradient_checker_test.py [1186/3154] Generating python/operator_test/sparse_normalize_test.py [1187/3154] Generating python/operator_test/sparse_ops_test.py [1188/3154] Generating python/operator_test/sparse_to_dense_mask_op_test.py [1189/3154] Generating python/operator_test/specialized_segment_ops_test.py [1190/3154] Generating python/operator_test/spatial_bn_op_test.py [1191/3154] Generating python/operator_test/stats_ops_test.py [1192/3154] Generating python/operator_test/stats_put_ops_test.py [1193/3154] Generating python/operator_test/square_root_divide_op_test.py [1194/3154] Generating python/operator_test/string_ops_test.py [1195/3154] Generating python/operator_test/text_file_reader_test.py [1196/3154] Generating python/operator_test/thresholded_relu_op_test.py [1197/3154] Generating python/operator_test/top_k_test.py [1198/3154] Generating python/operator_test/tile_op_test.py [1199/3154] Generating python/operator_test/torch_integration_test.py [1200/3154] Generating python/operator_test/transpose_op_test.py [1201/3154] Generating python/operator_test/trigonometric_op_test.py [1202/3154] Generating python/operator_test/unique_ops_test.py [1203/3154] Generating python/operator_test/unique_uniform_fill_op_test.py [1204/3154] Generating python/operator_test/video_input_op_test.py [1205/3154] Generating python/operator_test/upsample_op_test.py [1206/3154] Generating python/operator_test/utility_ops_test.py [1207/3154] Generating python/operator_test/weighted_sum_test.py [1208/3154] Generating python/operator_test/weighted_sample_test.py [1209/3154] Generating python/operator_test/weighted_multi_sample_test.py [1210/3154] Generating python/operator_test/wngrad_test.py [1211/3154] Generating python/optimizer_context.py [1212/3154] Generating python/optimizer.py [1213/3154] Generating python/optimizer_test.py [1214/3154] Generating python/optimizer_test_util.py [1215/3154] Generating python/parallel_workers.py [1216/3154] Generating python/parallelize_bmuf_distributed_test.py [1217/3154] Generating python/parallel_workers_test.py [1218/3154] Generating python/pipeline.py [1219/3154] Generating python/pipeline_test.py [1220/3154] Generating python/predictor/__init__.py [1221/3154] Generating python/predictor/mobile_exporter.py [1222/3154] Generating python/predictor/mobile_exporter_test.py [1223/3154] Generating python/predictor/predictor_exporter.py [1224/3154] Generating python/predictor/predictor_py_utils.py [1225/3154] Generating python/predictor/predictor_exporter_test.py [1226/3154] Generating python/predictor/predictor_test.py [1227/3154] Generating python/predictor/serde.py [1228/3154] Generating python/predictor_constants.py [1229/3154] Generating python/python_op_test.py [1230/3154] Generating python/queue_util.py [1231/3154] Generating python/record_queue.py [1232/3154] Generating python/regularizer.py [1233/3154] Generating python/recurrent.py [1234/3154] Generating python/regularizer_context.py [1235/3154] Generating python/regularizer_test.py [1236/3154] Generating python/rnn/lstm_comparison.py [1237/3154] Generating python/rnn/__init__.py [1238/3154] Generating python/rnn/rnn_cell_test_util.py [1239/3154] Generating python/schema.py [1240/3154] Generating python/rnn_cell.py [1241/3154] Generating python/schema_test.py [1242/3154] Generating python/scope.py [1243/3154] Generating python/scope_test.py [1244/3154] Generating python/serialized_test/__init__.py [1245/3154] Generating python/serialized_test/coverage.py [1246/3154] Generating python/serialized_test/serialized_test_util.py [1247/3154] Generating python/session_test.py [1248/3154] Generating python/session.py [1249/3154] Generating python/sparse_to_dense_mask_test.py [1250/3154] Generating python/sparse_to_dense_test.py [1251/3154] Generating python/task.py [1252/3154] Generating python/task_test.py [1253/3154] Generating python/test/__init__.py [1254/3154] Generating python/test/blob_deallocation_test.py [1255/3154] Generating python/test/do_op_test.py [1256/3154] Generating python/test/executor_test.py [1257/3154] Generating python/test/executor_test_util.py [1258/3154] Generating python/test/inference_lstm_op_test.py [1259/3154] Generating python/test/python_protobuf_test.py [1260/3154] Generating python/test_util.py [1261/3154] Generating python/text_file_reader.py [1262/3154] Generating python/timeout_guard.py [1263/3154] Generating python/toy_regression_test.py [1264/3154] Generating python/transformations.py [1265/3154] Generating python/transformations_test.py [1266/3154] Generating python/trt/test_trt.py [1267/3154] Generating python/trt/transform.py [1268/3154] Generating python/trt/__init__.py [1269/3154] Generating python/tt_core.py [1270/3154] Generating python/tt_core_test.py [1271/3154] Generating python/utils.py [1272/3154] Generating python/utils_test.py [1273/3154] Generating python/visualize.py [1274/3154] Generating python/workspace.py [1275/3154] Generating python/workspace_test.py [1276/3154] Generating quantization/server/__init__.py [1277/3154] Generating quantization/__init__.py [1278/3154] Generating quantization/server/batch_matmul_dnnlowp_op_test.py [1279/3154] Generating quantization/server/batch_permutation_dnnlowp_op_test.py [1280/3154] Generating quantization/server/concat_dnnlowp_op_test.py [1281/3154] Generating quantization/server/channel_shuffle_dnnlowp_op_test.py [1282/3154] Generating quantization/server/conv_dnnlowp_acc16_op_test.py [1283/3154] Generating quantization/server/conv_groupwise_dnnlowp_acc16_op_test.py [1284/3154] Generating quantization/server/conv_dnnlowp_op_test.py [1285/3154] Generating quantization/server/conv_depthwise_dnnlowp_op_test.py [1286/3154] Generating quantization/server/conv_groupwise_dnnlowp_op_test.py [1287/3154] Generating quantization/server/dequantize_dnnlowp_op_test.py [1288/3154] Generating quantization/server/dnnlowp_test_utils.py [1289/3154] Generating quantization/server/elementwise_add_dnnlowp_op_test.py [1290/3154] Generating quantization/server/elementwise_linear_dnnlowp_op_test.py [1291/3154] Generating quantization/server/elementwise_mul_dnnlowp_op_test.py [1292/3154] Generating quantization/server/elementwise_sum_dnnlowp_op_test.py [1293/3154] Generating quantization/server/fully_connected_dnnlowp_op_test.py [1294/3154] Generating quantization/server/fully_connected_dnnlowp_acc16_op_test.py [1295/3154] Generating quantization/server/fully_connected_fp16_test.py [1296/3154] Generating quantization/server/fully_connected_rowwise_dnnlowp_op_test.py [1297/3154] Generating quantization/server/gather_dnnlowp_op_test.py [1298/3154] Generating quantization/server/group_norm_dnnlowp_op_test.py [1299/3154] Generating quantization/server/observer_test.py [1300/3154] Generating quantization/server/lstm_unit_dnnlowp_op_test.py [1301/3154] Generating quantization/server/pool_dnnlowp_op_test.py [1302/3154] Generating quantization/server/relu_dnnlowp_op_test.py [1303/3154] Generating quantization/server/resize_nearest_dnnlowp_op_test.py [1304/3154] Generating quantization/server/quantize_dnnlowp_op_test.py [1305/3154] Generating quantization/server/sigmoid_dnnlowp_op_test.py [1306/3154] Generating quantization/server/spatial_batch_norm_dnnlowp_op_test.py [1307/3154] Generating quantization/server/tanh_dnnlowp_op_test.py [1308/3154] Generating quantization/server/utils.py [1309/3154] Building C object sleef/src/libm/CMakeFiles/mkrename.dir/mkrename.c.o [1310/3154] Building C object sleef/src/libm/CMakeFiles/mkrename_gnuabi.dir/mkrename_gnuabi.c.o [1311/3154] Linking C executable sleef/bin/mkrename [1312/3154] Linking C executable sleef/bin/mkrename_gnuabi [1313/3154] Building C object sleef/src/libm/CMakeFiles/mkmasked_gnuabi.dir/mkmasked_gnuabi.c.o [1314/3154] Building C object sleef/src/libm/CMakeFiles/mkdisp.dir/mkdisp.c.o [1315/3154] Linking C executable sleef/bin/mkmasked_gnuabi [1316/3154] Linking C executable sleef/bin/mkdisp [1317/3154] Generating renamedsp256.h [1318/3154] Generating dispavx.c [1319/3154] Generating ../../../include/sleef.h Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ sse2 Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ sse4 Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ avx Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i struct\ {\ __m128i\ x,\ y;\ } __AVX__ fma4 Generating sleef.h: mkrename 4 8 __m256d __m256 __m128i __m256i __AVX__ avx2 Generating sleef.h: mkrename 2 4 __m128d __m128 __m128i __m128i __SSE2__ avx2128 Generating sleef.h: mkrename 8 16 __m512d __m512 __m256i __m512i __AVX512F__ Generating sleef.h: mkrename 8 16 __m512d __m512 __m256i __m512i __AVX512F__ avx512f [1320/3154] Generating include/renameavx512f.h Generating renameavx512f.h: mkrename 8 16 avx512f [1321/3154] Generating include/renameavx2.h Generating renameavx2.h: mkrename 4 8 avx2 [1322/3154] Generating include/renameavx2128.h Generating renameavx2128.h: mkrename 2 4 avx2128 [1323/3154] Generating include/renamefma4.h Generating renamefma4.h: mkrename 4 8 fma4 [1324/3154] Generating include/renameavx.h Generating renameavx.h: mkrename 4 8 avx [1325/3154] Generating include/renamesse4.h Generating renamesse4.h: mkrename 2 4 sse4 [1326/3154] Generating include/renamesse2.h Generating renamesse2.h: mkrename 2 4 sse2 [1327/3154] Building C object sleef/src/libm/CMakeFiles/mkalias.dir/mkalias.c.o [1328/3154] Linking C executable sleef/bin/mkalias [1329/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimdsp.c.o [1330/3154] Building C object sleef/src/libm/CMakeFiles/dispavx_obj.dir/dispavx.c.o [1331/3154] Generating dispsse.c [1332/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimdsp.c.o [1333/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimddp.c.o [1334/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimddp.c.o [1335/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimdsp.c.o [1336/3154] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimdsp.c.o [1337/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimddp.c.o [1338/3154] Generating alias_avx512f.h [1339/3154] Building CXX object c10/test/CMakeFiles/c10_intrusive_ptr_test.dir/util/intrusive_ptr_test.cpp.o [1340/3154] Linking CXX executable bin/c10_intrusive_ptr_test [1341/3154] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/ExtensionBackendRegistration.h, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.h, ../aten/src/ATen/MSNPUType.cpp, ../aten/src/ATen/MSNPUType.h, ../aten/src/ATen/MkldnnCPUType.cpp, ../aten/src/ATen/MkldnnCPUType.h, ../aten/src/ATen/NativeFunctions.h, ../aten/src/ATen/QuantizedCPUType.cpp, ../aten/src/ATen/QuantizedCPUType.h, ../aten/src/ATen/RegistrationDeclarations.h, ../aten/src/ATen/SparseCPUType.cpp, ../aten/src/ATen/SparseCPUType.h, ../aten/src/ATen/TypeDefault.cpp, ../aten/src/ATen/TypeDefault.h, ../aten/src/ATen/XLAType.cpp, ../aten/src/ATen/XLAType.h, ../aten/src/ATen/CUDAType.cpp, ../aten/src/ATen/CUDAType.h, ../aten/src/ATen/LegacyTHFunctionsCUDA.cpp, ../aten/src/ATen/LegacyTHFunctionsCUDA.h, ../aten/src/ATen/SparseCUDAType.cpp, ../aten/src/ATen/SparseCUDAType.h [1342/3154] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimddp.c.o [1343/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimdsp.c.o [1344/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimddp.c.o [1345/3154] Generating contrib/aten/aten_op.h Skipping backward Because of Ret: void (void) Skipping backward Because of Ret: void (void) Skipping backward Because of Ret: void (void) Skipping backward Because of Ret: void (void) Skipping set_data Because of Ret: void (void) Skipping _cudnn_rnn_backward Because of Arg: std::array&lt;bool,4&gt; (std::array&lt;bool,4&gt;) Skipping _cudnn_init_dropout_state because it is a factory method Skipping _fused_dropout Because of Arg: Generator * (Generator *) Skipping _sobol_engine_draw Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping arange because it is a factory method Skipping argmax Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping argmax Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping argmin Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping argmin Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping as_strided Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping bartlett_window because it is a factory method Skipping bernoulli Because of Arg: Generator * (Generator *) Skipping bernoulli Because of Arg: Generator * (Generator *) Skipping blackman_window because it is a factory method Skipping clamp Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping clamp Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping contiguous Because of Arg: MemoryFormat (MemoryFormat) Skipping cumsum Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping cumprod Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping einsum Because of Arg: std::string (std::string) Skipping empty because it is a factory method Skipping _empty_affine_quantized because it is a factory method Skipping empty_like because it is a factory method Skipping empty_strided because it is a factory method Skipping eye because it is a factory method Skipping full because it is a factory method Skipping full_like because it is a factory method Skipping from_file because it is a factory method Skipping hann_window because it is a factory method Skipping hamming_window because it is a factory method Skipping _cufft_set_plan_cache_max_size Because of Ret: void (void) Skipping _cufft_clear_plan_cache Because of Ret: void (void) Skipping fbgemm_linear_quantize_weight Because of Ret: double (double) Skipping linspace because it is a factory method Skipping logspace because it is a factory method Skipping log_softmax Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping mean Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping mean Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping miopen_rnn_backward Because of Arg: std::array&lt;bool,4&gt; (std::array&lt;bool,4&gt;) Skipping ones because it is a factory method Skipping ones_like because it is a factory method Skipping scalar_tensor because it is a factory method Skipping rand because it is a factory method Skipping rand_like because it is a factory method Skipping randint because it is a factory method Skipping randint_like because it is a factory method Skipping randn because it is a factory method Skipping randn_like because it is a factory method Skipping randperm because it is a factory method Skipping range because it is a factory method Skipping repeat_interleave Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping repeat_interleave Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping rrelu Because of Arg: Generator * (Generator *) Skipping softmax Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping stft Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping sum Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping sum Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping prod Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping prod Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping unique_consecutive Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping zeros because it is a factory method Skipping zeros_like because it is a factory method Skipping _standard_gamma Because of Arg: Generator * (Generator *) Skipping _sample_dirichlet Because of Arg: Generator * (Generator *) Skipping poisson Because of Arg: Generator * (Generator *) Skipping _sparse_sum Because of Arg: ScalarType (ScalarType) Skipping _sparse_sum Because of Arg: ScalarType (ScalarType) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping norm Because of Arg: c10::optional&lt;Scalar&gt; (Scalar) Skipping sparse_coo_tensor because it is a factory method Skipping _sparse_coo_tensor_unsafe because it is a factory method Skipping _sparse_coo_tensor_with_dims because it is a factory method Skipping _sparse_coo_tensor_with_dims_and_tensors because it is a factory method Skipping quantize_linear Because of Arg: ScalarType (ScalarType) Skipping quantize_linear_per_channel Because of Arg: ScalarType (ScalarType) Skipping _dequantize_linear Because of Arg: ScalarType (ScalarType) Skipping q_scale Because of Ret: double (double) Skipping qscheme Because of Ret: QScheme (QScheme) Skipping to because it is a factory method Skipping quantized_lstm Because of Arg: c10::optional&lt;ScalarType&gt; (ScalarType) Skipping cross Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping tril_indices because it is a factory method Skipping triu_indices because it is a factory method Skipping multinomial Because of Arg: Generator * (Generator *) Skipping _multinomial_alias_draw Because of Arg: Generator * (Generator *) Skipping normal because it is a factory method Skipping rrelu_with_noise Because of Arg: Generator * (Generator *) Skipping avg_pool2d Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping avg_pool2d_backward Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping avg_pool3d Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) Skipping avg_pool3d_backward Because of Arg: c10::optional&lt;int64_t&gt; (int64_t) [1346/3154] Generating renamedsp128.h [1347/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimdsp.c.o [1348/3154] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimddp.c.o [1349/3154] Building C object sleef/src/libm/CMakeFiles/dispsse_obj.dir/dispsse.c.o [1350/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefld.c.o [1351/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefqp.c.o [1352/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefdp.c.o [1353/3154] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefsp.c.o [1354/3154] Building C object sleef/src/common/CMakeFiles/arraymap.dir/arraymap.c.o [1355/3154] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o [1356/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/caffe2.proto [1357/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/caffe2_legacy.proto [1358/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/hsm.proto [1359/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/metanet.proto [1360/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/predictor_consts.proto [1361/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/prof_dag.proto [1362/3154] Running C++/Python protocol buffer compiler on /src/pytorch/caffe2/proto/torch.proto [1363/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimddp.c.o [1364/3154] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimdsp.c.o [1365/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o [1366/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o [1367/3154] Linking C static library sleef/lib/libsleef.a [1368/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o [1369/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o [1370/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o [1371/3154] Generating ../../torch/csrc/autograd/generated/Functions.cpp, ../../torch/csrc/autograd/generated/VariableType_0.cpp, ../../torch/csrc/autograd/generated/VariableType_1.cpp, ../../torch/csrc/autograd/generated/VariableType_2.cpp, ../../torch/csrc/autograd/generated/VariableType_3.cpp, ../../torch/csrc/autograd/generated/VariableType_4.cpp, ../../torch/csrc/jit/generated/register_aten_ops_0.cpp, ../../torch/csrc/jit/generated/register_aten_ops_1.cpp, ../../torch/csrc/jit/generated/register_aten_ops_2.cpp, ../../torch/csrc/nn/THNN.cpp, ../../torch/csrc/nn/THCUNN.cpp, ../../torch/csrc/autograd/generated/VariableType.h, ../../torch/csrc/autograd/generated/Functions.h, ../../torch/csrc/autograd/generated/variable_factories.h, ../../torch/csrc/autograd/generated/python_functions.cpp, ../../torch/csrc/autograd/generated/python_variable_methods.cpp, ../../torch/csrc/autograd/generated/python_torch_functions.cpp, ../../torch/csrc/autograd/generated/python_nn_functions.cpp, ../../torch/csrc/autograd/generated/python_functions.h, ../../torch/csrc/autograd/generated/python_variable_methods_dispatch.h, ../../torch/csrc/autograd/generated/python_torch_functions_dispatch.h, ../../torch/csrc/autograd/generated/python_nn_functions.h, ../../torch/csrc/autograd/generated/python_nn_functions_dispatch.h Writing torch/csrc/nn/THNN.cpp Writing torch/csrc/nn/THCUNN.cpp Writing torch/csrc/autograd/generated/python_functions.h Writing torch/csrc/autograd/generated/python_functions.cpp Writing torch/csrc/autograd/generated/python_variable_methods.cpp Writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h Writing torch/csrc/autograd/generated/python_torch_functions.cpp Writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h Writing torch/csrc/autograd/generated/python_nn_functions.cpp Writing torch/csrc/autograd/generated/python_nn_functions.h Writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h Writing torch/csrc/autograd/generated/VariableType.h Writing torch/csrc/autograd/generated/VariableType_0.cpp Writing torch/csrc/autograd/generated/VariableType_1.cpp Writing torch/csrc/autograd/generated/VariableType_2.cpp Writing torch/csrc/autograd/generated/VariableType_3.cpp Writing torch/csrc/autograd/generated/VariableType_4.cpp Writing torch/csrc/autograd/generated/VariableTypeEverything.cpp Writing torch/csrc/autograd/generated/Functions.h Writing torch/csrc/autograd/generated/Functions.cpp Writing torch/csrc/autograd/generated/variable_factories.h Writing torch/csrc/jit/generated/register_aten_ops_0.cpp Writing torch/csrc/jit/generated/register_aten_ops_1.cpp Writing torch/csrc/jit/generated/register_aten_ops_2.cpp [1372/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o [1373/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o [1374/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o [1375/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o [1376/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o [1377/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o [1378/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o [1379/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/adagrad_avx.cc.o [1380/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o [1381/3154] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o [1382/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o [1383/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o [1384/3154] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o [1385/3154] Linking CXX static library lib/libCaffe2_perfkernels_avx2.a [1386/3154] Linking CXX static library lib/libcaffe2_protos.a [1387/3154] Linking CXX static library lib/libCaffe2_perfkernels_avx512.a [1388/3154] Linking CXX static library lib/libCaffe2_perfkernels_avx.a [1389/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o [1390/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o [1391/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o [1392/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o [1393/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o [1394/3154] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o [1395/3154] Generating ../../../torch/__init__.pyi, ../../../torch/nn/functional.pyi Writing ./torch/__init__.pyi Writing ./torch/nn/functional.pyi [1396/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_cosine_embedding_criterion_op.cu.o [1397/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lengths_pad_op.cu.o [1398/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_cross_entropy_op.cu.o [1399/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCSleep.cu.o [1400/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorScatterGather.cu.o [1401/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCReduceApplyUtils.cu.o [1402/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_one_hot_ops.cu.o [1403/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCBlas.cu.o [1404/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_moments_op.cu.o [1405/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_minmax_ops.cu.o [1406/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCStorage.cu.o [1407/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCStorageCopy.cu.o [1408/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensor.cu.o [1409/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareFloat.cu.o [1410/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorCopy.cu.o [1411/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTChar.cu.o [1412/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceByte.cu.o [1413/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMath.cu.o [1414/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathBlas.cu.o [1415/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathMagma.cu.o [1416/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathReduce.cu.o [1417/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_margin_ranking_criterion_op.cu.o [1418/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortChar.cu.o [1419/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorRandom.cu.o [1420/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathScan.cu.o [1421/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMathPairwise.cu.o [1422/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseByte.cu.o [1423/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorSort.cu.o [1424/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCSortUtils.cu.o [1425/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortByte.cu.o [1426/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorTopK.cu.o [1427/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareByte.cu.o [1428/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTByte.cu.o [1429/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorIndex.cu.o [1430/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseChar.cu.o [1431/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTFloat.cu.o [1432/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedByte.cu.o [1433/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Col2Im.cu.o [1434/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lstm_unit_op_gpu.cu.o [1435/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareChar.cu.o [1436/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceChar.cu.o [1437/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCTensorMode.cu.o [1438/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedChar.cu.o [1439/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortShort.cu.o [1440/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareShort.cu.o [1441/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTShort.cu.o [1442/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceShort.cu.o [1443/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseShort.cu.o [1444/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedShort.cu.o [1445/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortInt.cu.o [1446/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareInt.cu.o [1447/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTInt.cu.o [1448/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseInt.cu.o [1449/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceInt.cu.o [1450/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedInt.cu.o [1451/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareLong.cu.o [1452/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortLong.cu.o [1453/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTLong.cu.o [1454/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceLong.cu.o [1455/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseLong.cu.o [1456/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedLong.cu.o [1457/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareHalf.cu.o [1458/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortHalf.cu.o [1459/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTHalf.cu.o [1460/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedHalf.cu.o [1461/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseHalf.cu.o [1462/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lp_pool_op.cu.o [1463/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortFloat.cu.o [1464/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceHalf.cu.o [1465/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceFloat.cu.o [1466/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_BinaryOpsKernel.cu.o [1467/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_max_pool_with_index.cu.o [1468/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ConvolutionTranspose2d.cu.o [1469/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_mean_op.cu.o [1470/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedFloat.cu.o [1471/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorSortDouble.cu.o [1472/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTDouble.cu.o [1473/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseFloat.cu.o [1474/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareDouble.cu.o [1475/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedDouble.cu.o [1476/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareTBool.cu.o [1477/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathCompareBool.cu.o [1478/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseDouble.cu.o [1479/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceBool.cu.o [1480/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMaskedBool.cu.o [1481/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathPointwiseBool.cu.o [1482/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_AbsCriterion.cu.o [1483/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Abs.cu.o [1484/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/generated/torch_generated_THCTensorMathReduceDouble.cu.o [1485/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_ClassNLLCriterion.cu.o [1486/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_BCECriterion.cu.o [1487/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_ELU.cu.o [1488/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_DistKLDivCriterion.cu.o [1489/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_GatedLinearUnit.cu.o [1490/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_IndexLinear.cu.o [1491/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_HardTanh.cu.o [1492/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_L1Cost.cu.o [1493/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LeakyReLU.cu.o [1494/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LogSigmoid.cu.o [1495/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LookupTableBag.cu.o [1496/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_LookupTable.cu.o [1497/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MarginCriterion.cu.o [1498/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MSECriterion.cu.o [1499/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MultiLabelMarginCriterion.cu.o [1500/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_RReLU.cu.o [1501/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_MultiMarginCriterion.cu.o [1502/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Sigmoid.cu.o [1503/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SmoothL1Criterion.cu.o [1504/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SoftPlus.cu.o [1505/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SoftMarginCriterion.cu.o [1506/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialClassNLLCriterion.cu.o [1507/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_FeatureLPPooling.cu.o [1508/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SoftShrink.cu.o [1509/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialConvolutionLocal.cu.o [1510/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialCrossMapLRN.cu.o [1511/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialConvolutionMM.cu.o [1512/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialSubSampling.cu.o [1513/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_SpatialDepthwiseConvolution.cu.o [1514/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Square.cu.o [1515/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Sqrt.cu.o [1516/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_Tanh.cu.o [1517/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_gelu_op.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" [1518/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_TemporalMaxPooling.cu.o [1519/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_TemporalConvolution.cu.o [1520/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_TemporalRowConvolution.cu.o [1521/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THCUNN/torch_generated_VolumetricConvolution.cu.o [1522/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/cuda/detail/torch_generated_IndexUtils.cu.o [1523/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveAveragePooling.cu.o [1524/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_instance_norm_op.cu.o [1525/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveAveragePooling3d.cu.o [1526/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_integral_image_op.cu.o [1527/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveMaxPooling2d.cu.o [1528/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AdaptiveMaxPooling3d.cu.o [1529/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_layer_norm_op.cu.o [1530/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_leaky_relu_op.cu.o [1531/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AveragePool2d.cu.o [1532/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Activation.cu.o [1533/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_lengths_tile_op.cu.o [1534/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ConvolutionTranspose3d.cu.o [1535/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_AveragePool3d.cu.o [1536/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_local_response_normalization_op.cu.o [1537/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_BatchLinearAlgebra.cu.o [1538/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_CUDAScalar.cu.o [1539/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_mem_query_op.cu.o [1540/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_logit_op.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" [1541/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_loss_op.cu.o [1542/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_multi_class_accuracy_op.cu.o [1543/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_normalize_ops.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" [1544/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_CrossKernel.cu.o [1545/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DilatedConvolution.cu.o [1546/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DilatedMaxPool2d.cu.o [1547/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DilatedMaxPool3d.cu.o [1548/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_DistanceKernel.cu.o [1549/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Dropout.cu.o [1550/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Copy.cu.o [1551/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Embedding.cu.o [1552/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_EmbeddingBackwardKernel.cu.o [1553/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_EmbeddingBag.cu.o [1554/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_FillKernel.cu.o [1555/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_FractionalMaxPool2d.cu.o [1556/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_FractionalMaxPool3d.cu.o [1557/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_GridSampler.cu.o [1558/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Im2Col.cu.o [1559/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_IndexKernel.cu.o [1560/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_LinearAlgebra.cu.o [1561/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Indexing.cu.o [1562/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_LossCTC.cu.o [1563/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Loss.cu.o [1564/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Lerp.cu.o [1565/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_MaxUnpooling.cu.o /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:105:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:186:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:198:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:198:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:198:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:273:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:273:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:273:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:365:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:365:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:365:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:377:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:468:12: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList output_size) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:482:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:482:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:482:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:581:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:581:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ /src/pytorch/aten/src/ATen/native/cuda/MaxUnpooling.cu:581:8: warning: ‘IntList’ is deprecated [-Wdeprecated-declarations] IntList padding) { ^ /src/pytorch/c10/util/ArrayRef.h:41:7: note: declared here class ArrayRef final { ^~~~~~~~ [1566/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_RangeFactories.cu.o [1567/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Normalization.cu.o [1568/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_RNN.cu.o [1569/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Reduce.cu.o [1570/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Repeat.cu.o [1571/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ReflectionPad.cu.o [1572/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ReplicationPadding.cu.o [1573/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Resize.cu.o [1574/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SoftMax.cu.o [1575/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SparseMM.cu.o [1576/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_ReduceOpsKernel.cu.o [1577/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SpectralOps.cu.o [1578/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SortingKthValue.cu.o [1579/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_SummaryOps.cu.o [1580/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_TensorTransformations.cu.o /src/pytorch/aten/src/ATen/native/cuda/TensorTransformations.cu(15): warning: variable "at::native::AT_APPLY_THREADS_PER_BLOCK" was declared but never referenced /src/pytorch/aten/src/ATen/native/cuda/TensorTransformations.cu(16): warning: variable "at::native::AT_APPLY_BLOCKS_PER_SM" was declared but never referenced [1581/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UnaryOpsKernel.cu.o [1582/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_TensorFactories.cu.o [1583/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleBicubic2d.cu.o [1584/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleBilinear2d.cu.o [1585/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleLinear1d.cu.o [1586/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_TensorCompare.cu.o [1587/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleNearest1d.cu.o [1588/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Distributions.cu.o [1589/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleNearest2d.cu.o [1590/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleNearest3d.cu.o [1591/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/sparse/cuda/torch_generated_SparseCUDABlas.cu.o [1592/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_UpSampleTrilinear3d.cu.o [1593/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_WeightNorm.cu.o [1594/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/sparse/cuda/torch_generated_SparseCUDATensorMath.cu.o [1595/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/sparse/cuda/torch_generated_SparseCUDATensor.cu.o [1596/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/quantized/cuda/torch_generated_fake_quantize_per_tensor_affine.cu.o [1597/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_broadcast.cu.o [1598/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/core/torch_generated_context_gpu.cu.o [1599/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_transpose.cu.o [1600/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_elementwise.cu.o [1601/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/math/torch_generated_reduce.cu.o [1602/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/ATen/native/cuda/torch_generated_Unique.cu.o [1603/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_channelwise_conv3d_op_cudnn.cu.o FAILED: caffe2/CMakeFiles/torch.dir/operators/torch_generated_channelwise_conv3d_op_cudnn.cu.o cd /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators &amp;&amp; /root/miniconda3/envs/torchbeast/bin/cmake -E make_directory /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/. &amp;&amp; /root/miniconda3/envs/torchbeast/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_channelwise_conv3d_op_cudnn.cu.o -D generated_cubin_file:STRING=/src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_channelwise_conv3d_op_cudnn.cu.o.cubin.txt -P /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/torch_generated_channelwise_conv3d_op_cudnn.cu.o.Release.cmake /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(102): error: identifier "__ldg" is undefined /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(123): error: identifier "__ldg" is undefined /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(102): error: identifier "__ldg" is undefined detected during instantiation of "void caffe2::DepthwiseConv3dGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]" (380): here /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(123): error: identifier "__ldg" is undefined detected during instantiation of "void caffe2::DepthwiseConv3dGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]" (380): here /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(184): error: identifier "__ldg" is undefined detected during instantiation of "void caffe2::DepthwiseConv3dBackpropFilterGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]" (505): here /src/pytorch/caffe2/operators/channelwise_conv3d_op_cudnn.cu(303): error: identifier "__ldg" is undefined detected during instantiation of "void caffe2::DepthwiseConv3dBackpropInputGPUKernelNCHW(caffe2::DepthwiseArgs, const T *, const T *, T *, int) [with T=float]" (515): here 6 errors detected in the compilation of "/tmp/tmpxft_00002dce_00000000-14_channelwise_conv3d_op_cudnn.compute_30.cpp1.ii". CMake Error at torch_generated_channelwise_conv3d_op_cudnn.cu.o.Release.cmake:279 (message): Error generating file /src/pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_channelwise_conv3d_op_cudnn.cu.o [1604/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_depthwise_3x3_conv_op_cudnn.cu.o [1605/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/operators/torch_generated_spatial_batch_norm_op_cudnn.cu.o /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" /src/pytorch/cmake/../third_party/eigen/Eigen/src/Core/arch/GPU/PacketMathHalf.h(149): warning: missing return statement at end of non-void function "Eigen::internal::ptrue(const Packet &amp;) [with Packet=half2]" [1606/3154] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/utils/torch_generated_math_gpu.cu.o ninja: build stopped: subcommand failed. Building wheel torch-1.2.0a0+54a63e0 -- Building version 1.2.0a0+54a63e0 cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/src/pytorch/torch -DCMAKE_PREFIX_PATH=/root/miniconda3/envs/torchbeast -DNUMPY_INCLUDE_DIR=/root/miniconda3/envs/torchbeast/lib/python3.7/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/root/miniconda3/envs/torchbeast/bin/python -DPYTHON_INCLUDE_DIR=/root/miniconda3/envs/torchbeast/include/python3.7m -DPYTHON_LIBRARY=/root/miniconda3/envs/torchbeast/lib/libpython3.7m.so.1.0 -DTORCH_BUILD_VERSION=1.2.0a0+54a63e0 -DUSE_CUDA=True -DUSE_DISTRIBUTED=True -DUSE_NUMPY=True -DUSE_SYSTEM_EIGEN_INSTALL=OFF /src/pytorch cmake --build . --target install --config Release -- -j 4 Traceback (most recent call last): File "setup.py", line 756, in &lt;module&gt; build_deps() File "setup.py", line 325, in build_deps cmake=cmake) File "/src/pytorch/tools/build_pytorch_libs.py", line 64, in build_caffe2 cmake.build(my_env) File "/src/pytorch/tools/setup_helpers/cmake.py", line 321, in build self.run(build_args, my_env) File "/src/pytorch/tools/setup_helpers/cmake.py", line 133, in run check_call(command, cwd=self.build_dir, env=env) File "/root/miniconda3/envs/torchbeast/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '4']' returned non-zero exit status 1. </code></pre></div> <p dir="auto">i buidling pytorch in docker nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04:<br> some of docker commands like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RUN git clone --single-branch --branch v1.2.0 --recursive https://github.com/pytorch/pytorch WORKDIR /src/pytorch ENV CMAKE_PREFIX_PATH ${CONDA_PREFIX} # Added (referencing https://github.com/pytorch/pytorch/blob/master/docker/pytorch/Dockerfile) RUN git submodule update --init --recursive # Added (referencing https://github.com/pytorch/pytorch/blob/master/docker/pytorch/Dockerfile) RUN TORCH_CUDA_ARCH_LIST=&quot;3.5 5.2 6.0 6.1 7.0+PTX&quot; TORCH_NVCC_FLAGS=&quot;-Xfatbin -compress-all&quot; \ CMAKE_PREFIX_PATH=&quot;$(dirname $(which conda))/../&quot; # pip install -v . RUN python setup.py install"><pre class="notranslate"><code class="notranslate">RUN git clone --single-branch --branch v1.2.0 --recursive https://github.com/pytorch/pytorch WORKDIR /src/pytorch ENV CMAKE_PREFIX_PATH ${CONDA_PREFIX} # Added (referencing https://github.com/pytorch/pytorch/blob/master/docker/pytorch/Dockerfile) RUN git submodule update --init --recursive # Added (referencing https://github.com/pytorch/pytorch/blob/master/docker/pytorch/Dockerfile) RUN TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1 7.0+PTX" TORCH_NVCC_FLAGS="-Xfatbin -compress-all" \ CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" # pip install -v . RUN python setup.py install </code></pre></div>
<p dir="auto">When building pytorch with docker with<br> <code class="notranslate">docker build -t pytorch_cuda9 -f tools/docker/Dockerfile9 .</code></p> <p dir="auto">I get the following error and the build stops:<br> <code class="notranslate">Step 10/14 : RUN git submodule update --init ---&gt; Running in 34e6a586e55a fatal: Not a git repository: /home/ubuntu/pytorch/.git/modules/torch/lib/gloo Unable to find current revision in submodule path 'torch/lib/gloo' The command '/bin/sh -c git submodule update --init' returned a non-zero code: 1 </code></p> <p dir="auto">I cloned the latest master with <code class="notranslate">git clone --recursive https://github.com/pytorch/pytorch</code><br> Ubuntu 16.04<br> Docker version 17.09.1-ce, build <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/19e2cf615028a58715eb6d8083760bdb3d7e1718/hovercard" href="https://github.com/pytorch/pytorch/commit/19e2cf615028a58715eb6d8083760bdb3d7e1718"><tt>19e2cf6</tt></a></p>
0
<p dir="auto">// CREATE INDEX<br> curl -X PUT -d '{<br> "number_of_shards" : 1,<br> "number_of_replicas" : 1<br> }' "<a href="http://localhost:9200/services" rel="nofollow">http://localhost:9200/services</a>"</p> <p dir="auto">// MAPPING<br> curl -X PUT -d '{<br> "service": {<br> "properties": {<br> "name": {<br> "type": "string",<br> "index": "not_analyzed"<br> },<br> "pin": {<br> "type":"geo_point"<br> },<br> "currentstatus": {<br> "type": "string",<br> "index": "not_analyzed"<br> },<br> "suggest_field": {<br> "type": "completion",<br> "context": {<br> "status": {<br> "type": "category",<br> "default": "bad",<br> "path": "currentstatus"<br> },<br> "location": {<br> "type": "geo",<br> "precision": "100km",<br> "neighbors": true,<br> "path":"pin",<br> "default": {<br> "lat": 0.0,<br> "lon": 0.0<br> }<br> }<br> }<br> }<br> }<br> }<br> }' "<a href="http://localhost:9200/services/service/_mapping" rel="nofollow">http://localhost:9200/services/service/_mapping</a>"</p> <p dir="auto">// Insert record<br> curl -X PUT -d '{<br> "name": "knapsack",<br> "pin": {<br> "lat": 47.620499,<br> "lon": -122.350876<br> },<br> "currentstatus" : "good",<br> "suggest_field": {<br> "input": [<br> "knacksack",<br> "backpack",<br> "daypack"<br> ]<br> }<br> }' "<a href="http://localhost:9200/services/service/1" rel="nofollow">http://localhost:9200/services/service/1</a>"</p> <p dir="auto">// Suggest<br> curl -X POST -d '{<br> "suggest": {<br> "text": "k",<br> "completion": {<br> "field": "suggest_field",<br> "size": 10,<br> "context": {<br> "location": {<br> "lat": 47.482880,<br> "lon": -122.217064,<br> "precision":"100km"<br> },<br> "status": "good"<br> }<br> }<br> }<br> }' "<a href="http://localhost:9200/services/_suggest" rel="nofollow">http://localhost:9200/services/_suggest</a>"</p> <p dir="auto">You'd expect that we'd get a suggestion here. When I do the category completion alone, it works correctly but it doesn't seem to get the lat/lon from the path but rather always uses the default. I don't want to have to duplicate data and this is not working as expected. What is going wrong here?</p>
<p dir="auto">Currently the Completion &amp; Context Suggesters suggests from documents that were deleted but not still merged away by Lucene. Ideally the suggesters should never suggest from deleted documents.</p> <p dir="auto">The solution is to encode lucene docids in the generated FST used by suggesters, and filter out suggestions from deleted documents at query time. This approach would also allow us to make use of the lucene docids to make the suggesters more flexible in terms of returning fields not specified at 'index' time in the future. This approach also implies changing how the FSTs are built currently (i.e. dedup-ing same surface forms might not make sense anymore, as each entry will be tied to a lucene doc).</p> <p dir="auto"><strong>NOTE:</strong> this is an issue for <code class="notranslate">feature/nrt_suggester</code></p>
0
<p dir="auto"><strong>Description</strong><br> Cache pools can easily be configured in the framework bundle with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="framework: cache: pools: cache.pool1: adapter: cache.adapter.redis cache.pool2: adapter: cache.adapter.redis"><pre class="notranslate"><code class="notranslate">framework: cache: pools: cache.pool1: adapter: cache.adapter.redis cache.pool2: adapter: cache.adapter.redis </code></pre></div> <p dir="auto">But all the cache services created only implement PSR-6 <code class="notranslate">Psr\Cache\CacheItemPoolInterface</code>. We would like to use PSR-16 <code class="notranslate">Psr\SimpleCache\CacheInterface</code> instead. Currently the only solution seems to be to wrap all the pools in an adapter like</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="services: cache.simple.pool1: class: Symfony\Component\Cache\Simple\Psr6Cache arguments: ['@cache.pool1'] cache.simple.pool2 class: Symfony\Component\Cache\Simple\Psr6Cache arguments: ['@cache.pool2']"><pre class="notranslate"><code class="notranslate">services: cache.simple.pool1: class: Symfony\Component\Cache\Simple\Psr6Cache arguments: ['@cache.pool1'] cache.simple.pool2 class: Symfony\Component\Cache\Simple\Psr6Cache arguments: ['@cache.pool2'] </code></pre></div> <p dir="auto">This is quite cumbersome as we have alot of pools. It would be nice if the framework bundle provides a way to use SimpleCache directly. Maybe something like the following would create PSR-16 caches instead:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="framework: cache: pools: cache.pool1: adapter: cache.adapter.redis simple: true cache.pool2: adapter: cache.adapter.redis simple: true"><pre class="notranslate"><code class="notranslate">framework: cache: pools: cache.pool1: adapter: cache.adapter.redis simple: true cache.pool2: adapter: cache.adapter.redis simple: true </code></pre></div>
<p dir="auto">What do you think about deprecating the <code class="notranslate">Date</code> and <code class="notranslate">Time</code> constraints in favor of add a <code class="notranslate">format</code> option to the <code class="notranslate">DateTime</code> constraint.<br> We can do that using the <code class="notranslate">DateTime::createFromFormat()</code> and <code class="notranslate">DateTime::getLastErrors()</code> to check if a date is valid based on a specific format.<br> What do you think? Can be this discussed?</p>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.1</li> <li>Operating System / Platform =&gt; Ubuntu 18.04.2 LTS</li> <li>Compiler =&gt; g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0</li> </ul> <h5 dir="auto">Detailed description</h5> <details> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-shorten-64-to-32' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_b6735/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_b6735.dir/build.make CMakeFiles/cmTC_b6735.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b6735.dir/src.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-parameter -Wno-sign-compare -O3 -DNDEBUG -fPIE -Wno-shorten-64-to-32 -o CMakeFiles/cmTC_b6735.dir/src.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’ Linking C executable cmTC_b6735 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b6735.dir/link.txt --verbose=1 /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-parameter -Wno-sign-compare -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_b6735.dir/src.c.o -o cmTC_b6735 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the include file io.h exists failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_9bfa5/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_9bfa5.dir/build.make CMakeFiles/cmTC_9bfa5.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory #include &lt;io.h&gt; ^~~~~~ compilation terminated. CMakeFiles/cmTC_9bfa5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o' failed make[1]: *** [CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_9bfa5/fast' failed make: *** [cmTC_9bfa5/fast] Error 2 Determining size of INT8 failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_c5d39/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_c5d39.dir/build.make CMakeFiles/cmTC_c5d39.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c5d39.dir/int8.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_c5d39.dir/int8.c.o -c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c:23:22: error: ‘INT8’ undeclared here (not in a function); did you mean ‘INT8_C’? #define SIZE (sizeof(INT8)) ^ ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c:25:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_c5d39.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c5d39.dir/int8.c.o' failed make[1]: *** [CMakeFiles/cmTC_c5d39.dir/int8.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c5d39/fast' failed make: *** [cmTC_c5d39/fast] Error 2 ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c: #include &lt;sys/types.h&gt; #include &lt;stdint.h&gt; #include &lt;stddef.h&gt; #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(INT8)) char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of INT16 failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_a4877/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_a4877.dir/build.make CMakeFiles/cmTC_a4877.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a4877.dir/int16.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_a4877.dir/int16.c.o -c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c:23:22: error: ‘INT16’ undeclared here (not in a function); did you mean ‘INT16_C’? #define SIZE (sizeof(INT16)) ^ ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c:25:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_a4877.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_a4877.dir/int16.c.o' failed make[1]: *** [CMakeFiles/cmTC_a4877.dir/int16.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_a4877/fast' failed make: *** [cmTC_a4877/fast] Error 2 ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c: #include &lt;sys/types.h&gt; #include &lt;stdint.h&gt; #include &lt;stddef.h&gt; #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(INT16)) char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of INT32 failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_20741/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_20741.dir/build.make CMakeFiles/cmTC_20741.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_20741.dir/int32.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_20741.dir/int32.c.o -c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c:23:22: error: ‘INT32’ undeclared here (not in a function); did you mean ‘INT32_C’? #define SIZE (sizeof(INT32)) ^ ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c:25:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_20741.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_20741.dir/int32.c.o' failed make[1]: *** [CMakeFiles/cmTC_20741.dir/int32.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_20741/fast' failed make: *** [cmTC_20741/fast] Error 2 ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c: #include &lt;sys/types.h&gt; #include &lt;stdint.h&gt; #include &lt;stddef.h&gt; #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(INT32)) char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining if the function setmode exists failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_fd91a/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_fd91a.dir/build.make CMakeFiles/cmTC_fd91a.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c Linking C executable cmTC_fd91a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fd91a.dir/link.txt --verbose=1 /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o -o cmTC_fd91a CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup.main+0xc): undefined reference to `setmode' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_fd91a.dir/build.make:97: recipe for target 'cmTC_fd91a' failed make[1]: *** [cmTC_fd91a] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_fd91a/fast' failed make: *** [cmTC_fd91a/fast] Error 2 Build output check failed: Regex: 'command line option .* is valid for .* but not for C\+\+' Output line: 'cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-missing-prototypes' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_fc97d/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_fc97d.dir/build.make CMakeFiles/cmTC_fc97d.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fc97d.dir/src.cxx.o /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG -fPIE -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_fc97d.dir/src.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma Linking CXX executable cmTC_fc97d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc97d.dir/link.txt --verbose=1 /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_fc97d.dir/src.cxx.o -o cmTC_fc97d make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1: warning: unrecognized command line option ‘-Wno-absolute-value’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-absolute-value' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_576bd/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_576bd.dir/build.make CMakeFiles/cmTC_576bd.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_576bd.dir/src.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -fPIE -Wno-absolute-value -o CMakeFiles/cmTC_576bd.dir/src.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1: warning: unrecognized command line option ‘-Wno-absolute-value’ Linking C executable cmTC_576bd /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_576bd.dir/link.txt --verbose=1 /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_576bd.dir/src.c.o -o cmTC_576bd make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-inconsistent-missing-override' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_ca285/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_ca285.dir/build.make CMakeFiles/cmTC_ca285.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ca285.dir/src.cxx.o /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -fPIE -Wno-inconsistent-missing-override -std=c++11 -o CMakeFiles/cmTC_ca285.dir/src.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ Linking CXX executable cmTC_ca285 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ca285.dir/link.txt --verbose=1 /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_ca285.dir/src.cxx.o -o cmTC_ca285 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the Q_WS_WIN exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_47b2b/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_47b2b.dir/build.make CMakeFiles/cmTC_47b2b.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o /usr/bin/g++ -I/usr/include/qt4 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope return ((int*)(&amp;Q_WS_WIN))[argc]; ^~~~~~~~ ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int*)(&amp;Q_WS_WIN))[argc]; ^~~~~~~~ Q_WS_X11 CMakeFiles/cmTC_47b2b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_47b2b/fast' failed make: *** [cmTC_47b2b/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include &lt;QtCore/qglobal.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_WIN return ((int*)(&amp;Q_WS_WIN))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_QWS exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_f1e16/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_f1e16.dir/build.make CMakeFiles/cmTC_f1e16.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o /usr/bin/g++ -I/usr/include/qt4 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope return ((int*)(&amp;Q_WS_QWS))[argc]; ^~~~~~~~ ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int*)(&amp;Q_WS_QWS))[argc]; ^~~~~~~~ Q_WS_X11 CMakeFiles/cmTC_f1e16.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f1e16/fast' failed make: *** [cmTC_f1e16/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include &lt;QtCore/qglobal.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_QWS return ((int*)(&amp;Q_WS_QWS))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_MAC exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_0328e/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_0328e.dir/build.make CMakeFiles/cmTC_0328e.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o /usr/bin/g++ -I/usr/include/qt4 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope return ((int*)(&amp;Q_WS_MAC))[argc]; ^~~~~~~~ ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int*)(&amp;Q_WS_MAC))[argc]; ^~~~~~~~ Q_WS_X11 CMakeFiles/cmTC_0328e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_0328e/fast' failed make: *** [cmTC_0328e/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include &lt;QtCore/qglobal.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_MAC return ((int*)(&amp;Q_WS_MAC))[argc]; #else (void)argc; return 0; #endif } Determining if the pthread_create exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_32b5a/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_32b5a.dir/build.make CMakeFiles/cmTC_32b5a.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o /usr/bin/gcc -fPIC -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_32b5a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_32b5a.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o -o cmTC_32b5a CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_32b5a.dir/build.make:97: recipe for target 'cmTC_32b5a' failed make[1]: *** [cmTC_32b5a] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_32b5a/fast' failed make: *** [cmTC_32b5a/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include &lt;pthread.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&amp;pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_31869/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_31869.dir/build.make CMakeFiles/cmTC_31869.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_31869.dir/CheckFunctionExists.c.o /usr/bin/gcc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_31869.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c Linking C executable cmTC_31869 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31869.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_31869.dir/CheckFunctionExists.c.o -o cmTC_31869 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_31869.dir/build.make:97: recipe for target 'cmTC_31869' failed make[1]: *** [cmTC_31869] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_31869/fast' failed make: *** [cmTC_31869/fast] Error 2 Determining if the include file sys/videoio.h exists failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_70175/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_70175.dir/build.make CMakeFiles/cmTC_70175.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory #include &lt;sys/videoio.h&gt; ^~~~~~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_70175.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o' failed make[1]: *** [CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_70175/fast' failed make: *** [cmTC_70175/fast] Error 2 Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-unused-private-field' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:&quot;/usr/bin/make&quot; &quot;cmTC_6bce1/fast&quot; /usr/bin/make -f CMakeFiles/cmTC_6bce1.dir/build.make CMakeFiles/cmTC_6bce1.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6bce1.dir/src.cxx.o /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -O3 -DNDEBUG -fPIE -Wno-unused-private-field -std=c++11 -o CMakeFiles/cmTC_6bce1.dir/src.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’ Linking CXX executable cmTC_6bce1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6bce1.dir/link.txt --verbose=1 /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_6bce1.dir/src.cxx.o -o cmTC_6bce1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ====="><pre class="notranslate"><code class="notranslate">Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-shorten-64-to-32' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b6735/fast" /usr/bin/make -f CMakeFiles/cmTC_b6735.dir/build.make CMakeFiles/cmTC_b6735.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b6735.dir/src.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-parameter -Wno-sign-compare -O3 -DNDEBUG -fPIE -Wno-shorten-64-to-32 -o CMakeFiles/cmTC_b6735.dir/src.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’ Linking C executable cmTC_b6735 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b6735.dir/link.txt --verbose=1 /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-parameter -Wno-sign-compare -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_b6735.dir/src.c.o -o cmTC_b6735 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the include file io.h exists failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9bfa5/fast" /usr/bin/make -f CMakeFiles/cmTC_9bfa5.dir/build.make CMakeFiles/cmTC_9bfa5.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory #include &lt;io.h&gt; ^~~~~~ compilation terminated. CMakeFiles/cmTC_9bfa5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o' failed make[1]: *** [CMakeFiles/cmTC_9bfa5.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_9bfa5/fast' failed make: *** [cmTC_9bfa5/fast] Error 2 Determining size of INT8 failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c5d39/fast" /usr/bin/make -f CMakeFiles/cmTC_c5d39.dir/build.make CMakeFiles/cmTC_c5d39.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c5d39.dir/int8.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_c5d39.dir/int8.c.o -c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c:23:22: error: ‘INT8’ undeclared here (not in a function); did you mean ‘INT8_C’? #define SIZE (sizeof(INT8)) ^ ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c:25:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_c5d39.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c5d39.dir/int8.c.o' failed make[1]: *** [CMakeFiles/cmTC_c5d39.dir/int8.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c5d39/fast' failed make: *** [cmTC_c5d39/fast] Error 2 ~/opencv-master/build/CMakeFiles/CheckTypeSize/int8.c: #include &lt;sys/types.h&gt; #include &lt;stdint.h&gt; #include &lt;stddef.h&gt; #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(INT8)) char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of INT16 failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a4877/fast" /usr/bin/make -f CMakeFiles/cmTC_a4877.dir/build.make CMakeFiles/cmTC_a4877.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a4877.dir/int16.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_a4877.dir/int16.c.o -c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c:23:22: error: ‘INT16’ undeclared here (not in a function); did you mean ‘INT16_C’? #define SIZE (sizeof(INT16)) ^ ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c:25:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_a4877.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_a4877.dir/int16.c.o' failed make[1]: *** [CMakeFiles/cmTC_a4877.dir/int16.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_a4877/fast' failed make: *** [cmTC_a4877/fast] Error 2 ~/opencv-master/build/CMakeFiles/CheckTypeSize/int16.c: #include &lt;sys/types.h&gt; #include &lt;stdint.h&gt; #include &lt;stddef.h&gt; #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(INT16)) char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of INT32 failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_20741/fast" /usr/bin/make -f CMakeFiles/cmTC_20741.dir/build.make CMakeFiles/cmTC_20741.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_20741.dir/int32.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_20741.dir/int32.c.o -c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c:23:22: error: ‘INT32’ undeclared here (not in a function); did you mean ‘INT32_C’? #define SIZE (sizeof(INT32)) ^ ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c:25:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_20741.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_20741.dir/int32.c.o' failed make[1]: *** [CMakeFiles/cmTC_20741.dir/int32.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_20741/fast' failed make: *** [cmTC_20741/fast] Error 2 ~/opencv-master/build/CMakeFiles/CheckTypeSize/int32.c: #include &lt;sys/types.h&gt; #include &lt;stdint.h&gt; #include &lt;stddef.h&gt; #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(INT32)) char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining if the function setmode exists failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fd91a/fast" /usr/bin/make -f CMakeFiles/cmTC_fd91a.dir/build.make CMakeFiles/cmTC_fd91a.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c Linking C executable cmTC_fd91a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fd91a.dir/link.txt --verbose=1 /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o -o cmTC_fd91a CMakeFiles/cmTC_fd91a.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup.main+0xc): undefined reference to `setmode' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_fd91a.dir/build.make:97: recipe for target 'cmTC_fd91a' failed make[1]: *** [cmTC_fd91a] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_fd91a/fast' failed make: *** [cmTC_fd91a/fast] Error 2 Build output check failed: Regex: 'command line option .* is valid for .* but not for C\+\+' Output line: 'cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-missing-prototypes' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fc97d/fast" /usr/bin/make -f CMakeFiles/cmTC_fc97d.dir/build.make CMakeFiles/cmTC_fc97d.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fc97d.dir/src.cxx.o /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG -fPIE -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_fc97d.dir/src.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma Linking CXX executable cmTC_fc97d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc97d.dir/link.txt --verbose=1 /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_fc97d.dir/src.cxx.o -o cmTC_fc97d make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1: warning: unrecognized command line option ‘-Wno-absolute-value’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-absolute-value' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_576bd/fast" /usr/bin/make -f CMakeFiles/cmTC_576bd.dir/build.make CMakeFiles/cmTC_576bd.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_576bd.dir/src.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -fPIE -Wno-absolute-value -o CMakeFiles/cmTC_576bd.dir/src.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1: warning: unrecognized command line option ‘-Wno-absolute-value’ Linking C executable cmTC_576bd /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_576bd.dir/link.txt --verbose=1 /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_576bd.dir/src.c.o -o cmTC_576bd make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-inconsistent-missing-override' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ca285/fast" /usr/bin/make -f CMakeFiles/cmTC_ca285.dir/build.make CMakeFiles/cmTC_ca285.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ca285.dir/src.cxx.o /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -fPIE -Wno-inconsistent-missing-override -std=c++11 -o CMakeFiles/cmTC_ca285.dir/src.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ Linking CXX executable cmTC_ca285 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ca285.dir/link.txt --verbose=1 /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_ca285.dir/src.cxx.o -o cmTC_ca285 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the Q_WS_WIN exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_47b2b/fast" /usr/bin/make -f CMakeFiles/cmTC_47b2b.dir/build.make CMakeFiles/cmTC_47b2b.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o /usr/bin/g++ -I/usr/include/qt4 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope return ((int*)(&amp;Q_WS_WIN))[argc]; ^~~~~~~~ ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int*)(&amp;Q_WS_WIN))[argc]; ^~~~~~~~ Q_WS_X11 CMakeFiles/cmTC_47b2b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_47b2b.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_47b2b/fast' failed make: *** [cmTC_47b2b/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include &lt;QtCore/qglobal.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_WIN return ((int*)(&amp;Q_WS_WIN))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_QWS exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f1e16/fast" /usr/bin/make -f CMakeFiles/cmTC_f1e16.dir/build.make CMakeFiles/cmTC_f1e16.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o /usr/bin/g++ -I/usr/include/qt4 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope return ((int*)(&amp;Q_WS_QWS))[argc]; ^~~~~~~~ ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int*)(&amp;Q_WS_QWS))[argc]; ^~~~~~~~ Q_WS_X11 CMakeFiles/cmTC_f1e16.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_f1e16.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f1e16/fast' failed make: *** [cmTC_f1e16/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include &lt;QtCore/qglobal.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_QWS return ((int*)(&amp;Q_WS_QWS))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_MAC exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0328e/fast" /usr/bin/make -f CMakeFiles/cmTC_0328e.dir/build.make CMakeFiles/cmTC_0328e.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o /usr/bin/g++ -I/usr/include/qt4 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope return ((int*)(&amp;Q_WS_MAC))[argc]; ^~~~~~~~ ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int*)(&amp;Q_WS_MAC))[argc]; ^~~~~~~~ Q_WS_X11 CMakeFiles/cmTC_0328e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_0328e.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_0328e/fast' failed make: *** [cmTC_0328e/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include &lt;QtCore/qglobal.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_MAC return ((int*)(&amp;Q_WS_MAC))[argc]; #else (void)argc; return 0; #endif } Determining if the pthread_create exist failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_32b5a/fast" /usr/bin/make -f CMakeFiles/cmTC_32b5a.dir/build.make CMakeFiles/cmTC_32b5a.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o /usr/bin/gcc -fPIC -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_32b5a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_32b5a.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o -o cmTC_32b5a CMakeFiles/cmTC_32b5a.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_32b5a.dir/build.make:97: recipe for target 'cmTC_32b5a' failed make[1]: *** [cmTC_32b5a] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_32b5a/fast' failed make: *** [cmTC_32b5a/fast] Error 2 File ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include &lt;pthread.h&gt; int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&amp;pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_31869/fast" /usr/bin/make -f CMakeFiles/cmTC_31869.dir/build.make CMakeFiles/cmTC_31869.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_31869.dir/CheckFunctionExists.c.o /usr/bin/gcc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_31869.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c Linking C executable cmTC_31869 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31869.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_31869.dir/CheckFunctionExists.c.o -o cmTC_31869 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_31869.dir/build.make:97: recipe for target 'cmTC_31869' failed make[1]: *** [cmTC_31869] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_31869/fast' failed make: *** [cmTC_31869/fast] Error 2 Determining if the include file sys/videoio.h exists failed with the following output: Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_70175/fast" /usr/bin/make -f CMakeFiles/cmTC_70175.dir/build.make CMakeFiles/cmTC_70175.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o /usr/bin/gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c ~/opencv-master/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory #include &lt;sys/videoio.h&gt; ^~~~~~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_70175.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o' failed make[1]: *** [CMakeFiles/cmTC_70175.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_70175/fast' failed make: *** [cmTC_70175/fast] Error 2 Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’' Compilation failed: source file: '~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-unused-private-field' ===== BUILD LOG ===== Change Dir: ~/opencv-master/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6bce1/fast" /usr/bin/make -f CMakeFiles/cmTC_6bce1.dir/build.make CMakeFiles/cmTC_6bce1.dir/build make[1]: Entering directory '~/opencv-master/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6bce1.dir/src.cxx.o /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -O3 -DNDEBUG -fPIE -Wno-unused-private-field -std=c++11 -o CMakeFiles/cmTC_6bce1.dir/src.cxx.o -c ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx ~/opencv-master/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’ Linking CXX executable cmTC_6bce1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6bce1.dir/link.txt --verbose=1 /usr/bin/g++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_6bce1.dir/src.cxx.o -o cmTC_6bce1 make[1]: Leaving directory '~/opencv-master/build/CMakeFiles/CMakeTmp' ===== END ===== </code></pre></div> </details> <h5 dir="auto">Steps to reproduce</h5> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUDA=ON -D WITH_CUBLAS=ON -D ENABLE_FAST_MATH=ON -D CUDA_FAST_MATH=ON -D ENABLE_NEON=ON -D WITH_LIBV4L=ON -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_GSTREAMER=ON -D WITH_PROTOBUF=OFF -D INSTALL_PYTHON_EXAMPLES=ON -D WITH_GSTREAMER_0_10=OFF -D WITH_OPENCL=ON -D BUILD_opencv_python2=ON -D BUILD_opencv_python3=ON -D WITH_FFMPEG=ON -D WITH_CUFFT=ON -D WITH_V4L=ON -D WITH_V4L2=ON -D WITH_LIBV4L2=ON -D WITH_LIBV4L=ON -D OPENCV_ENABLE_NONFREE=ON -D CMAKE_CXX_COMPILER=g++ -D CMAKE_C_COMPILER=gcc -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-master/modules .."><pre class="notranslate"> cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUDA=ON -D WITH_CUBLAS=ON -D ENABLE_FAST_MATH=ON -D CUDA_FAST_MATH=ON -D ENABLE_NEON=ON -D WITH_LIBV4L=ON -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_GSTREAMER=ON -D WITH_PROTOBUF=OFF -D INSTALL_PYTHON_EXAMPLES=ON -D WITH_GSTREAMER_0_10=OFF -D WITH_OPENCL=ON -D BUILD_opencv_python2=ON -D BUILD_opencv_python3=ON -D WITH_FFMPEG=ON -D WITH_CUFFT=ON -D WITH_V4L=ON -D WITH_V4L2=ON -D WITH_LIBV4L2=ON -D WITH_LIBV4L=ON -D OPENCV_ENABLE_NONFREE=ON -D CMAKE_CXX_COMPILER=g++ -D CMAKE_C_COMPILER=gcc -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-master/modules ..</pre></div>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.0.1</li> <li>Operating System / Platform =&gt; Linux 64-bit (Ubuntu 18.04)</li> <li>Compiler =&gt; Clang 7.0.1</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">The following test in <code class="notranslate">imgcodecs</code> is failing:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ RUN ] imgcodecs/Imgcodecs_Image.read_write/3, where GetParam() = &quot;jp2&quot; warning: empty layer generated opencv/modules/imgcodecs/test/test_read_write.cpp:75: Failure Expected: (psnr) &gt; (thresDbell), actual: 13.2068 vs 32 warning: empty layer generated opencv/modules/imgcodecs/test/test_read_write.cpp:93: Failure Expected: (psnr) &gt; (thresDbell), actual: 13.2068 vs 32 [ FAILED ] imgcodecs/Imgcodecs_Image.read_write/3, where GetParam() = &quot;jp2&quot; (303 ms)"><pre class="notranslate"><code class="notranslate">[ RUN ] imgcodecs/Imgcodecs_Image.read_write/3, where GetParam() = "jp2" warning: empty layer generated opencv/modules/imgcodecs/test/test_read_write.cpp:75: Failure Expected: (psnr) &gt; (thresDbell), actual: 13.2068 vs 32 warning: empty layer generated opencv/modules/imgcodecs/test/test_read_write.cpp:93: Failure Expected: (psnr) &gt; (thresDbell), actual: 13.2068 vs 32 [ FAILED ] imgcodecs/Imgcodecs_Image.read_write/3, where GetParam() = "jp2" (303 ms) </code></pre></div> <p dir="auto">Other unit tests in that library pass just fine, and there don't seem to be any problems compiling opencv or other tests failing in other modules.</p> <p dir="auto">The particular test does <em>not</em> fail when compiling with GCC 8.2.</p> <h5 dir="auto">Steps to reproduce</h5> <ul dir="auto"> <li>Tested on both 4.0.1 and 3.4.5, same behavior</li> <li>Relevant cmake configuration:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="-- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/local/bin/clang++ (ver 7.0.1) -- Media I/O: -- TIFF: build (ver 42 - 4.0.9) -- JPEG 2000: build (ver 1.900.1) -- OpenEXR: build (ver 1.7.1)"><pre class="notranslate"><code class="notranslate">-- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/local/bin/clang++ (ver 7.0.1) -- Media I/O: -- TIFF: build (ver 42 - 4.0.9) -- JPEG 2000: build (ver 1.900.1) -- OpenEXR: build (ver 1.7.1) </code></pre></div>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Developer should be able to shallow test components in pages using <code class="notranslate">withRedux</code></p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Cannot access methods or state within components in pages using <code class="notranslate">withRedux</code></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Create a page</li> <li>import <code class="notranslate">withRedux</code></li> <li>Manipulate state within the page</li> <li>Shallow test the page</li> <li><code class="notranslate">console log</code> the shallow test.</li> </ol> <p dir="auto">State or methods will not be shown in <code class="notranslate">console.log</code>.</p> <h2 dir="auto">Context</h2> <p dir="auto">We haven't been able to write tests for pages using <code class="notranslate">withRedux</code></p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>3.2.1</td> </tr> <tr> <td>node</td> <td>6.3.1</td> </tr> <tr> <td>OS</td> <td>OSX Sierra</td> </tr> <tr> <td>browser</td> <td>Chrome 61.0.3163.100</td> </tr> </tbody> </table>
<p dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> This won't hot reload when changes are made on render function:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react' export default class Opa extends React.Component { render = () =&gt; ( &lt;div&gt;Welcome to next.js!&lt;/div&gt; ) }"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">Opa</span> <span class="pl-k">extends</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span> <span class="pl-kos">{</span> <span class="pl-c1">render</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span>Welcome to next.js!<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><g-emoji class="g-emoji" alias="white_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2705.png">✅</g-emoji> But this will hot reload when changes are made on render function:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react' export default class Opa extends React.Component { render() { return ( &lt;div&gt;Welcome to next.js!&lt;/div&gt; ) } }"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">Opa</span> <span class="pl-k">extends</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span> <span class="pl-kos">{</span> <span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span>Welcome to next.js!<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">The arrow function version should hot reload. The create-react-app for instance can hot reload with arrow function.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>^3.0.1-beta.20</td> </tr> <tr> <td>node</td> <td>v6.11.1</td> </tr> <tr> <td>OS</td> <td>macOS</td> </tr> <tr> <td>browser</td> <td>Chrome 59</td> </tr> </tbody> </table>
0
<p dir="auto">Right now it is not possible to collapse the xml elements in the editor.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5127501/11301612/ca8c46f8-8f98-11e5-80d3-685bae4abb78.png"><img src="https://cloud.githubusercontent.com/assets/5127501/11301612/ca8c46f8-8f98-11e5-80d3-685bae4abb78.png" alt="code_xml" style="max-width: 100%;"></a></p>
<p dir="auto">I searched but couldnt find this in the issues. Id love to be able to collapse sections of the code. Any thoughts?</p>
1
<p dir="auto"><strong>Elasticsearch version</strong>: 2.3.0</p> <p dir="auto"><strong>Plugins installed</strong>: [head, decompound, naturalsort]</p> <p dir="auto"><strong>JVM version</strong>: 1.8.0_03</p> <p dir="auto"><strong>OS version</strong>: Linux Mint 18</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>: When performing a multi_match query with fuzziness enabled results with typos have higher score than exact matches. The expected behavior should give exact matches higher score than fuzzy matches.</p> <p dir="auto"><strong>Steps to reproduce</strong>:</p> <ol dir="auto"> <li>Create the search index with the provided index settings (<a href="https://github.com/elastic/elasticsearch/files/459299/index.txt">index.txt</a>)</li> <li>Insert the documents with the following values for the field "username": user100, user1000, user1001, user1002, user1003, user1004</li> <li>Execute the multi_match query (<a href="https://github.com/elastic/elasticsearch/files/459300/query.txt">query.txt</a>)</li> <li>The first few results are "user1000", "user1001", "user1002" etc. instead "user100"</li> </ol> <p dir="auto"><strong>Provide logs (if relevant)</strong>: /</p> <p dir="auto">This issue is a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="14993461" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/3125" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/3125/hovercard" href="https://github.com/elastic/elasticsearch/issues/3125">#3125</a>. But somehow this issue isn't fixed yet, although the Lucene bugfix <a href="https://issues.apache.org/jira/browse/LUCENE-329" rel="nofollow">https://issues.apache.org/jira/browse/LUCENE-329</a> is marked as solved.</p>
<p dir="auto">Using this query:</p> <p dir="auto">"query": {<br> "fuzzy": {<br> "_all": "excellent"<br> }</p> <p dir="auto">The top results are all misspellings of excellent, likely as the result of IDF.<br> This is surely behaviour that typical end users would see as a bug?<br> If nothing else the docs for fuzzy query should reference FuzzyLikeThis query as an alternative.</p> <p dir="auto">The ideal of behaviour of fuzzy was discussed here:<br> <a href="https://issues.apache.org/jira/browse/LUCENE-329" rel="nofollow">https://issues.apache.org/jira/browse/LUCENE-329</a></p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=logemann" rel="nofollow">Marc Logemann</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1623?redirect=false" rel="nofollow">SPR-1623</a></strong> and commented</p> <p dir="auto">wouldnt it make sense to enhance WebApplicationContextUtils with sister methods which accept a PortletContext? Currently I am working in a Portal Environment where its not easy to get a ServletContext, but a PortletContext is not different at all, unfortunately Websphere's PortletContext doesnt extend ServletContext.</p> <p dir="auto">perhaps like this:</p> <p dir="auto">static WebApplicationContext getRequiredWebApplicationContext(PortletContext pc)<br> static WebApplicationContext getWebApplicationContext(PortletContext pc)</p> <hr> <p dir="auto"><strong>Affects:</strong> 1.2.6</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kdonald" rel="nofollow">Keith Donald</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5368?redirect=false" rel="nofollow">SPR-5368</a></strong> and commented</p> <p dir="auto">It is common to use a component-scan directive in your app-config to populate your root application context.<br> Unfortunately, discovered <code class="notranslate">@Controllers</code> will not be hooked into the DispatcherServlet pipeline without also configuring a custom DefaultAnnotationHandlerMapping bean in this same context.<br> This appears to because the default AnnotationHandlerMapping instance the DispatcherServlet references does not detect handlers in ancestor contexts.<br> It would be nice if it would detect <code class="notranslate">@Controllers</code> in ancestor contexts by default... then no explicit DefaultAnnotationHandlerMapping would need to be registered if no other strategies were needed.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398094955" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10413" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10413/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10413">#10413</a> AbstractUrlHandlerMapping registerHandler does not register REST url paths if configured in global web.xml contextConfigLocation param instead of DispatcherServlet init-param (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
0
<p dir="auto">In <code class="notranslate">test_auc_duplicate_values</code> we use <code class="notranslate">reorder=True</code> which is deprecated.<br> If we remove that, the test fails. I'm confused as to what is happening?</p>
<p dir="auto">I find the equal distance warning in the neighbors module a bit annoying and think we should change the default value, so that no warning is raised.<br> As iris has duplicate points, the warning will always be raised there. For digits, I think the warning is raised because entries are discrete (0-16) so same distances are very likely.</p>
0
<ul dir="auto"> <li>Electron version:1.8.1 beta</li> <li>Operating system: mac os high sierra</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">system: mac os 10.11.6<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13149266/31598921-d866d882-b215-11e7-9c19-78411fcfdd66.png"><img src="https://user-images.githubusercontent.com/13149266/31598921-d866d882-b215-11e7-9c19-78411fcfdd66.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Actual behavior</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13149266/31598934-e1781fbc-b215-11e7-8eb1-504a59db8a25.png"><img src="https://user-images.githubusercontent.com/13149266/31598934-e1781fbc-b215-11e7-8eb1-504a59db8a25.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">This my BrowserWindow config.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const url = require('url') var config = { resizable: true, frame: false, titleBarStyle: 'hidden-inset', fullscreenable: false, &quot;vibrancy&quot;: &quot;dark&quot; } var win = new BrowserWindow(config) win.loadURL(url.format({ pathname: path.join(__dirname, 'index.html'), protocol: 'file:', slashes: true })) "><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'url'</span><span class="pl-kos">)</span> <span class="pl-k">var</span> <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">resizable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">frame</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c1">titleBarStyle</span>: <span class="pl-s">'hidden-inset'</span><span class="pl-kos">,</span> <span class="pl-c1">fullscreenable</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-s">"vibrancy"</span>: <span class="pl-s">"dark"</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">win</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-s1">config</span><span class="pl-kos">)</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-en">format</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">pathname</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s">'index.html'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">protocol</span>: <span class="pl-s">'file:'</span><span class="pl-kos">,</span> <span class="pl-c1">slashes</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div>
<ul dir="auto"> <li>Electron version: 1.7.6</li> <li>Operating system: MacOS High Sierra GM</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Title bar should not be invisible</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/320654/30441406-f34fe61a-993e-11e7-8592-244e50a92bb9.png"><img src="https://user-images.githubusercontent.com/320654/30441406-f34fe61a-993e-11e7-8592-244e50a92bb9.png" alt="screen shot 2017-09-14 at 11 22 04 am" style="max-width: 100%;"></a></p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Title bar is invisible</p> <h3 dir="auto">How to reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" mainWindow = new BrowserWindow({ vibrancy: 'light', titleBarStyle: 'hiddenInset', width: 800, height: 600 })"><pre class="notranslate"><code class="notranslate"> mainWindow = new BrowserWindow({ vibrancy: 'light', titleBarStyle: 'hiddenInset', width: 800, height: 600 }) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $ git clone [email protected]:gerges/electron-quick-start.git -b issue/invisible-titlebar $ npm install $ npm run start"><pre class="notranslate"><code class="notranslate"> $ git clone [email protected]:gerges/electron-quick-start.git -b issue/invisible-titlebar $ npm install $ npm run start </code></pre></div>
1
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")<br> [x] bug report</p> <p dir="auto"><strong>Current behavior</strong></p> <ul dir="auto"> <li><strong>I'm submitting a ...</strong></li> </ul> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> bug report</li> </ul> <ul dir="auto"> <li><strong>What modules are related to this Issue?</strong></li> </ul> <ul dir="auto"> <li>[X universal</li> </ul> <ul dir="auto"> <li><strong>What is the current behavior?</strong></li> </ul> <p dir="auto">Unable to server-render "code" placed in the <code class="notranslate">template</code> as the parser isn't sure how to handle it.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// adding this to a template causes the error &lt;code&gt; constructor () {} &lt;/code&gt;"><pre class="notranslate"><code class="notranslate">// adding this to a template causes the error &lt;code&gt; constructor () {} &lt;/code&gt; </code></pre></div> <p dir="auto"><strong>Error outputed:</strong></p> <blockquote> <p dir="auto">zone.js:388 Unhandled Promise rejection: Template parse errors:<br> Unexpected character "EOF" (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.) ("<br> <br> <br> [ERROR -&gt;]"): App@7:2<br> Invalid ICU message. Missing '}'. ("<br> <br> <br> [ERROR -&gt;]"): App@7:2 ; Zone: ; Task: Promise.then ; Value: Error: Template parse errors:(…) Error: Template parse errors:<br> Unexpected character "EOF" (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.) ("<br> <br> <br> [ERROR -&gt;]"): App@7:2<br> Invalid ICU message. Missing '}'. ("<br> <br> <br> [ERROR -&gt;]"): App@7:2<br> at TemplateParser.parse (<a href="https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:7728:21" rel="nofollow">https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:7728:21</a>)<br> at RuntimeCompiler._compileTemplate (<a href="https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17503:53" rel="nofollow">https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17503:53</a>)<br> at eval (<a href="https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17423:64" rel="nofollow">https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17423:64</a>)<br> at Set.forEach (native)<br> at RuntimeCompiler._compileComponents (<a href="https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17423:21" rel="nofollow">https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17423:21</a>)<br> at createResult (<a href="https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17319:21" rel="nofollow">https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:17319:21</a>)<br> at ZoneDelegate.invoke (<a href="https://unpkg.com/[email protected]/dist/zone.js:232:26" rel="nofollow">https://unpkg.com/[email protected]/dist/zone.js:232:26</a>)<br> at Zone.run (<a href="https://unpkg.com/[email protected]/dist/zone.js:114:43" rel="nofollow">https://unpkg.com/[email protected]/dist/zone.js:114:43</a>)<br> at <a href="https://unpkg.com/[email protected]/dist/zone.js:502:57" rel="nofollow">https://unpkg.com/[email protected]/dist/zone.js:502:57</a><br> at ZoneDelegate.invokeTask (<a href="https://unpkg.com/[email protected]/dist/zone.js:265:35" rel="nofollow">https://unpkg.com/[email protected]/dist/zone.js:265:35</a>)</p> </blockquote> <p dir="auto"><strong>Expected behavior</strong><br> Being able to drop regular code into <code class="notranslate">&lt;pre&gt; | &lt;code&gt;</code> tags, without having to do any special preparation of code so the template parser can handle it.<br> (I'm not positive if this is possible)</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> <strong>Plunkr demo</strong> :<br> <a href="http://plnkr.co/edit/MdEDMLEVAmGYeywaKchN?p=preview" rel="nofollow">http://plnkr.co/edit/MdEDMLEVAmGYeywaKchN?p=preview</a></p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> Any OS</p> <ul dir="auto"> <li> <p dir="auto"><strong>Angular version:</strong> 2.0.X<br> Happens with latest: <strong>2.2.0</strong> as well</p> </li> <li> <p dir="auto"><strong>Browser:</strong> [all]</p> </li> <li> <p dir="auto"><strong>Language:</strong> TypeScript 2.*</p> </li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> <code class="notranslate">&lt;div&gt;Test binding: {{2 + 2}}&lt;/div&gt;</code><br> =&gt; <code class="notranslate">Test binding: 4</code><br> <code class="notranslate">&lt;div ngNonBindable&gt;Test non binding: {{2 + 2}}&lt;/div&gt;</code><br> =&gt; <code class="notranslate">Test binding: {{2 + 2}}</code><br> <code class="notranslate">&lt;div&gt;Test non binding: {2 + 2}&lt;/div&gt;</code><br> =&gt; Template parse errors, the "(Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)" message.</p> <p dir="auto">This is a problem because precisely due to the fact that they are [ngNonBindable] marked elements, <code class="notranslate">"{{ '{' }}"</code> doesn't produce the expected result.</p> <p dir="auto"><strong>Expected behavior</strong><br> As the escaping of <code class="notranslate">{</code> characters isn't possible inside [ngNonBindable] elements so it's the compiler's job to ignore them altogether, I believe.</p> <p dir="auto"><code class="notranslate">&lt;div&gt;Test non binding: {2 + 2}&lt;/div&gt;</code><br> =&gt; <code class="notranslate">Test binding: {2 + 2}</code></p> <p dir="auto"><strong>Reproduction of the problem</strong><br> here =&gt; <a href="http://plnkr.co/edit/GSzwEUyXyY1qDabjpEL1?p=preview" rel="nofollow">http://plnkr.co/edit/GSzwEUyXyY1qDabjpEL1?p=preview</a></p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0</li> </ul>
1
<p dir="auto">I'm new for Atom so I don't have a clue how to fix this.</p> <p dir="auto">On Windows, I copy some text that have a trailing carriage return from other application, such as excel, notepad, then try to search the opening doc in Atom. Then I was surprising that there's no match. Because you cannot see the trailing carriage return in any form on the editor, you may not aware the fact that you are actually searching a 2-lines text.</p> <p dir="auto">The search input box seems to be a single-line one, so I guess we may need to trim CRs and LFs there.</p> <p dir="auto">Atom Version <code class="notranslate">0.181.0 2015/2/19 上午5:56:33</code></p>
<p dir="auto">Pasting something like this in the Find box displays incorrectly</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 'use strict'; "><pre class="notranslate"><code class="notranslate"> 'use strict'; </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/127535/5308709/f7235d2a-7bce-11e4-90c9-a2f6b2f092b8.png"><img src="https://cloud.githubusercontent.com/assets/127535/5308709/f7235d2a-7bce-11e4-90c9-a2f6b2f092b8.png" alt="paste" style="max-width: 100%;"></a></p> <p dir="auto">It seems like the box gets the height of the content so the overflow hidden doesnt happen.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/127535/5308745/6c95c1ba-7bcf-11e4-9e50-0f76dfc586eb.png"><img src="https://cloud.githubusercontent.com/assets/127535/5308745/6c95c1ba-7bcf-11e4-9e50-0f76dfc586eb.png" alt="css" style="max-width: 100%;"></a></p> <p dir="auto">Mac 0.152.0</p>
1
<p dir="auto">My understanding is that <code class="notranslate">org.neo4j.server.transaction.timeout</code> is only for server mode. I would like to request a timeout feature for embedded mode, to automatically abort any transaction longer than a given time. Ideally this could be overridden in an individual transaction. Previously we used the recommendation here: <a href="http://www.markhneedham.com/blog/2013/10/17/neo4j-setting-query-timeout/" rel="nofollow">http://www.markhneedham.com/blog/2013/10/17/neo4j-setting-query-timeout/</a> however, from the author's update comment, it seems this no longer works in Neo4j 2.2+. Maybe the execution guard function was removed? The timeout workaround we constructed in our own code (following that blog post, in an earlier Neo4j) does seem broken on Neo4j 2.3+. So we no longer have a way to catch runaway queries, as far as I know.<br> For comparison: Postgres <code class="notranslate">statement_timeout</code> <a href="http://www.postgresql.org/docs/9.3/static/runtime-config-client.html" rel="nofollow">http://www.postgresql.org/docs/9.3/static/runtime-config-client.html</a></p>
<p dir="auto">I am using Java API in an embedded graph (version 1.9.4) and using the following code to get the ShortestPath -<br> GraphAlgoFactory.shortestPath(expander, 15)<br> where expander is a expander with specific relationship types.</p> <p dir="auto">In rare cases, the graph (which is about 28 G on a JVM sized to 10G) just spins for more than 30 minutes. Is there a way to specify the timeout so that shortestPath query is cancelled?</p>
1
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/target-the-children-of-an-element-using-jquery#?solution=%0Afccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.parent%28%29.css%28%22background-color%22%2C%20%22red%22%29%3B%0A%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Target the Children of an Element Using jQuery</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <hr> <p dir="auto">After Loading in the page, without changing any code, there are two #Target5's on the left-well. As soon as any code is changed on the page, the 2nd #Target5 goes away, and if you delete any code you have put on there, as well as "reset to default" it comes back. Doing a hard refresh does not change this.</p> <hr> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;script&gt; $(document).ready(function() { $(&quot;#target1&quot;).css(&quot;color&quot;, &quot;red&quot;); $(&quot;#target1&quot;).prop(&quot;disabled&quot;, true); $(&quot;#target4&quot;).remove(); $(&quot;#target2&quot;).appendTo(&quot;#right-well&quot;); $(&quot;#target5&quot;).clone().appendTo(&quot;#left-well&quot;); $(&quot;#target1&quot;).parent().css(&quot;background-color&quot;, &quot;red&quot;); }); &lt;/script&gt; &lt;!-- Only change code above this line. --&gt; &lt;div class=&quot;container-fluid&quot;&gt; &lt;h3 class=&quot;text-primary text-center&quot;&gt;jQuery Playground&lt;/h3&gt; &lt;div class=&quot;row&quot;&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#left-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;left-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target1&quot;&gt;#target1&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target2&quot;&gt;#target2&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target3&quot;&gt;#target3&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#right-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;right-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target4&quot;&gt;#target4&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target5&quot;&gt;#target5&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target6&quot;&gt;#target6&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">parent</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"background-color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-c">&lt;!-- Only change code above this line. --&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">&gt;</span>jQuery Playground<span class="pl-kos">&lt;/</span><span class="pl-ent">h3</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#left-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">&gt;</span>#target1<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">&gt;</span>#target2<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">&gt;</span>#target3<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#right-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">&gt;</span>#target4<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">&gt;</span>#target5<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">&gt;</span>#target6<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Clone an Element Using jQuery</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <h2 dir="auto">Issue</h2> <p dir="auto">I believe I've found bug in the phone simulation in <strong>Waypoint: Clone an Element Using jQuery</strong>:</p> <p dir="auto">I entered the code to clone <code class="notranslate">target5</code> and append it to <code class="notranslate">left-well</code>, and now I see three <strong>target5</strong> buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:</p> <ul dir="auto"> <li>Waypoint: Target the Parent of an Element Using jQuery</li> <li>Waypoint: Target the Children of an Element Using jQuery</li> </ul> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qualitymanifest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qualitymanifest">@qualitymanifest</a> confirms this issue on his <strong>Linux</strong> box.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png"><img src="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">My code:</h2> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;script&gt; $(document).ready(function() { $(&quot;#target1&quot;).css(&quot;color&quot;, &quot;red&quot;); $(&quot;#target1&quot;).prop(&quot;disabled&quot;, true); $(&quot;#target4&quot;).remove(); $(&quot;#target2&quot;).appendTo(&quot;#right-well&quot;); $(&quot;#target5&quot;).clone().appendTo(&quot;#left-well&quot;); }); &lt;/script&gt; &lt;!-- Only change code above this line. --&gt; &lt;div class=&quot;container-fluid&quot;&gt; &lt;h3 class=&quot;text-primary text-center&quot;&gt;jQuery Playground&lt;/h3&gt; &lt;div class=&quot;row&quot;&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#left-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;left-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target1&quot;&gt;#target1&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target2&quot;&gt;#target2&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target3&quot;&gt;#target3&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#right-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;right-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target4&quot;&gt;#target4&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target5&quot;&gt;#target5&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target6&quot;&gt;#target6&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-c">&lt;!-- Only change code above this line. --&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">&gt;</span>jQuery Playground<span class="pl-kos">&lt;/</span><span class="pl-ent">h3</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#left-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">&gt;</span>#target1<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">&gt;</span>#target2<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">&gt;</span>#target3<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#right-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">&gt;</span>#target4<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">&gt;</span>#target5<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">&gt;</span>#target6<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span></pre></div>
1
<h3 dir="auto">Problem description</h3> <p dir="auto">It's a weird issue. The border of a TextField has the color black (see Screenshot):</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2188790/20939277/7f42c96e-bbee-11e6-877b-7ffcd8ed283d.png"><img width="602" alt="bildschirmfoto 2016-12-06 um 19 26 21" src="https://cloud.githubusercontent.com/assets/2188790/20939277/7f42c96e-bbee-11e6-877b-7ffcd8ed283d.png" style="max-width: 100%;"></a></p> <p dir="auto">Checking the CSS in the developer console:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2188790/20939294/924283ce-bbee-11e6-8a6a-23427279ffd4.png"><img width="283" alt="bildschirmfoto 2016-12-06 um 19 26 37" src="https://cloud.githubusercontent.com/assets/2188790/20939294/924283ce-bbee-11e6-8a6a-23427279ffd4.png" style="max-width: 100%;"></a></p> <p dir="auto">So obviously there is no color set on the border.</p> <p dir="auto">This happens in Chrome, but in Firefox it works. But it get even more weird: When I build my app with the flag <code class="notranslate">NODE_ENV=production</code> then it DOES work properly.</p> <p dir="auto">Also changing these two lines of code here: <a href="https://github.com/callemall/material-ui/blob/master/src/TextField/TextFieldUnderline.js#L94-L95">https://github.com/callemall/material-ui/blob/master/src/TextField/TextFieldUnderline.js#L94-L95</a></p> <p dir="auto">… to <code class="notranslate">borderBottom: 'solid 2px ' + focusColor,</code> work as well, even with a normal build.</p> <p dir="auto">I wanted to create a Webpackbin example, but there it works fine.</p> <p dir="auto">I'm using Meteor, don't know if that matters. But maybe someone find a solution.</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.16.4</li> <li>React: 15.4.1</li> <li>Browser: Chrome 54</li> </ul>
<h3 dir="auto"><code class="notranslate">borderColor</code> does not work!</h3> <p dir="auto">I copied the code from <a href="http://www.material-ui.com/#/components/text-field" rel="nofollow">http://www.material-ui.com/#/components/text-field</a>.</p> <p dir="auto"><em>Styled examples</em></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const styles = { errorStyle: { color: orange500, }, underlineStyle: { borderColor: orange500, }, floatingLabelStyle: { color: orange500, }, floatingLabelFocusStyle: { color: blue500, }, }; // ....... &lt;TextField hintText=&quot;Custom Underline Focus Color&quot; underlineFocusStyle={styles.underlineStyle} /&gt;"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">styles</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">errorStyle</span>: <span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-s1">orange500</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">underlineStyle</span>: <span class="pl-kos">{</span> <span class="pl-c1">borderColor</span>: <span class="pl-s1">orange500</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">floatingLabelStyle</span>: <span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-s1">orange500</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">floatingLabelFocusStyle</span>: <span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-s1">blue500</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-c">// .......</span> <span class="pl-c1">&lt;</span><span class="pl-ent">TextField</span> <span class="pl-c1">hintText</span><span class="pl-c1">=</span><span class="pl-s">"Custom Underline Focus Color"</span> <span class="pl-c1">underlineFocusStyle</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">styles</span><span class="pl-kos">.</span><span class="pl-c1">underlineStyle</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">It doesn't work, the <code class="notranslate">border-corlor</code> keeps in default.</p> <h3 dir="auto"><code class="notranslate">borderBottomColor</code> works well.</h3> <p dir="auto">I tried to set <code class="notranslate">borderBottomColor</code>, and it works.</p> <h3 dir="auto">I don't know if it was a bug.</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9475864/20791389/c41396e0-b7f7-11e6-84b2-8397efd5bf30.png"><img src="https://cloud.githubusercontent.com/assets/9475864/20791389/c41396e0-b7f7-11e6-84b2-8397efd5bf30.png" alt="image" style="max-width: 100%;"></a><br> Chrome<br> create-react-app</p>
1
<p dir="auto">Please go to Stack Overflow for help and support:</p> <p dir="auto">Microsoft Windows [Version 6.3.9600]<br> (c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.</p> <p dir="auto">C:\Users\Fritz&gt;pip install "C:\tensorflow\tensorflow\contrib\cmake\build\tf_pyth<br> on\dist\tensorflow_gpu-1.5.0-cp35-cp35m-win_amd64.whl"<br> Requirement 'C:\tensorflow\tensorflow\contrib\cmake\build\tf_python\dist<br> \tensorflow_gpu-1.5.0-cp35-cp35m-win_amd64.whl' looks like a filename, but the f<br> ile does not exist<br> tensorflow_gpu-1.5.0-cp35-cp35m-win_amd64.whl is not a supported wheel on this p<br> latform.<br> You are using pip version 9.0.1, however version 10.0.1 is available.<br> You should consider upgrading via the 'python -m pip install --upgrade pip' comm<br> and.</p> <p dir="auto">C:\Users\Fritz&gt;pip install "C:\tensorflow\tensorflow\contrib\cmake\build\tf_pyth<br> on\dist\tensorflow_gpu-1.5.0-cp35-cp35m-win_amd64.whl"</p> <p dir="auto">C:\Users\Fritz&gt;pip install --upgrade --no-deps --force-reinstall tensorflow-gpu<br> Collecting tensorflow-gpu<br> Cache entry deserialization failed, entry ignored<br> Using cached <a href="https://files.pythonhosted.org/packages/51/bc/29202147b513f0ed5fb" rel="nofollow">https://files.pythonhosted.org/packages/51/bc/29202147b513f0ed5fb</a><br> dd40f05c6bc2a19722cfb4dd24d77a7c2080a06b4/tensorflow_gpu-1.9.0-cp36-cp36m-win_am<br> d64.whl<br> Installing collected packages: tensorflow-gpu<br> Found existing installation: tensorflow-gpu 1.9.0<br> Uninstalling tensorflow-gpu-1.9.0:<br> Successfully uninstalled tensorflow-gpu-1.9.0<br> Successfully installed tensorflow-gpu-1.9.0<br> You are using pip version 9.0.1, however version 10.0.1 is available.<br> You should consider upgrading via the 'python -m pip install --upgrade pip' comm<br> and.</p> <p dir="auto">C:\Users\Fritz&gt;python<br> Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AM<br> D64)] on win32<br> Type "help", "copyright", "credits" or "license" for more information.</p> <blockquote> <blockquote> <blockquote> <p dir="auto">import tensorflow as tf<br> Traceback (most recent call last):<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper</p> </blockquote> </blockquote> </blockquote> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return importlib.import_module(mname)"><pre class="notranslate"><code class="notranslate">return importlib.import_module(mname) </code></pre></div> <p dir="auto">File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\importlib_<em>in<br> it</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> File "", line 986, in _gcd_import<br> File "", line 969, in _find_and_load<br> File "", line 958, in _find_and_load_unlocked<br> File "", line 666, in _load_unlocked<br> File "", line 577, in module_from_spec<br> File "", line 906, in create_module<br> File "", line 222, in _call_with_frames_removed<br> ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow.py", line 58, in <br> from tensorflow.python.pywrap_tensorflow_internal import *<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <br> _pywrap_tensorflow_internal = swig_import_helper()<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return importlib.import_module('_pywrap_tensorflow_internal')"><pre class="notranslate"><code class="notranslate">return importlib.import_module('_pywrap_tensorflow_internal') </code></pre></div> <p dir="auto">File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\importlib_<em>in<br> it</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> ImportError: No module named '_pywrap_tensorflow_internal'</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "", line 1, in <br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow_<em>init</em>_.py", line 24, in <br> from tensorflow.python import *<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python_<em>init</em>_.py", line 49, in <br> from tensorflow.python import pywrap_tensorflow<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow.py", line 74, in <br> raise ImportError(msg)<br> ImportError: Traceback (most recent call last):<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return importlib.import_module(mname)"><pre class="notranslate"><code class="notranslate">return importlib.import_module(mname) </code></pre></div> <p dir="auto">File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\importlib_<em>in<br> it</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> File "", line 986, in _gcd_import<br> File "", line 969, in _find_and_load<br> File "", line 958, in _find_and_load_unlocked<br> File "", line 666, in _load_unlocked<br> File "", line 577, in module_from_spec<br> File "", line 906, in create_module<br> File "", line 222, in _call_with_frames_removed<br> ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow.py", line 58, in <br> from tensorflow.python.pywrap_tensorflow_internal import *<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <br> _pywrap_tensorflow_internal = swig_import_helper()<br> File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\site-packages<br> tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return importlib.import_module('_pywrap_tensorflow_internal')"><pre class="notranslate"><code class="notranslate">return importlib.import_module('_pywrap_tensorflow_internal') </code></pre></div> <p dir="auto">File "C:\Users\Fritz\AppData\Local\Programs\Python\Python35\lib\importlib_<em>in<br> it</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> ImportError: No module named '_pywrap_tensorflow_internal'</p> <p dir="auto">Failed to load the native TensorFlow runtime.</p> <p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_probl" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_probl</a><br> ems</p> <p dir="auto">for some common reasons and solutions. Include the entire stack trace<br> above this error message when asking for help.</p> <blockquote> <blockquote> <blockquote> </blockquote> </blockquote> </blockquote> <p dir="auto">What is wrong ?</p>
<p dir="auto">As announced in release notes, TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load with any of the following errors:</p> <ul dir="auto"> <li><code class="notranslate">ImportError: DLL load failed:</code></li> <li>A crash with return code 132</li> </ul> <p dir="auto">Our recommendation is to build TF from sources on these systems.</p> <h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: ubuntu/windows/macos</li> <li><strong>TensorFlow installed from (source or binary)</strong>: binary</li> <li><strong>TensorFlow version (use command below)</strong>: 1.6 and up</li> <li><strong>Python version</strong>: 2.7, 3.3, 3.4, 3.5, 3.6 and any newer</li> <li><strong>Bazel version (if compiling from source)</strong>: n/a</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li> <li><strong>CUDA/cuDNN version</strong>: any</li> <li><strong>GPU model and memory</strong>: any</li> <li><strong>Exact command to reproduce</strong>: python -c "import tensorflow as tf"</li> </ul>
1
<p dir="auto">Challenge <a href="http://beta.freecodecamp.com/challenges/waypoint-declare-string-variables" rel="nofollow">http://beta.freecodecamp.com/challenges/waypoint-declare-string-variables</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">Challenge <a href="http://beta.freecodecamp.com/challenges/waypoint-declare-string-variables" rel="nofollow">http://beta.freecodecamp.com/challenges/waypoint-declare-string-variables</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
1
<p dir="auto">Hi, I found two duplicate property set in exported CSS.<br> I don't know if it's the purpose or there's problem with LESS to CSS conversion.</p> <div class="highlight highlight-source-css notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" /* line 3483, padding */ .btn-group-xs &gt; .btn { padding: 5px 10px; padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 3px; } /* line 4956, display */ .thumbnail { display: inline-block; display: block; height: auto; max-width: 100%; padding: 4px; line-height: 1.428571429; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 4px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }"><pre class="notranslate"><span class="pl-c">/* line 3483, padding */</span> .<span class="pl-c1">btn-group-xs</span> <span class="pl-c1">&gt;</span> .<span class="pl-c1">btn</span> { <span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">5<span class="pl-smi">px</span></span> <span class="pl-c1">10<span class="pl-smi">px</span></span>; <span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">1<span class="pl-smi">px</span></span> <span class="pl-c1">5<span class="pl-smi">px</span></span>; <span class="pl-c1">font-size</span><span class="pl-kos">:</span> <span class="pl-c1">12<span class="pl-smi">px</span></span>; <span class="pl-c1">line-height</span><span class="pl-kos">:</span> <span class="pl-c1">1.5</span>; <span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">3<span class="pl-smi">px</span></span>; } <span class="pl-c">/* line 4956, display */</span> .<span class="pl-c1">thumbnail</span> { <span class="pl-c1">display</span><span class="pl-kos">:</span> inline-block; <span class="pl-c1">display</span><span class="pl-kos">:</span> block; <span class="pl-c1">height</span><span class="pl-kos">:</span> auto; <span class="pl-c1">max-width</span><span class="pl-kos">:</span> <span class="pl-c1">100<span class="pl-smi">%</span></span>; <span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">4<span class="pl-smi">px</span></span>; <span class="pl-c1">line-height</span><span class="pl-kos">:</span> <span class="pl-c1">1.428571429</span>; <span class="pl-c1">background-color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>ffffff</span>; <span class="pl-c1">border</span><span class="pl-kos">:</span> <span class="pl-c1">1<span class="pl-smi">px</span></span> solid <span class="pl-pds"><span class="pl-kos">#</span>dddddd</span>; <span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">4<span class="pl-smi">px</span></span>; <span class="pl-c1">-webkit-transition</span><span class="pl-kos">:</span> all <span class="pl-c1">0.2<span class="pl-smi">s</span></span> ease-in-out; <span class="pl-c1">transition</span><span class="pl-kos">:</span> all <span class="pl-c1">0.2<span class="pl-smi">s</span></span> ease-in-out; }</pre></div> <p dir="auto">Thx</p>
<p dir="auto">I have popovers in hrefs in a modal div with couple of text and number inputs and all inputs are cleared out when popover is hiding.</p>
0
<h3 dir="auto">System Info</h3> <ul dir="auto"> <li>transformers version: <strong>4.30.2</strong></li> <li>Python version: <strong>3.10.11</strong></li> <li>System: Ubuntu 22.04.2 LTS</li> </ul> <h3 dir="auto">Who can help?</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ArthurZucker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ArthurZucker">@ArthurZucker</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younesbelkada/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younesbelkada">@younesbelkada</a></p> <h3 dir="auto">Information</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> My own modified scripts</li> </ul> <h3 dir="auto">Tasks</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> My own task or dataset (give details below)</li> </ul> <h3 dir="auto">Reproduction</h3> <p dir="auto">For the following code,</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model_name = 'TheBloke/guanaco-7B-HF' model = AutoModel.from_pretrained(model_name, torch_dtype=torch.bfloat16, trust_remote_code=True) model = model.to('cuda') inputs = tokenizer(['hello'], max_length=100, truncation=True, return_tensors=&quot;pt&quot;).to(model.device) outputs = model(**inputs)"><pre class="notranslate"><span class="pl-s1">model_name</span> <span class="pl-c1">=</span> <span class="pl-s">'TheBloke/guanaco-7B-HF'</span> <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">AutoModel</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s1">model_name</span>, <span class="pl-s1">torch_dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">bfloat16</span>, <span class="pl-s1">trust_remote_code</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-s1">model</span>.<span class="pl-en">to</span>(<span class="pl-s">'cuda'</span>) <span class="pl-s1">inputs</span> <span class="pl-c1">=</span> <span class="pl-en">tokenizer</span>([<span class="pl-s">'hello'</span>], <span class="pl-s1">max_length</span><span class="pl-c1">=</span><span class="pl-c1">100</span>, <span class="pl-s1">truncation</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">return_tensors</span><span class="pl-c1">=</span><span class="pl-s">"pt"</span>).<span class="pl-en">to</span>(<span class="pl-s1">model</span>.<span class="pl-s1">device</span>) <span class="pl-s1">outputs</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-c1">**</span><span class="pl-s1">inputs</span>)</pre></div> <p dir="auto">I got following error messages:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[34], line 2 1 inputs = tokenizer(['hello'], max_length=100, truncation=True, return_tensors=&quot;pt&quot;).to(model.device) ----&gt; 2 outputs = model(**inputs) File ~/miniconda/envs/vocab/lib/python3.10/site-packages/torch/nn/modules/module.py:1501, in Module._call_impl(self, *args, **kwargs) 1496 # If we don't have any hooks, we want to skip the rest of the logic in 1497 # this function, and just call forward. 1498 if not (self._backward_hooks or self._backward_pre_hooks or self._forward_hooks or self._forward_pre_hooks 1499 or _global_backward_pre_hooks or _global_backward_hooks 1500 or _global_forward_hooks or _global_forward_pre_hooks): -&gt; 1501 return forward_call(*args, **kwargs) 1502 # Do not call functions when jit is used 1503 full_backward_hooks, non_full_backward_hooks = [], [] TypeError: LlamaModel.forward() got an unexpected keyword argument 'token_type_ids'"><pre class="notranslate"><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">-</span> <span class="pl-v">TypeError</span> <span class="pl-v">Traceback</span> <span class="pl-kos">(</span><span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span><span class="pl-kos">)</span> <span class="pl-v">Cell</span> <span class="pl-v">In</span><span class="pl-kos">[</span><span class="pl-c1">34</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">line</span> <span class="pl-c1">2</span> <span class="pl-c1">1</span><span class="pl-kos"></span> <span class="pl-s1">inputs</span> <span class="pl-c1">=</span> <span class="pl-en">tokenizer</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'hello'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">max_length</span><span class="pl-c1">=</span><span class="pl-c1">100</span><span class="pl-kos">,</span> <span class="pl-s1">truncation</span><span class="pl-c1">=</span><span class="pl-v">True</span><span class="pl-kos">,</span> <span class="pl-s1">return_tensors</span><span class="pl-c1">=</span><span class="pl-s">"pt"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">to</span><span class="pl-kos">(</span><span class="pl-s1">model</span><span class="pl-kos">.</span><span class="pl-c1">device</span><span class="pl-kos">)</span> <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2</span> <span class="pl-s1">outputs</span> <span class="pl-c1">=</span> <span class="pl-en">model</span><span class="pl-kos">(</span><span class="pl-s1"></span><span class="pl-c1">**</span><span class="pl-s1">inputs</span><span class="pl-kos">)</span> <span class="pl-v">File</span><span class="pl-kos"></span> <span class="pl-c1">~</span><span class="pl-pds"><span class="pl-c1">/</span>miniconda<span class="pl-c1">/</span>envs</span><span class="pl-c1">/</span><span class="pl-s1">vocab</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">.10</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">torch</span><span class="pl-c1">/</span><span class="pl-s1">nn</span><span class="pl-c1">/</span><span class="pl-s1">modules</span><span class="pl-c1">/</span><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">py</span>:<span class="pl-c1">1501</span><span class="pl-kos">,</span> <span class="pl-s1">in</span> <span class="pl-v">Module</span><span class="pl-kos">.</span><span class="pl-en">_call_impl</span><span class="pl-kos">(</span><span class="pl-s1">self</span><span class="pl-kos">,</span> <span class="pl-c1">*</span><span class="pl-s1">args</span><span class="pl-kos">,</span> <span class="pl-c1">**</span><span class="pl-s1">kwargs</span><span class="pl-kos">)</span> <span class="pl-c1">1496</span> # <span class="pl-v">If</span> <span class="pl-s1">we</span> <span class="pl-s1">don</span><span class="pl-s">'t have any hooks, we want to skip the rest of the logic in</span> <span class="pl-s"> 1497 # this function, and just call forward.</span> <span class="pl-s"> 1498 if not (self._backward_hooks or self._backward_pre_hooks or self._forward_hooks or self._forward_pre_hooks</span> <span class="pl-s"> 1499 or _global_backward_pre_hooks or _global_backward_hooks</span> <span class="pl-s"> 1500 or _global_forward_hooks or _global_forward_pre_hooks):</span> <span class="pl-s">-&gt; 1501 return forward_call(*args, **kwargs)</span> <span class="pl-s"> 1502 # Do not call functions when jit is used</span> <span class="pl-s"> 1503 full_backward_hooks, non_full_backward_hooks = [], []</span> <span class="pl-s"></span> <span class="pl-s">TypeError: LlamaModel.forward() got an unexpected keyword argument '</span><span class="pl-s1">token_type_ids</span>'</pre></div> <p dir="auto">The <code class="notranslate">inputs</code> value is following:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{'input_ids': tensor([[ 1, 22172]], device='cuda:0'), 'token_type_ids': tensor([[0, 0]], device='cuda:0'), 'attention_mask': tensor([[1, 1]], device='cuda:0')}"><pre class="notranslate"><span class="pl-kos">{</span><span class="pl-s">'input_ids'</span>: <span class="pl-en">tensor</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">22172</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s">'cuda:0'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s">'token_type_ids'</span>: <span class="pl-en">tensor</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s">'cuda:0'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s">'attention_mask'</span>: <span class="pl-en">tensor</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s">'cuda:0'</span><span class="pl-kos">)</span><span class="pl-kos">}</span></pre></div> <p dir="auto">There is <code class="notranslate">token_type_ids</code> in the value returned from <code class="notranslate">tokenizer</code>, however, <code class="notranslate">LlamaModel.forward()</code> don't accept the arguments.</p> <p dir="auto">And I compared <code class="notranslate">LlamaTokenizer</code> and <code class="notranslate">LlamaTokenizerFast</code>, I found they behave differently.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from transformers import LlamaTokenizer, LlamaTokenizerFast print(f&quot;LlamaTokenizer: {LlamaTokenizer.from_pretrained(model_name)('hello')}&quot;) print(f&quot;LlamaTokenizerFast: {LlamaTokenizerFast.from_pretrained(model_name)('hello')}&quot;)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">transformers</span> <span class="pl-k">import</span> <span class="pl-v">LlamaTokenizer</span>, <span class="pl-v">LlamaTokenizerFast</span> <span class="pl-en">print</span>(<span class="pl-s">f"LlamaTokenizer: <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-v">LlamaTokenizer</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s1">model_name</span>)(<span class="pl-s">'hello'</span>)<span class="pl-kos">}</span></span>"</span>) <span class="pl-en">print</span>(<span class="pl-s">f"LlamaTokenizerFast: <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-v">LlamaTokenizerFast</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s1">model_name</span>)(<span class="pl-s">'hello'</span>)<span class="pl-kos">}</span></span>"</span>)</pre></div> <p dir="auto">the results are:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="LlamaTokenizer: {'input_ids': [1, 22172], 'attention_mask': [1, 1]} LlamaTokenizerFast: {'input_ids': [1, 22172], 'token_type_ids': [0, 0], 'attention_mask': [1, 1]}"><pre class="notranslate">LlamaTokenizer: <span class="pl-kos">{</span><span class="pl-s">'input_ids'</span>: <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">22172</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">'attention_mask'</span>: <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">}</span> LlamaTokenizerFast: <span class="pl-kos">{</span><span class="pl-s">'input_ids'</span>: <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">22172</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">'token_type_ids'</span>: <span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">'attention_mask'</span>: <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">}</span></pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Should <code class="notranslate">LlamaTokenizerFast</code> remove the <code class="notranslate">token_type_ids</code> in the returned value? or should <code class="notranslate">LlamaModel.forward()</code> accept the <code class="notranslate">token_type_ids</code> in the function arguments list? Thanks.</p>
<h3 dir="auto">System Info</h3> <p dir="auto">platform==Ubuntu18.04<br> python==3.10<br> transformers==4.29.2</p> <h3 dir="auto">Who can help?</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ArthurZucker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ArthurZucker">@ArthurZucker</a></p> <h3 dir="auto">Information</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> My own modified scripts</li> </ul> <h3 dir="auto">Tasks</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> My own task or dataset (give details below)</li> </ul> <h3 dir="auto">Reproduction</h3> <p dir="auto"><code class="notranslate">&lt;/s&gt;</code> is the special token of LLaMATokenizer(Fast), it is expected that <code class="notranslate">&lt;/s&gt;</code> can be recognized as a single token when encoding the text. However, it can be shown that the two tokenizers behave differently:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; t1 = transformers.AutoTokenizer.from_pretrained(&quot;huggyllama/llama-7b&quot;, use_fast=True) &gt;&gt;&gt; t2 = transformers.AutoTokenizer.from_pretrained(&quot;huggyllama/llama-7b&quot;, use_fast=False) &gt;&gt;&gt; text = &quot;I love you.&lt;/s&gt;&quot; &gt;&gt;&gt; t1(text) &gt;&gt;&gt; {'input_ids': [1, 306, 5360, 366, 21106, 29879, 29958], 'token_type_ids': [0, 0, 0, 0, 0, 0, 0], 'attention_mask': [1, 1, 1, 1, 1, 1, 1]} &gt;&gt;&gt; t2(text) &gt;&gt;&gt; {'input_ids': [1, 306, 5360, 366, 29889, 2], 'attention_mask': [1, 1, 1, 1, 1, 1]}"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">t1</span> <span class="pl-c1">=</span> <span class="pl-s1">transformers</span>.<span class="pl-v">AutoTokenizer</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s">"huggyllama/llama-7b"</span>, <span class="pl-s1">use_fast</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">t2</span> <span class="pl-c1">=</span> <span class="pl-s1">transformers</span>.<span class="pl-v">AutoTokenizer</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s">"huggyllama/llama-7b"</span>, <span class="pl-s1">use_fast</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">text</span> <span class="pl-c1">=</span> <span class="pl-s">"I love you.&lt;/s&gt;"</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-en">t1</span>(<span class="pl-s1">text</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> {<span class="pl-s">'input_ids'</span>: [<span class="pl-c1">1</span>, <span class="pl-c1">306</span>, <span class="pl-c1">5360</span>, <span class="pl-c1">366</span>, <span class="pl-c1">21106</span>, <span class="pl-c1">29879</span>, <span class="pl-c1">29958</span>], <span class="pl-s">'token_type_ids'</span>: [<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>], <span class="pl-s">'attention_mask'</span>: [<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]} <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-en">t2</span>(<span class="pl-s1">text</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> {<span class="pl-s">'input_ids'</span>: [<span class="pl-c1">1</span>, <span class="pl-c1">306</span>, <span class="pl-c1">5360</span>, <span class="pl-c1">366</span>, <span class="pl-c1">29889</span>, <span class="pl-c1">2</span>], <span class="pl-s">'attention_mask'</span>: [<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]}</pre></div> <p dir="auto">also, LLaMATokenizerFast returns <code class="notranslate">token_type_ids</code> but LLaMATokenizer does not.</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">LLaMATokenizerFast to be consistent with LLaMATokenzier.</p>
1
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/83c710b6f795a5c7f7c7c1e6765212a93e655a010dcb5a60bee5ed3c321af020/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3533303938382f323231363537332f31613966393434382d396130642d313165332d383238382d6434633337646265666339322e706e67"><img src="https://camo.githubusercontent.com/83c710b6f795a5c7f7c7c1e6765212a93e655a010dcb5a60bee5ed3c321af020/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3533303938382f323231363537332f31613966393434382d396130642d313165332d383238382d6434633337646265666339322e706e67" alt="test image" data-canonical-src="https://f.cloud.github.com/assets/530988/2216573/1a9f9448-9a0d-11e3-8288-d4c37dbefc92.png" style="max-width: 100%;"></a></p> <p dir="auto">I believe the spacing between the polygons shouldn't be there. Below is my code. Is this a bug or am I missing some option? It happens on all backends.</p> <p dir="auto">I know that I can enlarge the polygons slightly so that they overlap each other which then removes these spaces, but this approach is only suitable for very simple polygons like the rectangular ones above, and in my real use-case I have arbitrarily shaped polygons, so that's not really an option.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import matplotlib as mpl mpl.use('agg') import matplotlib.pyplot as plt from matplotlib.collections import PolyCollection def createPolygons(xv, yv): assert xv.shape == yv.shape xy = np.dstack((xv,yv)) # adapted from matplotlib.collections.QuadMesh.convert_mesh_to_paths verts = np.concatenate(( xy[0:-1, 0:-1], xy[0:-1, 1: ], xy[1: , 1: ], xy[1: , 0:-1], ), axis=2) verts = verts.reshape((xv.shape[0]-1) * (xv.shape[1]-1), 4, 2) return verts def drawPlot(verts, outputFile, blackbg, widthPx): if blackbg: mpl.rcParams['savefig.facecolor'] = 'black' else: mpl.rcParams['savefig.facecolor'] = 'white' ax = plt.gca() fig = plt.gcf() if blackbg: fig.patch.set_facecolor('black') ax.patch.set_facecolor('black') ax.spines['bottom'].set_color('white') ax.spines['top'].set_color('white') ax.spines['left'].set_color('white') ax.spines['right'].set_color('white') for i in ax.get_xticklabels(): i.set_color(&quot;white&quot;) for i in ax.get_yticklabels(): i.set_color(&quot;white&quot;) for t in ax.xaxis.get_ticklines(): t.set_color('white') for t in ax.yaxis.get_ticklines(): t.set_color('white') ax.xaxis.label.set_color('white') ax.yaxis.label.set_color('white') coll = PolyCollection(verts, facecolors=None, edgecolors='none') ax.add_collection(coll) ax.autoscale() width = fig.get_figwidth() dpi = widthPx / width fig.savefig(outputFile, dpi=dpi) plt.close(fig) x = np.linspace(0, 10, num=10) xv, yv = np.meshgrid(x, x) verts = createPolygons(xv, yv) drawPlot(verts, 'test.png', blackbg=True, widthPx=500)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span> <span class="pl-s1">mpl</span>.<span class="pl-en">use</span>(<span class="pl-s">'agg'</span>) <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">collections</span> <span class="pl-k">import</span> <span class="pl-v">PolyCollection</span> <span class="pl-k">def</span> <span class="pl-en">createPolygons</span>(<span class="pl-s1">xv</span>, <span class="pl-s1">yv</span>): <span class="pl-k">assert</span> <span class="pl-s1">xv</span>.<span class="pl-s1">shape</span> <span class="pl-c1">==</span> <span class="pl-s1">yv</span>.<span class="pl-s1">shape</span> <span class="pl-s1">xy</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">dstack</span>((<span class="pl-s1">xv</span>,<span class="pl-s1">yv</span>)) <span class="pl-c"># adapted from matplotlib.collections.QuadMesh.convert_mesh_to_paths</span> <span class="pl-s1">verts</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">concatenate</span>(( <span class="pl-s1">xy</span>[<span class="pl-c1">0</span>:<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">0</span>:<span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-s1">xy</span>[<span class="pl-c1">0</span>:<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>: ], <span class="pl-s1">xy</span>[<span class="pl-c1">1</span>: , <span class="pl-c1">1</span>: ], <span class="pl-s1">xy</span>[<span class="pl-c1">1</span>: , <span class="pl-c1">0</span>:<span class="pl-c1">-</span><span class="pl-c1">1</span>], ), <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">2</span>) <span class="pl-s1">verts</span> <span class="pl-c1">=</span> <span class="pl-s1">verts</span>.<span class="pl-en">reshape</span>((<span class="pl-s1">xv</span>.<span class="pl-s1">shape</span>[<span class="pl-c1">0</span>]<span class="pl-c1">-</span><span class="pl-c1">1</span>) <span class="pl-c1">*</span> (<span class="pl-s1">xv</span>.<span class="pl-s1">shape</span>[<span class="pl-c1">1</span>]<span class="pl-c1">-</span><span class="pl-c1">1</span>), <span class="pl-c1">4</span>, <span class="pl-c1">2</span>) <span class="pl-k">return</span> <span class="pl-s1">verts</span> <span class="pl-k">def</span> <span class="pl-en">drawPlot</span>(<span class="pl-s1">verts</span>, <span class="pl-s1">outputFile</span>, <span class="pl-s1">blackbg</span>, <span class="pl-s1">widthPx</span>): <span class="pl-k">if</span> <span class="pl-s1">blackbg</span>: <span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'savefig.facecolor'</span>] <span class="pl-c1">=</span> <span class="pl-s">'black'</span> <span class="pl-k">else</span>: <span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'savefig.facecolor'</span>] <span class="pl-c1">=</span> <span class="pl-s">'white'</span> <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">gca</span>() <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">gcf</span>() <span class="pl-k">if</span> <span class="pl-s1">blackbg</span>: <span class="pl-s1">fig</span>.<span class="pl-s1">patch</span>.<span class="pl-en">set_facecolor</span>(<span class="pl-s">'black'</span>) <span class="pl-s1">ax</span>.<span class="pl-s1">patch</span>.<span class="pl-en">set_facecolor</span>(<span class="pl-s">'black'</span>) <span class="pl-s1">ax</span>.<span class="pl-s1">spines</span>[<span class="pl-s">'bottom'</span>].<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-s1">ax</span>.<span class="pl-s1">spines</span>[<span class="pl-s">'top'</span>].<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-s1">ax</span>.<span class="pl-s1">spines</span>[<span class="pl-s">'left'</span>].<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-s1">ax</span>.<span class="pl-s1">spines</span>[<span class="pl-s">'right'</span>].<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-s1">ax</span>.<span class="pl-en">get_xticklabels</span>(): <span class="pl-s1">i</span>.<span class="pl-en">set_color</span>(<span class="pl-s">"white"</span>) <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-s1">ax</span>.<span class="pl-en">get_yticklabels</span>(): <span class="pl-s1">i</span>.<span class="pl-en">set_color</span>(<span class="pl-s">"white"</span>) <span class="pl-k">for</span> <span class="pl-s1">t</span> <span class="pl-c1">in</span> <span class="pl-s1">ax</span>.<span class="pl-s1">xaxis</span>.<span class="pl-en">get_ticklines</span>(): <span class="pl-s1">t</span>.<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-k">for</span> <span class="pl-s1">t</span> <span class="pl-c1">in</span> <span class="pl-s1">ax</span>.<span class="pl-s1">yaxis</span>.<span class="pl-en">get_ticklines</span>(): <span class="pl-s1">t</span>.<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-s1">ax</span>.<span class="pl-s1">xaxis</span>.<span class="pl-s1">label</span>.<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-s1">ax</span>.<span class="pl-s1">yaxis</span>.<span class="pl-s1">label</span>.<span class="pl-en">set_color</span>(<span class="pl-s">'white'</span>) <span class="pl-s1">coll</span> <span class="pl-c1">=</span> <span class="pl-v">PolyCollection</span>(<span class="pl-s1">verts</span>, <span class="pl-s1">facecolors</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">edgecolors</span><span class="pl-c1">=</span><span class="pl-s">'none'</span>) <span class="pl-s1">ax</span>.<span class="pl-en">add_collection</span>(<span class="pl-s1">coll</span>) <span class="pl-s1">ax</span>.<span class="pl-en">autoscale</span>() <span class="pl-s1">width</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">get_figwidth</span>() <span class="pl-s1">dpi</span> <span class="pl-c1">=</span> <span class="pl-s1">widthPx</span> <span class="pl-c1">/</span> <span class="pl-s1">width</span> <span class="pl-s1">fig</span>.<span class="pl-en">savefig</span>(<span class="pl-s1">outputFile</span>, <span class="pl-s1">dpi</span><span class="pl-c1">=</span><span class="pl-s1">dpi</span>) <span class="pl-s1">plt</span>.<span class="pl-en">close</span>(<span class="pl-s1">fig</span>) <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">0</span>, <span class="pl-c1">10</span>, <span class="pl-s1">num</span><span class="pl-c1">=</span><span class="pl-c1">10</span>) <span class="pl-s1">xv</span>, <span class="pl-s1">yv</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">meshgrid</span>(<span class="pl-s1">x</span>, <span class="pl-s1">x</span>) <span class="pl-s1">verts</span> <span class="pl-c1">=</span> <span class="pl-en">createPolygons</span>(<span class="pl-s1">xv</span>, <span class="pl-s1">yv</span>) <span class="pl-en">drawPlot</span>(<span class="pl-s1">verts</span>, <span class="pl-s">'test.png'</span>, <span class="pl-s1">blackbg</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">widthPx</span><span class="pl-c1">=</span><span class="pl-c1">500</span>)</pre></div>
<p dir="auto">This is the underlying problem raised in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="6572843" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/1178" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/1178/hovercard" href="https://github.com/matplotlib/matplotlib/pull/1178">#1178</a>.<br> It is illustrated by the test below; note that boundary anomalies are visible in all forms--agg on the screen, and pdf and svg displayed with a viewer--but in different places depending on the viewer and the size of the figure as rendered.<br> Note that the colorbar is rendered using pcolormesh, which has its own renderer with agg but otherwise is handled by draw_path_collection.</p> <pre class="notranslate">import numpy as np import matplotlib.pyplot as plt z = np.arange(150) z.shape = (10,15) fig, axs = plt.subplots(2,2) ax = axs[0,0] cs0 = ax.contourf(z, 20) cbar0 = fig.colorbar(cs0, ax=ax) ax = axs[0,1] cs1 = ax.contourf(z, 20, alpha=0.3) cbar1 = fig.colorbar(cs1, ax=ax) ax = axs[1,0] im2 = ax.imshow(z, interpolation='nearest') cbar2 = fig.colorbar(im2, ax=ax) ax = axs[1,1] im3 = ax.imshow(z, interpolation='nearest', alpha=0.3) cbar3 = fig.colorbar(im3, ax=ax) plt.savefig("test1.pdf") plt.savefig("test1.svg") plt.show() </pre>
1
<p dir="auto">Your website says "... contribute SWIG interfaces to your favorite language ...". It will be good if yo have pure implementations in other languages like JVM and .NET without having to use SWIG.</p>
<p dir="auto">Issue to trace effort of swig interface for java. Started implementation - will update with progress. If anyone has any comments/tips - please feel welcome to join the discussion!</p>
1
<p dir="auto">It would be a good enhancement to have a 'Open Recent' on the File Menu, like in Sublime.</p>
<p dir="auto">I would like to be able to find files or folders that I have recently opened in previous editing sessions. On Windows this is usually done under the File menu. For example: File &gt; Recent Files &gt; (displays a sub menu of top 10 most recently used files in descending order).</p> <p dir="auto">File</p> <blockquote> <p dir="auto">Recent Files<br> &gt; (top 10 most recent files)<br> Recent Folders<br> &gt; (top 10 most recent folders)</p> </blockquote>
1
<pre class="notranslate">What steps will reproduce the problem? 1. create file "a" and "b" 2. run `os.Rename("a", "b")` What is the expected output? file "b" should be atomically replaced with file "a" What do you see instead? rename a b: Cannot create a file when that file already exists. Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? windows 8 64-bit Which version are you using? (run 'go version') go version go1.1rc3 windows/amd64 I think it should use MoveFileEx syscall with MOVEFILE_REPLACE_EXISTING flag set instead of plain MoveFile syscall.</pre>
<p dir="auto">by <strong>awalterschulze</strong>:</p> <pre class="notranslate">Before filing a bug, please check whether it has been fixed since the latest release. Search the issue tracker and check that you're running the latest version of Go: Run "go version" and compare against <a href="http://golang.org/doc/devel/release.html" rel="nofollow">http://golang.org/doc/devel/release.html</a> If a newer version of Go exists, install it and retry what you did to reproduce the problem. Thanks. What steps will reproduce the problem? If possible, include a link to a program on play.golang.org. 1. <a href="http://play.golang.org/p/d-6SskGBBg" rel="nofollow">http://play.golang.org/p/d-6SskGBBg</a> 2. 3. What is the expected output? equal What do you see instead? pointer to zero value has been decoded as a nil value Which compiler are you using (5g, 6g, 8g, gccgo)? Which operating system are you using? Which version are you using? (run 'go version') Please provide any additional information below.</pre>
0
<p dir="auto"><strong>Describe the bug</strong><br> A clear and concise description of what the bug is. <strong>If your problem is not a bug, please file under Support or Usage Question</strong></p> <p dir="auto"><strong>To Reproduce</strong><br> Code snippet to reproduce, ideally that will work by pasting into something like <a href="https://npm.runkit.com/axios" rel="nofollow">https://npm.runkit.com/axios</a>, a hosted solution, or a repository that illustrates the issue. <strong>If your problem is not reproducible, please file under Support or Usage Question</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example code here"><pre class="notranslate"><span class="pl-c">// Example code here</span></pre></div> <p dir="auto"><strong>Expected behavior</strong><br> A clear and concise description of what you expected to happen.</p> <p dir="auto"><strong>Environment:</strong></p> <ul dir="auto"> <li>Axios Version [e.g. 0.18.0]</li> <li>OS: [e.g. iOS 12.1.0, OSX 10.13.4]</li> <li>Browser [e.g. Chrome, Safari]</li> <li>Browser Version [e.g. 22]</li> <li>Additional Library Versions [e.g. React 16.7, React Native 0.58.0]</li> </ul> <p dir="auto"><strong>Additional context/Screenshots</strong><br> Add any other context about the problem here. If applicable, add screenshots to help explain.</p>
<p dir="auto">We're using <code class="notranslate">axios</code> both on the back-end, to communicate with some third-party APIs, and on the front-end, to communicate with our back-end. I recently ran into some problems trying to add some client-side tests for code that uses axios. Because axios detects its environment at require time, even using something like <code class="notranslate">jsdom</code>, one is constrained to setting up axios as either browser-oriented or node-oriented for the entire test suite. This matters in testing because relative URLs fail when running in node (and possibly other differences).</p> <p dir="auto">I see several possible workarounds:</p> <ul dir="auto"> <li>have two separate client and server test suites</li> <li>always pass baseURL from window.location.href when using axios on the client</li> <li>always force a client environment via <code class="notranslate">jsdom</code> for the whole test suite</li> </ul> <p dir="auto">None of these seem that great though (with the first one probably being the best and least likely to cause trouble, but requiring more duplicate setup). Any suggestions for how to approach this?</p>
0
<p dir="auto">Description:</p> <p dir="auto">When using bundle inheritance and template inheritance at the same time (where one of the child bundle's templates extends one of the parent bundle's templates), an error is thrown.</p> <p dir="auto">Expected outcome:</p> <p dir="auto">It should be possible to extend a parent bundle's template from a child bundle's template.</p> <p dir="auto">How to reproduce:</p> <p dir="auto"><a href="https://gist.github.com/4226370">https://gist.github.com/4226370</a></p> <p dir="auto">Note that this happens with all values of xdebug.max_nesting_level and also with xdebug disabled (in this case the code keeps running until the process is out of memory).</p> <p dir="auto">The following appear to be referencing the same issue, where a parent bundle's template is also being extended by a child bundle's template:</p> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="8131492" data-permission-text="Title is private" data-url="https://github.com/phiamo/MopaBootstrapBundle/issues/327" data-hovercard-type="issue" data-hovercard-url="/phiamo/MopaBootstrapBundle/issues/327/hovercard" href="https://github.com/phiamo/MopaBootstrapBundle/issues/327">phiamo/MopaBootstrapBundle#327</a><br> <a href="http://stackoverflow.com/questions/11951379/maximum-function-nesting-when-extending-twig-template-for-sonata-admin" rel="nofollow">http://stackoverflow.com/questions/11951379/maximum-function-nesting-when-extending-twig-template-for-sonata-admin</a></p>
<p dir="auto">What do you think about creating an interface EventDispatcherAware, a trait EventDispatcherAwareTrait and maybe a tag too (event_dispatcher_aware) to inject automatically the EventDispatcher on services?</p>
0
<p dir="auto">Both danish and faroese keyboard layouts uses Alt Gr-´ to print the pipe character "|" but the key binding resolver registers Alt Gr-´ as "ctrl-alt-["</p> <p dir="auto">I tried adding the following rule to keymap.cson:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="'.workspace .editor:not(.mini)': 'ctrl-alt-[': 'native!'"><pre class="notranslate"><code class="notranslate">'.workspace .editor:not(.mini)': 'ctrl-alt-[': 'native!' </code></pre></div> <p dir="auto">But this causes atom to both fold the current line and print |. I tried changing it to</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="'.workspace .editor:not(.mini)': 'ctrl-alt-[': 'notset!'"><pre class="notranslate"><code class="notranslate">'.workspace .editor:not(.mini)': 'ctrl-alt-[': 'notset!' </code></pre></div> <p dir="auto">but that caused atom to neither fold or print the pipe.</p> <p dir="auto">I've tried adding rules to ".workspace .editor", ".workspace" and "body" but no matter how much I fiddle around with the keymap.cson file I cannot get atom to consistently print | and not fold the current line.</p> <p dir="auto">If I bind ctrl-alt-[ to something other than native! or notset! then atom consistently calls that command, but I cannot find any documentation about binding a keystroke pattern to print a specific character.</p> <p dir="auto">I'm using Atom 0.136.0 on Windows 7 64bit</p>
<p dir="auto">Original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28529842" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/1625" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/1625/hovercard" href="https://github.com/atom/atom/issues/1625">atom/atom#1625</a></p> <hr> <p dir="auto">Use <a href="https://atom.io/packages/keyboard-localization" rel="nofollow">https://atom.io/packages/keyboard-localization</a> until this issue gets fixed (should be in the Blink upstream).</p>
1
<p dir="auto">Hi,<br> Please make typescript auto-property support like C# to easier use.</p> <p dir="auto">Thanks.</p>
<p dir="auto">When you're creating a class and you want to define some properties you have to write much code to do so.<br> <strong>Current way</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyClass { /** * Creates a new Instance of this class */ constructor(private _id: number, private _name: string) { } /** * To define a property, you need a get function ... */ get id(): number { return this._id; } /** * ... and a set function ... */ set id(value: number) { this._id= value; } /** * ... for every single ... */ get name(): string { return this._name; } /** * ... property. */ set name(value: string) { if (this.checkName(value)) { this._name = value; } } /** * Do something */ private checkName(name: string): boolean { return name &amp;&amp; name.trim(); } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">MyClass</span> <span class="pl-kos">{</span> <span class="pl-c">/**</span> <span class="pl-c"> * Creates a new Instance of this class</span> <span class="pl-c"> */</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-k">private</span> <span class="pl-s1">_id</span>: <span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-k">private</span> <span class="pl-s1">_name</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * To define a property, you need a get function ...</span> <span class="pl-c"> */</span> <span class="pl-k">get</span> <span class="pl-en">id</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">number</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_id</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * ... and a set function ...</span> <span class="pl-c"> */</span> <span class="pl-k">set</span> <span class="pl-en">id</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_id</span><span class="pl-c1">=</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * ... for every single ...</span> <span class="pl-c"> */</span> <span class="pl-k">get</span> <span class="pl-en">name</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_name</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * ... property.</span> <span class="pl-c"> */</span> <span class="pl-k">set</span> <span class="pl-en">name</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">checkName</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_name</span> <span class="pl-c1">=</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * Do something</span> <span class="pl-c"> */</span> <span class="pl-k">private</span> <span class="pl-en">checkName</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">boolean</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">name</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">name</span><span class="pl-kos">.</span><span class="pl-en">trim</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Please consider to add additional ways to define properties, similar to C# where you also have more than one way.</p> <p dir="auto"><strong>Additional ways in a future release</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MySecondClass { /** * Creates a new Instance of this class */ constructor(id: number, private _name: string) { this.id = id; } /** * Define a property in only one line */ public id(): number { get; set; } /** * Define a property with additional functionallity */ public name(): string { get { return this._name; } set { if (this.checkName(value)) { this._name = value; } } } /** * Do something */ private checkName(name: string): boolean { return name &amp;&amp; name.trim(); } } "><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">MySecondClass</span> <span class="pl-kos">{</span> <span class="pl-c">/**</span> <span class="pl-c"> * Creates a new Instance of this class</span> <span class="pl-c"> */</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">id</span>: <span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-k">private</span> <span class="pl-s1">_name</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">id</span> <span class="pl-c1">=</span> <span class="pl-s1">id</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * Define a property in only one line</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-en">id</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">number</span> <span class="pl-kos">{</span> <span class="pl-s1">get</span><span class="pl-kos">;</span> <span class="pl-s1">set</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * Define a property with additional functionallity</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-en">name</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">get</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_name</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">set</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">checkName</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_name</span> <span class="pl-c1">=</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-c">/**</span> <span class="pl-c"> * Do something</span> <span class="pl-c"> */</span> <span class="pl-k">private</span> <span class="pl-en">checkName</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">boolean</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">name</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">name</span><span class="pl-kos">.</span><span class="pl-en">trim</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div>
1
<p dir="auto">Currently with the extensions API, we have access to output channels (creation and access through <code class="notranslate">vscode.window.createOutputChannel()</code>). And likewise, we can get adhoc user input through <code class="notranslate">vscode.window.showInputBox</code>.</p> <p dir="auto">I think what would be really helpful is if the extensions API included the capability to have a console-like experience, much like the <strong>debug console</strong> has (input part of the experience with the output). Not necessarily for "debugging" purposes, but for a more consistent and extended user experience exchange for ongoing for <strong>user input creation</strong>, then <strong>VS Code output consumption</strong>, followed by more <strong>user input creation</strong>, ... so on and so forth.</p> <p dir="auto">At the moment, the <code class="notranslate">showInputBox()</code> functionality with the output channel can seem like a one-time exchange, without the continuity of a input/output console (like the debugger console).</p>
<p dir="auto">While it is awesome that we have the Debug Console for an interactive console experience while debugging, it would be ideal if VS Code also supported a persistent REPL (interactive console) which could also be used at any time. Users of languages such as PowerShell, F#, Python, Ruby, and many others would benefit from this.</p> <p dir="auto">At least in the case of PowerShell, all that would really be needed is an event that can be registered when the user enters a command and then some API for writing the output. The PowerShell, F#, and Elm extensions already simulate this by allowing the user to select some text, run a command to execute it, and then have the output written to an output channel.</p> <p dir="auto">Users of the PowerShell extension have requested feature this here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117631297" data-permission-text="Title is private" data-url="https://github.com/PowerShell/vscode-powershell/issues/10" data-hovercard-type="issue" data-hovercard-url="/PowerShell/vscode-powershell/issues/10/hovercard" href="https://github.com/PowerShell/vscode-powershell/issues/10">PowerShell/vscode-powershell#10</a></p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Krzysztof-Cieslak/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Krzysztof-Cieslak">@Krzysztof-Cieslak</a></p>
1
<p dir="auto">I want to know if there is a problem with my transaction manager or is the SQL statement incorrectly written, or is it something else?I hope anyone can give me some hints.</p> <p dir="auto">The development environment:hibernate+spring</p> <p dir="auto">Exception:<br> com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException<br> Could not dispatch event: io.shardingsphere.core.transaction.listener.TransactionListener@5c0a4d7f to public void io.shardingsphere.core.transaction.listener.TransactionListener.listen(io.shardingsphere.core.transaction.event.TransactionEvent) throws java.sql.SQLException</p> <p dir="auto">My HibernateTransactionManager design:<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bean/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bean">@bean</a><br> <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/scope/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/scope">@scope</a>("singleton")<br> public HibernateTransactionManager transactionManager() {<br> return new AppTransactionManager();<br> }</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SuppressWarnings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SuppressWarnings">@SuppressWarnings</a>("serial")<br> public final class AppTransactionManager extends HibernateTransactionManager {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public boolean isExistingTransaction() { Object transaction = doGetTransaction(); return isExistingTransaction(transaction); } @Autowired @Override public void setSessionFactory(SessionFactory sessionFactory) { super.setSessionFactory(sessionFactory); }"><pre class="notranslate"><code class="notranslate">public boolean isExistingTransaction() { Object transaction = doGetTransaction(); return isExistingTransaction(transaction); } @Autowired @Override public void setSessionFactory(SessionFactory sessionFactory) { super.setSessionFactory(sessionFactory); } </code></pre></div> <p dir="auto">}</p> <p dir="auto">sql action log:<br> com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException<br> Could not dispatch event: io.shardingsphere.core.transaction.listener.TransactionListener@5c0a4d7f to public void io.shardingsphere.core.transaction.listener.TransactionListener.listen(io.shardingsphere.core.transaction.event.TransactionEvent) throws java.sql.SQLException<br> Hibernate: select playerenti_.id as id1_11_ from player playerenti_ where playerenti_.account=?<br> 2018-08-13 15:30:26,752 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Rule Type: sharding<br> 2018-08-13 15:30:26,752 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Logic SQL: select playerenti_.id as id1_11_ from player playerenti_ where playerenti_.account=?<br> 2018-08-13 15:30:26,752 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - SQLStatement: SelectStatement(super=DQLStatement(super=AbstractSQLStatement(type=DQL, tables=Tables(tables=[Table(name=player, alias=Optional.of(playerenti_))]), conditions=Conditions(orCondition=OrCondition(andConditions=[])), sqlTokens=[TableToken(beginPosition=38, skippedSchemaNameLength=0, originalLiterals=player)], parametersIndex=1)), containStar=false, selectListLastPosition=33, groupByLastPosition=0, items=[CommonSelectItem(expression=playerenti_.id, alias=Optional.of(id1_11_))], groupByItems=[], orderByItems=[], limit=null, subQueryStatement=null)<br> 2018-08-13 15:30:26,753 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Actual SQL: sharding0 ::: select playerenti_.id as id1_11_ from player playerenti_ where playerenti_.account=? ::: [[123]]<br> 2018-08-13 15:30:26,753 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Actual SQL: sharding1 ::: select playerenti_.id as id1_11_ from player playerenti_ where playerenti_.account=? ::: [[123]]<br> 2018-08-13 15:30:26,753 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Actual SQL: sharding2 ::: select playerenti_.id as id1_11_ from player playerenti_ where playerenti_.account=? ::: [[123]]<br> com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException<br> Could not dispatch event: io.shardingsphere.core.transaction.listener.TransactionListener@5c0a4d7f to public void io.shardingsphere.core.transaction.listener.TransactionListener.listen(io.shardingsphere.core.transaction.event.TransactionEvent) throws java.sql.SQLException<br> com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException<br> Could not dispatch event: io.shardingsphere.core.transaction.listener.TransactionListener@5c0a4d7f to public void io.shardingsphere.core.transaction.listener.TransactionListener.listen(io.shardingsphere.core.transaction.event.TransactionEvent) throws java.sql.SQLException<br> com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException<br> Could not dispatch event: io.shardingsphere.core.transaction.listener.TransactionListener@5c0a4d7f to public void io.shardingsphere.core.transaction.listener.TransactionListener.listen(io.shardingsphere.core.transaction.event.TransactionEvent) throws java.sql.SQLException<br> 2018-08-13 15:30:26,767 [INFO ] [game-BalancingPool-/loginActor-14] IdWorkerBaseImpl - timestamp:1534145426767,timestampLeftShift:19,nextId:128613326315848704,workerId:1,sequence:0<br> Hibernate: insert into player (account, active_pass, active_time, ban_end_time, ban_talk_end_time, channel, create_server_id, create_step, device, introduce, mark, nickname, pic_id, pwd, register_time, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)<br> 2018-08-13 15:30:26,865 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Rule Type: sharding<br> 2018-08-13 15:30:26,865 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Logic SQL: insert into player (account, active_pass, active_time, ban_end_time, ban_talk_end_time, channel, create_server_id, create_step, device, introduce, mark, nickname, pic_id, pwd, register_time, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)<br> 2018-08-13 15:30:26,865 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - SQLStatement: InsertStatement(super=DMLStatement(super=AbstractSQLStatement(type=DML, tables=Tables(tables=[Table(name=player, alias=Optional.absent())]), conditions=Conditions(orCondition=OrCondition(andConditions=[AndCondition(conditions=[Condition(column=Column(name=id, tableName=player), operator=EQUAL, positionValueMap={}, positionIndexMap={0=15})])])), sqlTokens=[TableToken(beginPosition=12, skippedSchemaNameLength=0, originalLiterals=player), io.shardingsphere.core.parsing.parser.token.InsertValuesToken@2618291e], parametersIndex=16)), columns=[Column(name=account, tableName=player), Column(name=active_pass, tableName=player), Column(name=active_time, tableName=player), Column(name=ban_end_time, tableName=player), Column(name=ban_talk_end_time, tableName=player), Column(name=channel, tableName=player), Column(name=create_server_id, tableName=player), Column(name=create_step, tableName=player), Column(name=device, tableName=player), Column(name=introduce, tableName=player), Column(name=mark, tableName=player), Column(name=nickname, tableName=player), Column(name=pic_id, tableName=player), Column(name=pwd, tableName=player), Column(name=register_time, tableName=player), Column(name=id, tableName=player)], generatedKeyConditions=[], insertValues=InsertValues(insertValues=[InsertValue(type=VALUES, expression=(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?), parametersCount=16)]), columnsListLastPosition=193, generateKeyColumnIndex=-1, insertValuesListLastPosition=250)<br> 2018-08-13 15:30:26,866 [INFO ] [game-BalancingPool-/loginActor-14] Sharding-Sphere-SQL - Actual SQL: sharding0 ::: insert into player (account, active_pass, active_time, ban_end_time, ban_talk_end_time, channel, create_server_id, create_step, device, introduce, mark, nickname, pic_id, pwd, register_time, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ::: [[123, 0, null, null, null, 0, 1, 4, ZDRkMmQwNWVkNDVmMzA4ZDk1ZDI2MmFhZjQyZjU4NTY=, null, 1, null, null, password, 2018-08-13 15:30:26.768, 128613326315848704]]</p>
<p dir="auto">Supporting <code class="notranslate">DISTINCT</code> SQL syntax is on the way.</p> <p dir="auto">We plan to support <code class="notranslate">DISTINCT</code> SQL syntax. The following is our thought about <code class="notranslate">DISTINCT</code>, welcome to discuss this solution.</p> <h5 dir="auto">SQL Usage</h5> <table role="table"> <thead> <tr> <th></th> <th>None GROUP BY</th> <th>GROUP BY</th> </tr> </thead> <tbody> <tr> <td>Simple SELECT</td> <td>SELECT DISTINCT price FROM item;</td> <td>SELECT DISTINCT price FROM item GROUP BY price;</td> </tr> <tr> <td>COUNT()</td> <td>SELECT COUNT(DISTINCT price) FROM item;</td> <td>SELECT COUNT(DISTINCT price) FROM item GROUP BY price;</td> </tr> <tr> <td>SUM()</td> <td>SELECT SUM(DISTINCT price) FROM item;</td> <td>SELECT SUM(DISTINCT price) FROM item GROUP BY price;</td> </tr> <tr> <td>AVG()</td> <td>SELECT AVG(DISTINCT price) FROM item;</td> <td>SELECT AVG(DISTINCT price) FROM item GROUP BY price;</td> </tr> <tr> <td>MIN()</td> <td>SELECT MIN(DISTINCT price) FROM item;</td> <td>SELECT MIN(DISTINCT price) FROM item GROUP BY price;</td> </tr> <tr> <td>MAX()</td> <td>SELECT MAX(DISTINCT price) FROM item;</td> <td>SELECT MAX(DISTINCT price) FROM item GROUP BY price;</td> </tr> </tbody> </table> <h5 dir="auto">Processing</h5> <p dir="auto">The basic processing procedure is as follow:</p> <blockquote> <p dir="auto">SQL Parse --&gt; SQL Route --&gt; SQL Rewrite --&gt; SQL Execute --&gt; SQL Merge</p> </blockquote> <p dir="auto">Considering those <code class="notranslate">DISTINCT</code> SQL above, we can group those SQL to handle.</p> <h6 dir="auto">Simple SELECT</h6> <ol dir="auto"> <li> <p dir="auto">SQL Parse</p> <p dir="auto">It is necessary to analyze the <code class="notranslate">DISTINCT</code> token.</p> </li> <li> <p dir="auto">SQL Route</p> <p dir="auto">To make sure where SQL should be sent to execute.</p> </li> <li> <p dir="auto">SQL Rewrite</p> <p dir="auto">Rewrite logic SQL to actual SQL. Let us suppose we rewrite logic SQL to 2 actual SQLs:</p> <blockquote> <p dir="auto">SELECT DISTINCT price FROM item_0;</p> <p dir="auto">SELECT DISTINCT price FROM item_1;</p> </blockquote> </li> <li> <p dir="auto">SQL Execute</p> <p dir="auto">Send actual SQLs to some of the shardings to execute. Let us suppose that we get two resultsets, r1 and r2 from two shardings.</p> </li> <li> <p dir="auto">SQL Merge</p> <p dir="auto">To get distinct results from r1 and r2 by DISTINCT(r1, r2).</p> </li> </ol> <p dir="auto">Therefore, we can get fianl distinct results from all of the shardings.</p> <h6 dir="auto">COUNT() &amp; SUM()</h6> <p dir="auto">The processing of COUNT() and SUM() is same, so we take COUNT() for example.</p> <ol dir="auto"> <li> <p dir="auto">SQL Parse</p> <p dir="auto">It is necessary to analyze the <code class="notranslate">DISTINCT</code> token.</p> </li> <li> <p dir="auto">SQL Route</p> <p dir="auto">To make sure where SQL should be sent to execute.</p> </li> <li> <p dir="auto">SQL Rewrite</p> <p dir="auto">Rewrite logic SQL to actual SQL. Let us suppose we rewrite logic SQL to 2 actual SQLs:</p> <blockquote> <p dir="auto">SELECT DISTINCT price FROM item_0;</p> <p dir="auto">SELECT DISTINCT price FROM item_1;</p> </blockquote> </li> <li> <p dir="auto">SQL Execute</p> <p dir="auto">Send actual SQLs to some of the shardings to execute. Let us suppose that we get two resultsets, r1 and r2 from two shardings.</p> </li> <li> <p dir="auto">SQL Merge</p> <p dir="auto">To get distinct results r3 from r1 and r2 by DISTINCT(r1, r2), then it is possiable to get final correct <code class="notranslate">COUNT(DISTINCT price) </code>by counting r3.</p> </li> </ol> <p dir="auto">You can find instead of getting <code class="notranslate">COUNT(DISTINCT price)</code> from shardings and counting those resultsets, we get <code class="notranslate">DISTINCT price</code> from each sharding and distinguish those results again in our procedure. At last, we calculate the <code class="notranslate">COUNT()</code> of TWICE-DISTINCT results. The processing of <code class="notranslate">SUM()</code> is same with this.</p> <h6 dir="auto">AVG</h6> <p dir="auto">Handling <code class="notranslate">AVG</code> is more complex. We need to get <code class="notranslate">SUM(DISTINCT price)</code> and <code class="notranslate">COUNT(DISTINCT price)</code> by using the processing above. After that, we can get <code class="notranslate">AVG(DISTINCT price)</code> by calculating <code class="notranslate">SUM(DISTINCT price)/COUNT(DISTINCT price)</code>.</p> <h6 dir="auto">MIN() &amp; MAX()</h6> <p dir="auto">It is easier to process two of those functions. Here, we take <code class="notranslate">MIN()</code> for example.</p> <ol dir="auto"> <li> <p dir="auto">SQL Parse</p> <p dir="auto">It is necessary to analyze the <code class="notranslate">DISTINCT</code> token.</p> </li> <li> <p dir="auto">SQL Route</p> <p dir="auto">To make sure where SQL should be sent to execute.</p> </li> <li> <p dir="auto">SQL Rewrite</p> <p dir="auto">Rewrite logic SQL to actual SQL. Let us suppose we rewrite logic SQL to 2 actual SQLs:</p> <blockquote> <p dir="auto">SELECT MIN(DISTINCT price) FROM item_0;</p> <p dir="auto">SELECT MIN(DISTINCT price) FROM item_1;</p> </blockquote> </li> <li> <p dir="auto">SQL Execute</p> <p dir="auto">Send actual SQLs to some of the shardings to execute. Let us suppose that we get two resultsets, r1 and r2 from two shardings.</p> </li> <li> <p dir="auto">SQL Merge</p> <p dir="auto">To get final <code class="notranslate">MIN(DISTINCT price)</code> result from r1 and r2 by MIN(r1, r2).</p> </li> </ol> <h6 dir="auto">DISTINCT + GROUP BY</h6> <p dir="auto">Welcome to join us to discuss this processing.</p> <p dir="auto">Base on the result of the above analysis, we can get the following tasks:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Parding the SQL syntax.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Rewriting the logic SQL containing <code class="notranslate">DISTINCT</code> to the relative actual SQLs correctly.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Executing those actual SQLs</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Merging those resultsets by using corresponding algorithms.</li> </ul>
0
<p dir="auto">The title says everything. If you have several files open, and press CTRL-O, at the moment the open dialog will default to "Recently Used". However, it makes a <em>lot</em> of sense to default, as a starting point, to the directory where the file currently viewed is.</p> <p dir="auto">For example if you are working on the file <code class="notranslate">youtRepo/auth/button/facebook.js</code>, and you want to open <code class="notranslate">youtRepo/auth/button/local.js</code>, you should be able to press CTRL-O and find yourself in <code class="notranslate">youtRepo/auth/button/</code>. Again, this is what happens in Sublime and I find it immensely helpful.</p> <p dir="auto">I tried to do it myself, but I am not familiar with Atom's code. However, the relevant lines seem to be <a href="https://github.com/atom/atom/blob/master/src/browser/atom-application.coffee#L225-L227">https://github.com/atom/atom/blob/master/src/browser/atom-application.coffee#L225-L227</a> and <a href="https://github.com/atom/atom/blob/master/src/browser/atom-application.coffee#L171">https://github.com/atom/atom/blob/master/src/browser/atom-application.coffee#L171</a>.</p>
<p dir="auto">When you create a new buffer and hit save, Atom will present me with a save dialog and the default selected folder is the project root. That's almost never the place I want to put a file.</p> <p dir="auto">Sublime Text was a lot smarter with this -- although I do not remember the exact heuristics. For example, it would propose saving the file in the same location where the file you last had opened was. This worked really well for me: Usually I create a new file by splitting an existing file, creating a test for a module (and those two are in directly adjacent directories) or similar.</p> <p dir="auto">Even if I want to save to the root directory, which is the current behavior, navigating upwards in the file save dialog is really simple.</p> <p dir="auto">PS: I am using Atom 0.187.0</p>
1
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.166.0<br> <strong>System</strong>: Mac OS X 10.10.2<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Atom can only handle files &lt; 2MB for now.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/app/src/project.js:355 Error: Atom can only handle files &lt; 2MB for now. at Project.module.exports.Project.buildBuffer (/Applications/Atom.app/Contents/Resources/app/src/project.js:355:15) at Project.module.exports.Project.bufferForPath (/Applications/Atom.app/Contents/Resources/app/src/project.js:332:63) at Project.module.exports.Project.open (/Applications/Atom.app/Contents/Resources/app/src/project.js:286:19) at Workspace.module.exports.Workspace.openUriInPane (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:485:29) at Workspace.module.exports.Workspace.open (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:412:19) at Ipc.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:45:32) at Ipc.emit (events.js:110:17) at process.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/ipc.js:22:29) at process.emit (events.js:118:17) "><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app/src/project.js:355 Error: Atom can only handle files &lt; 2MB for now. at Project.module.exports.Project.buildBuffer (/Applications/Atom.app/Contents/Resources/app/src/project.js:355:15) at Project.module.exports.Project.bufferForPath (/Applications/Atom.app/Contents/Resources/app/src/project.js:332:63) at Project.module.exports.Project.open (/Applications/Atom.app/Contents/Resources/app/src/project.js:286:19) at Workspace.module.exports.Workspace.openUriInPane (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:485:29) at Workspace.module.exports.Workspace.open (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:412:19) at Ipc.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:45:32) at Ipc.emit (events.js:110:17) at process.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/ipc.js:22:29) at process.emit (events.js:118:17) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 2x -1:41.5 core:select-down (atom-text-editor.editor) -1:40.1 core:backspace (atom-text-editor.editor) -1:38.7 core:select-down (atom-text-editor.editor) -1:38.1 core:backspace (atom-text-editor.editor) -1:37.0 core:move-down (atom-text-editor.editor) -1:36.7 core:move-up (atom-text-editor.editor) 2x -1:36.4 core:select-down (atom-text-editor.editor) -1:35.6 core:move-up (atom-text-editor.editor) 2x -1:34.0 core:move-down (atom-text-editor.editor) -1:32.0 core:select-down (atom-text-editor.editor) -1:31.7 core:move-up (atom-text-editor.editor) -1:31.0 core:save (atom-text-editor.editor) -0:04.3 core:move-right (atom-text-editor.editor) -0:04.1 core:move-up (atom-text-editor.editor) 4x -0:03.8 core:select-right (atom-text-editor.editor) 6x -0:00.0 core:save (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> 2x -1:41.5 core:select-down (atom-text-editor.editor) -1:40.1 core:backspace (atom-text-editor.editor) -1:38.7 core:select-down (atom-text-editor.editor) -1:38.1 core:backspace (atom-text-editor.editor) -1:37.0 core:move-down (atom-text-editor.editor) -1:36.7 core:move-up (atom-text-editor.editor) 2x -1:36.4 core:select-down (atom-text-editor.editor) -1:35.6 core:move-up (atom-text-editor.editor) 2x -1:34.0 core:move-down (atom-text-editor.editor) -1:32.0 core:select-down (atom-text-editor.editor) -1:31.7 core:move-up (atom-text-editor.editor) -1:31.0 core:save (atom-text-editor.editor) -0:04.3 core:move-right (atom-text-editor.editor) -0:04.1 core:move-up (atom-text-editor.editor) 4x -0:03.8 core:select-right (atom-text-editor.editor) 6x -0:00.0 core:save (atom-text-editor.editor) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;themes&quot;: [ &quot;atom-dark-ui&quot;, &quot;atom-dark-syntax&quot; ] }, &quot;editor&quot;: { &quot;fontSize&quot;: 13, &quot;invisibles&quot;: {} } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>atom-dark-syntax<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">13</span>, <span class="pl-ent">"invisibles"</span>: {} } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User Sublime-Style-Column-Selection, v1.2.2 gulp-snippets, v0.6.0 language-scala, v1.1.0 linter-javac, v0.1.3 linter-scalac, v0.3.3 scala-format, v0.1.2 script, v2.16.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> Sublime<span class="pl-k">-</span>Style<span class="pl-k">-</span>Column<span class="pl-k">-</span>Selection, v1.<span class="pl-ii">2</span>.<span class="pl-ii">2</span> gulp<span class="pl-k">-</span>snippets, v0.<span class="pl-ii">6</span>.<span class="pl-ii">0</span> language<span class="pl-k">-</span>scala, v1.<span class="pl-ii">1</span>.<span class="pl-ii">0</span> linter<span class="pl-k">-</span>javac, v0.<span class="pl-ii">1</span>.<span class="pl-ii">3</span> linter<span class="pl-k">-</span>scalac, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span> scala<span class="pl-k">-</span>format, v0.<span class="pl-ii">1</span>.<span class="pl-ii">2</span> script, v2.<span class="pl-ii">16</span>.<span class="pl-ii">0</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">Uncaught Error: Atom can only handle files &lt; 2MB for now.</p> <p dir="auto"><strong>Atom Version</strong>: 0.153.0<br> <strong>System</strong>: linux 3.13.0-40-generic<br> <strong>Thrown From</strong>: <a href="https://github.com/atom/tree-view">tree-view</a> package</p>
1
<p dir="auto">They shrink so much that with many open files the titles become unreadable, e.g.:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/989043/7161499/67e4d598-e35d-11e4-8b1e-287259ce63f7.png"><img src="https://cloud.githubusercontent.com/assets/989043/7161499/67e4d598-e35d-11e4-8b1e-287259ce63f7.png" alt="screen shot 2015-04-15 at 10 51 33 am" style="max-width: 100%;"></a></p>
<p dir="auto">When I select some text and then paste something instead of it, sometimes I get random piece of the pasted text being selected. Look at the screencast:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7574192/5847084/71d1d11a-a1da-11e4-93f3-d76f59c67e5c.gif"><img src="https://cloud.githubusercontent.com/assets/7574192/5847084/71d1d11a-a1da-11e4-93f3-d76f59c67e5c.gif" alt="atom_paste_instead_selection" data-animated-image="" style="max-width: 100%;"></a><br> Here I'm selecting pieces of text and pasting some other text. In one of three times it results in a part of the pasted text being selected.</p> <p dir="auto">It leads to some inconvenience in my work. After I replace selected text with text from the clipboard, I should check whether something is selected before I type anything (because the text I'm typing will replace the selection).</p> <p dir="auto">The same when I start typing while some text is selected. The typed symbol replaces the selection, but sometimes it becomes selected itself. So when I type the second symbol, it replaces the first one.</p> <p dir="auto">The behaviour which I observe in other text editors is: replace selected text with pasted/typed one, deselect anything, place the cursor after the pasted text. This is the most convenient option, I guess.</p> <p dir="auto">My Atom version is 0.175.0 (and I've observed it in all previous versions), my system - OS X 10.9.5.</p>
0
<p dir="auto"><a href="https://mp.weixin.qq.com/s/j9ibj4ZYAqNZwwvSpIAtLA" rel="nofollow">https://mp.weixin.qq.com/s/j9ibj4ZYAqNZwwvSpIAtLA</a> states a 64% simulator CPU usage which is plausible but also seems like a bug.</p> <p dir="auto">Could be related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="276881482" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/13203" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/13203/hovercard" href="https://github.com/flutter/flutter/issues/13203">#13203</a> and/or iOS simulator only too</p>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">Create a widget below:</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Loading extends StatelessWidget { @override Widget build(BuildContext context) { return new Column(mainAxisAlignment: MainAxisAlignment.center, children: [ new Center(child: const CupertinoActivityIndicator()), const Padding(padding: const EdgeInsets.only(top: 8.0)), new Center(child: new Text(&quot;Loading...&quot;)) ]); } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-c1">Loading</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> { <span class="pl-k">@override</span> <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) { <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Column</span>(mainAxisAlignment<span class="pl-k">:</span> <span class="pl-c1">MainAxisAlignment</span>.center, children<span class="pl-k">:</span> [ <span class="pl-k">new</span> <span class="pl-c1">Center</span>(child<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">CupertinoActivityIndicator</span>()), <span class="pl-k">const</span> <span class="pl-c1">Padding</span>(padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(top<span class="pl-k">:</span> <span class="pl-c1">8.0</span>)), <span class="pl-k">new</span> <span class="pl-c1">Center</span>(child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">"Loading..."</span>)) ]); } }</pre></div> <p dir="auto">Then run on a simulator, "top -o cpu"</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PID COMMAND %CPU 13241 backboardd 128.3 13661 Runner 99.7"><pre class="notranslate"><code class="notranslate">PID COMMAND %CPU 13241 backboardd 128.3 13661 Runner 99.7 </code></pre></div> <p dir="auto">Then press 'q', the CPU drop to zero.</p> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Mac OS X 10.13.1 17B48, locale en-HK, channel master) • Flutter at /Users/odd/wa/flutter/flutter • Framework revision bdbe53be01 (2 days ago), 2017-11-24 19:13:18 -0800 • Engine revision 93b2179597 • Tools Dart version 1.25.0-dev.11.0 [✓] Android toolchain - develop for Android devices (Android SDK 26.0.2) • Android SDK at /Users/odd/Library/Android/sdk • Unable to locate Android NDK. • Unable to locate compiler in Android NDK. • Platform android-26, build-tools 26.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] iOS toolchain - develop for iOS devices (Xcode 9.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.1, Build version 9B55 • ios-deploy 1.9.2 • CocoaPods version 1.3.1 [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] Connected devices • iPhone X • 2B869FE0-C8D2-4755-9C69-D0F91CED8588 • ios • iOS 11.1 (simulator)"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS X 10.13.1 17B48, locale en-HK, channel master) • Flutter at /Users/odd/wa/flutter/flutter • Framework revision bdbe53be01 (2 days ago), 2017-11-24 19:13:18 -0800 • Engine revision 93b2179597 • Tools Dart version 1.25.0-dev.11.0 [✓] Android toolchain - develop for Android devices (Android SDK 26.0.2) • Android SDK at /Users/odd/Library/Android/sdk • Unable to locate Android NDK. • Unable to locate compiler in Android NDK. • Platform android-26, build-tools 26.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] iOS toolchain - develop for iOS devices (Xcode 9.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.1, Build version 9B55 • ios-deploy 1.9.2 • CocoaPods version 1.3.1 [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] Connected devices • iPhone X • 2B869FE0-C8D2-4755-9C69-D0F91CED8588 • ios • iOS 11.1 (simulator) </code></pre></div>
1
<h2 dir="auto">Issue description</h2> <p dir="auto">The current Windows build fails, caused probably by some erroneous type, provided to a CUDA C++ class. I made a fresh build after removing all the content of the ./build directory</p> <h2 dir="auto">System Info</h2> <p dir="auto">collect_env.py:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Collecting environment information... PyTorch version: 1.5.0a0+e2f1288 Is debug build: No CUDA used to build PyTorch: 10.2 OS: Microsoft Windows 10 Pro GCC version: Could not collect # VS2019 16.4.5 CMake version: version 3.16.4 Python version: 3.7 Is CUDA available: Yes CUDA runtime version: 10.2.89 GPU models and configuration: GPU 0: Quadro M1200 Nvidia driver version: 441.66 cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\cudnn64_7.dll Versions of relevant libraries: [pip3] numpy==1.18.1+mkl [pip3] torch==1.4.0 [pip3] torchvision==0.5.0 [conda] blas 1.0 mkl [conda] libblas 3.8.0 15_mkl conda-forge [conda] libcblas 3.8.0 15_mkl conda-forge [conda] liblapack 3.8.0 15_mkl conda-forge [conda] liblapacke 3.8.0 15_mkl conda-forge [conda] mkl 2020.0 166 [conda] mkl-include 2019.5 281 conda-forge [conda] torch 1.5.0a0+3b2f267 pypi_0 pypi [conda] torchvision 0.5.0a0+61763fa pypi_0 pypi"><pre class="notranslate"><code class="notranslate">Collecting environment information... PyTorch version: 1.5.0a0+e2f1288 Is debug build: No CUDA used to build PyTorch: 10.2 OS: Microsoft Windows 10 Pro GCC version: Could not collect # VS2019 16.4.5 CMake version: version 3.16.4 Python version: 3.7 Is CUDA available: Yes CUDA runtime version: 10.2.89 GPU models and configuration: GPU 0: Quadro M1200 Nvidia driver version: 441.66 cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\cudnn64_7.dll Versions of relevant libraries: [pip3] numpy==1.18.1+mkl [pip3] torch==1.4.0 [pip3] torchvision==0.5.0 [conda] blas 1.0 mkl [conda] libblas 3.8.0 15_mkl conda-forge [conda] libcblas 3.8.0 15_mkl conda-forge [conda] liblapack 3.8.0 15_mkl conda-forge [conda] liblapacke 3.8.0 15_mkl conda-forge [conda] mkl 2020.0 166 [conda] mkl-include 2019.5 281 conda-forge [conda] torch 1.5.0a0+3b2f267 pypi_0 pypi [conda] torchvision 0.5.0a0+61763fa pypi_0 pypi </code></pre></div> <h2 dir="auto">Output</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[1980/2511] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/torch_cuda_generated_THCTensorMathReduceChar.cu.obj FAILED: caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/torch_cuda_generated_THCTensorMathReduceChar.cu.obj cmd.exe /C &quot;cd /D V:\src\pytorch\pytorch\build\caffe2\CMakeFiles\torch_cuda.dir\__\aten\src\THC\generated &amp;&amp; G:\programming\bin\scripting\python\conda\envs\pytorch\Library\bin\cmake.exe -E make_directory V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/. &amp;&amp; G:\programming\bin\scripting\python\conda\envs\pytorch\Library\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/./torch_cuda_generated_THCTensorMathReduceChar.cu.obj -D generated_cubin_file:STRING=V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/./torch_cuda_generated_THCTensorMathReduceChar.cu.obj.cubin.txt -P V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/torch_cuda_generated_THCTensorMathReduceChar.cu.obj.Release.cmake&quot; THCTensorMathReduceChar.cu THCTensorMathReduceChar.cu C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2993: 'Alloc': illegal type for non-type template parameter '__formal' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(72): note: see reference to class template instantiation 'thrust::detail::allocator_traits_detail::has_rebind&lt;Alloc,U&gt;' being compiled C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2065: 't': undeclared identifier C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2923: 'std::_Select&lt;__formal&gt;::_Apply': 't' is not a valid template type argument for parameter '&lt;unnamed-symbol&gt;' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2144: syntax error: 'unknown-type' should be preceded by ')' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2144: syntax error: 'unknown-type' should be preceded by ';' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2238: unexpected token(s) preceding ';' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2059: syntax error: ')' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2988: unrecognizable template declaration/definition C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2059: syntax error: '&lt;end Parse&gt;' CMake Error at torch_cuda_generated_THCTensorMathReduceChar.cu.obj.Release.cmake:281 (message): Error generating file V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/./torch_cuda_generated_THCTensorMathReduceChar.cu.obj"><pre class="notranslate"><code class="notranslate">[1980/2511] Building NVCC (Device) object caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/torch_cuda_generated_THCTensorMathReduceChar.cu.obj FAILED: caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/torch_cuda_generated_THCTensorMathReduceChar.cu.obj cmd.exe /C "cd /D V:\src\pytorch\pytorch\build\caffe2\CMakeFiles\torch_cuda.dir\__\aten\src\THC\generated &amp;&amp; G:\programming\bin\scripting\python\conda\envs\pytorch\Library\bin\cmake.exe -E make_directory V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/. &amp;&amp; G:\programming\bin\scripting\python\conda\envs\pytorch\Library\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/./torch_cuda_generated_THCTensorMathReduceChar.cu.obj -D generated_cubin_file:STRING=V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/./torch_cuda_generated_THCTensorMathReduceChar.cu.obj.cubin.txt -P V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/torch_cuda_generated_THCTensorMathReduceChar.cu.obj.Release.cmake" THCTensorMathReduceChar.cu THCTensorMathReduceChar.cu C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2993: 'Alloc': illegal type for non-type template parameter '__formal' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(72): note: see reference to class template instantiation 'thrust::detail::allocator_traits_detail::has_rebind&lt;Alloc,U&gt;' being compiled C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2065: 't': undeclared identifier C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2923: 'std::_Select&lt;__formal&gt;::_Apply': 't' is not a valid template type argument for parameter '&lt;unnamed-symbol&gt;' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2144: syntax error: 'unknown-type' should be preceded by ')' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2144: syntax error: 'unknown-type' should be preceded by ';' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2238: unexpected token(s) preceding ';' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2059: syntax error: ')' C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2988: unrecognizable template declaration/definition C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/include\thrust/detail/allocator/allocator_traits.h(64): error C2059: syntax error: '&lt;end Parse&gt;' CMake Error at torch_cuda_generated_THCTensorMathReduceChar.cu.obj.Release.cmake:281 (message): Error generating file V:/src/pytorch/pytorch/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/THC/generated/./torch_cuda_generated_THCTensorMathReduceChar.cu.obj </code></pre></div>
<p dir="auto">Kind of similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="486963699" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/25389" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/25389/hovercard" href="https://github.com/pytorch/pytorch/issues/25389">#25389</a></p> <p dir="auto">Sometimes our Eigen build fails this way:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2993: 'Derived': illegal type for non-type template parameter '__formal' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2065: 'RhsType': undeclared identifier C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2923: 'std::_Select&lt;__formal&gt;::_Apply': 'RhsType' is not a valid template type argument for parameter '&lt;unnamed-symbol&gt;' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2144: syntax error: 'unknown-type' should be preceded by ')' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2144: syntax error: 'unknown-type' should be preceded by ';' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(367): error C2062: type 'bool' unexpected C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(369): error C2059: syntax error: ')' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(371): error C2143: syntax error: missing ';' before '{' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(371): error C2447: '{': missing function header (old-style formal list?)"><pre class="notranslate"><code class="notranslate">C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2993: 'Derived': illegal type for non-type template parameter '__formal' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2065: 'RhsType': undeclared identifier C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2923: 'std::_Select&lt;__formal&gt;::_Apply': 'RhsType' is not a valid template type argument for parameter '&lt;unnamed-symbol&gt;' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2144: syntax error: 'unknown-type' should be preceded by ')' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(366): error C2144: syntax error: 'unknown-type' should be preceded by ';' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(367): error C2062: type 'bool' unexpected C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(369): error C2059: syntax error: ')' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(371): error C2143: syntax error: missing ';' before '{' C:\Jenkins\workspace\caffe2-builds\py2-cuda9.0-cudnn7-windows-build\third_party\eigen\Eigen\src/LU/InverseImpl.h(371): error C2447: '{': missing function header (old-style formal list?) </code></pre></div> <p dir="auto">It doesn't seem to reliably repro.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/seemethere/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/seemethere">@seemethere</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/peterjc123/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/peterjc123">@peterjc123</a></p>
1
<p dir="auto">By default many model selection tools such as <code class="notranslate">cross_validate</code>, <code class="notranslate">validation_curves</code> and <code class="notranslate">*SearchCV</code> catch exceptions, raise a warning and score the model with <code class="notranslate">nan</code>. This can be a nice behavior, especially for <code class="notranslate">*SearchCV</code> estimators that can explore invalid hyper-parameter combinations.</p> <p dir="auto">However the warnings can be hidden when they are issued on the stderr of loky workers (python subprocesses), for instance in Jupyter interactive environments:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/89061/124569928-af984100-de46-11eb-80d4-2a10331942eb.png"><img src="https://user-images.githubusercontent.com/89061/124569928-af984100-de46-11eb-80d4-2a10331942eb.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">This is a big usability bug. I think we should refactor the model selection tools to raise the warning from the main process instead of the workers. This would make it possible to:</p> <ul dir="auto"> <li>make it possible to display the warning on the main process stderr to avoid hiding those when parallel compution on several Python processes (e.g. with the default loky backend of joblib) or multi-machine (e.g. with the dask or ray cluster backends of joblib).</li> <li>raise the warning only once (for the first case) to avoid a "wall of warnings"-effect when <code class="notranslate">n_jobs=1</code></li> <li>inform the user that can set <code class="notranslate">error_score="raise"</code> in the warning message if they want there code to raise an exception instead of gettting <code class="notranslate">nan</code>-valued scores.</li> </ul> <p dir="auto">This problem has been causing a lot of confusion to MOOC participants (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="936831338" data-permission-text="Title is private" data-url="https://github.com/INRIA/scikit-learn-mooc/issues/377" data-hovercard-type="issue" data-hovercard-url="/INRIA/scikit-learn-mooc/issues/377/hovercard" href="https://github.com/INRIA/scikit-learn-mooc/issues/377">INRIA/scikit-learn-mooc#377</a>) so it's probably hurting scikit-learn usability significantly.</p>
<h3 dir="auto">Describe the bug</h3> <p dir="auto">Hello, I am using a sklearn.tree.DecisionTreeRegressor for two tasks where one task is just a 'subsets' of the other and I expect to get the same tree, but I don't.<br> In the two tasks, the examples are identical, where task2 the feature matrix is duplicated horizontally, i.e. if the feature space in task1 is of dimension 9, then for task2 it is of dimension 18, where the first 9 features and the last 9 features are identical.</p> <p dir="auto">I am running :<br> <code class="notranslate">stump = DecisionTreeRegressor(max_depth=1, random_state=42)</code></p> <p dir="auto">TASK 1 INPUT: 9 features</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[[322. 0. 143. 265. 27. 0. 61. 32. 32.] [116. 0. 50. 90. 12. 0. 22. 12. 12.] [137. 0. 74. 125. 22. 0. 33. 12. 12.] [ 97. 0. 46. 85. 10. 0. 16. 12. 12.] [159. 0. 107. 156. 39. 0. 47. 12. 22.] [268. 0. 145. 235. 39. 0. 70. 10. 28.] [129. 0. 49. 80. 17. 0. 25. 6. 6.] [122. 0. 42. 80. 8. 0. 20. 12. 12.] [569. 0. 337. 520. 131. 0. 163. 0. 0.] [ 76. 0. 30. 60. 4. 0. 13. 10. 10.] [120. 0. 54. 100. 12. 0. 22. 12. 12.] [245. 0. 74. 145. 10. 0. 36. 18. 21.] [109. 0. 49. 90. 11. 0. 21. 10. 10.] [126. 0. 80. 120. 28. 0. 37. 6. 14.] [140. 0. 76. 120. 22. 0. 37. 6. 17.]] "><pre class="notranslate"><code class="notranslate">[[322. 0. 143. 265. 27. 0. 61. 32. 32.] [116. 0. 50. 90. 12. 0. 22. 12. 12.] [137. 0. 74. 125. 22. 0. 33. 12. 12.] [ 97. 0. 46. 85. 10. 0. 16. 12. 12.] [159. 0. 107. 156. 39. 0. 47. 12. 22.] [268. 0. 145. 235. 39. 0. 70. 10. 28.] [129. 0. 49. 80. 17. 0. 25. 6. 6.] [122. 0. 42. 80. 8. 0. 20. 12. 12.] [569. 0. 337. 520. 131. 0. 163. 0. 0.] [ 76. 0. 30. 60. 4. 0. 13. 10. 10.] [120. 0. 54. 100. 12. 0. 22. 12. 12.] [245. 0. 74. 145. 10. 0. 36. 18. 21.] [109. 0. 49. 90. 11. 0. 21. 10. 10.] [126. 0. 80. 120. 28. 0. 37. 6. 14.] [140. 0. 76. 120. 22. 0. 37. 6. 17.]] </code></pre></div> <p dir="auto">TASK 2 INPUT: 18 features where the last 9 features are just duplications of the first 9</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [[322. 0. 143. 265. 27. 0. 61. 32. 32. 322. 0. 143. 265. 27. 0. 61. 32. 32.] [116. 0. 50. 90. 12. 0. 22. 12. 12. 116. 0. 50. 90. 12. 0. 22. 12. 12.] [137. 0. 74. 125. 22. 0. 33. 12. 12. 137. 0. 74. 125. 22. 0. 33. 12. 12.] [ 97. 0. 46. 85. 10. 0. 16. 12. 12. 97. 0. 46. 85. 10. 0. 16. 12. 12.] [159. 0. 107. 156. 39. 0. 47. 12. 22. 159. 0. 107. 156. 39. 0. 47. 12. 22.] [268. 0. 145. 235. 39. 0. 70. 10. 28. 268. 0. 145. 235. 39. 0. 70. 10. 28.] [129. 0. 49. 80. 17. 0. 25. 6. 6. 129. 0. 49. 80. 17. 0. 25. 6. 6.] [122. 0. 42. 80. 8. 0. 20. 12. 12. 122. 0. 42. 80. 8. 0. 20. 12. 12.] [569. 0. 337. 520. 131. 0. 163. 0. 0. 569. 0. 337. 520. 131. 0. 163. 0. 0.] [ 76. 0. 30. 60. 4. 0. 13. 10. 10. 76. 0. 30. 60. 4. 0. 13. 10. 10.] [120. 0. 54. 100. 12. 0. 22. 12. 12. 120. 0. 54. 100. 12. 0. 22. 12. 12.] [245. 0. 74. 145. 10. 0. 36. 18. 21. 245. 0. 74. 145. 10. 0. 36. 18. 21.] [109. 0. 49. 90. 11. 0. 21. 10. 10. 109. 0. 49. 90. 11. 0. 21. 10. 10.] [126. 0. 80. 120. 28. 0. 37. 6. 14. 126. 0. 80. 120. 28. 0. 37. 6. 14.] [140. 0. 76. 120. 22. 0. 37. 6. 17. 140. 0. 76. 120. 22. 0. 37. 6. 17.]]"><pre class="notranslate"><code class="notranslate"> [[322. 0. 143. 265. 27. 0. 61. 32. 32. 322. 0. 143. 265. 27. 0. 61. 32. 32.] [116. 0. 50. 90. 12. 0. 22. 12. 12. 116. 0. 50. 90. 12. 0. 22. 12. 12.] [137. 0. 74. 125. 22. 0. 33. 12. 12. 137. 0. 74. 125. 22. 0. 33. 12. 12.] [ 97. 0. 46. 85. 10. 0. 16. 12. 12. 97. 0. 46. 85. 10. 0. 16. 12. 12.] [159. 0. 107. 156. 39. 0. 47. 12. 22. 159. 0. 107. 156. 39. 0. 47. 12. 22.] [268. 0. 145. 235. 39. 0. 70. 10. 28. 268. 0. 145. 235. 39. 0. 70. 10. 28.] [129. 0. 49. 80. 17. 0. 25. 6. 6. 129. 0. 49. 80. 17. 0. 25. 6. 6.] [122. 0. 42. 80. 8. 0. 20. 12. 12. 122. 0. 42. 80. 8. 0. 20. 12. 12.] [569. 0. 337. 520. 131. 0. 163. 0. 0. 569. 0. 337. 520. 131. 0. 163. 0. 0.] [ 76. 0. 30. 60. 4. 0. 13. 10. 10. 76. 0. 30. 60. 4. 0. 13. 10. 10.] [120. 0. 54. 100. 12. 0. 22. 12. 12. 120. 0. 54. 100. 12. 0. 22. 12. 12.] [245. 0. 74. 145. 10. 0. 36. 18. 21. 245. 0. 74. 145. 10. 0. 36. 18. 21.] [109. 0. 49. 90. 11. 0. 21. 10. 10. 109. 0. 49. 90. 11. 0. 21. 10. 10.] [126. 0. 80. 120. 28. 0. 37. 6. 14. 126. 0. 80. 120. 28. 0. 37. 6. 14.] [140. 0. 76. 120. 22. 0. 37. 6. 17. 140. 0. 76. 120. 22. 0. 37. 6. 17.]] </code></pre></div> <p dir="auto">In the first task, the tree chooses feature number 2, with gain 1.1111111111111112, threshold 52.0.<br> The feature values across the examples in this case are:<br> <code class="notranslate"> [143. 50. 74. 46. 107. 145. 49. 42. 337. 30. 54. 74. 49. 80. 76.]</code></p> <p dir="auto">In the second task, the tree chooses feature number 12, with gain 1.1111111111111112, threshold 95.0.<br> The feature values across the examples in this case are:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [265. 90. 125. 85. 156. 235. 80. 80. 520. 60. 100. 145. 90. 120. 120.]"><pre class="notranslate"><code class="notranslate"> [265. 90. 125. 85. 156. 235. 80. 80. 520. 60. 100. 145. 90. 120. 120.] </code></pre></div> <p dir="auto">I understand that it is possible that there are multiple features that result in the same gain, but the feature number 12 that is selected in the second task, also exists in the first task as feature number 3, so I am trying to understand why it chooses different features for these two tasks, it doesn't make sense.<br> Is it possible to make this behavior deterministic (for example to make it choose the first feature that has max gain)</p> <p dir="auto">Thank you.</p> <h3 dir="auto">Steps/Code to Reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data1 = np.array([[322., 0., 143., 265., 27., 0., 61., 32., 32.], [116., 0., 50., 90., 12., 0., 22., 12., 12.], [137., 0., 74., 125., 22., 0., 33., 12., 12.], [ 97., 0., 46., 85., 10., 0., 16., 12., 12.], [159., 0., 107., 156., 39., 0., 47., 12., 22.], [268., 0., 145., 235., 39., 0., 70., 10., 28.], [129., 0., 49., 80., 17., 0., 25., 6., 6.], [122., 0., 42., 80., 8., 0., 20., 12., 12.], [569., 0., 337., 520., 131., 0., 163., 0., 0.], [ 76., 0., 30., 60., 4., 0., 13., 10., 10.], [120., 0., 54., 100., 12., 0., 22., 12., 12.], [245., 0., 74., 145., 10., 0., 36., 18., 21.], [109., 0., 49., 90., 11., 0., 21., 10., 10.], [126., 0., 80., 120., 28., 0., 37., 6., 14.], [140., 0., 76., 120., 22., 0., 37., 6., 17.]]) labels = np.array([[0], [0], [1], [0], [0], [1], [0], [0], [1], [0], [1], [1], [0], [0], [0]])"><pre class="notranslate"><code class="notranslate">data1 = np.array([[322., 0., 143., 265., 27., 0., 61., 32., 32.], [116., 0., 50., 90., 12., 0., 22., 12., 12.], [137., 0., 74., 125., 22., 0., 33., 12., 12.], [ 97., 0., 46., 85., 10., 0., 16., 12., 12.], [159., 0., 107., 156., 39., 0., 47., 12., 22.], [268., 0., 145., 235., 39., 0., 70., 10., 28.], [129., 0., 49., 80., 17., 0., 25., 6., 6.], [122., 0., 42., 80., 8., 0., 20., 12., 12.], [569., 0., 337., 520., 131., 0., 163., 0., 0.], [ 76., 0., 30., 60., 4., 0., 13., 10., 10.], [120., 0., 54., 100., 12., 0., 22., 12., 12.], [245., 0., 74., 145., 10., 0., 36., 18., 21.], [109., 0., 49., 90., 11., 0., 21., 10., 10.], [126., 0., 80., 120., 28., 0., 37., 6., 14.], [140., 0., 76., 120., 22., 0., 37., 6., 17.]]) labels = np.array([[0], [0], [1], [0], [0], [1], [0], [0], [1], [0], [1], [1], [0], [0], [0]]) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stump1 = DecisionTreeRegressor(max_depth=1, random_state=42) stump1.fit(data1, labels) feature_index_1 = stump.tree_.feature[0]"><pre class="notranslate"><code class="notranslate">stump1 = DecisionTreeRegressor(max_depth=1, random_state=42) stump1.fit(data1, labels) feature_index_1 = stump.tree_.feature[0] </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data2 =np.array([[322., 0., 143., 265., 27., 0., 61., 32., 32., 322., 0., 143., 265., 27., 0., 61., 32., 32.], [116., 0., 50., 90., 12., 0., 22., 12., 12., 116., 0., 50., 90., 12., 0., 22., 12., 12.], [137., 0., 74., 125., 22., 0., 33., 12., 12., 137., 0., 74., 125., 22., 0., 33., 12., 12.], [ 97., 0., 46., 85., 10., 0., 16., 12., 12., 97., 0., 46., 85., 10., 0., 16., 12., 12.], [159., 0., 107., 156., 39., 0., 47., 12., 22., 159., 0., 107., 156., 39., 0., 47., 12., 22.], [268., 0., 145., 235., 39., 0., 70., 10., 28., 268., 0., 145., 235., 39., 0., 70., 10., 28.], [129., 0., 49., 80., 17., 0., 25., 6., 6., 129., 0., 49., 80., 17., 0., 25., 6., 6.], [122., 0., 42., 80., 8., 0., 20., 12., 12., 122., 0., 42., 80., 8., 0., 20., 12., 12.], [569., 0., 337., 520., 131., 0., 163., 0., 0., 569., 0., 337., 520., 131., 0., 163., 0., 0.], [ 76., 0., 30., 60., 4., 0., 13., 10., 10., 76., 0., 30., 60., 4., 0., 13., 10., 10.], [120., 0., 54., 100., 12., 0., 22., 12., 12., 120., 0., 54., 100., 12., 0., 22., 12., 12.], [245., 0., 74., 145., 10., 0., 36., 18., 21., 245., 0., 74., 145., 10., 0., 36., 18., 21.], [109., 0., 49., 90., 11., 0., 21., 10., 10., 109., 0., 49., 90., 11., 0., 21., 10., 10.], [126., 0., 80., 120., 28., 0., 37., 6., 14., 126., 0., 80., 120., 28., 0., 37., 6., 14.], [140., 0., 76., 120., 22., 0., 37., 6., 17., 140., 0., 76., 120., 22., 0., 37., 6., 17.]]) labels = np.array([[0], [0], [1], [0], [0], [1], [0], [0], [1], [0], [1], [1], [0], [0], [0]])"><pre class="notranslate"><code class="notranslate">data2 =np.array([[322., 0., 143., 265., 27., 0., 61., 32., 32., 322., 0., 143., 265., 27., 0., 61., 32., 32.], [116., 0., 50., 90., 12., 0., 22., 12., 12., 116., 0., 50., 90., 12., 0., 22., 12., 12.], [137., 0., 74., 125., 22., 0., 33., 12., 12., 137., 0., 74., 125., 22., 0., 33., 12., 12.], [ 97., 0., 46., 85., 10., 0., 16., 12., 12., 97., 0., 46., 85., 10., 0., 16., 12., 12.], [159., 0., 107., 156., 39., 0., 47., 12., 22., 159., 0., 107., 156., 39., 0., 47., 12., 22.], [268., 0., 145., 235., 39., 0., 70., 10., 28., 268., 0., 145., 235., 39., 0., 70., 10., 28.], [129., 0., 49., 80., 17., 0., 25., 6., 6., 129., 0., 49., 80., 17., 0., 25., 6., 6.], [122., 0., 42., 80., 8., 0., 20., 12., 12., 122., 0., 42., 80., 8., 0., 20., 12., 12.], [569., 0., 337., 520., 131., 0., 163., 0., 0., 569., 0., 337., 520., 131., 0., 163., 0., 0.], [ 76., 0., 30., 60., 4., 0., 13., 10., 10., 76., 0., 30., 60., 4., 0., 13., 10., 10.], [120., 0., 54., 100., 12., 0., 22., 12., 12., 120., 0., 54., 100., 12., 0., 22., 12., 12.], [245., 0., 74., 145., 10., 0., 36., 18., 21., 245., 0., 74., 145., 10., 0., 36., 18., 21.], [109., 0., 49., 90., 11., 0., 21., 10., 10., 109., 0., 49., 90., 11., 0., 21., 10., 10.], [126., 0., 80., 120., 28., 0., 37., 6., 14., 126., 0., 80., 120., 28., 0., 37., 6., 14.], [140., 0., 76., 120., 22., 0., 37., 6., 17., 140., 0., 76., 120., 22., 0., 37., 6., 17.]]) labels = np.array([[0], [0], [1], [0], [0], [1], [0], [0], [1], [0], [1], [1], [0], [0], [0]]) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stump2 = DecisionTreeRegressor(max_depth=1, random_state=42) stump2.fit(data2, labels) feature_index_2 = stump.tree_.feature[0]"><pre class="notranslate"><code class="notranslate">stump2 = DecisionTreeRegressor(max_depth=1, random_state=42) stump2.fit(data2, labels) feature_index_2 = stump.tree_.feature[0] </code></pre></div> <h3 dir="auto">Expected Results</h3> <p dir="auto">I expect the model to choose the same feature over these two tasks. i.e.<br> feature_index_2 == feature_index_1</p> <h3 dir="auto">Actual Results</h3> <p dir="auto">The model chooses different features:<br> feature_index_1 = 2<br> feature_index_2 = 12</p> <h3 dir="auto">Versions</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Python dependencies: sklearn: 1.1.1 pip: 22.1.2 setuptools: 63.4.1 numpy: 1.21.5 scipy: 1.7.3 Cython: None pandas: 1.4.1 matplotlib: 3.5.1 joblib: 1.1.0 threadpoolctl: 2.2.0"><pre class="notranslate">Python dependencies: sklearn: 1.1.1 pip: 22.1.2 setuptools: 63.4.1 numpy: 1.21.5 scipy: 1.7.3 Cython: None pandas: 1.4.1 matplotlib: 3.5.1 joblib: 1.1.0 threadpoolctl: 2.2.0</pre></div>
0
<p dir="auto">Hello,</p> <p dir="auto">I try to upgrade my vue app to 1.0 and get the following error over 200 times for each for loop:<br> <code class="notranslate">[Vue warn]: Duplicate value found in v-for="book in books": "\"". Use track-by="$index" if you are expecting duplicate values.</code></p> <p dir="auto">This is my template code with 2 loops:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;select name=&quot;relation[books][]&quot; multiple=&quot;&quot; tabindex=&quot;-1&quot; style=&quot;display:none;&quot;&gt; &lt;template v-for=&quot;book in books&quot;&gt; &lt;option :value=&quot;book.id&quot; selected&gt; {{book.title}} &lt;/option&gt; &lt;/template&gt; &lt;/select&gt; &lt;div id=&quot;sortable-books&quot; class=&quot;extended-relation-select__list --entries&quot;&gt; &lt;template v-for=&quot;book in books&quot;&gt; &lt;div&gt; &lt;i class=&quot;fa fa-bars&quot;&gt;&lt;/i&gt; {{book.title}} &lt;div class=&quot;pull-right&quot;&gt; &lt;span class=&quot;buttons&quot;&gt; &lt;i class=&quot;fa fa-times&quot; @click=&quot;removeEntry($index)&quot;&gt;&lt;/i&gt; &lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/template&gt; &lt;/div&gt;"><pre class="notranslate"><code class="notranslate">&lt;select name="relation[books][]" multiple="" tabindex="-1" style="display:none;"&gt; &lt;template v-for="book in books"&gt; &lt;option :value="book.id" selected&gt; {{book.title}} &lt;/option&gt; &lt;/template&gt; &lt;/select&gt; &lt;div id="sortable-books" class="extended-relation-select__list --entries"&gt; &lt;template v-for="book in books"&gt; &lt;div&gt; &lt;i class="fa fa-bars"&gt;&lt;/i&gt; {{book.title}} &lt;div class="pull-right"&gt; &lt;span class="buttons"&gt; &lt;i class="fa fa-times" @click="removeEntry($index)"&gt;&lt;/i&gt; &lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/template&gt; &lt;/div&gt; </code></pre></div> <p dir="auto">And this is my array with the entries:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;books&quot;: [ { &quot;id&quot;: &quot;55&quot;, &quot;title&quot;: &quot;Wir nennen es Politik&quot; }, { &quot;id&quot;: &quot;1&quot;, &quot;title&quot;: &quot;Die Bienen&quot; }, { &quot;id&quot;: &quot;2&quot;, &quot;title&quot;: &quot;Finnisches Feuer&quot; }, { &quot;id&quot;: &quot;3&quot;, &quot;title&quot;: &quot;Träume Digitaler Schläfer&quot; } ]"><pre class="notranslate"><code class="notranslate">"books": [ { "id": "55", "title": "Wir nennen es Politik" }, { "id": "1", "title": "Die Bienen" }, { "id": "2", "title": "Finnisches Feuer" }, { "id": "3", "title": "Träume Digitaler Schläfer" } ] </code></pre></div> <p dir="auto">Can someone explain me the issue here?</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.5.2</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codepen.io/spenspazmer/pen/aLXGGY?editors=1011" rel="nofollow">https://codepen.io/spenspazmer/pen/aLXGGY?editors=1011</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">1.Create a v-for list with items<br> 2.Inspect and observe the item elements<br> 3.Trigger an action that shifts and pops the list<br> 4.Observe</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">The items should be removed without re-rendering the item list.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">The whole list is re-rendered.</p> <hr> <p dir="auto">Adding new elements works just as expected, just as triggering several pop or shift operations, doing a single list splice from the end or start. Performing a splice from the beginning and the end respectively triggers the same re-rendering problem.</p>
0
<p dir="auto"><strong>Steps to reproduce and a minimal demo of the problem</strong></p> <p dir="auto"><a href="http://plnkr.co/edit/h02LVM8sPwKJ6ljDVShz?p=preview" rel="nofollow">http://plnkr.co/edit/h02LVM8sPwKJ6ljDVShz?p=preview</a></p> <p dir="auto"><em>What steps should we try in your demo to see the problem?</em></p> <p dir="auto">Should see right away</p> <p dir="auto"><strong>Current behavior</strong><br> when using a method along with [ngClass], debugging shows that the classes get applied correctly, but are then un-applied before the user can see them.</p> <p dir="auto"><strong>Expected/desired behavior</strong><br> Returning an object to ngClass via a method should be the same as passing the object in directly from the template</p>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] feature request"><pre class="notranslate"><code class="notranslate">[x] feature request </code></pre></div> <p dir="auto"><strong>Problem</strong></p> <blockquote> <p dir="auto">Inspired by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="198561459" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/13757" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/13757/hovercard" href="https://github.com/angular/angular/issues/13757">#13757</a></p> </blockquote> <p dir="auto">The template provided by an ancestor component is not useful to a descendant component since its content cannot be reference nor can it be used to build the descendant (even with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="198596231" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/13764" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/13764/hovercard" href="https://github.com/angular/angular/issues/13764">#13764</a>). This limits the usefulness of inheritance as a model for building components.</p> <p dir="auto"><strong>Proposal</strong></p> <p dir="auto">Add a pseudo-element called <code class="notranslate">ng-descendant</code> that can be used analogously to <code class="notranslate">ng-content</code> except that the content is from the descendant class' template instead of instantiating template.</p> <p dir="auto">Descendant components are required to use an <code class="notranslate">ng-extend</code> elements that contains the content that is projected into the ancestor template. If the descendant does not use an <code class="notranslate">ng-extend</code> element as the root element of its template then its template will replace the ancestor template instead of extending it.</p> <p dir="auto"><strong>Example</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({ template: ` &lt;h1&gt;&lt;ng-descendant select=&quot;.header&quot;&gt;&lt;/ng-descendant&gt;&lt;/h1&gt; &lt;ng-descendant select=&quot;.body&quot;&gt;&lt;/ng-descendant&gt; &lt;div&gt; &lt;ng-descendant select=&quot;.footer&quot;&gt;&lt;/ng-descendant&gt; &lt;/div&gt;` }) class BaseClass { } @Component({ template: ` &lt;ng-extend&gt; &lt;span class=&quot;header&quot;&gt;My Component&lt;/span&gt; &lt;span class=&quot;body&quot;&gt;Body of the component&lt;/span&gt; &lt;span class=&quot;footer&quot;&gt;Footer of the component&lt;/span&gt; &lt;/ng-extend&gt;` }) class MyComponent extends BaseClass { }"><pre class="notranslate">@<span class="pl-smi">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> &lt;h1&gt;&lt;ng-descendant select=".header"&gt;&lt;/ng-descendant&gt;&lt;/h1&gt;</span> <span class="pl-s"> &lt;ng-descendant select=".body"&gt;&lt;/ng-descendant&gt;</span> <span class="pl-s"> &lt;div&gt;</span> <span class="pl-s"> &lt;ng-descendant select=".footer"&gt;&lt;/ng-descendant&gt;</span> <span class="pl-s"> &lt;/div&gt;`</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-smi">BaseClass</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> @<span class="pl-smi">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> &lt;ng-extend&gt;</span> <span class="pl-s"> &lt;span class="header"&gt;My Component&lt;/span&gt;</span> <span class="pl-s"> &lt;span class="body"&gt;Body of the component&lt;/span&gt;</span> <span class="pl-s"> &lt;span class="footer"&gt;Footer of the component&lt;/span&gt;</span> <span class="pl-s"> &lt;/ng-extend&gt;`</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-smi">MyComponent</span> <span class="pl-k">extends</span> <span class="pl-smi">BaseClass</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">This would be interpreted as if <code class="notranslate">MyComponent</code> had been written as:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({ template: ` &lt;h1&gt;&lt;span class=&quot;header&quot;&gt;My Component&lt;/span&gt;&lt;/h1&gt; &lt;span class=&quot;body&quot;&gt;Body of the component&lt;/span&gt; &lt;div&gt; &lt;span class=&quot;footer&quot;&gt;Footer of the component&lt;/span&gt; &lt;/div&gt;` }) class MyComponent extends BaseClass { }"><pre class="notranslate">@<span class="pl-smi">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> &lt;h1&gt;&lt;span class="header"&gt;My Component&lt;/span&gt;&lt;/h1&gt;</span> <span class="pl-s"> &lt;span class="body"&gt;Body of the component&lt;/span&gt;</span> <span class="pl-s"> &lt;div&gt;</span> <span class="pl-s"> &lt;span class="footer"&gt;Footer of the component&lt;/span&gt;</span> <span class="pl-s"> &lt;/div&gt;`</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-smi">MyComponent</span> <span class="pl-k">extends</span> <span class="pl-smi">BaseClass</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div>
0