text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">If you initialize a <code class="notranslate">CounterVectorizer</code> and try to perform a transformation without training you will get a <code class="notranslate">NotFittedError</code> exception.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: from sklearn.feature_extraction.text import CountVectorizer In [2]: vectorizer = CountVectorizer() In [3]: corpus = [ ...: 'This is the first document.', ...: 'This is the second second document.', ...: 'And the third one.', ...: 'Is this the first document?', ...: ] In [4]: vectorizer.transform(corpus) NotFittedError: CountVectorizer - Vocabulary wasn't fitted."><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">feature_extraction</span>.<span class="pl-s1">text</span> <span class="pl-s1">import</span> <span class="pl-v">CountVectorizer</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">vectorizer</span> <span class="pl-c1">=</span> <span class="pl-v">CountVectorizer</span>() <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">corpus</span> <span class="pl-c1">=</span> [ ...: <span class="pl-s">'This is the first document.'</span>, ...: <span class="pl-s">'This is the second second document.'</span>, ...: <span class="pl-s">'And the third one.'</span>, ...: <span class="pl-s">'Is this the first document?'</span>, ...: ] <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">vectorizer</span>.<span class="pl-en">transform</span>(<span class="pl-s1">corpus</span>) <span class="pl-v">NotFittedError</span>: <span class="pl-v">CountVectorizer</span> <span class="pl-c1">-</span> <span class="pl-v">Vocabulary</span> <span class="pl-s1">wasn</span>'<span class="pl-s1">t</span> <span class="pl-s1">fitted</span>.</pre></div> <p dir="auto">On the other hand if you provide the <code class="notranslate">vocabulary</code> at the initialization of the vectorizer you could transform a corpus without a prior training, right?</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: from sklearn.feature_extraction.text import CountVectorizer In [2]: vectorizer = CountVectorizer() In [3]: corpus = [ ...: 'This is the first document.', ...: 'This is the second second document.', ...: 'And the third one.', ...: 'Is this the first document?', ...: ] In [4]: vocabulary = ['and', 'document', 'first', 'is', 'one', 'second', 'the', 'third', 'this'] In [5]: vectorizer = CountVectorizer(vocabulary=vocabulary) In [6]: hasattr(vectorizer, &quot;vocabulary_&quot;) Out[6]: False In [7]: vectorizer.get_feature_names() NotFittedError: CountVectorizer - Vocabulary wasn't fitted. In [8]: vectorizer.transform(corpus) Out[8]: &lt;4x9 sparse matrix of type '&lt;class 'numpy.int64'&gt;' with 19 stored elements in Compressed Sparse Row format&gt; In [9]: hasattr(vectorizer, &quot;vocabulary_&quot;) Out[9]: True"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">feature_extraction</span>.<span class="pl-s1">text</span> <span class="pl-s1">import</span> <span class="pl-v">CountVectorizer</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">vectorizer</span> <span class="pl-c1">=</span> <span class="pl-v">CountVectorizer</span>() <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">corpus</span> <span class="pl-c1">=</span> [ ...: <span class="pl-s">'This is the first document.'</span>, ...: <span class="pl-s">'This is the second second document.'</span>, ...: <span class="pl-s">'And the third one.'</span>, ...: <span class="pl-s">'Is this the first document?'</span>, ...: ] <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">vocabulary</span> <span class="pl-c1">=</span> [<span class="pl-s">'and'</span>, <span class="pl-s">'document'</span>, <span class="pl-s">'first'</span>, <span class="pl-s">'is'</span>, <span class="pl-s">'one'</span>, <span class="pl-s">'second'</span>, <span class="pl-s">'the'</span>, <span class="pl-s">'third'</span>, <span class="pl-s">'this'</span>] <span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">vectorizer</span> <span class="pl-c1">=</span> <span class="pl-v">CountVectorizer</span>(<span class="pl-s1">vocabulary</span><span class="pl-c1">=</span><span class="pl-s1">vocabulary</span>) <span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-en">hasattr</span>(<span class="pl-s1">vectorizer</span>, <span class="pl-s">"vocabulary_"</span>) <span class="pl-v">Out</span>[<span class="pl-c1">6</span>]: <span class="pl-c1">False</span> <span class="pl-v">In</span> [<span class="pl-c1">7</span>]: <span class="pl-s1">vectorizer</span>.<span class="pl-en">get_feature_names</span>() <span class="pl-v">NotFittedError</span>: <span class="pl-v">CountVectorizer</span> <span class="pl-c1">-</span> <span class="pl-v">Vocabulary</span> <span class="pl-s1">wasn</span>'<span class="pl-s1">t</span> <span class="pl-s1">fitted</span>. <span class="pl-v">In</span> [<span class="pl-c1">8</span>]: <span class="pl-s1">vectorizer</span>.<span class="pl-en">transform</span>(<span class="pl-s1">corpus</span>) <span class="pl-v">Out</span>[<span class="pl-c1">8</span>]: <span class="pl-c1">&lt;</span><span class="pl-c1">4</span><span class="pl-s1">x9</span> <span class="pl-s1">sparse</span> <span class="pl-s1">matrix</span> <span class="pl-s1">of</span> <span class="pl-s1">type</span> <span class="pl-s">'&lt;class '</span><span class="pl-s1">numpy</span>.<span class="pl-s1">int64</span><span class="pl-s">'&gt;'</span> <span class="pl-k">with</span> <span class="pl-c1">19</span> <span class="pl-s1">stored</span> <span class="pl-s1">elements</span> <span class="pl-c1">in</span> <span class="pl-v">Compressed</span> <span class="pl-v">Sparse</span> <span class="pl-v">Row</span> <span class="pl-s1">format</span><span class="pl-c1">&gt;</span> <span class="pl-v">In</span> [<span class="pl-c1">9</span>]: <span class="pl-en">hasattr</span>(<span class="pl-s1">vectorizer</span>, <span class="pl-s">"vocabulary_"</span>) <span class="pl-v">Out</span>[<span class="pl-c1">9</span>]: <span class="pl-c1">True</span></pre></div> <p dir="auto">The <code class="notranslate">CountVectorizer</code>'s <code class="notranslate">transform</code> calls <code class="notranslate">_validate_vocabulary</code> method which sets the <code class="notranslate">vocabulary_</code> instance variable.</p> <p dir="auto">In the same manner I believe that the <code class="notranslate">get_feature_names</code> method should not raise <code class="notranslate">NotFittedError</code> if the vocabulary parameter is provided but the vectorizer has not been trained.</p>
<p dir="auto">Before some recent changes, CountVectorizer raised a cryptic error when a given vocabulary that was not unique. Now, the code that led to this error is gone, and a non-unique vocabulary can slip in. Sometimes this is fine (I assume. My code works at least.). Sometimes I get a segfault. I've narrowed it down to a reproducible example (though not quite deterministic in the length of title below), but not for which I can generate data. I can send data offlist if someone is interested in replicating. This segfaults</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="vectorizer = CountVectorizer(vocabulary=vocab) counts = vectorizer.fit_transform(titles)"><pre class="notranslate"><code class="notranslate">vectorizer = CountVectorizer(vocabulary=vocab) counts = vectorizer.fit_transform(titles) </code></pre></div> <p dir="auto">This works</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="vectorizer = CountVectorizer(vocabulary=list(set(vocab))) counts = vectorizer.fit_transform(titles)"><pre class="notranslate"><code class="notranslate">vectorizer = CountVectorizer(vocabulary=list(set(vocab))) counts = vectorizer.fit_transform(titles) </code></pre></div> <p dir="auto">This also works, and it's not clear what exactly is different in the (n + 1)th title that leads to the segfault.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="vectorizer = CountVectorizer(vocabulary=vocab) counts = vectorizer.fit_transform(titles[:150])"><pre class="notranslate"><code class="notranslate">vectorizer = CountVectorizer(vocabulary=vocab) counts = vectorizer.fit_transform(titles[:150]) </code></pre></div> <p dir="auto">The backtrace is (though oddly it seems to depend on the length of titles what I get)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Program received signal SIGSEGV, Segmentation fault. 0x00007fffe849cdd9 in csr_tocsc&lt;int, long long&gt; (n_row=n_row@entry=15493, n_col=n_col@entry=1856, Ap=Ap@entry=0x2db5ca0, Aj=Aj@entry=0x2d5c610, Ax=Ax@entry=0x2f569d0, Bp=Bp@entry=0x2e71030, Bi=Bi@entry=0x2ea3eb0, Bx=0x2eceb50) at scipy/sparse/sparsetools/csr.h:411 411 Bi[dest] = row; (gdb) backtrace #0 0x00007fffe849cdd9 in csr_tocsc&lt;int, long long&gt; (n_row=n_row@entry=15493, n_col=n_col@entry=1856, Ap=Ap@entry=0x2db5ca0, Aj=Aj@entry=0x2d5c610, Ax=Ax@entry=0x2f569d0, Bp=Bp@entry=0x2e71030, Bi=Bi@entry=0x2ea3eb0, Bx=0x2eceb50) at scipy/sparse/sparsetools/csr.h:411 #1 0x00007fffe83edcef in _wrap_csr_tocsc__SWIG_8 (args=args@entry=0x2d01aa0) at scipy/sparse/sparsetools/csr_wrap.cxx:11553 #2 0x00007fffe844311b in _wrap_csr_tocsc (self=&lt;optimised out&gt;, args=0x2d01aa0) at scipy/sparse/sparsetools/csr_wrap.cxx:12841 #3 0x00000000005313b5 in ext_do_call (nk=&lt;optimised out&gt;, na=&lt;optimised out&gt;, flags=&lt;optimised out&gt;, pp_stack=0x7fffffffd280, func=0x2b9b320) at ../Python/ceval.c:4331 #4 PyEval_EvalFrameEx (f=f@entry=0x284a440, throwflag=throwflag@entry=0) at ../Python/ceval.c:2705 #5 0x0000000000505b24 in PyEval_EvalCodeEx (co=0x2c823b0, globals=&lt;optimised out&gt;, locals=locals@entry=0x0, args=&lt;optimised out&gt;, argcount=argcount@entry=8, kws=&lt;optimised out&gt;, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3253 #6 0x000000000052f3f2 in fast_function (nk=0, na=8, n=&lt;optimised out&gt;, pp_stack=0x7fffffffd4a0, func=0x2c86140) at ../Python/ceval.c:4117 #7 call_function (oparg=&lt;optimised out&gt;, pp_stack=0x7fffffffd4a0) at ../Python/ceval.c:4042 #8 PyEval_EvalFrameEx (f=f@entry=0x28512b0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #9 0x0000000000505b24 in PyEval_EvalCodeEx (co=0x2b88f30, globals=&lt;optimised out&gt;, locals=locals@entry=0x0, args=&lt;optimised out&gt;, argcount=argcount@entry=1, kws=&lt;optimised out&gt;, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3253 #10 0x000000000052f3f2 in fast_function (nk=0, na=1, n=&lt;optimised out&gt;, pp_stack=0x7fffffffd6c0, func=0x2caa8c0) at ../Python/ceval.c:4117 #11 call_function (oparg=&lt;optimised out&gt;, pp_stack=0x7fffffffd6c0) at ../Python/ceval.c:4042 #12 PyEval_EvalFrameEx (f=f@entry=0x20d3af0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #13 0x0000000000505b24 in PyEval_EvalCodeEx (co=0x2d07230, globals=&lt;optimised out&gt;, locals=locals@entry=0x0, args=&lt;optimised out&gt;, argcount=argcount@entry=2, kws=&lt;optimised out&gt;, kwcount=kwcount@entry=0, defs=defs@entry=0x2d06e68, defcount=1, closure=0x0) at ../Python/ceval.c:3253 #14 0x000000000052e237 in fast_function (nk=0, na=2, n=&lt;optimised out&gt;, pp_stack=0x7fffffffd8e0, func=0x2d17c80) at ../Python/ceval.c:4117 #15 call_function (oparg=&lt;optimised out&gt;, pp_stack=0x7fffffffd8e0) at ../Python/ceval.c:4042 #16 PyEval_EvalFrameEx (f=f@entry=0xa56bc0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #17 0x0000000000567cdc in PyEval_EvalCodeEx (closure=0x0, defcount=0, defs=0x0, kwcount=0, kws=0x0, argcount=0, args=0x0, locals=0x9410a0, globals=0x7ffff7f18c30, co=&lt;optimised out&gt;) at ../Python/ceval.c:3253 #18 PyEval_EvalCode (co=co@entry=0x7ffff7f18c30, globals=globals@entry=0x97e690, locals=locals@entry=0x97e690) at ../Python/ceval.c:667 #19 0x0000000000451adb in run_mod.42568 (mod=&lt;optimised out&gt;, filename=&lt;optimised out&gt;, globals=0x97e690, locals=0x97e690, ---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- flags=&lt;optimised out&gt;, arena=&lt;optimised out&gt;) at ../Python/pythonrun.c:1365 #20 0x0000000000451e5b in PyRun_FileExFlags (fp=fp@entry=0xa56ba0, filename=filename@entry=0x7fffffffe058 &quot;sklearn_seg.py&quot;, start=start@entry=257, globals=globals@entry=0x97e690, locals=locals@entry=0x97e690, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdab0) at ../Python/pythonrun.c:1351 #21 0x0000000000452394 in PyRun_SimpleFileExFlags (fp=fp@entry=0xa56ba0, filename=&lt;optimised out&gt;, filename@entry=0x7fffffffe058 &quot;sklearn_seg.py&quot;, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdab0) at ../Python/pythonrun.c:943 #22 0x0000000000452490 in PyRun_AnyFileExFlags (fp=fp@entry=0xa56ba0, filename=filename@entry=0x7fffffffe058 &quot;sklearn_seg.py&quot;, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdab0) at ../Python/pythonrun.c:747 #23 0x0000000000453ead in Py_Main (argc=&lt;optimised out&gt;, argv=0x7fffffffdc68) at ../Modules/main.c:640 #24 0x00007ffff7816de5 in __libc_start_main (main=0x453f6b &lt;main&gt;, argc=2, ubp_av=0x7fffffffdc68, init=&lt;optimised out&gt;, fini=&lt;optimised out&gt;, rtld_fini=&lt;optimised out&gt;, stack_end=0x7fffffffdc58) at libc-start.c:260 #25 0x00000000005786be in _start ()"><pre class="notranslate"><code class="notranslate">Program received signal SIGSEGV, Segmentation fault. 0x00007fffe849cdd9 in csr_tocsc&lt;int, long long&gt; (n_row=n_row@entry=15493, n_col=n_col@entry=1856, Ap=Ap@entry=0x2db5ca0, Aj=Aj@entry=0x2d5c610, Ax=Ax@entry=0x2f569d0, Bp=Bp@entry=0x2e71030, Bi=Bi@entry=0x2ea3eb0, Bx=0x2eceb50) at scipy/sparse/sparsetools/csr.h:411 411 Bi[dest] = row; (gdb) backtrace #0 0x00007fffe849cdd9 in csr_tocsc&lt;int, long long&gt; (n_row=n_row@entry=15493, n_col=n_col@entry=1856, Ap=Ap@entry=0x2db5ca0, Aj=Aj@entry=0x2d5c610, Ax=Ax@entry=0x2f569d0, Bp=Bp@entry=0x2e71030, Bi=Bi@entry=0x2ea3eb0, Bx=0x2eceb50) at scipy/sparse/sparsetools/csr.h:411 #1 0x00007fffe83edcef in _wrap_csr_tocsc__SWIG_8 (args=args@entry=0x2d01aa0) at scipy/sparse/sparsetools/csr_wrap.cxx:11553 #2 0x00007fffe844311b in _wrap_csr_tocsc (self=&lt;optimised out&gt;, args=0x2d01aa0) at scipy/sparse/sparsetools/csr_wrap.cxx:12841 #3 0x00000000005313b5 in ext_do_call (nk=&lt;optimised out&gt;, na=&lt;optimised out&gt;, flags=&lt;optimised out&gt;, pp_stack=0x7fffffffd280, func=0x2b9b320) at ../Python/ceval.c:4331 #4 PyEval_EvalFrameEx (f=f@entry=0x284a440, throwflag=throwflag@entry=0) at ../Python/ceval.c:2705 #5 0x0000000000505b24 in PyEval_EvalCodeEx (co=0x2c823b0, globals=&lt;optimised out&gt;, locals=locals@entry=0x0, args=&lt;optimised out&gt;, argcount=argcount@entry=8, kws=&lt;optimised out&gt;, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3253 #6 0x000000000052f3f2 in fast_function (nk=0, na=8, n=&lt;optimised out&gt;, pp_stack=0x7fffffffd4a0, func=0x2c86140) at ../Python/ceval.c:4117 #7 call_function (oparg=&lt;optimised out&gt;, pp_stack=0x7fffffffd4a0) at ../Python/ceval.c:4042 #8 PyEval_EvalFrameEx (f=f@entry=0x28512b0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #9 0x0000000000505b24 in PyEval_EvalCodeEx (co=0x2b88f30, globals=&lt;optimised out&gt;, locals=locals@entry=0x0, args=&lt;optimised out&gt;, argcount=argcount@entry=1, kws=&lt;optimised out&gt;, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3253 #10 0x000000000052f3f2 in fast_function (nk=0, na=1, n=&lt;optimised out&gt;, pp_stack=0x7fffffffd6c0, func=0x2caa8c0) at ../Python/ceval.c:4117 #11 call_function (oparg=&lt;optimised out&gt;, pp_stack=0x7fffffffd6c0) at ../Python/ceval.c:4042 #12 PyEval_EvalFrameEx (f=f@entry=0x20d3af0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #13 0x0000000000505b24 in PyEval_EvalCodeEx (co=0x2d07230, globals=&lt;optimised out&gt;, locals=locals@entry=0x0, args=&lt;optimised out&gt;, argcount=argcount@entry=2, kws=&lt;optimised out&gt;, kwcount=kwcount@entry=0, defs=defs@entry=0x2d06e68, defcount=1, closure=0x0) at ../Python/ceval.c:3253 #14 0x000000000052e237 in fast_function (nk=0, na=2, n=&lt;optimised out&gt;, pp_stack=0x7fffffffd8e0, func=0x2d17c80) at ../Python/ceval.c:4117 #15 call_function (oparg=&lt;optimised out&gt;, pp_stack=0x7fffffffd8e0) at ../Python/ceval.c:4042 #16 PyEval_EvalFrameEx (f=f@entry=0xa56bc0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #17 0x0000000000567cdc in PyEval_EvalCodeEx (closure=0x0, defcount=0, defs=0x0, kwcount=0, kws=0x0, argcount=0, args=0x0, locals=0x9410a0, globals=0x7ffff7f18c30, co=&lt;optimised out&gt;) at ../Python/ceval.c:3253 #18 PyEval_EvalCode (co=co@entry=0x7ffff7f18c30, globals=globals@entry=0x97e690, locals=locals@entry=0x97e690) at ../Python/ceval.c:667 #19 0x0000000000451adb in run_mod.42568 (mod=&lt;optimised out&gt;, filename=&lt;optimised out&gt;, globals=0x97e690, locals=0x97e690, ---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- flags=&lt;optimised out&gt;, arena=&lt;optimised out&gt;) at ../Python/pythonrun.c:1365 #20 0x0000000000451e5b in PyRun_FileExFlags (fp=fp@entry=0xa56ba0, filename=filename@entry=0x7fffffffe058 "sklearn_seg.py", start=start@entry=257, globals=globals@entry=0x97e690, locals=locals@entry=0x97e690, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdab0) at ../Python/pythonrun.c:1351 #21 0x0000000000452394 in PyRun_SimpleFileExFlags (fp=fp@entry=0xa56ba0, filename=&lt;optimised out&gt;, filename@entry=0x7fffffffe058 "sklearn_seg.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdab0) at ../Python/pythonrun.c:943 #22 0x0000000000452490 in PyRun_AnyFileExFlags (fp=fp@entry=0xa56ba0, filename=filename@entry=0x7fffffffe058 "sklearn_seg.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdab0) at ../Python/pythonrun.c:747 #23 0x0000000000453ead in Py_Main (argc=&lt;optimised out&gt;, argv=0x7fffffffdc68) at ../Modules/main.c:640 #24 0x00007ffff7816de5 in __libc_start_main (main=0x453f6b &lt;main&gt;, argc=2, ubp_av=0x7fffffffdc68, init=&lt;optimised out&gt;, fini=&lt;optimised out&gt;, rtld_fini=&lt;optimised out&gt;, stack_end=0x7fffffffdc58) at libc-start.c:260 #25 0x00000000005786be in _start () </code></pre></div>
0
<p dir="auto">Powertoys 0.13.0<br> W10 version: 10. 0.18362.145</p> <p dir="auto">Description:<br> Powertoys decides that the user has held down a modifier to invoke Fancyzone switching and does not let up, even when nothing is being held down.</p> <p dir="auto">affected keys are the number row. i.e.<br> 1!2@3#4$5%6^7&amp;8*9(0)</p> <p dir="auto">10key numberpad not affected</p> <p dir="auto">Steps: Unknown. Just happens after some time (hours). Might be a key combination I'm not aware of, but trying multiple combinations doesn't seem to trigger or undo the issue</p> <p dir="auto">Workaround: Restart PowerToys. Not in a long-enough session to know if it happens again afterwards</p>
<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"><em>What is the expected behavior of the proposed feature? What is the scenario this would be used?</em></p> <p dir="auto">When editing a layout, I would like to see the resolution (W x H) of each zone.</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>
0
<p dir="auto">GitHub issues are for bugs / installation problems / feature requests.<br> For general support from the community, see <a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">StackOverflow</a>.<br> To make bugs and feature requests more easy to find and organize, we close issues that are deemed<br> out of scope for GitHub Issues and point people to StackOverflow.</p> <p dir="auto">For bugs or installation issues, please provide the following information.<br> The more information you provide, the more easily we will be able to offer<br> help and advice.</p> <h3 dir="auto">Environment info</h3> <p dir="auto">Operating System: Browser issue with readme tensorboard</p> <p dir="auto">Installed version of CUDA and cuDNN:<br> (please attach the output of <code class="notranslate">ls -l /path/to/cuda/lib/libcud*</code>):</p> <p dir="auto">If installed from binary pip package, provide:</p> <ol dir="auto"> <li>not tensorproblem but website</li> </ol> <p dir="auto">If installed from sources, provide the commit hash:</p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Go to <a href="https://www.tensorflow.org/versions/r0.9/how_tos/summaries_and_tensorboard/index.html" rel="nofollow">https://www.tensorflow.org/versions/r0.9/how_tos/summaries_and_tensorboard/index.html</a> and click on the readme tensorboard. Give you 404 not found error.</li> </ol> <h3 dir="auto">What have you tried?</h3> <ol dir="auto"> <li>nothing, its on the website</li> </ol> <h3 dir="auto">Logs or other output that would be helpful</h3> <p dir="auto">(If logs are large, please upload as attachment).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1855278/16181716/2cfc7cd4-366c-11e6-92e2-ed67906c95eb.png"><img src="https://cloud.githubusercontent.com/assets/1855278/16181716/2cfc7cd4-366c-11e6-92e2-ed67906c95eb.png" alt="screen shot 2016-06-19 at 10 20 53 pm" style="max-width: 100%;"></a></p>
<p dir="auto">The link <a href="https://www.tensorflow.org/versions/tensorboard/README.html" rel="nofollow">https://www.tensorflow.org/versions/tensorboard/README.html</a> for README file in <a href="https://www.tensorflow.org/versions/master/how_tos/summaries_and_tensorboard/index.html" rel="nofollow">tensorboard</a> page is broken.</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=yeecn" rel="nofollow">CN Yee</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5404?redirect=false" rel="nofollow">SPR-5404</a></strong> and commented</p> <p dir="auto">Spring beans are not available within <code class="notranslate">@BeforeTest</code> methods with TestNG tests, as follows:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@ContextConfiguration(&quot;/applicationContext.xml&quot;) public class Testing extends AbstractTestNGSpringContextTests { @Autowired SessionFactory sessionFactory; @Test public void testMe() { Session s = sessionFactory.openSession(); // This is OK } @BeforeTest public void beforeTest() { Session s = sessionFactory.openSession(); // This give NullPointerException } }"><pre class="notranslate"><code class="notranslate">@ContextConfiguration("/applicationContext.xml") public class Testing extends AbstractTestNGSpringContextTests { @Autowired SessionFactory sessionFactory; @Test public void testMe() { Session s = sessionFactory.openSession(); // This is OK } @BeforeTest public void beforeTest() { Session s = sessionFactory.openSession(); // This give NullPointerException } } </code></pre></div> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6, 3.0.5</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="398082391" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8750" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8750/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8750">#8750</a> Should AbstractTestNGSpringContextTests use <code class="notranslate">@BeforeSuite</code> instead of <code class="notranslate">@BeforeClass</code>? (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">5 votes, 4 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sbrannen" rel="nofollow">Sam Brannen</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4072?redirect=false" rel="nofollow">SPR-4072</a></strong> and commented</p> <p dir="auto">AbstractTestNGSpringContextTests's springTestContextPrepareTestInstance() method is currently annotated with <code class="notranslate">@BeforeClass</code>, which prohibits <code class="notranslate">@BeforeSuite</code> methods in subclasses from interacting with the ApplicationContext.</p> <p dir="auto">Essentially, the question raised in the forum is: would it be better to annotate the springTestContextPrepareTestInstance() method with <code class="notranslate">@BeforeSuite</code> instead of <code class="notranslate">@BeforeClass</code>?</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6, 3.0.7, 3.1.1</p> <p dir="auto"><strong>Reference URL:</strong> <a href="http://forum.springframework.org/showthread.php?p=148532#post148532" rel="nofollow">http://forum.springframework.org/showthread.php?p=148532#post148532</a></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="398092680" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10077" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10077/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10077">#10077</a> AbstractTestNGSpringContextTests: Spring beans not available within <code class="notranslate">@BeforeTest</code> methods (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">13 votes, 14 watchers</p>
1
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>yes</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>&gt;4.0.3</td> </tr> </tbody> </table> <p dir="auto">After update Symfony to version 4.0.3 (4.0.4 -the same) cache:clear command (with implicit cache warming) warms up cache incorrectly. As i can compare with 4.0.2 cache folder some dependencies is not warmed.</p> <p dir="auto"><strong>4.0.3</strong></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="root@bacac0721dd9:/var/www/symfony# bin/console ca:cl -e=prod root@bacac0721dd9:/var/www/symfony# ls -1 var/cache/prod/ ContainerM4N54hq annotations.map srcProdProjectContainer.php srcProdProjectContainer.php.meta srcProdProjectContainerUrlGenerator.php srcProdProjectContainerUrlGenerator.php.meta srcProdProjectContainerUrlMatcher.php srcProdProjectContainerUrlMatcher.php.meta templates.php"><pre class="notranslate">root@bacac0721dd9:/var/www/symfony# bin/console ca:cl -e=prod root@bacac0721dd9:/var/www/symfony# ls -1 var/cache/prod/ ContainerM4N54hq annotations.map srcProdProjectContainer.php srcProdProjectContainer.php.meta srcProdProjectContainerUrlGenerator.php srcProdProjectContainerUrlGenerator.php.meta srcProdProjectContainerUrlMatcher.php srcProdProjectContainerUrlMatcher.php.meta templates.php</pre></div> <p dir="auto"><strong>4.0.2</strong></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="root@bacac0721dd9:/var/www/symfony# bin/console ca:cl -e=prod root@bacac0721dd9:/var/www/symfony# ls -1 var/cache/prod/ ContainerW99Fklq annotations.map annotations.php doctrine easy_admin pools serialization.php srcProdProjectContainer.php srcProdProjectContainer.php.meta srcProdProjectContainerUrlGenerator.php srcProdProjectContainerUrlGenerator.php.meta srcProdProjectContainerUrlMatcher.php srcProdProjectContainerUrlMatcher.php.meta templates.php translations twig validation.php"><pre class="notranslate">root@bacac0721dd9:/var/www/symfony# bin/console ca:cl -e=prod root@bacac0721dd9:/var/www/symfony# ls -1 var/cache/prod/ ContainerW99Fklq annotations.map annotations.php doctrine easy_admin pools serialization.php srcProdProjectContainer.php srcProdProjectContainer.php.meta srcProdProjectContainerUrlGenerator.php srcProdProjectContainerUrlGenerator.php.meta srcProdProjectContainerUrlMatcher.php srcProdProjectContainerUrlMatcher.php.meta templates.php translations twig validation.php</pre></div> <p dir="auto">For develop env it isn't critical, but for production it is.<br> ps As workaround i used <code class="notranslate">bin/console cache:warmup -e=prod</code> after</p>
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>yes</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>3.4</td> </tr> </tbody> </table> <p dir="auto">There seems to be a BC break in Symfony 3.4 when clearing/warming the cache.</p> <p dir="auto">Until a couple of days ago, it was possible to write to <code class="notranslate">%kernel.cache_dir%</code> during cache warming and the contents would persist. Now they are deleted when the cache directory is moved from <code class="notranslate">de_</code> to <code class="notranslate">dev</code>. However, when using the <code class="notranslate">$cacheDir</code> parameter provided to the <code class="notranslate">warmUp</code> method, the files are kept.</p> <p dir="auto">I realize that using the path provided to <code class="notranslate">warmUp</code> is preferred, but we have different places in our code base where the path is injected to cache warming services through the service configuration. This way, we can configure a common path for shared cache objects and use a common cache service.</p> <p dir="auto">Example:</p> <p dir="auto"><a href="https://gist.github.com/lxg/de91dad64059a63c3ffed0e4179aa057">https://gist.github.com/lxg/de91dad64059a63c3ffed0e4179aa057</a><br> <a href="https://gist.github.com/lxg/05299c118bba0db197327cb1b07ca091">https://gist.github.com/lxg/05299c118bba0db197327cb1b07ca091</a></p> <p dir="auto">I agree that this could be solved differently. However, this change breaks the previous behaviour which has been there since several years.</p>
1
<ul dir="auto"> <li>Electron Version: 2.0.0</li> <li>Operating System (Platform and Version): windows 8.1</li> <li>Last known working Electron version: none</li> </ul> <p dir="auto"><strong>Expected Behavior</strong><br> I create a browerwindow with frame: false and transparent: true, when i use maximize(), i need the event 'maximize' and isMaximized() return true.</p> <p dir="auto"><strong>Actual behavior</strong><br> no event emited, and isMaximize() return false.</p>
<p dir="auto">Currently, the <em>bluetooth-select-device</em> event is within the main process. If the user wants to mimick standard WebBluetooth behavior, the renderer process needs to display a dialog.</p> <p dir="auto">Also, receiving a long list of devices (with many duplicates!) is not user-friendly. The user needs to see devices as they are found. Often, a devices is found only after turning it off and on again.</p> <p dir="auto">Following suggestion: Implement <em>bluetooth-select-device</em> on the renderer side, with a single argument, the callback.</p> <p dir="auto">Implement a <em>bluetooth-device-found</em> event; its argument should be a standard BluetoothDevice instance with an "id" property instead of a "deviceId" property.</p> <p dir="auto">The user could display an empty dialog on the former event and remember the callback. On the latter events, the user would fill the dialog.</p> <p dir="auto">The dialog could event become part of the standard Electron package. See, for example, the file DeviceChooserUI.js in the web-bluetooth-polyfill package for an implementation.</p> <ul dir="auto"> <li>Electron version: 1.7.8</li> <li>Operating system: Mac OS 10.12.6</li> </ul>
0
<p dir="auto">Abstract and concrete parametric types can inherit from other parametric types with contradictory type constraints for example:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; abstract type A{T&lt;:Int} end julia&gt; abstract type B{T&lt;:Array} &lt;: A{T} end julia&gt; struct C{T} &lt;: B{T} f::T end"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-k">abstract type</span> A{T<span class="pl-k">&lt;:</span><span class="pl-c1">Int</span>} <span class="pl-k">end</span> julia<span class="pl-k">&gt;</span> <span class="pl-k">abstract type</span> B{T<span class="pl-k">&lt;:</span><span class="pl-c1">Array</span>} <span class="pl-k">&lt;:</span> <span class="pl-c1">A{T}</span> <span class="pl-k">end</span> julia<span class="pl-k">&gt;</span> <span class="pl-k">struct</span> C{T} <span class="pl-k">&lt;:</span> <span class="pl-c1">B{T}</span> f<span class="pl-k">::</span><span class="pl-c1">T</span> <span class="pl-k">end</span></pre></div> <p dir="auto">None of these types can ever be used</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; B{Array} ERROR: TypeError: in A, in T, expected T&lt;:Int64, got Type{Array} Stacktrace: [1] top-level scope at none:0 julia&gt; B{Int} ERROR: TypeError: in B, in T, expected T&lt;:Array, got Type{Int64} Stacktrace: [1] top-level scope at none:0 julia&gt; C(3) ERROR: TypeError: in B, in T, expected T&lt;:Array, got Type{Int64} Stacktrace: [1] C(::Int64) at ./REPL[3]:2 [2] top-level scope at none:0 julia&gt; c([3]) ERROR: UndefVarError: c not defined Stacktrace: [1] top-level scope at none:0 julia&gt; versioninfo() Julia Version 1.0.1 Commit 0d713926f8 (2018-09-29 19:05 UTC) Platform Info: OS: macOS (x86_64-apple-darwin14.5.0) CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, haswell)"><pre class="notranslate">julia<span class="pl-k">&gt;</span> B{Array} ERROR<span class="pl-k">:</span> TypeError<span class="pl-k">:</span> <span class="pl-k">in</span> A, <span class="pl-k">in</span> T, expected T<span class="pl-k">&lt;:</span><span class="pl-c1">Int64</span>, got Type{Array} Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] top<span class="pl-k">-</span>level scope at none<span class="pl-k">:</span><span class="pl-c1">0</span> julia<span class="pl-k">&gt;</span> B{Int} ERROR<span class="pl-k">:</span> TypeError<span class="pl-k">:</span> <span class="pl-k">in</span> B, <span class="pl-k">in</span> T, expected T<span class="pl-k">&lt;:</span><span class="pl-c1">Array</span>, got Type{Int64} Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] top<span class="pl-k">-</span>level scope at none<span class="pl-k">:</span><span class="pl-c1">0</span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">C</span>(<span class="pl-c1">3</span>) ERROR<span class="pl-k">:</span> TypeError<span class="pl-k">:</span> <span class="pl-k">in</span> B, <span class="pl-k">in</span> T, expected T<span class="pl-k">&lt;:</span><span class="pl-c1">Array</span>, got Type{Int64} Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] <span class="pl-c1">C</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>REPL[<span class="pl-c1">3</span>]<span class="pl-k">:</span><span class="pl-c1">2</span> [<span class="pl-c1">2</span>] top<span class="pl-k">-</span>level scope at none<span class="pl-k">:</span><span class="pl-c1">0</span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">c</span>([<span class="pl-c1">3</span>]) ERROR<span class="pl-k">:</span> UndefVarError<span class="pl-k">:</span> c not defined Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] top<span class="pl-k">-</span>level scope at none<span class="pl-k">:</span><span class="pl-c1">0</span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">versioninfo</span>() Julia Version <span class="pl-c1">1.0</span>.<span class="pl-c1">1</span> Commit <span class="pl-c1">0</span>d713926f8 (<span class="pl-c1">2018</span><span class="pl-k">-</span><span class="pl-c1">09</span><span class="pl-k">-</span><span class="pl-c1">29</span> <span class="pl-c1">19</span><span class="pl-k">:</span><span class="pl-c1">05</span> UTC) Platform Info<span class="pl-k">:</span> OS<span class="pl-k">:</span> macOS (x86_64<span class="pl-k">-</span>apple<span class="pl-k">-</span>darwin14.<span class="pl-c1">5.0</span>) CPU<span class="pl-k">:</span> <span class="pl-c1">Intel</span>(R) <span class="pl-c1">Core</span>(TM) i7<span class="pl-k">-</span><span class="pl-c1">4770</span>HQ CPU @ <span class="pl-c1">2.20</span>GHz 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">6.0</span>.<span class="pl-c1">0</span> (ORCJIT, haswell)</pre></div>
<p dir="auto">Suppose we have the following definitions</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#type this into session 1 abstract Domain{T&lt;:Number} immutable Interval{T} &lt;: Domain{T} a::T b::T end"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>type this into session 1</span> abstract Domain{T<span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>} immutable Interval{T} <span class="pl-k">&lt;:</span> <span class="pl-c1">Domain{T}</span> a<span class="pl-k">::</span><span class="pl-c1">T</span> b<span class="pl-k">::</span><span class="pl-c1">T</span> <span class="pl-k">end</span></pre></div> <p dir="auto">For the purposes of this issue I expect the following block of code to work exactly as the above (if you type them each into a different Julia session). Perhaps this is not a justified expectation.</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#type this into session 2 immutable Interval{T&lt;:Number} a::T b::T end"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>type this into session 2</span> immutable Interval{T<span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>} a<span class="pl-k">::</span><span class="pl-c1">T</span> b<span class="pl-k">::</span><span class="pl-c1">T</span> <span class="pl-k">end</span></pre></div> <p dir="auto">In both sessions, this works as expected</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; Interval{Float64}(3,4) Interval{Float64}(3.0,4.0) julia&gt; Interval(&quot;he&quot;,&quot;llo&quot;) ERROR: type: Domain: in T, expected T&lt;:Number, got Type{ASCIIString}"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">Interval</span><span class="pl-c1">{Float64}</span>(<span class="pl-c1">3</span>,<span class="pl-c1">4</span>) <span class="pl-c1">Interval</span><span class="pl-c1">{Float64}</span>(<span class="pl-c1">3.0</span>,<span class="pl-c1">4.0</span>) julia<span class="pl-k">&gt;</span> <span class="pl-c1">Interval</span>(<span class="pl-s"><span class="pl-pds">"</span>he<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>llo<span class="pl-pds">"</span></span>) ERROR<span class="pl-k">:</span> type<span class="pl-k">:</span> Domain<span class="pl-k">:</span> <span class="pl-k">in</span> T, expected T<span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>, got Type{ASCIIString}</pre></div> <p dir="auto">but if you go on to define in each session</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Interval(a::Number,b::Number) = Interval(promote(a,b)...)"><pre class="notranslate"><span class="pl-en">Interval</span>(a<span class="pl-k">::</span><span class="pl-c1">Number</span>,b<span class="pl-k">::</span><span class="pl-c1">Number</span>) <span class="pl-k">=</span> <span class="pl-c1">Interval</span>(<span class="pl-c1">promote</span>(a,b)<span class="pl-k">...</span>)</pre></div> <p dir="auto">then session 1 loops on <code class="notranslate">Interval(3,4.)</code> (and any number types) but it works as I expect in session 2.<br> This is consistent with the following</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#session 1 julia&gt; methods(Interval) #2 methods for generic function &quot;Interval&quot;: Interval(a::Number,b::Number) at none:1 Interval{T}(a::T,b::T)"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>session 1 </span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">methods</span>(Interval) <span class="pl-c"><span class="pl-c">#</span>2 methods for generic function "Interval":</span> <span class="pl-c1">Interval</span>(a<span class="pl-k">::</span><span class="pl-c1">Number</span>,b<span class="pl-k">::</span><span class="pl-c1">Number</span>) at none<span class="pl-k">:</span><span class="pl-c1">1</span> <span class="pl-c1">Interval</span><span class="pl-c1">{T}</span>(a<span class="pl-k">::</span><span class="pl-c1">T</span>,b<span class="pl-k">::</span><span class="pl-c1">T</span>)</pre></div> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#session 2 julia&gt; methods(Interval) #2 methods for generic function &quot;Interval&quot;: Interval{T&lt;:Number}(a::T&lt;:Number,b::T&lt;:Number) Interval(a::Number,b::Number) at none:1"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>session 2</span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">methods</span>(Interval) <span class="pl-c"><span class="pl-c">#</span>2 methods for generic function "Interval":</span> <span class="pl-c1">Interval</span><span class="pl-c1">{T&lt;:Number}</span>(a<span class="pl-k">::</span><span class="pl-c1">T</span><span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>,b<span class="pl-k">::</span><span class="pl-c1">T</span><span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>) <span class="pl-c1">Interval</span>(a<span class="pl-k">::</span><span class="pl-c1">Number</span>,b<span class="pl-k">::</span><span class="pl-c1">Number</span>) at none<span class="pl-k">:</span><span class="pl-c1">1</span></pre></div> <p dir="auto">The solution seems to be to be redundant</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#type this into session 1 abstract Domain{T&lt;:Number} immutable Interval{T&lt;:Number} &lt;: Domain{T} a::T b::T end"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>type this into session 1</span> abstract Domain{T<span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>} immutable Interval{T<span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>} <span class="pl-k">&lt;:</span> <span class="pl-c1">Domain{T}</span> a<span class="pl-k">::</span><span class="pl-c1">T</span> b<span class="pl-k">::</span><span class="pl-c1">T</span> <span class="pl-k">end</span></pre></div> <p dir="auto">Furthermore, I think this should raise some kind of red text</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#a new session abstract Domain{T&lt;:Number} immutable Interval{T&lt;:String} &lt;: Domain{T} a::T b::T end"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>a new session</span> abstract Domain{T<span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>} immutable Interval{T<span class="pl-k">&lt;:</span><span class="pl-c1">String</span>} <span class="pl-k">&lt;:</span> <span class="pl-c1">Domain{T}</span> a<span class="pl-k">::</span><span class="pl-c1">T</span> b<span class="pl-k">::</span><span class="pl-c1">T</span> <span class="pl-k">end</span></pre></div> <p dir="auto">because it seems like that type is not able to be constructed</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; Interval(&quot;he&quot;,&quot;llo&quot;) ERROR: type: Domain: in T, expected T&lt;:Number, got Type{ASCIIString} julia&gt; Interval(3,4) ERROR: `Interval{T&lt;:String}` has no method matching Interval{T&lt;:String}(::Int64, ::Int64)"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">Interval</span>(<span class="pl-s"><span class="pl-pds">"</span>he<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>llo<span class="pl-pds">"</span></span>) ERROR<span class="pl-k">:</span> type<span class="pl-k">:</span> Domain<span class="pl-k">:</span> <span class="pl-k">in</span> T, expected T<span class="pl-k">&lt;:</span><span class="pl-c1">Number</span>, got Type{ASCIIString} julia<span class="pl-k">&gt;</span> <span class="pl-c1">Interval</span>(<span class="pl-c1">3</span>,<span class="pl-c1">4</span>) ERROR<span class="pl-k">:</span> <span class="pl-s"><span class="pl-pds">`</span>Interval{T&lt;:String}<span class="pl-pds">`</span></span> has no method matching <span class="pl-c1">Interval</span><span class="pl-c1">{T&lt;:String}</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>)</pre></div>
1
<p dir="auto">I've reported this problem before on discourse but apparently I didn't file an issue, and the fix was not included in 0.5.1. There is a performance bug in 0.5.0, and also now in 0.5.1, with arrays that have 6 or more subscripts. The bug is fixed in 0.4.7 and was also fixed in 0.6.0 last time I checked. Here is a sample.</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" julia&gt; @time test_manyway.test2way(100000) 0.001451 seconds (6 allocations: 288 bytes) 49987.500777183195 julia&gt; @time test_manyway.test4way(100000) 0.005792 seconds (7 allocations: 432 bytes) 50226.90084188317 julia&gt; @time test_manyway.test6way(100000) 10.533045 seconds (64.00 M allocations: 1.526 GB, 1.35% gc time) 49979.21341756834"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">@time</span> test_manyway<span class="pl-k">.</span><span class="pl-c1">test2way</span>(<span class="pl-c1">100000</span>) <span class="pl-c1">0.001451</span> seconds (<span class="pl-c1">6</span> allocations<span class="pl-k">:</span> <span class="pl-c1">288</span> bytes) <span class="pl-c1">49987.500777183195</span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">@time</span> test_manyway<span class="pl-k">.</span><span class="pl-c1">test4way</span>(<span class="pl-c1">100000</span>) <span class="pl-c1">0.005792</span> seconds (<span class="pl-c1">7</span> allocations<span class="pl-k">:</span> <span class="pl-c1">432</span> bytes) <span class="pl-c1">50226.90084188317</span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">@time</span> test_manyway<span class="pl-k">.</span><span class="pl-c1">test6way</span>(<span class="pl-c1">100000</span>) <span class="pl-c1">10.533045</span> seconds (<span class="pl-c1">64.00</span> M allocations<span class="pl-k">:</span> <span class="pl-c1">1.526</span> GB, <span class="pl-c1">1.35</span><span class="pl-k">%</span> gc time) <span class="pl-c1">49979.21341756834</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module test_manyway function test2way(n) a2 = zeros(2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 a2[j1,j2] = rand() end end x += a2[1,1] end x end function test4way(n) a4 = zeros(2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 a4[j1,j2,j3,j4] = rand() end end end end x += a4[1,1,1,1] end x end function test6way(n) a6 = zeros(2,2,2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 a6[j1,j2,j3,j4,j5,j6] = rand() end end end end end end x += a6[1,1,1,1,1,1] end x end function test7way(n) a7 = zeros(2,2,2,2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 for j7 = 1 : 2 a7[j1,j2,j3,j4,j5,j6,j7] = rand() end end end end end end end x += a7[1,1,1,1,1,1,1] end x end function test8way(n) a8 = zeros(2,2,2,2,2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 for j7 = 1 : 2 for j8 = 1 : 2 a8[j1,j2,j3,j4,j5,j6,j7,j8] = rand() end end end end end end end end x += a8[1,1,1,1,1,1,1,1] end x end function test8wayb(n) x = 0.0 x2 = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 for j7 = 1 : 2 for j8 = 1 : 2 x2 = rand() end end end end end end end end x += x2 end x end end"><pre class="notranslate"><code class="notranslate">module test_manyway function test2way(n) a2 = zeros(2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 a2[j1,j2] = rand() end end x += a2[1,1] end x end function test4way(n) a4 = zeros(2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 a4[j1,j2,j3,j4] = rand() end end end end x += a4[1,1,1,1] end x end function test6way(n) a6 = zeros(2,2,2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 a6[j1,j2,j3,j4,j5,j6] = rand() end end end end end end x += a6[1,1,1,1,1,1] end x end function test7way(n) a7 = zeros(2,2,2,2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 for j7 = 1 : 2 a7[j1,j2,j3,j4,j5,j6,j7] = rand() end end end end end end end x += a7[1,1,1,1,1,1,1] end x end function test8way(n) a8 = zeros(2,2,2,2,2,2,2,2) x = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 for j7 = 1 : 2 for j8 = 1 : 2 a8[j1,j2,j3,j4,j5,j6,j7,j8] = rand() end end end end end end end end x += a8[1,1,1,1,1,1,1,1] end x end function test8wayb(n) x = 0.0 x2 = 0.0 for tr = 1 : n for j1 = 1 : 2 for j2 = 1 : 2 for j3 = 1 : 2 for j4 = 1 : 2 for j5 = 1 : 2 for j6 = 1 : 2 for j7 = 1 : 2 for j8 = 1 : 2 x2 = rand() end end end end end end end end x += x2 end x end end </code></pre></div>
<p dir="auto">A few months back, I reported on discourse that arrays with 5 or more subscripts have severe performance problems in 0.5.0. This has apparently still not been fixed in 0.5.0 (although it is fixed in 0.6.0). I've noticed on github that several important packages are preparing to drop 0.4 support. If the consensus of the core Julia developers is to drop 0.4 support before 0.6.0 is released, then please issue a patch for this bug in 0.5.0, because right now 0.5.0 is unusable for me due to my heavy use of 5- and 6-subscript arrays. Apparently the patch for this bug is quite simple, but I am not able to patch my system image in Windows 10. (The instructions in the docs for patching system images did not work for me).</p> <p dir="auto">Thanks,<br> Steve Vavasis</p>
1
<p dir="auto">In button-groups.less we have a style to stick grouped buttons together:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".btn-group &gt; .btn + .btn { margin-left: -1px; }"><pre class="notranslate"><code class="notranslate">.btn-group &gt; .btn + .btn { margin-left: -1px; } </code></pre></div> <p dir="auto">Tooltip javascript inserts div.tooltip between the buttons and the style breaks moving all buttons 1px right on mouse hover.</p>
<p dir="auto"><a href="http://jsfiddle.net/JEBdk/5/" rel="nofollow">http://jsfiddle.net/JEBdk/5/</a></p> <p dir="auto">tooltip or popover on btn-group. the btn-group is not display correctly!<br> the last btn have not round corners and between the btn's is a space.</p> <p dir="auto">my suggestion, by generating the tip or popover on the end of document .</p>
1
<h4 dir="auto">Challenge Name</h4> <p dir="auto">All challenges</p> <h4 dir="auto">Issue Description</h4> <p dir="auto">Cursor appears in the position a user clicks. But when a keyboard button is pressed, the curser jumps one line down. In the linked video I press "enter".</p> <p dir="auto"><a href="https://dl.dropboxusercontent.com/u/79449416/one%20line%20off%20error.mov" rel="nofollow">https://dl.dropboxusercontent.com/u/79449416/one%20line%20off%20error.mov</a></p> <p dir="auto">You can also detect this when the line below is shorter than the line you are clicking on, it won't let you place the cursor past the length of the line below.</p> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Chrome, Version 52.0.2743.116 (64-bit)</li> <li>OSX, El Capitan, Ver: 10.11.4 (15E65)</li> <li>MacBook Pro (Retina, Mid 2012)</li> </ul>
<p dir="auto">In all the exercises, we the users are forced to press the enter key before writing any code.</p> <hr> <h4 dir="auto">Update:</h4> <p dir="auto">We have locked the conversation temporarily on this thread to collaborators only, this has been resolved in staging, and will be live soon.</p> <p dir="auto">The fix can be confirmed on the beta website.</p> <p dir="auto">The workaround currently on production website is:<br> Press the <kbd>Enter</kbd> key on the challenge editor and then proceed with the challenge.</p> <p dir="auto">Apologies for the inconvenience meanwhile.</p> <p dir="auto">Reach us in the chat room if you need any assistance.</p>
1
<h3 dir="auto">Official Helm Chart version</h3> <p dir="auto">1.7.0 (latest released)</p> <h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.3.1</p> <h3 dir="auto">Kubernetes Version</h3> <p dir="auto">1.23.10</p> <h3 dir="auto">Helm Chart configuration</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webserverSecretKey: 'ad2126ad-95c5-4050-b785-218f84b4bafa' defaultAirflowRepository: 'airflow' defaultAirflowTag: 'test' images: airflow: pullPolicy: Never webserver: service: type: NodePort resources: limits: cpu: 500m memory: 1028Mi config: core: enable_xcom_pickling: True pgbouncer: # The maximum number of connections to PgBouncer maxClientConn: 100 # The maximum number of server connections to the metadata database from PgBouncer metadataPoolSize: 10 # The maximum number of server connections to the result backend database from PgBouncer resultBackendPoolSize: 5 enabled: true redis: enabled: false data: brokerUrl: redis://redis.test.org:6379/0 postgresql: enabled: False enableBuiltInSecretEnvVars: AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: False AIRFLOW__CELERY__RESULT_BACKEND: False secret: - envName: &quot;AIRFLOW__DATABASE__SQL_ALCHEMY_CONN&quot; secretName: &quot;airflow-metadata&quot; secretKey: &quot;AIRFLOW__DATABASE__SQL_ALCHEMY_CONN&quot; - envName: &quot;AIRFLOW__CELERY__RESULT_BACKEND&quot; secretName: &quot;airflow-metadata&quot; secretKey: &quot;AIRFLOW__CELERY__RESULT_BACKEND&quot; extraEnvFrom: |- - configMapRef: name: 'airflow-variables"><pre class="notranslate"><code class="notranslate">webserverSecretKey: 'ad2126ad-95c5-4050-b785-218f84b4bafa' defaultAirflowRepository: 'airflow' defaultAirflowTag: 'test' images: airflow: pullPolicy: Never webserver: service: type: NodePort resources: limits: cpu: 500m memory: 1028Mi config: core: enable_xcom_pickling: True pgbouncer: # The maximum number of connections to PgBouncer maxClientConn: 100 # The maximum number of server connections to the metadata database from PgBouncer metadataPoolSize: 10 # The maximum number of server connections to the result backend database from PgBouncer resultBackendPoolSize: 5 enabled: true redis: enabled: false data: brokerUrl: redis://redis.test.org:6379/0 postgresql: enabled: False enableBuiltInSecretEnvVars: AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: False AIRFLOW__CELERY__RESULT_BACKEND: False secret: - envName: "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN" secretName: "airflow-metadata" secretKey: "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN" - envName: "AIRFLOW__CELERY__RESULT_BACKEND" secretName: "airflow-metadata" secretKey: "AIRFLOW__CELERY__RESULT_BACKEND" extraEnvFrom: |- - configMapRef: name: 'airflow-variables </code></pre></div> <h3 dir="auto">Docker Image customisations</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">What happened</h3> <p dir="auto">I was running simple airflow on kubernetes using helm with a configuration specified.<br> But the webserver not getting initialized.</p> <p dir="auto">here are the kubernetes pod</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NAME READY STATUS RESTARTS AGE airflow-pgbouncer-db449d6b-98ldf 2/2 Running 0 49m airflow-run-airflow-migrations-6bdwg 0/1 Completed 0 49m airflow-scheduler-9f78574d6-cq8dc 2/2 Running 1 (9m42s ago) 49m airflow-statsd-7c7584d6f8-6ldmr 1/1 Running 0 49m airflow-triggerer-6b4c678799-m6pg5 1/1 Running 4 (4m32s ago) 49m airflow-webserver-5575454d74-tc9zm 0/1 Running 5 (94s ago) 49m airflow-worker-0 2/2 Running 0 49m "><pre class="notranslate"><code class="notranslate">NAME READY STATUS RESTARTS AGE airflow-pgbouncer-db449d6b-98ldf 2/2 Running 0 49m airflow-run-airflow-migrations-6bdwg 0/1 Completed 0 49m airflow-scheduler-9f78574d6-cq8dc 2/2 Running 1 (9m42s ago) 49m airflow-statsd-7c7584d6f8-6ldmr 1/1 Running 0 49m airflow-triggerer-6b4c678799-m6pg5 1/1 Running 4 (4m32s ago) 49m airflow-webserver-5575454d74-tc9zm 0/1 Running 5 (94s ago) 49m airflow-worker-0 2/2 Running 0 49m </code></pre></div> <p dir="auto">here is webserver logs</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2022-11-14 07:30:49,068] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:30:49,376] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:30:49,377] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:30:49,377] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:31:01,429] {manager.py:508} INFO - Created Permission View: menu access on Permissions [2022-11-14 07:31:01,698] {manager.py:511} ERROR - Creation of Permission View Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;ab_permission_view_permission_id_view_menu_id_key&quot; DETAIL: Key (permission_id, view_menu_id)=(5, 15) already exists. [SQL: INSERT INTO ab_permission_view (id, permission_id, view_menu_id) VALUES (nextval('ab_permission_view_id_seq'), %(permission_id)s, %(view_menu_id)s) RETURNING ab_permission_view.id] [parameters: {'permission_id': 5, 'view_menu_id': 15}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:01,698] {manager.py:511} ERROR - Creation of Permission View Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;ab_permission_view_permission_id_view_menu_id_key&quot; DETAIL: Key (permission_id, view_menu_id)=(5, 15) already exists. [SQL: INSERT INTO ab_permission_view (id, permission_id, view_menu_id) VALUES (nextval('ab_permission_view_id_seq'), %(permission_id)s, %(view_menu_id)s) RETURNING ab_permission_view.id] [parameters: {'permission_id': 5, 'view_menu_id': 15}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:01,698] {manager.py:511} ERROR - Creation of Permission View Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;ab_permission_view_permission_id_view_menu_id_key&quot; DETAIL: Key (permission_id, view_menu_id)=(5, 15) already exists. [SQL: INSERT INTO ab_permission_view (id, permission_id, view_menu_id) VALUES (nextval('ab_permission_view_id_seq'), %(permission_id)s, %(view_menu_id)s) RETURNING ab_permission_view.id] [parameters: {'permission_id': 5, 'view_menu_id': 15}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:02,891] {manager.py:568} INFO - Added Permission menu access on Permissions to role Admin [2022-11-14 07:31:16,535] {manager.py:570} ERROR - Add Permission to Role Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;ab_permission_view_role_permission_view_id_role_id_key&quot; DETAIL: Key (permission_view_id, role_id)=(207, 1) already exists. [SQL: INSERT INTO ab_permission_view_role (id, permission_view_id, role_id) VALUES (nextval('ab_permission_view_role_id_seq'), %(permission_view_id)s, %(role_id)s) RETURNING ab_permission_view_role.id] [parameters: {'permission_view_id': 207, 'role_id': 1}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:16,535] {manager.py:570} ERROR - Add Permission to Role Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;ab_permission_view_role_permission_view_id_role_id_key&quot; DETAIL: Key (permission_view_id, role_id)=(207, 1) already exists. [SQL: INSERT INTO ab_permission_view_role (id, permission_view_id, role_id) VALUES (nextval('ab_permission_view_role_id_seq'), %(permission_view_id)s, %(role_id)s) RETURNING ab_permission_view_role.id] [parameters: {'permission_view_id': 207, 'role_id': 1}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:16,535] {manager.py:570} ERROR - Add Permission to Role Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;ab_permission_view_role_permission_view_id_role_id_key&quot; DETAIL: Key (permission_view_id, role_id)=(207, 1) already exists. [SQL: INSERT INTO ab_permission_view_role (id, permission_view_id, role_id) VALUES (nextval('ab_permission_view_role_id_seq'), %(permission_view_id)s, %(role_id)s) RETURNING ab_permission_view_role.id] [parameters: {'permission_view_id': 207, 'role_id': 1}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:40) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:41) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:42) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:43) [2022-11-14 07:32:10 +0000] [43] [INFO] Worker exiting (pid: 43) [2022-11-14 07:32:10 +0000] [42] [INFO] Worker exiting (pid: 42) [2022-11-14 07:32:10 +0000] [41] [INFO] Worker exiting (pid: 41) [2022-11-14 07:32:10 +0000] [40] [INFO] Worker exiting (pid: 40) [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 42 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 40 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 41 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 43 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [44] [INFO] Booting worker with pid: 44 [2022-11-14 07:32:12 +0000] [45] [INFO] Booting worker with pid: 45 [2022-11-14 07:32:12 +0000] [46] [INFO] Booting worker with pid: 46 [2022-11-14 07:32:12 +0000] [47] [INFO] Booting worker with pid: 47 "><pre class="notranslate"><code class="notranslate">[2022-11-14 07:30:49,068] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:30:49,376] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:30:49,377] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:30:49,377] {manager.py:543} INFO - Removed Permission View: menu_access on Permissions [2022-11-14 07:31:01,429] {manager.py:508} INFO - Created Permission View: menu access on Permissions [2022-11-14 07:31:01,698] {manager.py:511} ERROR - Creation of Permission View Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "ab_permission_view_permission_id_view_menu_id_key" DETAIL: Key (permission_id, view_menu_id)=(5, 15) already exists. [SQL: INSERT INTO ab_permission_view (id, permission_id, view_menu_id) VALUES (nextval('ab_permission_view_id_seq'), %(permission_id)s, %(view_menu_id)s) RETURNING ab_permission_view.id] [parameters: {'permission_id': 5, 'view_menu_id': 15}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:01,698] {manager.py:511} ERROR - Creation of Permission View Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "ab_permission_view_permission_id_view_menu_id_key" DETAIL: Key (permission_id, view_menu_id)=(5, 15) already exists. [SQL: INSERT INTO ab_permission_view (id, permission_id, view_menu_id) VALUES (nextval('ab_permission_view_id_seq'), %(permission_id)s, %(view_menu_id)s) RETURNING ab_permission_view.id] [parameters: {'permission_id': 5, 'view_menu_id': 15}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:01,698] {manager.py:511} ERROR - Creation of Permission View Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "ab_permission_view_permission_id_view_menu_id_key" DETAIL: Key (permission_id, view_menu_id)=(5, 15) already exists. [SQL: INSERT INTO ab_permission_view (id, permission_id, view_menu_id) VALUES (nextval('ab_permission_view_id_seq'), %(permission_id)s, %(view_menu_id)s) RETURNING ab_permission_view.id] [parameters: {'permission_id': 5, 'view_menu_id': 15}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:02,891] {manager.py:568} INFO - Added Permission menu access on Permissions to role Admin [2022-11-14 07:31:16,535] {manager.py:570} ERROR - Add Permission to Role Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "ab_permission_view_role_permission_view_id_role_id_key" DETAIL: Key (permission_view_id, role_id)=(207, 1) already exists. [SQL: INSERT INTO ab_permission_view_role (id, permission_view_id, role_id) VALUES (nextval('ab_permission_view_role_id_seq'), %(permission_view_id)s, %(role_id)s) RETURNING ab_permission_view_role.id] [parameters: {'permission_view_id': 207, 'role_id': 1}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:16,535] {manager.py:570} ERROR - Add Permission to Role Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "ab_permission_view_role_permission_view_id_role_id_key" DETAIL: Key (permission_view_id, role_id)=(207, 1) already exists. [SQL: INSERT INTO ab_permission_view_role (id, permission_view_id, role_id) VALUES (nextval('ab_permission_view_role_id_seq'), %(permission_view_id)s, %(role_id)s) RETURNING ab_permission_view_role.id] [parameters: {'permission_view_id': 207, 'role_id': 1}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:31:16,535] {manager.py:570} ERROR - Add Permission to Role Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "ab_permission_view_role_permission_view_id_role_id_key" DETAIL: Key (permission_view_id, role_id)=(207, 1) already exists. [SQL: INSERT INTO ab_permission_view_role (id, permission_view_id, role_id) VALUES (nextval('ab_permission_view_role_id_seq'), %(permission_view_id)s, %(role_id)s) RETURNING ab_permission_view_role.id] [parameters: {'permission_view_id': 207, 'role_id': 1}] (Background on this error at: http://sqlalche.me/e/14/gkpj) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:40) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:41) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:42) [2022-11-14 07:32:10 +0000] [22] [CRITICAL] WORKER TIMEOUT (pid:43) [2022-11-14 07:32:10 +0000] [43] [INFO] Worker exiting (pid: 43) [2022-11-14 07:32:10 +0000] [42] [INFO] Worker exiting (pid: 42) [2022-11-14 07:32:10 +0000] [41] [INFO] Worker exiting (pid: 41) [2022-11-14 07:32:10 +0000] [40] [INFO] Worker exiting (pid: 40) [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 42 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 40 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 41 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [22] [WARNING] Worker with pid 43 was terminated due to signal 9 [2022-11-14 07:32:11 +0000] [44] [INFO] Booting worker with pid: 44 [2022-11-14 07:32:12 +0000] [45] [INFO] Booting worker with pid: 45 [2022-11-14 07:32:12 +0000] [46] [INFO] Booting worker with pid: 46 [2022-11-14 07:32:12 +0000] [47] [INFO] Booting worker with pid: 47 </code></pre></div> <p dir="auto">these logs are keep on repeating.<br> I have created postgresql externally and specified it with secrets.</p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">How to reproduce</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.2.5</p> <h3 dir="auto">What happened</h3> <p dir="auto">This is a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1187998885" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/22647" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/22647/hovercard" href="https://github.com/apache/airflow/issues/22647">#22647</a> with a clearer title.</p> <p dir="auto">Airflow logs warnings when used in combination with SQLAlchemy &gt;= 1.4.14 about missing <a href="https://docs.sqlalchemy.org/en/14/core/custom_types.html#sqlalchemy.types.TypeDecorator.cache_ok" rel="nofollow"><code class="notranslate">cache_ok</code> fields</a> on the Airflow <code class="notranslate">TypeDecorator</code> subclasses.</p> <p dir="auto">These look like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2022-03-31, 11:47:06 UTC] {warnings.py:110} WARNING - /home/ec2-user/.local/lib/python3.7/site-packages/airflow/models/renderedtifields.py:163: SAWarning: TypeDecorator UtcDateTime(timezone=True) will not produce a cache key because the ``cache_ok`` attribute is not set to True. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)"><pre class="notranslate"><code class="notranslate">[2022-03-31, 11:47:06 UTC] {warnings.py:110} WARNING - /home/ec2-user/.local/lib/python3.7/site-packages/airflow/models/renderedtifields.py:163: SAWarning: TypeDecorator UtcDateTime(timezone=True) will not produce a cache key because the ``cache_ok`` attribute is not set to True. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf) </code></pre></div> <p dir="auto">Airflow may by default use an older version of sqlalchemy where this doesn't happen.</p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">Airflow should set these fields so that logs are not emitted.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Loading Airflow models in an environment with SQLAlchemy &gt;= 1.4.14 should show this.</p> <h3 dir="auto">Operating System</h3> <p dir="auto">NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3<g-emoji class="g-emoji" alias="o" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2b55.png">⭕</g-emoji>amazon:amazon_linux:2" HOME_URL="<a href="https://amazonlinux.com/" rel="nofollow">https://amazonlinux.com/</a>"</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto">apache-airflow-providers-amazon==3.0.0<br> apache-airflow-providers-celery==2.1.0<br> apache-airflow-providers-ftp==2.0.1<br> apache-airflow-providers-http==2.0.3<br> apache-airflow-providers-imap==2.2.0<br> apache-airflow-providers-postgres==3.0.0<br> apache-airflow-providers-redis==2.0.1<br> apache-airflow-providers-sqlite==2.1.0</p> <h3 dir="auto">Deployment</h3> <p dir="auto">Other Docker-based deployment</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
0
<p dir="auto">all.bash runs with test -short. However, sometimes non-short tests break. See e.g. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68470758" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/10455" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/10455/hovercard" href="https://github.com/golang/go/issues/10455">#10455</a> or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51288454" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/8617" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/8617/hovercard" href="https://github.com/golang/go/issues/8617">#8617</a>. These get found when someone eventually runs the full tests during development.</p> <p dir="auto">It'd be useful to have one fast builder run the full set of tests for each commit.</p> <p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bradfitz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bradfitz">@bradfitz</a></p>
<p dir="auto">The builders run the -short tests. However, we've seen non-short tests fail in the past. It'd be good for at least one builder somewhere on at least one arch/os to run the full suite.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bradfitz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bradfitz">@bradfitz</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 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">In Tasks -&gt; Instantiation, the following code snippet is used:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from celery import Task class DatabaseTask(Task): _db = None @property def db(self): if self._db is None: self._db = Database.connect() return self._db @app.task(base=DatabaseTask) def process_rows(): for row in process_rows.db.table.all(): process_row(row)"><pre class="notranslate"><code class="notranslate">from celery import Task class DatabaseTask(Task): _db = None @property def db(self): if self._db is None: self._db = Database.connect() return self._db @app.task(base=DatabaseTask) def process_rows(): for row in process_rows.db.table.all(): process_row(row) </code></pre></div> <p dir="auto">By not using <code class="notranslate">bind=True</code>, <code class="notranslate">process_rows.db</code> will be None in other class methods such as <code class="notranslate">after_return</code>.</p> <p dir="auto">For example, this will fail:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from celery import Task class DatabaseTask(Task): _db = None @property def db(self): if self._db is None: self._db = Database.connect() return self._db def after_return(self, status, retval, task_id, args, kwargs, einfo): if self._db is None: return self._db.close() # ^^^^ `self._db` is None @app.task(base=DatabaseTask) def process_rows(): for row in process_rows.db.table.all(): process_row(row)"><pre class="notranslate"><code class="notranslate">from celery import Task class DatabaseTask(Task): _db = None @property def db(self): if self._db is None: self._db = Database.connect() return self._db def after_return(self, status, retval, task_id, args, kwargs, einfo): if self._db is None: return self._db.close() # ^^^^ `self._db` is None @app.task(base=DatabaseTask) def process_rows(): for row in process_rows.db.table.all(): process_row(row) </code></pre></div> <h1 dir="auto">Suggestions</h1> <p dir="auto">Use <code class="notranslate">bind=True</code>.</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"> 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"> 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"> 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"> 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>: 4.4.7 and 5.2.0</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=""><pre class="notranslate"><code class="notranslate"></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>: N/A or Unknown</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=""><pre class="notranslate"><code class="notranslate"></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=""><pre class="notranslate"></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">redis backend socket connection error, socket closed</p>
0
<p dir="auto">As <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="256206011" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/2468" data-hovercard-type="issue" data-hovercard-url="/pallets/flask/issues/2468/hovercard" href="https://github.com/pallets/flask/issues/2468">#2468</a> has mentioned, send_file opens a file that mean to be closed by some further processing of the WSGI server. However, test_client does not really run the WSGI server, causing the opened file not closed until all test ends, and thus triggers a ResourceWarning and causes cleaning code after a test request to fail.</p> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">A file opened by send_file() should be closed after response is sent.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from flask import Flask from flask import send_file import unittest import os app = Flask(__name__, root_path='.') @app.route('/&lt;path:filepath&gt;') def handle_request(filepath): return send_file(filepath) class Test(unittest.TestCase): def test(self): temp_file = os.path.join(os.path.dirname(__file__), 'test.txt') for i in ('123abc', '&amp;@!#^*', '你好嗎'): with self.subTest(i=i): test_text = 'test' + str(i) with open(temp_file, 'w', encoding='UTF-8') as f: f.write(test_text) try: with app.test_client() as c: r = c.get(temp_file) self.assertEqual(r.data.decode('UTF-8'), test_text) finally: os.remove(temp_file) if __name__ == '__main__': unittest.main()"><pre class="notranslate"><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-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-s1">send_file</span> <span class="pl-k">import</span> <span class="pl-s1">unittest</span> <span class="pl-k">import</span> <span class="pl-s1">os</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Flask</span>(<span class="pl-s1">__name__</span>, <span class="pl-s1">root_path</span><span class="pl-c1">=</span><span class="pl-s">'.'</span>) <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/&lt;path:filepath&gt;'</span>)</span> <span class="pl-k">def</span> <span class="pl-en">handle_request</span>(<span class="pl-s1">filepath</span>): <span class="pl-k">return</span> <span class="pl-en">send_file</span>(<span class="pl-s1">filepath</span>) <span class="pl-k">class</span> <span class="pl-v">Test</span>(<span class="pl-s1">unittest</span>.<span class="pl-v">TestCase</span>): <span class="pl-k">def</span> <span class="pl-en">test</span>(<span class="pl-s1">self</span>): <span class="pl-s1">temp_file</span> <span class="pl-c1">=</span> <span class="pl-s1">os</span>.<span class="pl-s1">path</span>.<span class="pl-en">join</span>(<span class="pl-s1">os</span>.<span class="pl-s1">path</span>.<span class="pl-en">dirname</span>(<span class="pl-s1">__file__</span>), <span class="pl-s">'test.txt'</span>) <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> (<span class="pl-s">'123abc'</span>, <span class="pl-s">'&amp;@!#^*'</span>, <span class="pl-s">'你好嗎'</span>): <span class="pl-k">with</span> <span class="pl-s1">self</span>.<span class="pl-en">subTest</span>(<span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-s1">i</span>): <span class="pl-s1">test_text</span> <span class="pl-c1">=</span> <span class="pl-s">'test'</span> <span class="pl-c1">+</span> <span class="pl-en">str</span>(<span class="pl-s1">i</span>) <span class="pl-k">with</span> <span class="pl-en">open</span>(<span class="pl-s1">temp_file</span>, <span class="pl-s">'w'</span>, <span class="pl-s1">encoding</span><span class="pl-c1">=</span><span class="pl-s">'UTF-8'</span>) <span class="pl-k">as</span> <span class="pl-s1">f</span>: <span class="pl-s1">f</span>.<span class="pl-en">write</span>(<span class="pl-s1">test_text</span>) <span class="pl-k">try</span>: <span class="pl-k">with</span> <span class="pl-s1">app</span>.<span class="pl-en">test_client</span>() <span class="pl-k">as</span> <span class="pl-s1">c</span>: <span class="pl-s1">r</span> <span class="pl-c1">=</span> <span class="pl-s1">c</span>.<span class="pl-en">get</span>(<span class="pl-s1">temp_file</span>) <span class="pl-s1">self</span>.<span class="pl-en">assertEqual</span>(<span class="pl-s1">r</span>.<span class="pl-s1">data</span>.<span class="pl-en">decode</span>(<span class="pl-s">'UTF-8'</span>), <span class="pl-s1">test_text</span>) <span class="pl-k">finally</span>: <span class="pl-s1">os</span>.<span class="pl-en">remove</span>(<span class="pl-s1">temp_file</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">unittest</span>.<span class="pl-en">main</span>()</pre></div> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">The opened file is not closed properly after the response is sent, causing following code in the test fail to delete the file (which is temporarily generated for testing purpose).</p> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="......\test.py:22: ResourceWarning: unclosed file &lt;_io.BufferedReader name='......\\test.txt'&gt; r = c.get(temp_file) ResourceWarning: Enable tracemalloc to get the object allocation traceback ......\case.py:704: ResourceWarning: unclosed file &lt;_io.BufferedReader name='......\\test.txt'&gt; outcome.errors.clear() ResourceWarning: Enable tracemalloc to get the object allocation traceback ====================================================================== ERROR: test (__main__.Test) (i=1) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;......\test.py&quot;, line 25, in test os.remove(temp_file) PermissionError: [WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。: '......\\test.txt' ====================================================================== ERROR: test (__main__.Test) (i=2) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;......\test.py&quot;, line 25, in test os.remove(temp_file) PermissionError: [WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。: '......\\test.txt' ====================================================================== ERROR: test (__main__.Test) (i=3) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;......\test.py&quot;, line 25, in test os.remove(temp_file) PermissionError: [WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。: '......\\test.txt' ---------------------------------------------------------------------- Ran 1 test in 0.010s FAILED (errors=3)"><pre class="notranslate">......\test.py:22: ResourceWarning: unclosed file &lt;_io.BufferedReader name='......\\test.txt'&gt; r = c.get(temp_file) <span class="pl-en">ResourceWarning</span>: <span class="pl-s">Enable tracemalloc to get the object allocation traceback</span> ......\case.py:704: ResourceWarning: unclosed file &lt;_io.BufferedReader name='......\\test.txt'&gt; outcome.errors.clear() <span class="pl-en">ResourceWarning</span>: <span class="pl-s">Enable tracemalloc to get the object allocation traceback</span> ====================================================================== <span class="pl-en">ERROR</span>: <span class="pl-s">test (__main__.Test) (i=1)</span> ---------------------------------------------------------------------- Traceback (most recent call last): File <span class="pl-s">"......\test.py"</span>, line <span class="pl-c1">25</span>, in <span class="pl-en">test</span> os.remove(temp_file) <span class="pl-en">PermissionError</span>: <span class="pl-s">[WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。: '......\\test.txt'</span> ====================================================================== <span class="pl-en">ERROR</span>: <span class="pl-s">test (__main__.Test) (i=2)</span> ---------------------------------------------------------------------- Traceback (most recent call last): File <span class="pl-s">"......\test.py"</span>, line <span class="pl-c1">25</span>, in <span class="pl-en">test</span> os.remove(temp_file) <span class="pl-en">PermissionError</span>: <span class="pl-s">[WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。: '......\\test.txt'</span> ====================================================================== <span class="pl-en">ERROR</span>: <span class="pl-s">test (__main__.Test) (i=3)</span> ---------------------------------------------------------------------- Traceback (most recent call last): File <span class="pl-s">"......\test.py"</span>, line <span class="pl-c1">25</span>, in <span class="pl-en">test</span> os.remove(temp_file) <span class="pl-en">PermissionError</span>: <span class="pl-s">[WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。: '......\\test.txt'</span> ---------------------------------------------------------------------- Ran 1 test in 0.010s FAILED (errors=3)</pre></div> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Python version: 3.8.1</li> <li>Flask version: 1.1.2</li> <li>Werkzeug version: 1.0.1</li> </ul>
<p dir="auto">The link <a href="http://flask.pocoo.org/docs/0.12/.latex/Flask.pdf" rel="nofollow">http://flask.pocoo.org/docs/0.12/.latex/Flask.pdf</a> referenced from <a href="http://flask.pocoo.org/" rel="nofollow">http://flask.pocoo.org/</a> is broken.</p>
0
<ul dir="auto"> <li>Electron version: 0.37.5</li> <li>Operating system: Linux</li> </ul> <p dir="auto">We recently switched to Electron 0.37.5 for VS Code and changed our build scripts to replace ffmpeg with the version you guys offer as separate download. Our understanding is that this version is built with the target "chromium" as opposed to "chrome" and thus includes less codecs.</p> <p dir="auto">Surprisingly though the ffmpeg.so file for Linux is almost double the size for the separate download compared to what is included in the release.</p> <p dir="auto">Maybe the scripts are flipped and the separate download actually is the one built with "chrome" as target?</p>
<ul dir="auto"> <li>Electron version: all</li> <li>Operating system: Linux</li> </ul> <p dir="auto">The library in the electron binaries archive is stripped. Download electron-v0.37.2-linux-x64.zip and ffmpeg-v0.37.2-linux-x64.zip. Extract both archive and check the libffmpeg.so. In the electron archive it is stripped, but not in the ffmpeg archive. Shouldn't it be stripped?</p>
1
<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: 2.7.4-SNAPSHOT</li> <li>Operating System version: MacOS</li> <li>Java version: java11</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">Please see<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="463027328" data-permission-text="Title is private" data-url="https://github.com/apache/dubbo-spring-boot-project/issues/537" data-hovercard-type="issue" data-hovercard-url="/apache/dubbo-spring-boot-project/issues/537/hovercard" href="https://github.com/apache/dubbo-spring-boot-project/issues/537">apache/dubbo-spring-boot-project#537</a></p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</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="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></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.0</li> <li>Operating System version: mac</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>start the consumer without provider, and it will throw "No Provider" exception. Below is not the full of my code, simplify on the ReferenceConfig.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="try{ ReferenceConfigCache cache = ReferenceConfigCache.getCache(); Object proxy = cache.get(new ReferenceConfig()); }catch (Throwable e){ e.printStackTrace(); }"><pre class="notranslate"><code class="notranslate">try{ ReferenceConfigCache cache = ReferenceConfigCache.getCache(); Object proxy = cache.get(new ReferenceConfig()); }catch (Throwable e){ e.printStackTrace(); } </code></pre></div> <ol start="2" dir="auto"> <li>Start the provider</li> <li>Always get null even the provider started.<br> Object proxyNew = cache.get(config);</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">We are able to get proxy after start up the provider.<br> Object proxyNew = cache.get(config);</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?<br> cache always return null even provider started.</p> <p dir="auto">I think, we have to return null once consumer startup failed.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public &lt;T&gt; T get(ReferenceConfig&lt;T&gt; referenceConfig) { String key = generator.generateKey(referenceConfig); ReferenceConfig&lt;?&gt; config = cache.get(key); if (config != null) { return (T) config.get(); } T t = referenceConfig.get(); if (null == t){ return null; }else{ cache.putIfAbsent(key, referenceConfig); return t; } }"><pre class="notranslate"><code class="notranslate">public &lt;T&gt; T get(ReferenceConfig&lt;T&gt; referenceConfig) { String key = generator.generateKey(referenceConfig); ReferenceConfig&lt;?&gt; config = cache.get(key); if (config != null) { return (T) config.get(); } T t = referenceConfig.get(); if (null == t){ return null; }else{ cache.putIfAbsent(key, referenceConfig); return t; } } </code></pre></div> <p dir="auto">Otherwise, the consumer cannot recover, as it have been initialized. The solution of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="349916544" data-permission-text="Title is private" data-url="https://github.com/apache/dubbo/issues/2233" data-hovercard-type="issue" data-hovercard-url="/apache/dubbo/issues/2233/hovercard" href="https://github.com/apache/dubbo/issues/2233">#2233</a> is not able to resolve the issue.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="private void init() { if (initialized) { return; } initialized = true; }"><pre class="notranslate"><code class="notranslate">private void init() { if (initialized) { return; } initialized = true; } </code></pre></div>
0
<p dir="auto"><strong>Current behavior</strong><br> Within a form which (by error) contains two inputs fields with the same "name" attribute value (firstName is this case) Angular binds all the validations for both fields</p> <p dir="auto"><strong>Expected behavior</strong><br> I expected to throw an error or apply the validation only for one field</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <ol dir="auto"> <li>Go to: <a href="https://plnkr.co/edit/iejyf2KtNhgl9PxQTbGk?p=preview" rel="nofollow">Plnkr Example Code</a></li> <li>The first field has only "required" attribute, so enter only ONE character</li> <li>See that "valid" property is still <em>false</em></li> <li>Enter another two characters</li> <li>Now "valid" is true because the second fields has also "minlength" validation</li> </ol> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> I think it's very confusing and there is almost no way to catch the problem in a big form</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> All</p> <ul dir="auto"> <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> All</p> </li> <li> <p dir="auto"><strong>Language:</strong> all</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> With either line comments or block comments, <code class="notranslate">ngc</code> includes <code class="notranslate">@imports</code> that are commented out in <code class="notranslate">.scss</code> files</p> <p dir="auto"><strong>Expected behavior</strong><br> Don't do imports if they are commented out</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <ol dir="auto"> <li>Write a commented-out <code class="notranslate">@import</code> in e.g. an ng-cli-created <code class="notranslate">/src/styles.scss</code>, pointing to something that does not exist.</li> <li>Run something like <code class="notranslate">ng build --prod &amp;&amp; ngc &amp;&amp; webpack</code></li> </ol> <p dir="auto"><code class="notranslate">ng build --prod</code> and <code class="notranslate">webpack</code> will ignore the commented-out lines, but <code class="notranslate">ngc</code> will follow the imports and err.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Behave like the other sass build tools which ignore commented-out lines.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <blockquote> <p dir="auto">@angular/cli: 1.1.0-beta.0<br> node: 7.10.0<br> os: win32 x64<br> @angular/animations: 4.1.3<br> @angular/common: 4.1.3<br> @angular/compiler: 4.1.3<br> @angular/core: 4.1.3<br> @angular/forms: 4.1.3<br> @angular/http: 4.1.3<br> @angular/platform-browser: 4.1.3<br> @angular/platform-browser-dynamic: 4.1.3<br> @angular/platform-server: 4.1.3<br> @angular/router: 4.1.3<br> @angular/cli: 1.1.0-beta.0<br> @angular/compiler-cli: 4.1.3</p> </blockquote>
0
<p dir="auto"><strong>Elasticsearch version</strong>: 2.3.2</p> <p dir="auto"><strong>Plugins installed</strong>: [mapper-attachments]</p> <p dir="auto"><strong>JVM version</strong>: 1.8</p> <p dir="auto"><strong>OS version</strong>: Windows</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:</p> <p dir="auto"><strong>Steps to reproduce</strong>:<br> Similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="154864658" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch-mapper-attachments/issues/216" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch-mapper-attachments/issues/216/hovercard" href="https://github.com/elastic/elasticsearch-mapper-attachments/issues/216">elastic/elasticsearch-mapper-attachments#216</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118414556" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14946" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/14946/hovercard" href="https://github.com/elastic/elasticsearch/issues/14946">#14946</a><br> We couldn't find as to in which version this was fixed.<br> If there is a document or references available, please do help us with the links leading to it</p> <p dir="auto"><strong>Provide logs (if relevant)</strong>:</p> <p dir="auto"><strong>Describe the feature</strong>:</p>
<p dir="auto"><strong>Elasticsearch version</strong>:<br> 2.3.2</p> <p dir="auto"><strong>JVM version</strong>:<br> 1.7.0_101 x64</p> <p dir="auto"><strong>OS version</strong>:<br> Ubuntu 14.04</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:<br> Hi,<br> i am using Elasticsearch 2.3.2 with the Mapper Attachments Plugin. I try to copy the extracted content to another field, as described <a href="https://github.com/elastic/elasticsearch-mapper-attachments#copy-to-feature">here</a><br> This is not working for me, though.</p> <p dir="auto">I also found a closed bug here <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118414556" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14946" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/14946/hovercard" href="https://github.com/elastic/elasticsearch/issues/14946">#14946</a>. But the discussion does it not make clear, whether the bug has been resolved or not.</p> <p dir="auto">Therefore i would be happy, if you could give me a definitive answer, whether this is possible or not.</p> <p dir="auto"><strong>Steps to reproduce</strong>:<br> curl -XPOST '<a href="http://localhost:9200/test" rel="nofollow">http://localhost:9200/test</a>' -d '{<br> "entry": {<br> "properties": {<br> "file": {<br> "type": "attachment",<br> "fields": {<br> "content": {<br> "type": "string",<br> "copy_to": "fulltext_en"<br> }<br> }<br> },<br> "fulltext_en": {<br> "type": "string",<br> "analyzer": "english"<br> }<br> }<br> }<br> }'</p> <p dir="auto">curl -XPOST '<a href="http://localhost:9200/test/entry" rel="nofollow">http://localhost:9200/test/entry</a>' -d '{<br> "file": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQ="<br> }'<br> // the base64 is "Lorem ipsum dolor sit amet"</p> <p dir="auto">curl -XPOST '<a href="http://localhost:9200/test/_search" rel="nofollow">http://localhost:9200/test/_search</a>' -d '<br> {<br> "query": {<br> "match": {<br> "fulltext_en": "ipsum"<br> }<br> }<br> }'</p> <p dir="auto">the result of the search is then empty, which is wrong, as "ipsum" is contained in the base64.</p>
1
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">main (development)</p> <h3 dir="auto">What happened</h3> <p dir="auto">when I start airflow 2.4.0b1 with the <code class="notranslate">apache-airflow-providers-google==8.3.0</code></p> <p dir="auto">the webserver log give :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2022-09-08 14:39:53,158] {webserver_command.py:251} ERROR - [0 / 0] Some workers seem to have died and gunicorn did not restart them as expected [2022-09-08 14:39:53,275] {providers_manager.py:228} WARNING - Exception when importing 'airflow.providers.google.common.hooks.base_google.GoogleBaseHook' from 'apache-airflow-providers-google' package 2022-09-08T14:39:53.276959961Z Traceback (most recent call last): 2022-09-08T14:39:53.276965441Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers_manager.py&quot;, line 260, in _sanity_check 2022-09-08T14:39:53.276969533Z imported_class = import_string(class_name) 2022-09-08T14:39:53.276973476Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/utils/module_loading.py&quot;, line 32, in import_string 2022-09-08T14:39:53.276977496Z module = import_module(module_path) 2022-09-08T14:39:53.276981203Z File &quot;/usr/local/lib/python3.8/importlib/__init__.py&quot;, line 127, in import_module 2022-09-08T14:39:53.276985012Z return _bootstrap._gcd_import(name[level:], package, level) 2022-09-08T14:39:53.277005418Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1014, in _gcd_import 2022-09-08T14:39:53.277011581Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 991, in _find_and_load 2022-09-08T14:39:53.277016414Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 975, in _find_and_load_unlocked 2022-09-08T14:39:53.277020883Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 671, in _load_unlocked 2022-09-08T14:39:53.277025840Z File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 843, in exec_module 2022-09-08T14:39:53.277029603Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed 2022-09-08T14:39:53.277032868Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/hooks/base_google.py&quot;, line 49, in &lt;module&gt; 2022-09-08T14:39:53.277036076Z from airflow.providers.google.cloud.utils.credentials_provider import ( 2022-09-08T14:39:53.277038762Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/utils/credentials_provider.py&quot;, line 36, in &lt;module&gt; 2022-09-08T14:39:53.277041651Z from airflow.providers.google.cloud._internal_client.secret_manager_client import _SecretManagerClient 2022-09-08T14:39:53.277044383Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/_internal_client/secret_manager_client.py&quot;, line 26, in &lt;module&gt; 2022-09-08T14:39:53.277047248Z from airflow.providers.google.common.consts import CLIENT_INFO 2022-09-08T14:39:53.277050101Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/consts.py&quot;, line 23, in &lt;module&gt; 2022-09-08T14:39:53.277052974Z CLIENT_INFO = ClientInfo(client_library_version='airflow_v' + version.version) 2022-09-08T14:39:53.277055720Z AttributeError: 'str' object has no attribute 'version' [2022-09-08 14:39:53,299] {providers_manager.py:228} WARNING - Exception when importing 'airflow.providers.google.cloud.hooks.cloud_sql.CloudSQLHook' from 'apache-airflow-providers-google' package 2022-09-08T14:39:53.300816697Z Traceback (most recent call last): 2022-09-08T14:39:53.300822358Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers_manager.py&quot;, line 260, in _sanity_check 2022-09-08T14:39:53.300827098Z imported_class = import_string(class_name) 2022-09-08T14:39:53.300831757Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/utils/module_loading.py&quot;, line 32, in import_string 2022-09-08T14:39:53.300836033Z module = import_module(module_path) 2022-09-08T14:39:53.300840058Z File &quot;/usr/local/lib/python3.8/importlib/__init__.py&quot;, line 127, in import_module 2022-09-08T14:39:53.300844580Z return _bootstrap._gcd_import(name[level:], package, level) 2022-09-08T14:39:53.300862499Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1014, in _gcd_import 2022-09-08T14:39:53.300867522Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 991, in _find_and_load 2022-09-08T14:39:53.300871975Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 975, in _find_and_load_unlocked 2022-09-08T14:39:53.300876819Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 671, in _load_unlocked 2022-09-08T14:39:53.300880682Z File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 843, in exec_module 2022-09-08T14:39:53.300885112Z File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed 2022-09-08T14:39:53.300889697Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/hooks/cloud_sql.py&quot;, line 51, in &lt;module&gt; 2022-09-08T14:39:53.300893842Z from airflow.providers.google.common.hooks.base_google import GoogleBaseHook 2022-09-08T14:39:53.300898141Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/hooks/base_google.py&quot;, line 49, in &lt;module&gt; 2022-09-08T14:39:53.300903254Z from airflow.providers.google.cloud.utils.credentials_provider import ( 2022-09-08T14:39:53.300906904Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/utils/credentials_provider.py&quot;, line 36, in &lt;module&gt; 2022-09-08T14:39:53.300911707Z from airflow.providers.google.cloud._internal_client.secret_manager_client import _SecretManagerClient 2022-09-08T14:39:53.300916818Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/_internal_client/secret_manager_client.py&quot;, line 26, in &lt;module&gt; 2022-09-08T14:39:53.300920595Z from airflow.providers.google.common.consts import CLIENT_INFO 2022-09-08T14:39:53.300926003Z File &quot;/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/consts.py&quot;, line 23, in &lt;module&gt; 2022-09-08T14:39:53.300931078Z CLIENT_INFO = ClientInfo(client_library_version='airflow_v' + version.version) 2022-09-08T14:39:53.300934596Z AttributeError: 'str' object has no attribute 'version' ...."><pre lang="log" class="notranslate"><code class="notranslate">[2022-09-08 14:39:53,158] {webserver_command.py:251} ERROR - [0 / 0] Some workers seem to have died and gunicorn did not restart them as expected [2022-09-08 14:39:53,275] {providers_manager.py:228} WARNING - Exception when importing 'airflow.providers.google.common.hooks.base_google.GoogleBaseHook' from 'apache-airflow-providers-google' package 2022-09-08T14:39:53.276959961Z Traceback (most recent call last): 2022-09-08T14:39:53.276965441Z File "/usr/local/lib/python3.8/site-packages/airflow/providers_manager.py", line 260, in _sanity_check 2022-09-08T14:39:53.276969533Z imported_class = import_string(class_name) 2022-09-08T14:39:53.276973476Z File "/usr/local/lib/python3.8/site-packages/airflow/utils/module_loading.py", line 32, in import_string 2022-09-08T14:39:53.276977496Z module = import_module(module_path) 2022-09-08T14:39:53.276981203Z File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module 2022-09-08T14:39:53.276985012Z return _bootstrap._gcd_import(name[level:], package, level) 2022-09-08T14:39:53.277005418Z File "&lt;frozen importlib._bootstrap&gt;", line 1014, in _gcd_import 2022-09-08T14:39:53.277011581Z File "&lt;frozen importlib._bootstrap&gt;", line 991, in _find_and_load 2022-09-08T14:39:53.277016414Z File "&lt;frozen importlib._bootstrap&gt;", line 975, in _find_and_load_unlocked 2022-09-08T14:39:53.277020883Z File "&lt;frozen importlib._bootstrap&gt;", line 671, in _load_unlocked 2022-09-08T14:39:53.277025840Z File "&lt;frozen importlib._bootstrap_external&gt;", line 843, in exec_module 2022-09-08T14:39:53.277029603Z File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed 2022-09-08T14:39:53.277032868Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/hooks/base_google.py", line 49, in &lt;module&gt; 2022-09-08T14:39:53.277036076Z from airflow.providers.google.cloud.utils.credentials_provider import ( 2022-09-08T14:39:53.277038762Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/utils/credentials_provider.py", line 36, in &lt;module&gt; 2022-09-08T14:39:53.277041651Z from airflow.providers.google.cloud._internal_client.secret_manager_client import _SecretManagerClient 2022-09-08T14:39:53.277044383Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/_internal_client/secret_manager_client.py", line 26, in &lt;module&gt; 2022-09-08T14:39:53.277047248Z from airflow.providers.google.common.consts import CLIENT_INFO 2022-09-08T14:39:53.277050101Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/consts.py", line 23, in &lt;module&gt; 2022-09-08T14:39:53.277052974Z CLIENT_INFO = ClientInfo(client_library_version='airflow_v' + version.version) 2022-09-08T14:39:53.277055720Z AttributeError: 'str' object has no attribute 'version' [2022-09-08 14:39:53,299] {providers_manager.py:228} WARNING - Exception when importing 'airflow.providers.google.cloud.hooks.cloud_sql.CloudSQLHook' from 'apache-airflow-providers-google' package 2022-09-08T14:39:53.300816697Z Traceback (most recent call last): 2022-09-08T14:39:53.300822358Z File "/usr/local/lib/python3.8/site-packages/airflow/providers_manager.py", line 260, in _sanity_check 2022-09-08T14:39:53.300827098Z imported_class = import_string(class_name) 2022-09-08T14:39:53.300831757Z File "/usr/local/lib/python3.8/site-packages/airflow/utils/module_loading.py", line 32, in import_string 2022-09-08T14:39:53.300836033Z module = import_module(module_path) 2022-09-08T14:39:53.300840058Z File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module 2022-09-08T14:39:53.300844580Z return _bootstrap._gcd_import(name[level:], package, level) 2022-09-08T14:39:53.300862499Z File "&lt;frozen importlib._bootstrap&gt;", line 1014, in _gcd_import 2022-09-08T14:39:53.300867522Z File "&lt;frozen importlib._bootstrap&gt;", line 991, in _find_and_load 2022-09-08T14:39:53.300871975Z File "&lt;frozen importlib._bootstrap&gt;", line 975, in _find_and_load_unlocked 2022-09-08T14:39:53.300876819Z File "&lt;frozen importlib._bootstrap&gt;", line 671, in _load_unlocked 2022-09-08T14:39:53.300880682Z File "&lt;frozen importlib._bootstrap_external&gt;", line 843, in exec_module 2022-09-08T14:39:53.300885112Z File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed 2022-09-08T14:39:53.300889697Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/hooks/cloud_sql.py", line 51, in &lt;module&gt; 2022-09-08T14:39:53.300893842Z from airflow.providers.google.common.hooks.base_google import GoogleBaseHook 2022-09-08T14:39:53.300898141Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/hooks/base_google.py", line 49, in &lt;module&gt; 2022-09-08T14:39:53.300903254Z from airflow.providers.google.cloud.utils.credentials_provider import ( 2022-09-08T14:39:53.300906904Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/utils/credentials_provider.py", line 36, in &lt;module&gt; 2022-09-08T14:39:53.300911707Z from airflow.providers.google.cloud._internal_client.secret_manager_client import _SecretManagerClient 2022-09-08T14:39:53.300916818Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/cloud/_internal_client/secret_manager_client.py", line 26, in &lt;module&gt; 2022-09-08T14:39:53.300920595Z from airflow.providers.google.common.consts import CLIENT_INFO 2022-09-08T14:39:53.300926003Z File "/usr/local/lib/python3.8/site-packages/airflow/providers/google/common/consts.py", line 23, in &lt;module&gt; 2022-09-08T14:39:53.300931078Z CLIENT_INFO = ClientInfo(client_library_version='airflow_v' + version.version) 2022-09-08T14:39:53.300934596Z AttributeError: 'str' object has no attribute 'version' .... </code></pre></div> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">How to reproduce</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating System</h3> <p dir="auto">ubuntu 22.04.1</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Deployment</h3> <p dir="auto">Other</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">main (development)</p> <h3 dir="auto">What happened</h3> <p dir="auto">Some of the (Google: TestDataflowPythonOperator) unit tests and system tests are failing with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" CLIENT_INFO = ClientInfo(client_library_version='airflow_v' + version.version) E AttributeError: 'str' object has no attribute 'version'"><pre class="notranslate"><code class="notranslate"> CLIENT_INFO = ClientInfo(client_library_version='airflow_v' + version.version) E AttributeError: 'str' object has no attribute 'version' </code></pre></div> <p dir="auto">Is it planned change or bug introduced (probably with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1272784989" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/24486" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24486/hovercard" href="https://github.com/apache/airflow/pull/24486">#24486</a>)? <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a></p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">It should be either the same type as before or tests should be fixed to match the change.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating System</h3> <p dir="auto">any</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Deployment</h3> <p dir="auto">Docker-Compose</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
1
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: from collections import OrderedDict In [2]: import pandas as pd In [3]: pd.__version__ Out[3]: u'0.21.0' # the following works as expected: In [4]: df1 = pd.DataFrame([[1, 2, 3]], columns=['a', 'b', 'c']) In [5]: df2 = pd.DataFrame(columns=['a', 'b', 'c']) In [6]: pd.concat([df1, df2]) Out[6]: a b c 0 1 2 3 # however, the following seems like it does an identical thing but throws an error: In [7]: od3 = OrderedDict([('a', [1]), ('b', [2]), ('c', [3])]) In [8]: od4 = OrderedDict([('a', []), ('b', []), ('c', [])]) In [9]: df3 = pd.DataFrame(od3) In [10]: df4 = pd.DataFrame(od4) In [11]: pd.concat([df3, df4]) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-11-ac4fae34c928&gt; in &lt;module&gt;() ----&gt; 1 pd.concat([df3, df4]) #... ValueError: Shape of passed values is (3, 1), indices imply (3, 0)"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">from</span> <span class="pl-s1">collections</span> <span class="pl-k">import</span> <span class="pl-v">OrderedDict</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">pd</span>.<span class="pl-s1">__version__</span> <span class="pl-v">Out</span>[<span class="pl-c1">3</span>]: <span class="pl-s">u'0.21.0'</span> <span class="pl-c"># the following works as expected:</span> <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">df1</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>([[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>]], <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>]) <span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">df2</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>]) <span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">concat</span>([<span class="pl-s1">df1</span>, <span class="pl-s1">df2</span>]) <span class="pl-v">Out</span>[<span class="pl-c1">6</span>]: <span class="pl-s1">a</span> <span class="pl-s1">b</span> <span class="pl-s1">c</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span> <span class="pl-c"># however, the following seems like it does an identical thing but throws an error:</span> <span class="pl-v">In</span> [<span class="pl-c1">7</span>]: <span class="pl-s1">od3</span> <span class="pl-c1">=</span> <span class="pl-v">OrderedDict</span>([(<span class="pl-s">'a'</span>, [<span class="pl-c1">1</span>]), (<span class="pl-s">'b'</span>, [<span class="pl-c1">2</span>]), (<span class="pl-s">'c'</span>, [<span class="pl-c1">3</span>])]) <span class="pl-v">In</span> [<span class="pl-c1">8</span>]: <span class="pl-s1">od4</span> <span class="pl-c1">=</span> <span class="pl-v">OrderedDict</span>([(<span class="pl-s">'a'</span>, []), (<span class="pl-s">'b'</span>, []), (<span class="pl-s">'c'</span>, [])]) <span class="pl-v">In</span> [<span class="pl-c1">9</span>]: <span class="pl-s1">df3</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">od3</span>) <span class="pl-v">In</span> [<span class="pl-c1">10</span>]: <span class="pl-s1">df4</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">od4</span>) <span class="pl-v">In</span> [<span class="pl-c1">11</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">concat</span>([<span class="pl-s1">df3</span>, <span class="pl-s1">df4</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-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">ValueError</span> <span class="pl-v">Traceback</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-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">11</span><span class="pl-c1">-</span><span class="pl-s1">ac4fae34c928</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</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">&gt;</span> <span class="pl-c1">1</span> <span class="pl-s1">pd</span>.<span class="pl-en">concat</span>([<span class="pl-s1">df3</span>, <span class="pl-s1">df4</span>]) <span class="pl-c">#...</span> <span class="pl-v">ValueError</span>: <span class="pl-v">Shape</span> <span class="pl-s1">of</span> <span class="pl-s1">passed</span> <span class="pl-s1">values</span> <span class="pl-c1">is</span> (<span class="pl-c1">3</span>, <span class="pl-c1">1</span>), <span class="pl-s1">indices</span> <span class="pl-en">imply</span> (<span class="pl-c1">3</span>, <span class="pl-c1">0</span>)</pre></div> <p dir="auto">Rewriting it in copy/pastable form...</p> <p dir="auto">This works:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df1 = pd.DataFrame([[1, 2, 3]], columns=['a', 'b', 'c']) df2 = pd.DataFrame(columns=['a', 'b', 'c']) pd.concat([df1, df2])"><pre class="notranslate"><span class="pl-s1">df1</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>([[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>]], <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>]) <span class="pl-s1">df2</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>]) <span class="pl-s1">pd</span>.<span class="pl-en">concat</span>([<span class="pl-s1">df1</span>, <span class="pl-s1">df2</span>])</pre></div> <p dir="auto">And this does not:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="od3 = OrderedDict([('a', [1]), ('b', [2]), ('c', [3])]) od4 = OrderedDict([('a', []), ('b', []), ('c', [])]) df3 = pd.DataFrame(od3) df4 = pd.DataFrame(od4) pd.concat([df3, df4])"><pre class="notranslate"><span class="pl-s1">od3</span> <span class="pl-c1">=</span> <span class="pl-v">OrderedDict</span>([(<span class="pl-s">'a'</span>, [<span class="pl-c1">1</span>]), (<span class="pl-s">'b'</span>, [<span class="pl-c1">2</span>]), (<span class="pl-s">'c'</span>, [<span class="pl-c1">3</span>])]) <span class="pl-s1">od4</span> <span class="pl-c1">=</span> <span class="pl-v">OrderedDict</span>([(<span class="pl-s">'a'</span>, []), (<span class="pl-s">'b'</span>, []), (<span class="pl-s">'c'</span>, [])]) <span class="pl-s1">df3</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">od3</span>) <span class="pl-s1">df4</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">od4</span>) <span class="pl-s1">pd</span>.<span class="pl-en">concat</span>([<span class="pl-s1">df3</span>, <span class="pl-s1">df4</span>])</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">This is also described <a href="https://stackoverflow.com/questions/47194806/pandas-inconsistency-in-concat-behavior" rel="nofollow">here</a>.</p> <p dir="auto">In the above code, <code class="notranslate">df1</code> equals <code class="notranslate">df3</code>, and <code class="notranslate">df2</code> and <code class="notranslate">df4</code> are both empty dataframes with the same column names (although, strangely, <code class="notranslate">df2</code> and <code class="notranslate">df4</code> aren't equal according to <code class="notranslate">df2.equals(df4)</code>) but <code class="notranslate">pd.concat([df1, df2])</code> works while <code class="notranslate">pd.concat([df3, df4])</code>results in <code class="notranslate">ValueError</code>. This did not happen in previous versions of Pandas, but when I upgraded to 0.21.0, it started happening.</p> <p dir="auto">Oddly, as the stackoverflow link notes, using the <code class="notranslate">drop_duplicates()</code> method on either <code class="notranslate">df3</code> or <code class="notranslate">df4</code> (or both) results in the <code class="notranslate">concat()</code> working, even though neither of them contains any duplicates.</p> <h4 dir="auto">Expected Output</h4> <p dir="auto">The expected output of <code class="notranslate">pd.concat([df3, df4])</code> is</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" a b c 0 1 2 3"><pre class="notranslate"> <span class="pl-s1">a</span> <span class="pl-s1">b</span> <span class="pl-s1">c</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span></pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <p dir="auto">[paste the output of <code class="notranslate">pd.show_versions()</code> here below this line]</p> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 2.7.13.final.0<br> python-bits: 64<br> OS: Darwin<br> OS-release: 16.7.0<br> machine: x86_64<br> processor: i386<br> byteorder: little<br> LC_ALL: None<br> LANG: en_US.UTF-8<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.21.0<br> pytest: 3.2.1<br> pip: 9.0.1<br> setuptools: 32.1.0<br> Cython: 0.23.4<br> numpy: 1.13.3<br> scipy: 0.19.1<br> pyarrow: None<br> xarray: None<br> IPython: 5.3.0<br> sphinx: None<br> patsy: 0.4.1<br> dateutil: 2.6.1<br> pytz: 2017.3<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: 4.6.0<br> html5lib: 0.999999999<br> sqlalchemy: 1.1.14<br> pymysql: 0.7.11.None<br> psycopg2: 2.7.3.1 (dt dec pq3 ext lo64)<br> jinja2: 2.9.6<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: 0.5.0</p> </details>
<p dir="auto">Have you ever written code that looks like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if isinstance(d.index, MultiIndex): results = [] for l in d.index.levels: for x in baz(l): results.append(foo) elif isinstance(d.index, Index): for x in d.index: foo"><pre class="notranslate"><code class="notranslate">if isinstance(d.index, MultiIndex): results = [] for l in d.index.levels: for x in baz(l): results.append(foo) elif isinstance(d.index, Index): for x in d.index: foo </code></pre></div> <p dir="auto">I've had to special case the handling of index vs. multindex several times in the past.<br> Conceptually, I should be able to treat index as a private case of MultIndex<br> with nlevels =1, and supporting that in the API would make things nicer.</p> <hr> <p dir="auto"><strong>Edit by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cpcloud/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cpcloud">@cpcloud</a>:</strong><br> Tasks :</p> <h3 dir="auto">API Unification</h3> <p dir="auto">Method unification is relatively simple:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">Index.from_tuples</code> and <code class="notranslate">Index.from_arrays</code> are just <code class="notranslate">MultiIndex.from_tuples</code> and <code class="notranslate">MultiIndex.from_arrays</code> moved to classmethods of <code class="notranslate">Index</code>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">droplevel</code>, ` just raises on Index (right? what would it mean?): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="324283112" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/21115" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/21115/hovercard" href="https://github.com/pandas-dev/pandas/issues/21115">#21115</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">has_duplicates</code> is straightforward</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">truncate</code> should be equivalent to slicing</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">reorder_levels</code> raises if not level=0 or name of index</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">equal_levels</code> - straightforward</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">levshape</code> - (len(ind),)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">sortorder</code> - None</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">get_loc_level</code> - I think meaningless with tuple, raises whatever if not 0 or index name</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">is_lexsorted</code> - doesn't need to change</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">is_lexosrted_tuple</code> - doesn't need to change</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">is_monotonic_*</code></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">lexsort_depth</code> - doesn't need to be changed at all</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">searchsorted</code></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">repeat</code></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">levels</code> and <code class="notranslate">labels</code> property for Index - question on whether it should be sorted.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> change to <code class="notranslate">rename</code> behavior: <code class="notranslate">Index</code> will accept either string or single-element list; MI continues to handle only list</li> </ul>
0
<p dir="auto">I have some properties of a deeply nested entity that need to be decimal. I have them marked up that way via the ORM Doctrine column type. Symfony2 renders an input field with a pattern attribute.</p> <p dir="auto">I am validating via AJAX. I post over the data, use the form bindRequest to setup an instance of the entity but then use the validator service.</p> <p dir="auto">The thing I am finding is that if my user enters some letters 'abc' into a decimal-mapped column property, the bindRequest is setting the property to 0 (zero) rather than 'abc' so that the Type(float) constraint is always calling is_float(0) unless I specify an actual number in the field.</p> <p dir="auto">Because I am using AJAX, the field validates behind the scenes due to this setting of 0 rather than 'abc' but my UI stays the same. as Symfony is not called again to regenerate it like you would have if I were posting the whole page.</p> <p dir="auto">2 options really - figure out a way of returning the modified value back to my UI in the AJAX response to reset it, or be able to tell Symfony to validate the value before setting/casting the values on my entity so that it truly validates the input and not the post-casted values.</p> <p dir="auto">I think actually the latter is what should truly be happening. I think Symfony should not be helping me out by casting values here.</p>
<p dir="auto">If you accidentally use <code class="notranslate">{% if is_granted('ROLE_EMPLOYEE') %}</code> in a view that does not have a Firewall/TokenStorage enabled the AuthorizationChecker throws an exception:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new AuthenticationCredentialsNotFoundException('The token storage contains no authentication token. One possible reason may be that there is no firewall configured for this URL.');"><pre class="notranslate"><code class="notranslate">new AuthenticationCredentialsNotFoundException('The token storage contains no authentication token. One possible reason may be that there is no firewall configured for this URL.'); </code></pre></div> <p dir="auto">The solution is to use this:</p> <div class="highlight highlight-text-html-twig notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{% if app.security.token is not null and is_granted('ROLE_EMPLOYEE') %}"><pre class="notranslate">{% <span class="pl-k">if</span> <span class="pl-smi">app</span>.<span class="pl-smi">security</span>.<span class="pl-smi">token</span> <span class="pl-k">is not</span> <span class="pl-c1">null</span> <span class="pl-k">and</span> is_granted(<span class="pl-s"><span class="pl-pds">'</span>ROLE_EMPLOYEE<span class="pl-pds">'</span></span>) %}</pre></div> <p dir="auto">Wouldn't it be better to just handle this exception inside SecurityExtension::isGranted and simply return <code class="notranslate">false</code>?</p>
0
<p dir="auto">Using the UCI HAR Dataset from this paper:<br> [1] Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra and Jorge L. Reyes-Ortiz. A Public Domain Dataset for Human Activity Recognition Using Smartphones. 21th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, ESANN 2013. Bruges, Belgium 24-26 April 2013.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import seaborn as sns import pandas as pd train_X = pd.read_csv(&quot;./train/X_train.txt&quot;, delim_whitespace=True, header=None) train_y = pd.read_csv(&quot;./train/y_train.txt&quot;, delim_whitespace=True, header=None) with open('./features.txt') as file: header = [] for line in file: header.append(line.strip().split()[1]) train_X.columns = header train_X['labels'] = train_y train_X['labels'] = train_X['labels'].astype('category') sns.set_style(&quot;whitegrid&quot;)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">seaborn</span> <span class="pl-k">as</span> <span class="pl-s1">sns</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-s1">train_X</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_csv</span>(<span class="pl-s">"./train/X_train.txt"</span>, <span class="pl-s1">delim_whitespace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">header</span><span class="pl-c1">=</span><span class="pl-c1">None</span>) <span class="pl-s1">train_y</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_csv</span>(<span class="pl-s">"./train/y_train.txt"</span>, <span class="pl-s1">delim_whitespace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">header</span><span class="pl-c1">=</span><span class="pl-c1">None</span>) <span class="pl-k">with</span> <span class="pl-en">open</span>(<span class="pl-s">'./features.txt'</span>) <span class="pl-k">as</span> <span class="pl-s1">file</span>: <span class="pl-s1">header</span> <span class="pl-c1">=</span> [] <span class="pl-k">for</span> <span class="pl-s1">line</span> <span class="pl-c1">in</span> <span class="pl-s1">file</span>: <span class="pl-s1">header</span>.<span class="pl-en">append</span>(<span class="pl-s1">line</span>.<span class="pl-en">strip</span>().<span class="pl-en">split</span>()[<span class="pl-c1">1</span>]) <span class="pl-s1">train_X</span>.<span class="pl-s1">columns</span> <span class="pl-c1">=</span> <span class="pl-s1">header</span> <span class="pl-s1">train_X</span>[<span class="pl-s">'labels'</span>] <span class="pl-c1">=</span> <span class="pl-s1">train_y</span> <span class="pl-s1">train_X</span>[<span class="pl-s">'labels'</span>] <span class="pl-c1">=</span> <span class="pl-s1">train_X</span>[<span class="pl-s">'labels'</span>].<span class="pl-en">astype</span>(<span class="pl-s">'category'</span>) <span class="pl-s1">sns</span>.<span class="pl-en">set_style</span>(<span class="pl-s">"whitegrid"</span>)</pre></div> <p dir="auto">then this fails with a <code class="notranslate">cannot label index with a null key</code> message from pandas</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ax = sns.boxplot(x=&quot;labels&quot;, y=&quot;tBodyAcc-mean()-X&quot;, data=train_X)"><pre class="notranslate"><span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">sns</span>.<span class="pl-en">boxplot</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s">"labels"</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s">"tBodyAcc-mean()-X"</span>, <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">train_X</span>)</pre></div> <p dir="auto">while this works</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ax = sns.boxplot(x=train_X[&quot;labels&quot;], y=train_X[&quot;tBodyAcc-mean()-X&quot;])"><pre class="notranslate"><span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">sns</span>.<span class="pl-en">boxplot</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">train_X</span>[<span class="pl-s">"labels"</span>], <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s1">train_X</span>[<span class="pl-s">"tBodyAcc-mean()-X"</span>])</pre></div> <p dir="auto">The failing code is the same as the one written in the documentation and if I load the "tips" dataset everything works exactly the same as in the documentation. But I can not for the life of me see what the difference is between my DataFrame and "tips" loaded from seaborn.</p>
<p dir="auto">Similar to <a href="https://stackoverflow.com/q/65206970/10447904" rel="nofollow">https://stackoverflow.com/q/65206970/10447904</a>:</p> <p dir="auto">(searched through GH issues with terms "None y axis inverted" as well as throwing in a "None"/"object" term in there, before opening this issue)</p> <p dir="auto">The simplest reproducing example I could find was:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df = pd.DataFrame({'x': [0.0, 0.0, 0.3], 'y': [0.0, None, 0.5]}, dtype='object') sns.scatterplot(x='x', y='y', data=df) # y-axis inverted"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'x'</span>: [<span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.3</span>], <span class="pl-s">'y'</span>: [<span class="pl-c1">0.0</span>, <span class="pl-c1">None</span>, <span class="pl-c1">0.5</span>]}, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>) <span class="pl-s1">sns</span>.<span class="pl-en">scatterplot</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s">'x'</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s">'y'</span>, <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">df</span>) <span class="pl-c"># y-axis inverted</span></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13983198/176271810-597c2777-b2a6-4ee6-931f-e56d8f326bfc.png"><img src="https://user-images.githubusercontent.com/13983198/176271810-597c2777-b2a6-4ee6-931f-e56d8f326bfc.png" alt="sns.scatter y inverted" style="max-width: 100%;"></a><br> ^y axis upside down</p> <p dir="auto">Comparing with plt.scatter (expected, no inverting of y-axis):</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="plt.scatter(x=df['x'], y=df['y'])"><pre class="notranslate"><span class="pl-s1">plt</span>.<span class="pl-en">scatter</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">df</span>[<span class="pl-s">'x'</span>], <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s1">df</span>[<span class="pl-s">'y'</span>])</pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13983198/176271946-bde8c259-98f2-481d-b0e9-f591c1c88673.png"><img src="https://user-images.githubusercontent.com/13983198/176271946-bde8c259-98f2-481d-b0e9-f591c1c88673.png" alt="matplotlib expected" style="max-width: 100%;"></a></p> <p dir="auto">According to the stackoverflow post, the problem stems from the <strong>y-axis containing Nones</strong> (and of dtype <code class="notranslate">object</code>).<br> In my original dataframe, only y is of <code class="notranslate">dtype object</code> (because of the <code class="notranslate">None</code>s, I should have had it as <code class="notranslate">float64</code>), but for this reproducing example I had to cast both to <code class="notranslate">object</code> (in first line) to get it to work - I am confident I can find a reproducing example where x is <code class="notranslate">float64</code> and y <code class="notranslate">object</code> though if necessary.</p> <p dir="auto">Is this expected behaviour? Given that matplotlib doesn't flip the y axis.<br> In this case I forgot to cast my column to <code class="notranslate">float64</code> (or to use <code class="notranslate">np.nan</code>s) but I figured <code class="notranslate">None</code>s would be okay (/more or less equivalent) at the time :)</p>
0
<h3 dir="auto">Motivation</h3> <p dir="auto">Native indexing tasks currently support only text file formats because <code class="notranslate">FirehoseFactory</code> is tightly coupled with <code class="notranslate">InputRowParser</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="311783745" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/5584" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/5584/hovercard" href="https://github.com/apache/druid/issues/5584">#5584</a>). Other issues around <code class="notranslate">FirehoseFactory</code> and <code class="notranslate">InputRowParser</code> are:</p> <ul dir="auto"> <li>Sampler and indexing task use the same <code class="notranslate">Firehose</code> interface even though their use cases are pretty different.</li> <li><code class="notranslate">InputRowParser</code> doesn't have to be exposed in the user spec.</li> <li><code class="notranslate">Parser</code> is only for text file formats, but all <code class="notranslate">ParseSpec</code>s have <code class="notranslate">makeParser()</code>.</li> <li>Parallel indexing tasks will need to be able to read a portion of a file for finer-grained parallelism in the future. To do this, the interface abstracting file formats should have a trait of <code class="notranslate">splittable</code>.</li> <li>Kafka/Kinesis tasks can use only implementations of <code class="notranslate">ByteBufferInputRowParser</code>. This forces us to have duplicate implementations for batch and realtime tasks (<code class="notranslate">AvroHadoopInputRowParser</code> vs <code class="notranslate">AvroStreamInputRowParser</code>).</li> </ul> <p dir="auto">Since It's not easy to modify or improve existing interfaces without huge change, we need new interfaces that can be used instead of <code class="notranslate">FirehoseFactory</code>, <code class="notranslate">Firehose</code>, <code class="notranslate">InputRowParser</code>, and <code class="notranslate">ParseSpec</code>. The new interfaces should support the following storage types and file formats.</p> <ul dir="auto"> <li>Storage types <ul dir="auto"> <li>HDFS</li> <li>cloud (s3, gcp, etc)</li> <li>local</li> <li>http</li> <li>sql</li> <li>byte (inline, kafka/kinesis tasks)</li> <li>Druid (reingtestion)</li> </ul> </li> <li>File formats <ul dir="auto"> <li>csv</li> <li>tsv</li> <li>json</li> <li>regex</li> <li>influx</li> <li>javascript</li> <li>avro</li> <li>orc</li> <li>parquet</li> <li>protobuf</li> <li>thrift</li> </ul> </li> </ul> <h3 dir="auto">Proposed changes</h3> <p dir="auto">The proposed new interfaces are:</p> <h4 dir="auto"><code class="notranslate">InputSource</code></h4> <p dir="auto"><code class="notranslate">InputSource</code> abstracts the storage where input data comes from for batch ingestion. This will replace <code class="notranslate">FiniteFirehoseFactory</code>.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface InputSource { /** * Returns true if this inputSource can be processed in parallel using ParallelIndexSupervisorTask. */ boolean isSplittable(); /** * Returns true if this inputSource supports different {@link InputFormat}s. */ boolean needsFormat(); InputSourceReader reader( InputRowSchema inputRowSchema, @Nullable InputFormat inputFormat, @Nullable File temporaryDirectory ); }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">InputSource</span> { <span class="pl-c">/**</span> <span class="pl-c"> * Returns true if this inputSource can be processed in parallel using ParallelIndexSupervisorTask.</span> <span class="pl-c"> */</span> <span class="pl-smi">boolean</span> <span class="pl-en">isSplittable</span>(); <span class="pl-c">/**</span> <span class="pl-c"> * Returns true if this inputSource supports different {@link InputFormat}s.</span> <span class="pl-c"> */</span> <span class="pl-smi">boolean</span> <span class="pl-en">needsFormat</span>(); <span class="pl-smi">InputSourceReader</span> <span class="pl-en">reader</span>( <span class="pl-smi">InputRowSchema</span> <span class="pl-s1">inputRowSchema</span>, <span class="pl-c1">@</span><span class="pl-c1">Nullable</span> <span class="pl-smi">InputFormat</span> <span class="pl-s1">inputFormat</span>, <span class="pl-c1">@</span><span class="pl-c1">Nullable</span> <span class="pl-smi">File</span> <span class="pl-s1">temporaryDirectory</span> ); }</pre></div> <p dir="auto"><code class="notranslate">InputRowSchema</code> is the schema for <code class="notranslate">InputRow</code> to be created.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public class InputRowSchema { private final TimestampSpec timestampSpec; private final DimensionsSpec dimensionsSpec; private final List&lt;String&gt; metricsNames; }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">InputRowSchema</span> { <span class="pl-k">private</span> <span class="pl-k">final</span> <span class="pl-smi">TimestampSpec</span> <span class="pl-s1">timestampSpec</span>; <span class="pl-k">private</span> <span class="pl-k">final</span> <span class="pl-smi">DimensionsSpec</span> <span class="pl-s1">dimensionsSpec</span>; <span class="pl-k">private</span> <span class="pl-k">final</span> <span class="pl-smi">List</span>&lt;<span class="pl-smi">String</span>&gt; <span class="pl-s1">metricsNames</span>; }</pre></div> <p dir="auto"><code class="notranslate">SplittableSource</code> is the splittable <code class="notranslate">InputSource</code> that can be processed in parallel.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface SplittableInputSource&lt;T&gt; extends InputSource { @JsonIgnore @Override default boolean isSplittable() { return true; } Stream&lt;InputSplit&lt;T&gt;&gt; createSplits(InputFormat inputFormat, @Nullable SplitHintSpec splitHintSpec) throws IOException; int getNumSplits(InputFormat inputFormat, @Nullable SplitHintSpec splitHintSpec) throws IOException; SplittableInputSource&lt;T&gt; withSplit(InputSplit&lt;T&gt; split); } "><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">SplittableInputSource</span>&lt;<span class="pl-smi">T</span>&gt; <span class="pl-k">extends</span> <span class="pl-smi">InputSource</span> { <span class="pl-c1">@</span><span class="pl-c1">JsonIgnore</span> <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">default</span> <span class="pl-smi">boolean</span> <span class="pl-en">isSplittable</span>() { <span class="pl-k">return</span> <span class="pl-c1">true</span>; } <span class="pl-smi">Stream</span>&lt;<span class="pl-smi">InputSplit</span>&lt;<span class="pl-smi">T</span>&gt;&gt; <span class="pl-en">createSplits</span>(<span class="pl-smi">InputFormat</span> <span class="pl-s1">inputFormat</span>, <span class="pl-c1">@</span><span class="pl-c1">Nullable</span> <span class="pl-smi">SplitHintSpec</span> <span class="pl-s1">splitHintSpec</span>) <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; <span class="pl-smi">int</span> <span class="pl-en">getNumSplits</span>(<span class="pl-smi">InputFormat</span> <span class="pl-s1">inputFormat</span>, <span class="pl-c1">@</span><span class="pl-c1">Nullable</span> <span class="pl-smi">SplitHintSpec</span> <span class="pl-s1">splitHintSpec</span>) <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; <span class="pl-smi">SplittableInputSource</span>&lt;<span class="pl-smi">T</span>&gt; <span class="pl-en">withSplit</span>(<span class="pl-smi">InputSplit</span>&lt;<span class="pl-smi">T</span>&gt; <span class="pl-s1">split</span>); }</pre></div> <p dir="auto">Check <a href="https://github.com/jihoonson/druid/blob/file-format/core/src/main/java/org/apache/druid/data/input/HttpInputSource.java"><code class="notranslate">HttpInputSource</code></a> as an example.</p> <h4 dir="auto"><code class="notranslate">InputSourceReader</code> and <code class="notranslate">InputSourceSampler</code></h4> <p dir="auto">You can create <code class="notranslate">InputSourceReader</code> and <code class="notranslate">InputSourceSampler</code> from <code class="notranslate">InputSource</code>. <code class="notranslate">InputSourceReader</code> is for reading inputs and creating segments while <code class="notranslate">InputSourceSampler</code> is for sampling inputs.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface InputSourceReader { CloseableIterator&lt;InputRow&gt; read() throws IOException; CloseableIterator&lt;InputRowPlusRaw&gt; sample() throws IOException; }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">InputSourceReader</span> { <span class="pl-smi">CloseableIterator</span>&lt;<span class="pl-smi">InputRow</span>&gt; <span class="pl-en">read</span>() <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; <span class="pl-smi">CloseableIterator</span>&lt;<span class="pl-smi">InputRowPlusRaw</span>&gt; <span class="pl-en">sample</span>() <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; }</pre></div> <p dir="auto">These reader and sampler are the interfaces what users will use directly. <a href="https://github.com/jihoonson/druid/blob/file-format/core/src/main/java/org/apache/druid/data/input/impl/SplitIteratingReader.java"><code class="notranslate">SplitIteratingReader</code></a> is an example of <code class="notranslate">InputSourceReader</code>.</p> <h4 dir="auto"><code class="notranslate">ObjectSource</code> and <code class="notranslate">InputFormat</code></h4> <p dir="auto"><code class="notranslate">InputSourceReader</code> and <code class="notranslate">InputSourceSampler</code> will internally use <code class="notranslate">ObjectSource</code> and <code class="notranslate">InputFormat</code>. <code class="notranslate">ObjectSource</code> knows how to read bytes from the given object.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface ObjectSource&lt;T&gt; { int FETCH_BUFFER_SIZE = 4 * 1024; int MAX_FETCH_RETRY = 3; interface CleanableFile { File file(); void cleanup(); } CleanableFile fetch(File temporaryDirectory, byte[] fetchBuffer) throws IOException; T getObject(); InputStream open() throws IOException; Predicate&lt;Throwable&gt; getRetryCondition(); }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">ObjectSource</span>&lt;<span class="pl-smi">T</span>&gt; { <span class="pl-smi">int</span> <span class="pl-c1">FETCH_BUFFER_SIZE</span> = <span class="pl-c1">4</span> * <span class="pl-c1">1024</span>; <span class="pl-smi">int</span> <span class="pl-c1">MAX_FETCH_RETRY</span> = <span class="pl-c1">3</span>; <span class="pl-k">interface</span> <span class="pl-smi">CleanableFile</span> { <span class="pl-smi">File</span> <span class="pl-en">file</span>(); <span class="pl-smi">void</span> <span class="pl-en">cleanup</span>(); } <span class="pl-smi">CleanableFile</span> <span class="pl-en">fetch</span>(<span class="pl-smi">File</span> <span class="pl-s1">temporaryDirectory</span>, <span class="pl-smi">byte</span>[] <span class="pl-s1">fetchBuffer</span>) <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; <span class="pl-smi">T</span> <span class="pl-en">getObject</span>(); <span class="pl-smi">InputStream</span> <span class="pl-en">open</span>() <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; <span class="pl-smi">Predicate</span>&lt;<span class="pl-smi">Throwable</span>&gt; <span class="pl-en">getRetryCondition</span>(); }</pre></div> <p dir="auto">You can directly open an <code class="notranslate">InputStrema</code> on the <code class="notranslate">ObjectSource</code> or <code class="notranslate">fetch()</code> the remote object into a local disk and open a <code class="notranslate">FileInputStream</code> on it. This may be useful to avoid expensive random access on remote storage (e.g., Orc file in s3) or holding connections for too long time (as in <code class="notranslate">SqlFirehoseFactory</code>). Check <a href="https://github.com/jihoonson/druid/blob/file-format/core/src/main/java/org/apache/druid/data/input/impl/HttpSource.java"><code class="notranslate">HttpSource</code></a> as an example <code class="notranslate">ObjectSource</code>.</p> <p dir="auto"><code class="notranslate">InputFormat</code> knows how to parse bytes.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface InputFormat { boolean isSplittable(); ObjectReader createReader(InputRowSchema inputRowSchema); }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">InputFormat</span> { <span class="pl-smi">boolean</span> <span class="pl-en">isSplittable</span>(); <span class="pl-smi">ObjectReader</span> <span class="pl-en">createReader</span>(<span class="pl-smi">InputRowSchema</span> <span class="pl-s1">inputRowSchema</span>); }</pre></div> <p dir="auto"><code class="notranslate">ObjectReader</code> actually reads and parses data and returns an interator of <code class="notranslate">InputRow</code>.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface ObjectReader { CloseableIterator&lt;InputRow&gt; read(ObjectSource&lt;?&gt; source, File temporaryDirectory) throws IOException; CloseableIterator&lt;InputRowPlusRaw&gt; sample(ObjectSource&lt;?&gt; source, File temporaryDirectory) throws IOException; }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">ObjectReader</span> { <span class="pl-smi">CloseableIterator</span>&lt;<span class="pl-smi">InputRow</span>&gt; <span class="pl-en">read</span>(<span class="pl-smi">ObjectSource</span>&lt;?&gt; <span class="pl-s1">source</span>, <span class="pl-smi">File</span> <span class="pl-s1">temporaryDirectory</span>) <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; <span class="pl-smi">CloseableIterator</span>&lt;<span class="pl-smi">InputRowPlusRaw</span>&gt; <span class="pl-en">sample</span>(<span class="pl-smi">ObjectSource</span>&lt;?&gt; <span class="pl-s1">source</span>, <span class="pl-smi">File</span> <span class="pl-s1">temporaryDirectory</span>) <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>; }</pre></div> <p dir="auto">For example, <a href="https://github.com/jihoonson/druid/blob/file-format/extensions-core/orc-extensions/src/main/java/org/apache/druid/data/input/orc/OrcInputFormat.java"><code class="notranslate">OrcInputFormat</code></a> creates <a href="https://github.com/jihoonson/druid/blob/file-format/extensions-core/orc-extensions/src/main/java/org/apache/druid/data/input/orc/OrcReader.java"><code class="notranslate">OrcReader</code></a>. Note that this implementation is really not optimized but will show how it could be implemented.</p> <h4 dir="auto">Deprecated <code class="notranslate">ParseSpec</code></h4> <p dir="auto">The existing <code class="notranslate">ParseSpec</code> will be split into <code class="notranslate">TimestampSpec</code>, <code class="notranslate">DimensionsSpec</code>, and <code class="notranslate">Inputformat</code>. <code class="notranslate">TimestampSpec</code> and <code class="notranslate">DimensionsSpec</code> will be at the top level of <code class="notranslate">DataSchema</code>. <code class="notranslate">InputFormat</code> will be in <code class="notranslate">ioConfig</code>.</p> <p dir="auto">An example spec is:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;type&quot;: &quot;index_parallel&quot;, &quot;spec&quot;: { &quot;dataSchema&quot;: { &quot;dataSource&quot;: &quot;wikipedia&quot;, &quot;timestampSpec&quot;: { &quot;column&quot;: &quot;timestamp&quot;, &quot;format&quot;: &quot;iso&quot; }, &quot;dimensionsSpec&quot;: { &quot;dimensions&quot;: [ &quot;channel&quot;, &quot;cityName&quot;, &quot;comment&quot;, &quot;countryIsoCode&quot;, &quot;countryName&quot;, &quot;diffUrl&quot;, &quot;flags&quot;, &quot;isAnonymous&quot;, &quot;isMinor&quot;, &quot;isNew&quot;, &quot;isRobot&quot;, &quot;isUnpatrolled&quot;, &quot;namespace&quot;, &quot;page&quot;, &quot;regionIsoCode&quot;, &quot;regionName&quot;, &quot;user&quot; ] }, &quot;metricsSpec&quot;: [ { &quot;type&quot;: &quot;count&quot;, &quot;name&quot;: &quot;count&quot; } ], &quot;granularitySpec&quot;: { &quot;type&quot;: &quot;uniform&quot;, &quot;segmentGranularity&quot;: &quot;DAY&quot;, &quot;rollup&quot;: true, &quot;intervals&quot;: [&quot;2018/2019&quot;] } }, &quot;ioConfig&quot;: { &quot;type&quot;: &quot;index_parallel&quot;, &quot;inputSource&quot;: { &quot;type&quot;: &quot;http&quot;, &quot;uris&quot;: [ &quot;https://path/to/wikipedia.json.gz&quot; ] }, &quot;inputFormat&quot;: { &quot;type&quot;: &quot;json&quot; }, &quot;appendToExisting&quot;: false }, &quot;tuningConfig&quot;: { &quot;type&quot;: &quot;index_parallel&quot;, &quot;maxNumConcurrentSubTasks&quot;: 10 } } }"><pre class="notranslate">{ <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>index_parallel<span class="pl-pds">"</span></span>, <span class="pl-ent">"spec"</span>: { <span class="pl-ent">"dataSchema"</span>: { <span class="pl-ent">"dataSource"</span>: <span class="pl-s"><span class="pl-pds">"</span>wikipedia<span class="pl-pds">"</span></span>, <span class="pl-ent">"timestampSpec"</span>: { <span class="pl-ent">"column"</span>: <span class="pl-s"><span class="pl-pds">"</span>timestamp<span class="pl-pds">"</span></span>, <span class="pl-ent">"format"</span>: <span class="pl-s"><span class="pl-pds">"</span>iso<span class="pl-pds">"</span></span> }, <span class="pl-ent">"dimensionsSpec"</span>: { <span class="pl-ent">"dimensions"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>channel<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>cityName<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>comment<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>countryIsoCode<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>countryName<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>diffUrl<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>flags<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>isAnonymous<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>isMinor<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>isNew<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>isRobot<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>isUnpatrolled<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>namespace<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>page<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>regionIsoCode<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>regionName<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>user<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"metricsSpec"</span>: [ { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>count<span class="pl-pds">"</span></span>, <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>count<span class="pl-pds">"</span></span> } ], <span class="pl-ent">"granularitySpec"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>uniform<span class="pl-pds">"</span></span>, <span class="pl-ent">"segmentGranularity"</span>: <span class="pl-s"><span class="pl-pds">"</span>DAY<span class="pl-pds">"</span></span>, <span class="pl-ent">"rollup"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"intervals"</span>: [<span class="pl-s"><span class="pl-pds">"</span>2018/2019<span class="pl-pds">"</span></span>] } }, <span class="pl-ent">"ioConfig"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>index_parallel<span class="pl-pds">"</span></span>, <span class="pl-ent">"inputSource"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>http<span class="pl-pds">"</span></span>, <span class="pl-ent">"uris"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>https://path/to/wikipedia.json.gz<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"inputFormat"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>json<span class="pl-pds">"</span></span> }, <span class="pl-ent">"appendToExisting"</span>: <span class="pl-c1">false</span> }, <span class="pl-ent">"tuningConfig"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>index_parallel<span class="pl-pds">"</span></span>, <span class="pl-ent">"maxNumConcurrentSubTasks"</span>: <span class="pl-c1">10</span> } } }</pre></div> <h4 dir="auto">Prefetch and cache</h4> <p dir="auto">The <code class="notranslate">FirehoseFactory</code>s extending <code class="notranslate">PrefetchableTextFilesFirehoseFactory</code> currently support prefetching and caching which I don't find very useful. I ran a couple of tests in a cluster and my laptop. The total time taken to download 2 files (200 MB each) from s3 into local storage was 4 sec and 20 sec, whereas the total ingestion time was 20 min and 30 min, respectively. I think the more important issue is probably the indexing or the segment merge speed. The prefetch and cache will be not supported with new interfaces until it becomes a real bottleneck.</p> <h4 dir="auto"><code class="notranslate">FirehoseFactory</code></h4> <p dir="auto"><code class="notranslate">FirehoseFactory</code> will remain for <code class="notranslate">RealtimeIndexTask</code> and <code class="notranslate">AppenderatorDriverRealtimeIndexTask</code>.</p> <h3 dir="auto">Rationale</h3> <p dir="auto">One possible alternative would be modifying existing interfaces. I think adding new ones will be better because the new ones are pretty different from existing ones.</p> <h3 dir="auto">Operational impact</h3> <p dir="auto">A couple of interfaces will be deprecated but kept for a couple of future releases. This means, the old spec will be still respected.</p> <ul dir="auto"> <li><code class="notranslate">ParseSpec</code> will be deprecated and split into <code class="notranslate">TimestampSpec</code>, <code class="notranslate">DimensionsSpec</code>, and <code class="notranslate">InputFormat</code>.</li> <li><code class="notranslate">DataSchema</code> will have <code class="notranslate">TimestampSpec</code> and <code class="notranslate">DimensionsSpec</code> from the deprecated <code class="notranslate">ParseSpec</code>.</li> <li><code class="notranslate">IOConfig</code> will have <code class="notranslate">InputFormat</code> and <code class="notranslate">InputSource</code>.</li> <li><code class="notranslate">FirehoseFactory</code> will be deprecated for all batch tasks in favor of <code class="notranslate">InputSource</code>. This will not be applied to the compaction task since it doesn't have firehoseFactory in its spec.</li> <li><code class="notranslate">InputRowParser</code> will be deprecated.</li> </ul> <h3 dir="auto">Test plan (optional)</h3> <p dir="auto">Unit tests will be added to test backward compatibility and the implementations of new interfaces.</p> <h3 dir="auto">Future work (optional)</h3> <p dir="auto">A new method can be added to <code class="notranslate">ObjectSource</code> for more optimized data scan.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="int read(ByteBuffer buffer, int offset, int length) throws IOException;"><pre class="notranslate"><span class="pl-smi">int</span> <span class="pl-s1">read</span>(<span class="pl-smi">ByteBuffer</span> <span class="pl-s1">buffer</span>, <span class="pl-smi">int</span> <span class="pl-s1">offset</span>, <span class="pl-smi">int</span> <span class="pl-s1">length</span>) <span class="pl-k">throws</span> <span class="pl-s1">IOException</span>;</pre></div>
<p dir="auto">This proposal is about extending Druid to support multi-stage distributed queries, something that I think will be really exciting and amp up what Druid is capable of.</p> <h2 dir="auto">Motivation</h2> <p dir="auto">Today Druid's distributed query stack is single-stage: the Broker receives a query, slices it up into pieces, and sends one piece to each Historical. The Historicals produce partial results for their piece of the query, send them back to the Broker, and the Broker merges them into the final result set.</p> <p dir="auto">This venerable design works well when the bulk of processing can be done at the leaf servers that store the actual data. It scales well: Druid can handle thousands of QPS of queries, very CPU and memory efficiently, so long as there are enough Historicals running and so long as the amount of data that makes it to the Broker is relatively small.</p> <p dir="auto">Druid has a lot of functionality that is designed to make this single-stage distributed query stack as useful as possible. Whenever possible, we push down projections, filters, aggregations, limits, and joins. We also have a suite of builtin approximations, like approximate topN and various sketches, that people can use to minimize the amount of state that must be tracked beyond the leaf servers.</p> <p dir="auto">But there are some cases where this query stack doesn't work well, and which provide the motivation for multi-stage queries:</p> <ol dir="auto"> <li>Queries with very large result sets. Imagine a GROUP BY query with no LIMIT that would return billions of rows, because it groups on something with very high cardinality. Today these result sets must flow through the Broker, which creates a bottleneck.</li> <li>Additional SQL support. We'd like to keep expanding Druid's ability to support SQL until we can do it all. Some operations that'd we like to support, like joining together two distributed tables, cannot be done in the single-stage design.</li> <li>Complex query structures. Today, a query with lots of JOINs and subqueries will execute certain queries in a fully distributed manner -- basically, anything that can be represented as a base distributed table joined with broadcasted tables -- and then finish the remainder of query processing on the Broker. In some cases this works OK, because most of the work can be done as part of the distributed queries. But in other cases it results in a lot of data being collected on the Broker, which leads to an error like "Subquery generated results beyond maximum".</li> <li>Ingestion. Some databases use their query stack to handle ingestion. It makes sense if you think about an ingestion as a query that writes its results to a table. It would be nice if we could do this too, so we wouldn't need to maintain an ingestion execution stack that is separate from the query execution stack.</li> </ol> <h2 dir="auto">Design</h2> <p dir="auto">There are a lot of interesting pieces here, so I just want to touch on each one in this main proposal. Each one should then be fleshed out separately.</p> <h3 dir="auto">Query representation and SQL planning</h3> <p dir="auto"><strong>Background</strong></p> <p dir="auto">Druid models native queries as "fat" query types that represent a full distributed query. There are four query types used by the SQL engine: scan, timeseries, topN, and groupBy. Each query type represents an entire single-stage distributed computation: there is a first piece that can run distributed, and a second piece that must run on the Broker. They all internally handle filtering, projection, sorting, limiting, etc. They all have a "dataSource" field that describes where they should get their data from, which can be "table", representing an actual Druid datasource; "query", representing a subquery, and which can be any other query type; "join", representing two other datasources joined together; or a handful of other less-common datasource types.</p> <p dir="auto">The SQL planner's main job is to morph a tree of relational operators either a single native query or a tree of native queries. In the latter case, it uses "query" or "join" datasources to link the native queries together. It has limited flexibility in how it does this, because native queries have a rigid computational structure: they always do broadcast join first, then projection, then filter, then aggregation, then sort.</p> <p dir="auto"><strong>Proposal</strong></p> <p dir="auto">To support ever-more complex query structures, we will need a way of representing data flow that is more flexible than native queries. The tried and true DAG approach will work well here. So I propose that the multi-stage engine should model queries as a DAG of "stages". Each stage:</p> <ul dir="auto"> <li>Runs distributed across as many servers as makes sense.</li> <li>May consume partitioned data from some set of input stages. There will always be some stages with no input stages; these stages would be reading from Druid segments, external data, or something like that.</li> <li>Produces data either aligned with its input partitions, or reshuffled in some way.</li> </ul> <p dir="auto">The stages would be finer-grained than native queries. For example, a stage might do scan-filter-project, or aggregate, or sort, or limit. This is a common approach in relational databases.</p> <p dir="auto">As a first step, I suggest we keep native queries in the picture by translating SQL -&gt; native query -&gt; DAG-based query. This can be done with minimal changes to the SQL planner, and would enable classic native queries to exist at the same time as DAG-based queries without much code duplication. But at some point, we'll want to go directly from SQL -&gt; DAG-based query, since that will give the SQL planner more flexibility to reorder operations.</p> <p dir="auto">Here's an example of how a query would look. This SQL query:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SELECT session, COUNT(*) AS cnt FROM tbl WHERE browser = 'Firefox' GROUP BY session ORDER BY cnt DESC LIMIT 10"><pre class="notranslate"><code class="notranslate">SELECT session, COUNT(*) AS cnt FROM tbl WHERE browser = 'Firefox' GROUP BY session ORDER BY cnt DESC LIMIT 10 </code></pre></div> <p dir="auto">Would have five stages:</p> <ol dir="auto"> <li>Scan: Read <code class="notranslate">tbl</code>, apply the filter <code class="notranslate">browser = 'Firefox'</code>, and project out <code class="notranslate">session</code>. No shuffle.</li> <li>Aggregate I: Locally group by <code class="notranslate">session</code> and compute <code class="notranslate">count(*)</code> for each. Shuffle by <code class="notranslate">session</code>.</li> <li>Aggregate II: Continue grouping by <code class="notranslate">session</code> within each partition, and sum the partial counts to get full counts. No shuffle. This produces a fully grouped resultset, still partitioned by <code class="notranslate">session</code>.</li> <li>Sort: Locally order by <code class="notranslate">cnt DESC</code>. Shuffle everything into a single partition.</li> <li>Limit: Take the first 10 rows from the single partition generated by the prior stage.</li> </ol> <p dir="auto">When stages connect without shuffling, we can pipeline execution locally on the same servers, so there is no need for buffering or cross-server traffic. When stages connect <em>with</em> shuffling, we'll need to exchange data across servers. Depending on the needs of the query, the producing stage could stream to the consuming stage, or the producing stage could buffer up all results before the consuming stage starts.</p> <p dir="auto">For the query above, if we know (or are willing to bet) that there are not too many distinct <code class="notranslate">session</code> values then we can run it just as efficiently as the current single-stage approach. First, we'll make sure that Scan and Aggregate I are scheduled on the same set of workers, so the output of Scan can be pipelined into Aggregate I locally in memory. Then, we'll configure the shuffle in Aggregate I to shuffle everything down to a single partition. Next, we'll make sure that Aggregate II, Sort, and Limit all run on the same server. That server would be responsible for gathering all the partitioned Aggregate I outputs and preparing the final result. Finally, we'll set things up so all stages run concurrently, and so Aggregate II streams from Aggregate I. Put together, this is exactly what the Historicals and Brokers do today.</p> <h3 dir="auto">Ingestion</h3> <p dir="auto">In <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1055279806" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11929" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/11929/hovercard" href="https://github.com/apache/druid/issues/11929">#11929</a> there is a proposal for adding a SQL INSERT statement. It could be implemented on top of our existing batch ingestion tasks: the SQL layer could convert relational operators to indexing tasks just as well as it can convert them to native queries. But I think it would be nicer to implement it on top of a multi-stage query stack.</p> <p dir="auto">We'd just need to do two things:</p> <ol dir="auto"> <li>Provide a way for the query stack to read external data. There's a natural way to do this through an "external" DataSource that maps onto RowBasedSegments. It would be similar to how we plug lookups into the query engines, except a little more complicated because we'll need to split the external datasource before sending it down to various servers.</li> <li>Provide a way for the query stack to generate segments. Once we have this multi-stage structure this is also natural: we can add a final stage to any query that shuffles data to match the target segment size and then generates and publishes segments.</li> </ol> <p dir="auto">So I propose that we work towards this instead of having the SQL planner generate batch indexing tasks. It has a nice side benefit: part (1) alone means that we'd be able to query external data in a regular query too. I don't think that'll be a core use case for Druid, but it has some usefulness, like previewing what an INSERT <em>might</em> do, or doing an ad-hoc join of Druid datasources with some external data.</p> <p dir="auto">We'll also need to figure out what to do about streaming ingest at some point. I'm not sure what to do there but I think there are a few options that make sense. Even if the multi-stage query stack doesn't have builtin support for streaming queries, we can layer streamingness on top in the same way that we do today with indexing tasks: there is a supervisor that manages a series of tasks, each of which reads a chunk of data from Kafka and then publishes it.</p> <h3 dir="auto">Server setup</h3> <p dir="auto">There is an obvious question: where will this query engine run? Today we have Brokers, Historicals, and indexing stuff (MiddleManager or Indexers). I don't want to add a net new service or process type in the long run, because we have a lot already. But I think in the short run we should add a new process type.</p> <p dir="auto">I think at first the Broker should remain in charge of SQL planning, and may route certain queries to these new multi-stage query processes if they are running in that particular cluster. It could do this based on user request (like a context parameter) or based on aspects of the query (like presence of INSERT, or external data, or a "complex enough" query).</p> <p dir="auto">However, like I said, in the long run I don't think it's a good plan to have an extra process type on top of all the ones we already have. So I think in the long run we should shoot for this process type actually being able to serve as a replacement for the Broker, Historicals, and MMs/Indexers. By that I mean that in the fullness of time, it should be able to:</p> <ul dir="auto"> <li>Receive and plan SQL queries, like a Broker.</li> <li>Cache segments locally, like a Historical.</li> <li>Run simple single-stage queries in an extremely efficient way, like the Historical + Broker combo.</li> <li>Run ingestions (INSERT statements) in a distributed and scalable manner, like MMs or Indexers.</li> </ul> <p dir="auto">At that point, a small Druid cluster would be pretty simple: just a Coordinator and this new process type (or a few of them for scale-out). And a large cluster could still specialize. Imagine setting up a tier of these new processes that cache segments but don't perform ingestion, and another tier that <em>don't</em> cache segments but <em>do</em> perform ingestion. That's similar to setting up Historicals and MMs today, but more configuration-driven. It would allow simple clusters to be simple and complex clusters to be complex.</p> <h2 dir="auto">Code changes</h2> <p dir="auto">A sketch of the code changes I think we'll need to make the above work out:</p> <ol dir="auto"> <li>Low-level mechanism for shuffling data between servers. This should include an efficient way to transfer large amounts of data over the network. Currently we use Smile-over-HTTP for this, which works well for relatively small amounts of data, but I think we can do better. It should also include both a pipelined implementation (producing stage streams to the consuming stage), and a buffered implementation (producing stage generates all data before consuming stage starts) for operations that cannot be pipelined.</li> <li>Cluster-level execution coordinator for a multi-stage query.</li> <li>Server-local execution coordinator for a single stage of a multi-stage query.</li> <li>An actual process type for the above three things to run in.</li> <li>Converter that generates multi-stage (DAG-based) queries from today's native query types. (This enables hooking into the existing SQL layer, since it generates native queries.)</li> <li>To make ingestion-through-query work: adapters from external data into the query stack, and from the query stack to the segment-generation code.</li> </ol> <p dir="auto">At Imply we've started to prototype a multi-stage query engine with the above design. We've implemented some of the pieces: not all of them, but enough to perform some basic queries. At this point I thought it would be a good time to open up a discussion with the wider community, since as we continue working on this stuff, we'd like to integrate it into Apache Druid.</p> <h2 dir="auto">Rationale</h2> <p dir="auto">A.K.A. the "why not" section.</p> <p dir="auto"><strong>Why not integrate with an existing open-source query engine?</strong></p> <p dir="auto">I wouldn't want to stop anyone from integrating with another open-source query engine. Some people might prefer to deploy that way.</p> <p dir="auto">But I think we will want this kind of functionality as something native in Druid, for two reasons. First: I think the user experience will be nicer if we don't require a dependency on another system. Second: I expect there will be opportunities for optimization that we can use if everything is built in to Druid, and that would be tough to implement with an external query stack.</p> <p dir="auto">Besides, the work we'll need to do in order to build a multi-stage query engine will also benefit integrations with other engines.</p> <p dir="auto"><strong>Why not gradually add multi-stage capabilities to the existing query stack?</strong></p> <p dir="auto">I think it's a question of complexity.</p> <p dir="auto">The core query stack has three main hook points: individual segment scan, result merge on Historicals, and result merge on Broker. The implementations of the native query types, especially groupBy, have got quite complex over the years as new features have been added and needed to be mapped onto these hook points. For example: subtotals, ordering, limiting, having, are all typically done as part of "result merge on the Broker". The hook points are doing more work than originally envisioned, which makes the code more difficult to follow and extend.</p> <p dir="auto">So I think it's time to try a different approach with the query stack, rather than adding new capabilities. As we create a DAG-based query stack, we can split queries up into stages and move more of the "fancy stuff" to the framework, which will simplify the query-specific logic.</p> <p dir="auto">We can still share code, though. It won't be 100% new. We can share all of the StorageAdapter stuff (cursors, etc), the ColumnSelectorFactory stuff, and the single-segment processing code for groupBy and topN. This lower-level code is super optimized and works well. It's more the mid/high level stuff that IMO would benefit from a different approach.</p>
0
<p dir="auto">It is noticed here: <a href="http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown" rel="nofollow">http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown</a></p>
<p dir="auto">Bootstrap's hierarchical menus are a lot like Mac OSX, i.e., broken. I'd like to suggest two changes that would greatly improve usability:</p> <ol dir="auto"> <li>Don't hide the menu when you click on a divider or bottom/top padding.</li> <li>Implement mouse movement tracked submenu display, like the one invented by Apple in the 80's and currently used prominently in Amazon's homepage. More info <a href="http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown" rel="nofollow">here</a>.</li> </ol>
1
<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/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/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.6.5/2.7.4.x</li> <li>Operating System version: OSX 10.x</li> <li>Java version: 1.8</li> </ul> <p dir="auto">在配置 dubbo.provider.token 后,有时 dubbo url 中 default.token 的值会变成 false,而非配置的 token。原因是 getMethods()、getDeclaredMethods() 不保证顺序,导致属性绑定失败。</p> <p dir="auto">Spring Boot 中,dubbo 会注入多个beanPostProcessor,在 postProcessBeforeInitialization 阶段,利用 dubboConfigBinder 对 dubbo 相关的 XxxConfig bean 进行属性绑定。如下图所示, ProviderConfig 类是一个 bean</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9402727/72245934-99803a80-362c-11ea-80fe-bf6fba7d190c.png"><img src="https://user-images.githubusercontent.com/9402727/72245934-99803a80-362c-11ea-80fe-bf6fba7d190c.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">dubboConfigBinder 在 boot 项目中,默认的实现是 RelaxedDubboConfigBinder,具体实现方式是使用 Binder 类,此处可看源码。</p> <p dir="auto">绑定属性过程中,利用 JavaBeanBinder$Bean 缓存相关类属性的 getter、setter 方法。</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="private final Map&lt;String, BeanProperty&gt; properties = new LinkedHashMap&lt;&gt;(); Bean(ResolvableType resolvableType, Class&lt;?&gt; type) { this.resolvableType = resolvableType; this.type = type; putProperties(type); } private void putProperties(Class&lt;?&gt; type) { while (type != null &amp;&amp; !Object.class.equals(type)) { // getDeclaredMethods() 返回方法顺序的具有不确定性 for (Method method : type.getDeclaredMethods()) { if (isCandidate(method)) { addMethod(method); } } for (Field field : type.getDeclaredFields()) { addField(field); } type = type.getSuperclass(); } } "><pre class="notranslate"><span class="pl-k">private</span> <span class="pl-k">final</span> <span class="pl-smi">Map</span>&lt;<span class="pl-smi">String</span>, <span class="pl-smi">BeanProperty</span>&gt; <span class="pl-s1">properties</span> = <span class="pl-k">new</span> <span class="pl-smi">LinkedHashMap</span>&lt;&gt;(); <span class="pl-en">Bean</span>(<span class="pl-smi">ResolvableType</span> <span class="pl-s1">resolvableType</span>, <span class="pl-smi">Class</span>&lt;?&gt; <span class="pl-s1">type</span>) { <span class="pl-smi">this</span>.<span class="pl-s1">resolvableType</span> = <span class="pl-s1">resolvableType</span>; <span class="pl-smi">this</span>.<span class="pl-s1">type</span> = <span class="pl-s1">type</span>; <span class="pl-en">putProperties</span>(<span class="pl-s1">type</span>); } <span class="pl-k">private</span> <span class="pl-smi">void</span> <span class="pl-s1">putProperties</span>(<span class="pl-smi">Class</span>&lt;?&gt; <span class="pl-s1">type</span>) { <span class="pl-k">while</span> (<span class="pl-s1">type</span> != <span class="pl-c1">null</span> &amp;&amp; !<span class="pl-smi">Object</span>.<span class="pl-k">class</span>.<span class="pl-en">equals</span>(<span class="pl-s1">type</span>)) { <span class="pl-c">// getDeclaredMethods() 返回方法顺序的具有不确定性</span> <span class="pl-k">for</span> (<span class="pl-smi">Method</span> <span class="pl-s1">method</span> : <span class="pl-s1">type</span>.<span class="pl-en">getDeclaredMethods</span>()) { <span class="pl-k">if</span> (<span class="pl-en">isCandidate</span>(<span class="pl-s1">method</span>)) { <span class="pl-en">addMethod</span>(<span class="pl-s1">method</span>); } } <span class="pl-k">for</span> (<span class="pl-smi">Field</span> <span class="pl-s1">field</span> : <span class="pl-s1">type</span>.<span class="pl-en">getDeclaredFields</span>()) { <span class="pl-en">addField</span>(<span class="pl-s1">field</span>); } <span class="pl-s1">type</span> = <span class="pl-s1">type</span>.<span class="pl-en">getSuperclass</span>(); } }</pre></div> <p dir="auto">由于 getDeclaredMethods() 返回方法顺序的不确定性,AbstractServiceConfig 存在两个 setToken(boolean) 和 setToken(string),<br> 因此当 setToken(boolean) 顺序靠前时,因为方法参数类型不满足,就无法绑定。</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9402727/72246166-1c08fa00-362d-11ea-97cc-60c8786c9a6f.png"><img src="https://user-images.githubusercontent.com/9402727/72246166-1c08fa00-362d-11ea-97cc-60c8786c9a6f.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">以下为 setToken(string) 顺序靠前时,正确的绑定内容</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9402727/72246135-101d3800-362d-11ea-9834-41ae87c60152.png"><img src="https://user-images.githubusercontent.com/9402727/72246135-101d3800-362d-11ea-9834-41ae87c60152.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">在之后运行到触发 ContextRefreshedEvent 事件后,ServiceBean 执行 export() 方法,其中会填充 provider 的属性。调用栈如下。</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ServieBean#export() |- doExport() |- checkDefault() |- AbstractConfig.appendProperties(provider)"><pre class="notranslate"><code class="notranslate">ServieBean#export() |- doExport() |- checkDefault() |- AbstractConfig.appendProperties(provider) </code></pre></div> <p dir="auto">在 appendProperties 的实现中,getMethods 返回的方法顺序,也是 setToken(boolean) 优先。</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9402727/72245934-99803a80-362c-11ea-80fe-bf6fba7d190c.png"><img src="https://user-images.githubusercontent.com/9402727/72245934-99803a80-362c-11ea-80fe-bf6fba7d190c.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">通过反射将属性注入 ProviderConfig,在注入之前,会通过 getter 方法判断属性是否已经设置,如果在前一步 Spring 的属性绑定中是正确的,因为 token 已经有值,则不会运行的注入以下代码。</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// AbstractConfig.appendProperties(provider) if (value != null &amp;&amp; value.length() &gt; 0) { method.invoke(config, new Object[]{convertPrimitive(method.getParameterTypes()[0], value)}); }"><pre class="notranslate"><span class="pl-c">// AbstractConfig.appendProperties(provider)</span> <span class="pl-k">if</span> (<span class="pl-s1">value</span> != <span class="pl-c1">null</span> &amp;&amp; <span class="pl-s1">value</span>.<span class="pl-en">length</span>() &gt; <span class="pl-c1">0</span>) { <span class="pl-s1">method</span>.<span class="pl-en">invoke</span>(<span class="pl-s1">config</span>, <span class="pl-k">new</span> <span class="pl-smi">Object</span>[]{<span class="pl-en">convertPrimitive</span>(<span class="pl-s1">method</span>.<span class="pl-en">getParameterTypes</span>()[<span class="pl-c1">0</span>], <span class="pl-s1">value</span>)}); }</pre></div> <p dir="auto">此处注入时,因为此处的方法是 setToken(boolean)。,convertPrimitive 会将 string 类型的 token 转换的目标的 boolean 类型,Boolean.valueOf 方法就会将我们填写的 string 类型转换为 false 了。</p> <p dir="auto">以上就是 default.token=false 的原因</p>
<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/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/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> <li>Operating System version: macOs sierra</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>start the provider</li> <li>dynamic config changed through override://ip:port?xx=xxx</li> <li>service unregistered with provider url changed.</li> </ol> <p dir="auto">From: RegistryProtocol.java</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public &lt;T&gt; void reExport(final Invoker&lt;T&gt; originInvoker, URL newInvokerUrl) { ... if (providerInvokerWrapper.isReg() &amp;&amp; !registeredProviderUrl.equals(providerInvokerWrapper.getProviderUrl())) { unregister(registryUrl, providerInvokerWrapper.getProviderUrl()); register(registryUrl, registeredProviderUrl); newProviderInvokerWrapper.setReg(true); } ... }"><pre class="notranslate"><code class="notranslate">public &lt;T&gt; void reExport(final Invoker&lt;T&gt; originInvoker, URL newInvokerUrl) { ... if (providerInvokerWrapper.isReg() &amp;&amp; !registeredProviderUrl.equals(providerInvokerWrapper.getProviderUrl())) { unregister(registryUrl, providerInvokerWrapper.getProviderUrl()); register(registryUrl, registeredProviderUrl); newProviderInvokerWrapper.setReg(true); } ... } </code></pre></div> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">Different registry have different interface for dynamic config changed. For our registry, unregister will cause service be pulled out. But for some registry, maybe they are relying on the unregister and register. We have to find out the way to compatible with different registry.</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="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
0
<h2 dir="auto">Question</h2> <p dir="auto">the method InsertValue.getParameters use parametersCount to subList the parameters。but when counting the paramCount just accept ParameterMarkerExpressionSegment. so that when my insert sql has parameters like ifnull(?,1) , the value of paramCount is uncorrected 。finally<br> throw a java.sql.SqlException: No value specified for parameter 。</p>
<p dir="auto">parameter is not correctly resolved when parsing sql like <code class="notranslate">insert ...... on duplicate key set column=? </code></p> <p dir="auto">please checkout InsertDuplicateKeyUpdateClauseParser.java</p> <p dir="auto">version: lastest</p>
0
<ul class="contains-task-list"> <li><strong>I'm submitting a ...</strong></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> feature request</li> </ul> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">(ngSubmit)="onSubmit()" do not trigger when used with <code class="notranslate">[form]</code> directives.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;table&gt; &lt;tbody&gt; &lt;tr&gt; &lt;!-- PARTICULARS LIST WILL BE POPULATED HERE --&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;tbody&gt; &lt;tr form [ngFormModel]=&quot;particularForm&quot; (ngSubmit)=&quot;addParticular()&quot;&gt; &lt;td class=&quot;form-group&quot;&gt; &lt;input ngControl=&quot;item&quot; type=&quot;text&quot; class=&quot;form-control&quot; placeholder=&quot;Item&quot;&gt; &lt;/td&gt; &lt;td class=&quot;form-group&quot;&gt; &lt;input ngControl=&quot;unit&quot; type=&quot;text&quot; class=&quot;form-control&quot; placeholder=&quot;Unit&quot;&gt; &lt;/td&gt; &lt;td class=&quot;form-group&quot;&gt; &lt;input ngControl=&quot;quantity&quot; type=&quot;text&quot; class=&quot;form-control&quot; placeholder=&quot;Quantity&quot;&gt; &lt;/td&gt; &lt;td class=&quot;form-group&quot;&gt; &lt;input ngControl=&quot;price&quot; type=&quot;text&quot; class=&quot;form-control&quot; placeholder=&quot;Price&quot;&gt; &lt;/td&gt; &lt;td class=&quot;form-group&quot;&gt; &lt;input ngControl=&quot;remarks&quot; type=&quot;text&quot; class=&quot;form-control&quot; placeholder=&quot;Remarks&quot;&gt; &lt;/td&gt; &lt;td&gt; &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary&quot;&gt; Add &lt;/button&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">table</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">tbody</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">tr</span><span class="pl-kos">&gt;</span> <span class="pl-c">&lt;!-- PARTICULARS LIST WILL BE POPULATED HERE --&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">tr</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">tbody</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">tbody</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">tr</span> <span class="pl-c1">form</span> <span class="pl-c1">[ngFormModel]</span>="<span class="pl-s">particularForm</span>" <span class="pl-c1">(ngSubmit)</span>="<span class="pl-s">addParticular()</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">td</span> <span class="pl-c1">class</span>="<span class="pl-s">form-group</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">ngControl</span>="<span class="pl-s">item</span>" <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">class</span>="<span class="pl-s">form-control</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Item</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">td</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">td</span> <span class="pl-c1">class</span>="<span class="pl-s">form-group</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">ngControl</span>="<span class="pl-s">unit</span>" <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">class</span>="<span class="pl-s">form-control</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Unit</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">td</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">td</span> <span class="pl-c1">class</span>="<span class="pl-s">form-group</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">ngControl</span>="<span class="pl-s">quantity</span>" <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">class</span>="<span class="pl-s">form-control</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Quantity</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">td</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">td</span> <span class="pl-c1">class</span>="<span class="pl-s">form-group</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">ngControl</span>="<span class="pl-s">price</span>" <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">class</span>="<span class="pl-s">form-control</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Price</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">td</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">td</span> <span class="pl-c1">class</span>="<span class="pl-s">form-group</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">ngControl</span>="<span class="pl-s">remarks</span>" <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">class</span>="<span class="pl-s">form-control</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Remarks</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">td</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">td</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>" <span class="pl-c1">class</span>="<span class="pl-s">btn btn-primary</span>"<span class="pl-kos">&gt;</span> Add <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">td</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">tr</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">tbody</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">table</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto"><strong>Expected/desired behavior</strong><br> It would be nice to have native support for (ngSubmit) for <code class="notranslate">[form]</code> directives also like <code class="notranslate">&lt;form&gt;</code> elements have currently.</p> <ul dir="auto"> <li><strong>What is the motivation / use case for changing the behavior?</strong><br> I've <code class="notranslate">paritculars</code> ControlArray which contains <code class="notranslate">ControlGroup</code> with fields item, unit, quantity... .<br> I was building an interface where user will enter some values and upon submitting the from it will be instantly displyed in tabular view above the form. Something like grid but not actually grid. Thats the use case.</li> <li><strong>Please tell us about your environment:</strong></li> <li><strong>Angular version:</strong> 2.0.0-rc.1</li> <li><strong>Browser:</strong> All Browsers</li> <li><strong>Language:</strong> TypeScript 1.8</li> </ul>
<p dir="auto">In the <a href="https://angular.io/docs/ts/latest/api/common/NgForm-directive.html" rel="nofollow"><code class="notranslate">ngForm</code> directive documentation</a>, the page says that the directive can be used as an attribute <code class="notranslate">ngForm</code> (selector <code class="notranslate">[ngForm]</code>) and as a <code class="notranslate">&lt;form&gt;</code> element.</p> <p dir="auto">I tried to do that, and I failed to get it to work. I'm suspecting it's a bug.</p> <p dir="auto"><strong>Here's what I tried:</strong></p> <p dir="auto"><a href="http://plnkr.co/edit/BKY6aVhteDhXSkuCFtO1?p=preview" rel="nofollow">Plunk</a><br> <em>(Look for the <code class="notranslate">app/hello_world</code> component)</em></p> <p dir="auto">Relevant Component Template:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div&gt;Try to edit the text, tab out, then press Enter or click a button:&lt;/div&gt; &lt;!-- The #something=&quot;ngForm&quot; is inspired by the thread https://github.com/angular/angular/issues/5997 It's unlikely to be related to the issue --&gt; &lt;h3&gt;Broken&lt;/h3&gt; &lt;div ngForm #fBroken=&quot;ngForm&quot; (submit)='log([&quot;broken&quot;, &quot;submit&quot;, newName, newTime])' (ngSubmit)='log([&quot;broken&quot;, &quot;ngSubmit&quot;, newName, newTime])'&gt; &lt;input type=&quot;text&quot; [(ngModel)]=&quot;newName&quot; (change)='log([&quot;broken&quot;, &quot;change (not [ng]Submit)&quot;, newName, newTime])' #nBroken=&quot;ngForm&quot; ngControl=&quot;nBroken&quot; placeholder=&quot;Enter a name here&quot;&gt; &lt;input type=&quot;submit&quot; #submitterBroken=&quot;ngForm&quot; ngControl=&quot;submitterBroken&quot; ngModel=&quot;'submit input'&quot;&gt; &lt;button type=&quot;submit&quot;&gt;Submit button&lt;/button&gt; &lt;/div&gt; &lt;h3&gt;Working&lt;/h3&gt; &lt;form #fWorking=&quot;ngForm&quot; (submit)='log([&quot;working&quot;, &quot;submit&quot;, newName, newTime])' (ngSubmit)='log([&quot;working&quot;, &quot;ngSubmit&quot;, newName, newTime])'&gt; &lt;input type=&quot;text&quot; [(ngModel)]=&quot;newName&quot; (change)='log([&quot;working&quot;, &quot;change (not [ng]Submit)&quot;, newName, newTime])' #nWorking=&quot;ngForm&quot; ngControl=&quot;nWorking&quot; placeholder=&quot;Enter a name here&quot;&gt; &lt;input type=&quot;submit&quot; #submitterWorking=&quot;ngForm&quot; ngControl=&quot;submitterWorking&quot; ngModel=&quot;'submit input'&quot;&gt; &lt;button type=&quot;submit&quot;&gt;Submit button&lt;/button&gt; &lt;/form&gt; &lt;hr&gt; &lt;!-- conditionally display `yourName` --&gt; &lt;pre&gt;{{result}}&lt;/pre&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span>Try to edit the text, tab out, then press Enter or click a button:<span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-c">&lt;!-- </span> <span class="pl-c"> The #something="ngForm" is inspired by the thread</span> <span class="pl-c"> https://github.com/angular/angular/issues/5997</span> <span class="pl-c"> It's unlikely to be related to the issue</span> <span class="pl-c">--&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h3</span><span class="pl-kos">&gt;</span>Broken<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">ngForm</span> <span class="pl-c1">#fBroken</span>="<span class="pl-s">ngForm</span>" <span class="pl-c1">(submit)</span>='<span class="pl-s">log(["broken", "submit", newName, newTime])</span>' <span class="pl-c1">(ngSubmit)</span>='<span class="pl-s">log(["broken", "ngSubmit", newName, newTime])</span>'<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">[(ngModel)]</span>="<span class="pl-s">newName</span>" <span class="pl-c1">(change)</span>='<span class="pl-s">log(["broken", "change (not [ng]Submit)", newName, newTime])</span>' <span class="pl-c1">#nBroken</span>="<span class="pl-s">ngForm</span>" <span class="pl-c1">ngControl</span>="<span class="pl-s">nBroken</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Enter a name here</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>" <span class="pl-c1">#submitterBroken</span>="<span class="pl-s">ngForm</span>" <span class="pl-c1">ngControl</span>="<span class="pl-s">submitterBroken</span>" <span class="pl-c1">ngModel</span>="<span class="pl-s">'submit input'</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>"<span class="pl-kos">&gt;</span>Submit button<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">h3</span><span class="pl-kos">&gt;</span>Working<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">form</span> <span class="pl-c1">#fWorking</span>="<span class="pl-s">ngForm</span>" <span class="pl-c1">(submit)</span>='<span class="pl-s">log(["working", "submit", newName, newTime])</span>' <span class="pl-c1">(ngSubmit)</span>='<span class="pl-s">log(["working", "ngSubmit", newName, newTime])</span>'<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">[(ngModel)]</span>="<span class="pl-s">newName</span>" <span class="pl-c1">(change)</span>='<span class="pl-s">log(["working", "change (not [ng]Submit)", newName, newTime])</span>' <span class="pl-c1">#nWorking</span>="<span class="pl-s">ngForm</span>" <span class="pl-c1">ngControl</span>="<span class="pl-s">nWorking</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Enter a name here</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>" <span class="pl-c1">#submitterWorking</span>="<span class="pl-s">ngForm</span>" <span class="pl-c1">ngControl</span>="<span class="pl-s">submitterWorking</span>" <span class="pl-c1">ngModel</span>="<span class="pl-s">'submit input'</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>"<span class="pl-kos">&gt;</span>Submit button<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">form</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">hr</span><span class="pl-kos">&gt;</span> <span class="pl-c">&lt;!-- conditionally display `yourName` --&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">pre</span><span class="pl-kos">&gt;</span>{{result}}<span class="pl-kos">&lt;/</span><span class="pl-ent">pre</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">(The extra <code class="notranslate">ngControl</code> stuff etc are just several things I tried to get the first conceptual form to work. I probably could remove them from the working sample but I kept them to show that they are not the reason the first sample is broken)</p> <p dir="auto"><strong>Version Information</strong></p> <p dir="auto">The plunker was created against Angular 2 beta 12, and tested on Chrome 51 for Mac.</p> <p dir="auto"><strong>Usage Scenario</strong></p> <p dir="auto">Why would I want a non <code class="notranslate">&lt;form&gt;</code> element as a form at all?</p> <p dir="auto">A simple example is a table where each <code class="notranslate">&lt;tr&gt;</code> is a conceptual form.</p> <p dir="auto">Maybe this can be worked around with a parent <code class="notranslate">&lt;form&gt;</code> element around the table, IF the <code class="notranslate">ngSubmit</code> will be triggered from the submit triggers in each <code class="notranslate">&lt;tr ngForm&gt;</code> row (either pressing Enter/Return on a text input, or clicking a submit button), not from the outer table <code class="notranslate">&lt;form&gt;</code> itself (so that the event can be handled and prevented from propagation by the event handler in the row component).</p> <p dir="auto">But this stuff worked pretty well in Angular 1.x, and while I understand that this is a rewrite, it would be nice not to lose this when migrating to Angular 2.</p> <p dir="auto">Thanks for the awesome libraries by the way :)</p> <p dir="auto"><strong>Update</strong></p> <p dir="auto">I added the working version just to show the difference when creating this issue. The broken version was still broken without it, so, the usage of the same variable for <code class="notranslate">ngModel</code> is not changing the results of the broken one (all the control identifiers are unique though, and again, the same behaviour happens if you delete the working version and only look at the broken one).</p>
1
<p dir="auto">Unfortunately, it's not clear what action I can take, as a developer. Can we give more guidance about what I should do now?</p> <p dir="auto">I'm trying to run the gallery app on my iPad, and I got this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~/Code/flutter/examples/material_gallery[master*] $ flutter -d ipad run Running 'pub get' in /Users/sethladd/Code/flutter/examples/material_gallery/... Uploading .generated package contents... DONE. Installing '(null)' - CreatingStagingDirectory (5%) - ExtractingPackage (15%) - InspectingPackage (20%) - Error occurred: PackageInspectionFailed Running lib/main.dart on iPad... Unzipping Xcode project to local directory... Xcode project created in /Users/sethladd/Code/flutter/examples/material_gallery/ios/. [....] Waiting for iOS device to be connected [....] Using J81AP 'iPad' (b0f7081e6f02d7e3b573bf6afcb64e61ed8b86bb). ------ Install phase ------ [ 0%] Found J81AP 'iPad' (b0f7081e6f02d7e3b573bf6afcb64e61ed8b86bb) connected through USB, beginning install [ 5%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/META-INF/ to device [ 5%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/META-INF/com.apple.ZipMetadata.plist to device [ 6%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/_CodeSignature/ to device [ 6%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/_CodeSignature/CodeResources to device [ 7%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 8%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29@2x~ipad.png to device [ 8%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 9%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29~ipad.png to device [ 10%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 10%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40@2x~ipad.png to device [ 11%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 12%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40~ipad.png to device [ 12%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 13%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 14%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon76x76@2x~ipad.png to device [ 14%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon76x76~ipad.png to device [ 15%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon83.5x83.5@2x~ipad.png to device [ 16%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/embedded.mobileprovision to device [ 17%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/ to device [ 17%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/ to device [ 18%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/_CodeSignature/ to device [ 19%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/_CodeSignature/CodeResources to device [ 19%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/app.flx to device [ 24%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/FlutterApplication to device [ 33%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/Info.plist to device [ 33%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/icudtl.dat to device [ 37%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Info.plist to device [ 37%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/ to device [ 38%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib to device [ 39%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/Info.plist to device [ 39%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib to device [ 40%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/PkgInfo to device [ 40%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Runner to device [ 49%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/ServiceDefinitions.json to device [ 52%] CreatingStagingDirectory [ 57%] ExtractingPackage [ 60%] InspectingPackage [ 60%] TakingInstallLock [ 65%] PreflightingApplication [ 65%] InstallingEmbeddedProfile [ 70%] VerifyingApplication 2016-03-28 10:56:42.066 ios-deploy[34409:491933] [ !! ] Error 0xe8008015: ·ú7zˇˇ AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0) Could not install ios/.generated/build/Release-iphoneos/Runner.app on b0f7081e6f02d7e3b573bf6afcb64e61ed8b86bb. Error running application on iPad."><pre class="notranslate"><code class="notranslate">~/Code/flutter/examples/material_gallery[master*] $ flutter -d ipad run Running 'pub get' in /Users/sethladd/Code/flutter/examples/material_gallery/... Uploading .generated package contents... DONE. Installing '(null)' - CreatingStagingDirectory (5%) - ExtractingPackage (15%) - InspectingPackage (20%) - Error occurred: PackageInspectionFailed Running lib/main.dart on iPad... Unzipping Xcode project to local directory... Xcode project created in /Users/sethladd/Code/flutter/examples/material_gallery/ios/. [....] Waiting for iOS device to be connected [....] Using J81AP 'iPad' (b0f7081e6f02d7e3b573bf6afcb64e61ed8b86bb). ------ Install phase ------ [ 0%] Found J81AP 'iPad' (b0f7081e6f02d7e3b573bf6afcb64e61ed8b86bb) connected through USB, beginning install [ 5%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/META-INF/ to device [ 5%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/META-INF/com.apple.ZipMetadata.plist to device [ 6%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/_CodeSignature/ to device [ 6%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/_CodeSignature/CodeResources to device [ 7%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 8%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29@2x~ipad.png to device [ 8%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 9%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon29x29~ipad.png to device [ 10%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 10%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40@2x~ipad.png to device [ 11%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 12%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon40x40~ipad.png to device [ 12%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 13%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/[email protected] to device [ 14%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon76x76@2x~ipad.png to device [ 14%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon76x76~ipad.png to device [ 15%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/AppIcon83.5x83.5@2x~ipad.png to device [ 16%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/embedded.mobileprovision to device [ 17%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/ to device [ 17%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/ to device [ 18%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/_CodeSignature/ to device [ 19%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/_CodeSignature/CodeResources to device [ 19%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/app.flx to device [ 24%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/FlutterApplication to device [ 33%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Frameworks/FlutterApplication.framework/Info.plist to device [ 33%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/icudtl.dat to device [ 37%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Info.plist to device [ 37%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/ to device [ 38%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib to device [ 39%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/Info.plist to device [ 39%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib to device [ 40%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/PkgInfo to device [ 40%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/Runner to device [ 49%] Copying /Users/sethladd/Code/flutter/examples/material_gallery/ios/.generated/build/Release-iphoneos/Runner.app/ServiceDefinitions.json to device [ 52%] CreatingStagingDirectory [ 57%] ExtractingPackage [ 60%] InspectingPackage [ 60%] TakingInstallLock [ 65%] PreflightingApplication [ 65%] InstallingEmbeddedProfile [ 70%] VerifyingApplication 2016-03-28 10:56:42.066 ios-deploy[34409:491933] [ !! ] Error 0xe8008015: ·ú7zˇˇ AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0) Could not install ios/.generated/build/Release-iphoneos/Runner.app on b0f7081e6f02d7e3b573bf6afcb64e61ed8b86bb. Error running application on iPad. </code></pre></div>
<p dir="auto">Can we suggest to the user what to do to recover from this error? I'm not sure what to do now. Thanks for any tips!</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~/Code/flutter/examples/flutter_gallery[master] $ flutter --version Flutter • channel master • [email protected]:flutter/flutter.git Framework • revision 99a9bbbe7c (27 minutes ago) • 2016-09-08 12:14:24 Engine • revision d3ba01d8a4 Tools • Dart 1.19.0-dev.5.0"><pre class="notranslate"><code class="notranslate">~/Code/flutter/examples/flutter_gallery[master] $ flutter --version Flutter • channel master • [email protected]:flutter/flutter.git Framework • revision 99a9bbbe7c (27 minutes ago) • 2016-09-08 12:14:24 Engine • revision d3ba01d8a4 Tools • Dart 1.19.0-dev.5.0 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~/Code/flutter/examples/flutter_gallery[master] $ flutter run --release Running lib/main.dart on iPhone... ** BUILD FAILED ** The following build commands failed: Check dependencies (1 failure) Build settings from command line: ARCHS = arm64 ONLY_ACTIVE_ARCH = YES SDKROOT = iphoneos9.3 === CLEAN TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release === Check dependencies [BEROR]Code Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found. Clean.Remove clean /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app builtin-rm -rf /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app Clean.Remove clean /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Runner.build/Release-iphoneos/Runner.build builtin-rm -rf /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Runner.build/Release-iphoneos/Runner.build Clean.Remove clean /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app.dSYM builtin-rm -rf /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app.dSYM ** CLEAN SUCCEEDED ** === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release === Check dependencies Code Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found. Could not build the precompiled application for the device. Error running application on iPhone."><pre class="notranslate"><code class="notranslate">~/Code/flutter/examples/flutter_gallery[master] $ flutter run --release Running lib/main.dart on iPhone... ** BUILD FAILED ** The following build commands failed: Check dependencies (1 failure) Build settings from command line: ARCHS = arm64 ONLY_ACTIVE_ARCH = YES SDKROOT = iphoneos9.3 === CLEAN TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release === Check dependencies [BEROR]Code Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found. Clean.Remove clean /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app builtin-rm -rf /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app Clean.Remove clean /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Runner.build/Release-iphoneos/Runner.build builtin-rm -rf /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Runner.build/Release-iphoneos/Runner.build Clean.Remove clean /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app.dSYM builtin-rm -rf /Users/sethladd/Code/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/Runner.app.dSYM ** CLEAN SUCCEEDED ** === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release === Check dependencies Code Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found. Could not build the precompiled application for the device. Error running application on iPhone. </code></pre></div>
1
<p dir="auto">This compiles</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn func(){} fn main(){ run(func); run(func); } fn run&lt;T&gt;(f: T) where T: Fn() + Copy{ f(); }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">func</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">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-en">run</span><span class="pl-kos">(</span>func<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">run</span><span class="pl-kos">(</span>func<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">run</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">f</span><span class="pl-kos">:</span> <span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-k">where</span> <span class="pl-smi">T</span><span class="pl-kos">:</span> <span class="pl-smi">Fn</span><span class="pl-kos">(</span><span class="pl-kos">)</span> + <span class="pl-smi">Copy</span><span class="pl-kos">{</span> <span class="pl-en">f</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">but this does not (<a href="http://is.gd/TidLCG" rel="nofollow">playground</a>)</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn func(){} fn main(){ run(func); run(func); } fn run&lt;T&gt;(f: T) where T: Fn() + Clone{ f(); }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">func</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">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-en">run</span><span class="pl-kos">(</span>func<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">run</span><span class="pl-kos">(</span>func<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">run</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">f</span><span class="pl-kos">:</span> <span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-k">where</span> <span class="pl-smi">T</span><span class="pl-kos">:</span> <span class="pl-smi">Fn</span><span class="pl-kos">(</span><span class="pl-kos">)</span> + <span class="pl-smi">Clone</span><span class="pl-kos">{</span> <span class="pl-en">f</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">The only difference is the bounds on T. The Copy trait requires that the Clone trait is also implemented, so I believe both of these should compile.</p>
<p dir="auto">Ran into another bug today, unfortunately the compiler doesn’t tell me any more than this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'no entry found for key', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:329 stack backtrace: 1: 0x10ecf3d4c - sys::backtrace::write::ha6579a44c93c5b13weu 2: 0x10ed17c8f - failure::on_fail::hf4fc7d467c56f479rdB 3: 0x10ec81bee - rt::unwind::begin_unwind_inner::h1798f590d33010eenVA 4: 0x10ec822fa - rt::unwind::begin_unwind_fmt::hccfdf16b93d72dd3TTA 5: 0x10ed1776e - rust_begin_unwind 6: 0x10ed63f54 - panicking::panic_fmt::ha0a5c3fa6a3e8d87TQv 7: 0x10ba43fbf - astconv::ast_ty_to_ty::unboxed_closure.30766 8: 0x10b9de9d6 - astconv::ast_ty_to_ty::h2710260cb7deea76ujt 9: 0x10ba6cfab - collect::ty_generics::hda890650500761b6lqv 10: 0x10ba50ee4 - collect::trait_def_of_item::ha27c345daf14c8a6i1u 11: 0x10ba4fd4f - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::h84d53113dbbda134Ldu 12: 0x10ba4ff7f - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::h84d53113dbbda134Ldu 13: 0x10ba8e82f - check_crate::unboxed_closure.31904 14: 0x10ba8c971 - check_crate::he5dc8ed100b8048eYMy 15: 0x10b483c4e - driver::phase_3_run_analysis_passes::h094520913aa775afVFa 16: 0x10b46ac36 - driver::compile_input::h385f7696c25beae6Bba 17: 0x10b529826 - run_compiler::he16877a561eaef1dR8b 18: 0x10b526b73 - thunk::F.Invoke&lt;A, R&gt;::invoke::h6774480594258817770 19: 0x10b5259d8 - rt::unwind::try::try_fn::h5509419198239539026 20: 0x10ed8d3a9 - rust_try_inner 21: 0x10ed8d396 - rust_try 22: 0x10b526016 - thunk::F.Invoke&lt;A, R&gt;::invoke::h1573488770652611368 23: 0x10ed03611 - sys::thread::thread_start::h4a3cbd9668f8d1c3K6w 24: 0x7fff88ea52fc - _pthread_body 25: 0x7fff88ea5279 - _pthread_body"><pre class="notranslate"><code class="notranslate">error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'no entry found for key', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:329 stack backtrace: 1: 0x10ecf3d4c - sys::backtrace::write::ha6579a44c93c5b13weu 2: 0x10ed17c8f - failure::on_fail::hf4fc7d467c56f479rdB 3: 0x10ec81bee - rt::unwind::begin_unwind_inner::h1798f590d33010eenVA 4: 0x10ec822fa - rt::unwind::begin_unwind_fmt::hccfdf16b93d72dd3TTA 5: 0x10ed1776e - rust_begin_unwind 6: 0x10ed63f54 - panicking::panic_fmt::ha0a5c3fa6a3e8d87TQv 7: 0x10ba43fbf - astconv::ast_ty_to_ty::unboxed_closure.30766 8: 0x10b9de9d6 - astconv::ast_ty_to_ty::h2710260cb7deea76ujt 9: 0x10ba6cfab - collect::ty_generics::hda890650500761b6lqv 10: 0x10ba50ee4 - collect::trait_def_of_item::ha27c345daf14c8a6i1u 11: 0x10ba4fd4f - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::h84d53113dbbda134Ldu 12: 0x10ba4ff7f - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::h84d53113dbbda134Ldu 13: 0x10ba8e82f - check_crate::unboxed_closure.31904 14: 0x10ba8c971 - check_crate::he5dc8ed100b8048eYMy 15: 0x10b483c4e - driver::phase_3_run_analysis_passes::h094520913aa775afVFa 16: 0x10b46ac36 - driver::compile_input::h385f7696c25beae6Bba 17: 0x10b529826 - run_compiler::he16877a561eaef1dR8b 18: 0x10b526b73 - thunk::F.Invoke&lt;A, R&gt;::invoke::h6774480594258817770 19: 0x10b5259d8 - rt::unwind::try::try_fn::h5509419198239539026 20: 0x10ed8d3a9 - rust_try_inner 21: 0x10ed8d396 - rust_try 22: 0x10b526016 - thunk::F.Invoke&lt;A, R&gt;::invoke::h1573488770652611368 23: 0x10ed03611 - sys::thread::thread_start::h4a3cbd9668f8d1c3K6w 24: 0x7fff88ea52fc - _pthread_body 25: 0x7fff88ea5279 - _pthread_body </code></pre></div> <p dir="auto">I managed to reproduce the issue with this snippet: <a href="http://is.gd/yUKE00" rel="nofollow">http://is.gd/yUKE00</a></p> <p dir="auto">This is the output from <code class="notranslate">rustc --verbose --version</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 1.0.0-nightly (4e4e8cff1 2015-01-24 22:14:14 +0000) binary: rustc commit-hash: 4e4e8cff1697ec79bcd0a1e45e63fb2f54a7ea28 commit-date: 2015-01-24 22:14:14 +0000 host: x86_64-apple-darwin release: 1.0.0-nightly"><pre class="notranslate"><code class="notranslate">rustc 1.0.0-nightly (4e4e8cff1 2015-01-24 22:14:14 +0000) binary: rustc commit-hash: 4e4e8cff1697ec79bcd0a1e45e63fb2f54a7ea28 commit-date: 2015-01-24 22:14:14 +0000 host: x86_64-apple-darwin release: 1.0.0-nightly </code></pre></div>
0
<ul dir="auto"> <li>Electron Version: 2.0.6</li> <li>Operating System (Platform and Version): Windows</li> <li>Last known working Electron version: Unknown</li> </ul> <p dir="auto"><strong>Expected Behavior</strong><br> Using the <code class="notranslate">navigator.geolocation.getCurrentPosition</code> method, it should return a success and a position<br> object which contains a coords object. When I access it using a browser, it works as expected, using the same code but on chrome (Version 68.0.3440.84) instead of the electron application it works as expected. It does not work on my Electron application.</p> <p dir="auto"><strong>Actual behavior</strong><br> The error function gets called and I receive the following error: { Code: 2, Message: "Network location provider at '<a href="https://www.googleapis.com/" rel="nofollow">https://www.googleapis.com/</a>' : Returned error code 403" }. Code 2 meaning POSITION_UNAVAILABLE.</p> <p dir="auto"><strong>To Reproduce</strong><br> The error can be reproduced at this repo: <a href="https://github.com/garthtee/the-weather.git">https://github.com/garthtee/the-weather.git</a>. Commit 94e3e290ce2d7ae5f6ab0c7e171fd972bf2b4394.</p> <p dir="auto">Setup my repo:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Install dependencies $ npm install # Serve with hot reload at localhost:8080 $ npm run dev-server # Start the electron applcation $ npm run dev-app"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> Install dependencies</span> $ npm install <span class="pl-c"><span class="pl-c">#</span> Serve with hot reload at localhost:8080</span> $ npm run dev-server <span class="pl-c"><span class="pl-c">#</span> Start the electron applcation</span> $ npm run dev-app</pre></div>
<ul dir="auto"> <li>Electron version: v1.6.6</li> <li>Operating system: OSX</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Return the position object usually return by <code class="notranslate">navigator.geolocation.getCurrentPosition</code></p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Nothing is returned, yet this works on a regular chrome browser</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">this code in my <code class="notranslate">index.html</code> file</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function initMap() { let location; if(&quot;geolocation&quot; in navigator) { console.log('Location services available') navigator.geolocation.getCurrentPosition(function(position) { console.log(position) location = { lat: position.coords.latitude, lng: position.coords.longitude } console.log(location) let map = new google.maps.Map(document.getElementById('map'), { center: location, scrollwheel: false, zoom: 7 }); }); } else { document.getElementById('status').innerHTML = &quot;Location Services not available!&quot; return 0 } }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">initMap</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">location</span><span class="pl-kos">;</span> <span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s">"geolocation"</span> <span class="pl-k">in</span> <span class="pl-s1">navigator</span><span class="pl-kos">)</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">'Location services available'</span><span class="pl-kos">)</span> <span class="pl-s1">navigator</span><span class="pl-kos">.</span><span class="pl-c1">geolocation</span><span class="pl-kos">.</span><span class="pl-en">getCurrentPosition</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">position</span><span class="pl-kos">)</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-s1">position</span><span class="pl-kos">)</span> <span class="pl-s1">location</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">lat</span>: <span class="pl-s1">position</span><span class="pl-kos">.</span><span class="pl-c1">coords</span><span class="pl-kos">.</span><span class="pl-c1">latitude</span><span class="pl-kos">,</span> <span class="pl-c1">lng</span>: <span class="pl-s1">position</span><span class="pl-kos">.</span><span class="pl-c1">coords</span><span class="pl-kos">.</span><span class="pl-c1">longitude</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-s1">location</span><span class="pl-kos">)</span> <span class="pl-k">let</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-s1">google</span><span class="pl-kos">.</span><span class="pl-c1">maps</span><span class="pl-kos">.</span><span class="pl-c1">Map</span><span class="pl-kos">(</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">'map'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">center</span>: <span class="pl-s1">location</span><span class="pl-kos">,</span> <span class="pl-c1">scrollwheel</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c1">zoom</span>: <span class="pl-c1">7</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-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</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">'status'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">innerHTML</span> <span class="pl-c1">=</span> <span class="pl-s">"Location Services not available!"</span> <span class="pl-k">return</span> <span class="pl-c1">0</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">I have forked the quick start and added geolocation code, same set up to run: <a href="https://github.com/Vikaton/electron-quick-start">https://github.com/Vikaton/electron-quick-start</a></p> <p dir="auto">Am I missing something? Thanks!</p>
1
<p dir="auto">Describe what you were doing when the bug occurred:</p> <ol dir="auto"> <li>Moving in next commits in Profiler dev tool in Ranked chart mode</li> </ol> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.2.1-3816ae7c3</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157108<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157054)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157577)<br> at vl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314907)<br> at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)<br> at el (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:68139)<br> at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:108547)<br> at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)<br> at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)</p> <p dir="auto">Component stack: in vl<br> in div<br> in div<br> in div<br> in wo<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Li<br> in $e<br> in dn<br> in Ca<br> in Pc</p>
<p dir="auto">PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE</p> <p dir="auto">I got this error when I click 'Ranked'.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.0.4-3c6a219</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)<br> at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)<br> at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br> at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)<br> at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br> at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363</p> <p dir="auto">Component stack: in _i<br> in div<br> in div<br> in div<br> in Or<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Ha<br> in le<br> in ve<br> in ko<br> in Ul</p>
1
<ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">zypper_module</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.1.0"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <h5 dir="auto">SUMMARY</h5> <p dir="auto">I have in a role a tasks/main.yml which contains:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" - include: library/setup_packages.yml vars: pkg: &quot;{{ item }}&quot; state: present with_items: - &quot;{{ wanted_packages | default([]) }}&quot; tags: - packages"><pre class="notranslate"> - <span class="pl-ent">include</span>: <span class="pl-s">library/setup_packages.yml</span> <span class="pl-ent">vars</span>: <span class="pl-ent">pkg</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ item }}<span class="pl-pds">"</span></span> <span class="pl-ent">state</span>: <span class="pl-s">present</span> <span class="pl-ent">with_items</span>: - <span class="pl-s"><span class="pl-pds">"</span>{{ wanted_packages | default([]) }}<span class="pl-pds">"</span></span> <span class="pl-ent">tags</span>: - <span class="pl-s">packages</span></pre></div> <p dir="auto">and a library/setup_packages.yml which contains:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- - debug: msg: &quot;{{ pkg }} -&gt; {{ state }}&quot; - zypper: pkg: &quot;{{ pkg }}&quot; state: &quot;{{ state }}&quot;"><pre class="notranslate">--- - <span class="pl-ent">debug</span>: <span class="pl-ent">msg</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ pkg }} -&gt; {{ state }}<span class="pl-pds">"</span></span> - <span class="pl-ent">zypper</span>: <span class="pl-ent">pkg</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ pkg }}<span class="pl-pds">"</span></span> <span class="pl-ent">state</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ state }}<span class="pl-pds">"</span></span></pre></div> <p dir="auto">When I call this with a list wanted_packages like this:<br> wanted_packages:</p> <ul dir="auto"> <li>rlwrap=0.37-2.1</li> </ul> <p dir="auto">This fails for me because there are two versions of rlwrap in the repository directory. Only the older one is installable in my context. So I tried to set a specific version. But the zypper module generates a commandline with both "rlwrap=0.37-2.1" AND "rlwrap" which leads into a failure.<br> The output is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [oracle : debug] ********************************************************** ok: [hhlokora12-tpl] =&gt; { &quot;msg&quot;: &quot;rlwrap=0.37-2.1 -&gt; present&quot; } TASK [oracle : zypper] ********************************************************* fatal: [hhlokora12-tpl]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;cmd&quot;: [&quot;/usr/bin/zypper&quot;, &quot;--quiet&quot;, &quot;--non-interactive&quot;, &quot;--xmlout&quot;, &quot;install&quot;, &quot;--type&quot;, &quot;package&quot;, &quot;--auto-agree-with-licenses&quot;, &quot;--no-recommends&quot;, &quot;--oldpackage&quot;, &quot;--&quot;, &quot;rlwrap=0.37-2.1&quot;, &quot;rlwrap&quot;], &quot;failed&quot;: true, &quot;msg&quot;: &quot;Zypper run command failed with return code 4.&quot;, &quot;rc&quot;: 4, &quot;stderr&quot;: &quot;&quot;, &quot;stdout&quot;: &quot;&lt;?xml version='1.0'?&gt;\n&lt;stream&gt;\n&lt;prompt id=\&quot;1\&quot;&gt;\n&lt;description&gt;Problem: nothing provides libreadline.so.5()(64bit) needed by rlwrap-0.42-24.1.x86_64\n Solution 1: do not install rlwrap-0.42-24.1.x86_64\n Solution 2: break rlwrap-0.42-24.1.x86_64 by ignoring some of its dependencies\n&lt;/description&gt;\n&lt;text&gt;Choose from above solutions by number or cancel&lt;/text&gt;\n&lt;option value=\&quot;1\&quot; desc=\&quot;\&quot;/&gt;\n&lt;option value=\&quot;2\&quot; desc=\&quot;\&quot;/&gt;\n&lt;option default=\&quot;1\&quot; value=\&quot;c\&quot; desc=\&quot;\&quot;/&gt;\n&lt;/prompt&gt;\n&lt;/stream&gt;\n&quot;, &quot;stdout_lines&quot;: [&quot;&lt;?xml version='1.0'?&gt;&quot;, &quot;&lt;stream&gt;&quot;, &quot;&lt;prompt id=\&quot;1\&quot;&gt;&quot;, &quot;&lt;description&gt;Problem: nothing provides libreadline.so.5()(64bit) needed by rlwrap-0.42-24.1.x86_64&quot;, &quot; Solution 1: do not install rlwrap-0.42-24.1.x86_64&quot;, &quot; Solution 2: break rlwrap-0.42-24.1.x86_64 by ignoring some of its dependencies&quot;, &quot;&lt;/description&gt;&quot;, &quot;&lt;text&gt;Choose from above solutions by number or cancel&lt;/text&gt;&quot;, &quot;&lt;option value=\&quot;1\&quot; desc=\&quot;\&quot;/&gt;&quot;, &quot;&lt;option value=\&quot;2\&quot; desc=\&quot;\&quot;/&gt;&quot;, &quot;&lt;option default=\&quot;1\&quot; value=\&quot;c\&quot; desc=\&quot;\&quot;/&gt;&quot;, &quot;&lt;/prompt&gt;&quot;, &quot;&lt;/stream&gt;&quot;]}"><pre class="notranslate"><code class="notranslate">TASK [oracle : debug] ********************************************************** ok: [hhlokora12-tpl] =&gt; { "msg": "rlwrap=0.37-2.1 -&gt; present" } TASK [oracle : zypper] ********************************************************* fatal: [hhlokora12-tpl]: FAILED! =&gt; {"changed": false, "cmd": ["/usr/bin/zypper", "--quiet", "--non-interactive", "--xmlout", "install", "--type", "package", "--auto-agree-with-licenses", "--no-recommends", "--oldpackage", "--", "rlwrap=0.37-2.1", "rlwrap"], "failed": true, "msg": "Zypper run command failed with return code 4.", "rc": 4, "stderr": "", "stdout": "&lt;?xml version='1.0'?&gt;\n&lt;stream&gt;\n&lt;prompt id=\"1\"&gt;\n&lt;description&gt;Problem: nothing provides libreadline.so.5()(64bit) needed by rlwrap-0.42-24.1.x86_64\n Solution 1: do not install rlwrap-0.42-24.1.x86_64\n Solution 2: break rlwrap-0.42-24.1.x86_64 by ignoring some of its dependencies\n&lt;/description&gt;\n&lt;text&gt;Choose from above solutions by number or cancel&lt;/text&gt;\n&lt;option value=\"1\" desc=\"\"/&gt;\n&lt;option value=\"2\" desc=\"\"/&gt;\n&lt;option default=\"1\" value=\"c\" desc=\"\"/&gt;\n&lt;/prompt&gt;\n&lt;/stream&gt;\n", "stdout_lines": ["&lt;?xml version='1.0'?&gt;", "&lt;stream&gt;", "&lt;prompt id=\"1\"&gt;", "&lt;description&gt;Problem: nothing provides libreadline.so.5()(64bit) needed by rlwrap-0.42-24.1.x86_64", " Solution 1: do not install rlwrap-0.42-24.1.x86_64", " Solution 2: break rlwrap-0.42-24.1.x86_64 by ignoring some of its dependencies", "&lt;/description&gt;", "&lt;text&gt;Choose from above solutions by number or cancel&lt;/text&gt;", "&lt;option value=\"1\" desc=\"\"/&gt;", "&lt;option value=\"2\" desc=\"\"/&gt;", "&lt;option default=\"1\" value=\"c\" desc=\"\"/&gt;", "&lt;/prompt&gt;", "&lt;/stream&gt;"]} </code></pre></div> <p dir="auto">Why is it expanding to both?<br> If it is needed a switch like exact_version or so which leads only to the specific version would be nice.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"> </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.0.1.0 config file = /home/ansible/.ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.0.1.0 config file = /home/ansible/.ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Trying to delete multiple files</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Cleanup install scripts and binaries file: path={{ target_path }}/xxx.bin state=absent file: path={{ target_path }}/yyy.ksh state=absent file: path={{ target_path }}/zzz state=absent "><pre class="notranslate"><code class="notranslate">- name: Cleanup install scripts and binaries file: path={{ target_path }}/xxx.bin state=absent file: path={{ target_path }}/yyy.ksh state=absent file: path={{ target_path }}/zzz state=absent </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Able to delete multiple files</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="only one of the three files are removed."><pre class="notranslate"><code class="notranslate">only one of the three files are removed. </code></pre></div> <p dir="auto">I have done some deep googling with little success</p> <p dir="auto">Thanks</p>
0
<p dir="auto">How to fix the bug right click in navbar (disapear) in firefox ?</p> <p dir="auto">Replace this code in line 142 in file dropdown.js:</p> <p dir="auto">Old code:<br> .on('click.bs.dropdown.data-api', clearMenus)</p> <p dir="auto">New code:<br> .on('click.bs.dropdown.data-api', function(e) { if (e.button ===2) clearMenus }) //GA: Fix bug right click in FF</p>
<p dir="auto">I have some kind of problem with twitter-bootstrap and firefox. I have a dropdown menu. If I click on the menu and right click on its submenu, firefox closes the dropdown. Thats how user cannot open the sub menus in new tab.</p>
1
<ul dir="auto"> <li>[*] 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.7</li> <li>Operating System version: MacOS</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Codes</h3> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" public URL toUrl() { String address = this.getAddress(); if (StringUtils.isEmpty(address)) { return null; } Map&lt;String, String&gt; map = new HashMap&lt;String, String&gt;(); appendParameters(map, this); if (!StringUtils.isEmpty(address)) { URL url = URL.valueOf(address); map.put(&quot;metadata&quot;, url.getProtocol()); return new URL(&quot;metadata&quot;, url.getUsername(), url.getPassword(), url.getHost(), url.getPort(), url.getPath(), map); } throw new IllegalArgumentException(&quot;The address of metadata report is invalid.&quot;); }"><pre class="notranslate"> <span class="pl-k">public</span> <span class="pl-smi">URL</span> <span class="pl-s1">toUrl</span>() { <span class="pl-smi">String</span> <span class="pl-s1">address</span> = <span class="pl-smi">this</span>.<span class="pl-en">getAddress</span>(); <span class="pl-k">if</span> (<span class="pl-smi">StringUtils</span>.<span class="pl-en">isEmpty</span>(<span class="pl-s1">address</span>)) { <span class="pl-k">return</span> <span class="pl-c1">null</span>; } <span class="pl-smi">Map</span>&lt;<span class="pl-smi">String</span>, <span class="pl-smi">String</span>&gt; <span class="pl-s1">map</span> = <span class="pl-k">new</span> <span class="pl-smi">HashMap</span>&lt;<span class="pl-smi">String</span>, <span class="pl-smi">String</span>&gt;(); <span class="pl-en">appendParameters</span>(<span class="pl-s1">map</span>, <span class="pl-smi">this</span>); <span class="pl-k">if</span> (!<span class="pl-smi">StringUtils</span>.<span class="pl-en">isEmpty</span>(<span class="pl-s1">address</span>)) { <span class="pl-smi">URL</span> <span class="pl-s1">url</span> = <span class="pl-smi">URL</span>.<span class="pl-en">valueOf</span>(<span class="pl-s1">address</span>); <span class="pl-s1">map</span>.<span class="pl-en">put</span>(<span class="pl-s">"metadata"</span>, <span class="pl-s1">url</span>.<span class="pl-en">getProtocol</span>()); <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">URL</span>(<span class="pl-s">"metadata"</span>, <span class="pl-s1">url</span>.<span class="pl-en">getUsername</span>(), <span class="pl-s1">url</span>.<span class="pl-en">getPassword</span>(), <span class="pl-s1">url</span>.<span class="pl-en">getHost</span>(), <span class="pl-s1">url</span>.<span class="pl-en">getPort</span>(), <span class="pl-s1">url</span>.<span class="pl-en">getPath</span>(), <span class="pl-s1">map</span>); } <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">IllegalArgumentException</span>(<span class="pl-s">"The address of metadata report is invalid."</span>); }</pre></div> <p dir="auto">原因:创建元数据中心地址没有保留源address上的namespace参数</p>
<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/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"> 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: 3.5.2</li> <li>Operating System version: linux</li> <li>Java version:java 8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>dubbo管理后台,先选中一个服务提供者,选择半权</li> <li>在权重调节的标签下可以看到上一步设置的半权</li> <li>点击编辑,设定权重值,保存后,只剩下提供者的ip,端口号丢失</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">正常调节权重</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</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="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">The standard OSX mouse pointer for editing text is a <strong>very</strong> similar color to the editor's background, sometimes making it really hard to see where the pointer is. Maybe allowing default Atom themed mouse pointer sets would be a good idea.</p> <hr> <p dir="auto">Atom Version: 0.115.0<br> OS Version: OSX 10.9.4</p>
<p dir="auto">The I-bar cursor is currently always black in Atom. This makes it very hard to track when using a theme with a dark background. Sublime inverts this cursor when you're using a dark theme... and it's quite wonderful. I'd love if Atom did this too.</p> <p dir="auto">I don't think you can take a screenshot of the cursor, so here's some crazy photos. Top is Atom, bottom is Sublime. Both are using a dark solarized theme.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9b92a9d385588511325be2f11523756628e129800aab457b4571607bd82d24be/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3730362f323330303536372f39353737313638342d613066612d313165332d383335312d3838313430316537613637322e6a7067"><img src="https://camo.githubusercontent.com/9b92a9d385588511325be2f11523756628e129800aab457b4571607bd82d24be/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3730362f323330303536372f39353737313638342d613066612d313165332d383335312d3838313430316537613637322e6a7067" alt="2014-02-28 21 30 32" data-canonical-src="https://f.cloud.github.com/assets/706/2300567/95771684-a0fa-11e3-8351-881401e7a672.jpg" style="max-width: 100%;"></a></p>
1
<p dir="auto">It appears as though the user-agent header that Symfony2 BrowserKit sets is incorrect. I've been bashing my head against Behat for a few hours trying to test against a site running an IIS6 server (fails with IIS7 as well).</p> <p dir="auto">The server responds with:<br> HTTP/1.1 400 Bad Request (Invalid Header Name) and returns no body.</p> <p dir="auto">I did a tshark to observe the headers:</p> <p dir="auto">Hypertext Transfer Protocol<br> GET / HTTP/1.1\r\n<br> [Expert Info (Chat/Sequence): GET / HTTP/1.1\r\n]<br> [Message: GET / HTTP/1.1\r\n]<br> [Severity level: Chat]<br> [Group: Sequence]<br> Request Method: GET<br> Request URI: /<br> Request Version: HTTP/1.1<br> User-Agent: Guzzle/3.3.0 curl/7.24.0 PHP/5.3.15\r\n<br> User-agent: Symfony2 BrowserKit\r\n<br> Host: ******\r\n<br> \r\n</p> <p dir="auto">I do not believe that the "User-agent" header declaration is valid. I believe that it should be User-Agent, instead (capital "A"). I'm not sure if multiple User-Agent fields are allowed, either. Thoughts?</p>
<p dir="auto">Current state of collections mapping is not flexible and make a lot of troubles.</p> <p dir="auto">In SF 2.0 if user sets by_reference property to false, setter for collection was called, e.g. setItems().<br> Now (SF 2.1) if object have method addItem(), this method is called.</p> <p dir="auto">Lets take example with ordered items, e.g. gallery images.<br> User changes they order in UI and script have to reorder them in DB. To do so setImages() method should be used, but class contains also addImage() method, which is used instead and breaks the logic.</p> <p dir="auto">There should be an option to disable individual setter usage, when by_reference is set to false.</p>
0
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.): No</p> <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): kubeadm defaults</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br> BUG REPORT</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br> v1.4.3</p> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: N/A</li> <li><strong>OS</strong> (e.g. from /etc/os-release): N/A</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): N/A</li> <li><strong>Install tools</strong>: kubeadm</li> <li><strong>Others</strong>: N/A</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> Using <code class="notranslate">kubeadm init --config /path/to/config.yml</code> appears to block default values from being set. I first noticed it where a pre-flight check of the Servicer CIDR was presenting itself as an empty string although I had not set it through the command line flag nor in the config file. I also noticed that kubelet requests to the API server were being sent to port 0 as the API server default port had not been set.</p> <p dir="auto"><strong>What you expected to happen</strong>:<br> A config file should only override defaults, not make it so that no defaults are set.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br> Use <code class="notranslate">kubeadm init --config /path/to/config.yml</code> with an appropriate configuration file that does not set the service CIDR, for example, and note that pre-flight checks will fail due to the default values not being set.</p> <p dir="auto"><strong>Anything else do we need to know</strong>:<br> A temporary workaround is to explicitly set all values to their defaults or the value you desire.</p>
<p dir="auto">Compilation error in pkg/util/mount/mount_unsupported.go. GetDeviceNameFromMount declared twice. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171543127" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30724" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/30724/hovercard" href="https://github.com/kubernetes/kubernetes/pull/30724">#30724</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171293778" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30666" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/30666/hovercard" href="https://github.com/kubernetes/kubernetes/pull/30666">#30666</a> are duplicates and one of them need to be reverted. (build is disabled for linux, that's why both of them got in)</p>
0
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">Sometimes when I have links they don't want to load in my dev environment. However when it's on the cloud it works fine. I'm not sure why.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Don't really know what steps I can do. Sometime's it works, sometime's it doesn't. If I refresh the page in a new tab, it will work as expected.</p> <p dir="auto"><code class="notranslate">&lt;Link href="/config/link"&gt;&lt;a&gt;Text Here&lt;/a&gt;&lt;/Link&gt;</code></p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">For it to go to it's respected link.</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: macOS</li> <li>Browser: safari</li> <li>Version of Next.js: <code class="notranslate">"next": "^7.0.2",</code></li> </ul>
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">Either <code class="notranslate">Link</code> or <code class="notranslate">Router</code> stops working when doing client side routing. It seems that HMR may be interrupting the transition between pages. It occurs most frequently if the app is left idle or in the background for a bit of time (although I have experienced it happening whilst clicking around without it being idle)</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>Clone this repo (<a href="https://github.com/malimccalla/next-routing-issue">https://github.com/malimccalla/next-routing-issue</a>)</li> <li>Install dependencies <code class="notranslate">npm install</code></li> <li>Run the server <code class="notranslate">npm run dev</code></li> <li>Visit all pages by clicking the links</li> <li>Go make a coffee (leave page idle for ~2mins)</li> <li>Attempt to visit all pages by clicking the links</li> <li>Certain links do not navigate to their respective page 😔</li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">I expect to be able to visit all the individual pages</p> <h2 dir="auto">Actual behaviour</h2> <p dir="auto">Page does not navigate to certain routes. Refreshing the page will fix it</p> <h2 dir="auto">Screenshots</h2> <p dir="auto">Both the "about" and "contact" links do not work (notice the HMR log on the first attempt of each route). After a page refresh they work as expected. If I leave the app idle for roughly 2mins again it will start over with the issue</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18899991/48032169-7b789980-e14e-11e8-9ec1-959cb9e54b7c.gif"><img src="https://user-images.githubusercontent.com/18899991/48032169-7b789980-e14e-11e8-9ec1-959cb9e54b7c.gif" alt="next-issue" data-animated-image="" style="max-width: 100%;"></a></p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>mac Mojave 10.14</li> <li>Chrome</li> <li>next.js v7.0.2</li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">With the console open you can see that the Router event <code class="notranslate">routeChangeStart</code> fires but <code class="notranslate">routeChangeComplete</code> never does.</p>
1
<p dir="auto">Let's say I ran</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npx playwright test --grep=@test"><pre class="notranslate"><code class="notranslate">npx playwright test --grep=@test </code></pre></div> <p dir="auto">Is there a way that I can programatically get names of all test files that are about to run, in e.g. <code class="notranslate">globalSetup</code>? Right now there's a way to do this with CLI</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npx playwright test --grep=@test --list"><pre class="notranslate"><code class="notranslate">npx playwright test --grep=@test --list </code></pre></div> <p dir="auto">But can I get this list in code, like from env variable or something?</p>
<p dir="auto">Since Playwright 1.19, the list of cases is now generated before the Global Setup (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1131426052" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/12018" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/12018/hovercard" href="https://github.com/microsoft/playwright/issues/12018">#12018</a> for more details).</p> <p dir="auto">It would be great if we could expose root <code class="notranslate">Suite</code> to the global setup - containing exactly the tests to be run.</p> <p dir="auto">This could be beneficial for use cases where we would like to run certain pre-conditions during global setup depending on the list of cases to be executed. For example: authentication setup being carried out only when cases that require it are slotted to be executed, otherwise do not authenticate.</p>
1
<p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p> <pre class="notranslate">- What does 'go version' print? go version devel +b3abbfe35b6f Thu Sep 04 23:14:21 2014 -0400 linux/amd64 - What steps reproduce the problem? This (correctly) doesn't compile: _ = map[string]string{ "aap": "noot", "aap": "mies", } With a 'duplicate key "aap" in map literal' error. This does, though: type t struct { b string } _ = map[t]string{ t{ b: "1.2.3.4", }: "probe1", t{ b: "1.2.3.5", }: "client1", t{ b: "1.2.3.5", // Duplicate! }: "client1", } Both are on <a href="http://play.golang.org/p/clJ4G8CbcQ" rel="nofollow">http://play.golang.org/p/clJ4G8CbcQ</a> - What should have happened instead? Would be great if the fancy key version also doesn't compile.</pre>
<p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p> <pre class="notranslate">What steps will reproduce the problem? When looking up description of for example bytes.Index in bytes package, clicking on the godoc HTML link takes you to the tag for index of the bytes package rather than the expected method description. Looking at HTML source for page I see duplicate use of: h2 id="index" in page for package. Windows Browser used was IE9 (9.0.8) What is the expected output? Expect to see description of func Index(s, sep []byte) int What do you see instead? Browser went to Package Index listing Which compiler are you using (5g, 6g, 8g, gccgo)? n/a Which operating system are you using? Windows 7 Which version are you using? (run 'go version') go version go1.0.2 (same behaviour on godoc for tip.golang.org) Please provide any additional information below. When looking at package to find strstr type function it wasn't immediately obvious to me bytes.Index was the one, I wonder if changing the parameter name from sep to something else (seq?) might help</pre>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=grzegorzborkowski" rel="nofollow">Grzegorz Borkowski</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7238?redirect=false" rel="nofollow">SPR-7238</a></strong> and commented</p> <p dir="auto">I run unit tests using Spring integration testing tools, that is, marking test classes with <code class="notranslate">@ContextConfiguration</code>(locations = {...}) , which implies that Spring uses the same context for all test having the same context location configuration. In the tests, I call some transactional service. Transactions are weaved during compile time with AspectJ.<br> The problem is following: as long as there is only one Spring context created during tests (all test classes using the some context location configuration, so there is only one context created), everything runs smoothly. But when one test uses different context configuration, and there are two contexts created (which should be independent from each other), transactions don't get started, and I got exception "no transaction in progress...".<br> It looks like two contexts that should be independent, actually have some impact on each other. More precisely, it works this way: tests methods based on first spring contexts pass, then test methods using second context are run, and they pass, but then another test methods using first spring context are run and they fail with "No transaction" exception. So it look like running second context spoils the first one.<br> This is serious problem for us, which makes running tests very difficult. JUnit doesn't let us decide on the order in which test methods are run, which makes this really problematic.</p> <p dir="auto">I attach simple test case as maven project, run the test and see that they fail (if they are run in order: test 1, 2, 3). If you change the second test so that is uses the same context configuration like tests 1 and 3, everything works fine. But it test 2 uses different configuration, test 3 fails.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.2</p> <p dir="auto"><strong>Reference URL:</strong> <a href="http://forum.springsource.org/showthread.php?p=301948#post301948" rel="nofollow">http://forum.springsource.org/showthread.php?p=301948#post301948</a></p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/16596/springtestcase.zip" rel="nofollow">springtestcase.zip</a> (<em>17.86 kB</em>)</li> </ul> <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="398099177" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11019" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11019/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11019">#11019</a> TestContext framework should support one AspectJ instance per ApplicationContext (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">1 votes, 3 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=phantom_john" rel="nofollow">John Wu</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6353?redirect=false" rel="nofollow">SPR-6353</a></strong> and commented</p> <h2 dir="auto">The Symptom</h2> <ul dir="auto"> <li>Each test passes when running individually;</li> <li>A few <code class="notranslate">@Transactional</code> tests may fail when running in a test suite. The failure may occur on any <code class="notranslate">@Transactional</code> test class, depending on the nondeterministic runtime tests sequence. In fact, it's quite difficult to reproduce before knowing the root cause.</li> </ul> <hr> <h2 dir="auto">Steps to Reproduce</h2> <ul dir="auto"> <li>Using Spring 2.5.6 or 3.0.0.RC1, JUnit 4;</li> <li>Create a <code class="notranslate">SimpleDbOpService</code> (may or may not annotated with <code class="notranslate">@Transactional</code>), add a method to insert a record into DB based on the input parameters;</li> <li>Create a SimpleDbOpATest:</li> </ul> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@ContextConfiguration({&quot;base.xml&quot;, &quot;A.xml&quot;})"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">ContextConfiguration</span>({<span class="pl-s">"base.xml"</span>, <span class="pl-s">"A.xml"</span>})</pre></div> <ul dir="auto"> <li>Create a SimpleDbOpBTest:</li> </ul> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@ContextConfiguration({&quot;base.xml&quot;, &quot;B.xml&quot;})"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">ContextConfiguration</span>({<span class="pl-s">"base.xml"</span>, <span class="pl-s">"B.xml"</span>})</pre></div> <ul dir="auto"> <li>Create a SimpleDbOpCTest:</li> </ul> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@ContextConfiguration({&quot;base.xml&quot;, &quot;A.xml&quot;})"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">ContextConfiguration</span>({<span class="pl-s">"base.xml"</span>, <span class="pl-s">"A.xml"</span>})</pre></div> <ul dir="auto"> <li>Each test is annotated with <code class="notranslate">@Transactional</code>, calling the <code class="notranslate">SimpleDbOpService</code> and verifying the DB operation results at the end of test method;</li> <li><code class="notranslate">&lt;tx:annotation-driven mode="aspectj"/&gt;</code> in <code class="notranslate">base.xml</code>, also add "transactionManager" definition in</li> <li>Create a test suite class as the following:</li> </ul> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" import org.junit.runner.RunWith; import org.junit.runners.Suite; @RunWith(Suite.class) @Suite.SuiteClasses({ SimpleDbOpATest.class, SimpleDbOpBTest.class, SimpleDbOpCTest.class }) public class Debug { }"><pre class="notranslate"> <span class="pl-k">import</span> <span class="pl-s1">org</span>.<span class="pl-s1">junit</span>.<span class="pl-s1">runner</span>.<span class="pl-s1">RunWith</span>; <span class="pl-k">import</span> <span class="pl-s1">org</span>.<span class="pl-s1">junit</span>.<span class="pl-s1">runners</span>.<span class="pl-s1">Suite</span>; <span class="pl-c1">@</span><span class="pl-c1">RunWith</span>(<span class="pl-smi">Suite</span>.<span class="pl-k">class</span>) <span class="pl-c1">@</span><span class="pl-smi">Suite</span>.<span class="pl-s1">SuiteClasses</span>({ <span class="pl-smi">SimpleDbOpATest</span>.<span class="pl-k">class</span>, <span class="pl-smi">SimpleDbOpBTest</span>.<span class="pl-k">class</span>, <span class="pl-smi">SimpleDbOpCTest</span>.<span class="pl-k">class</span> }) <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">Debug</span> { }</pre></div> <ul dir="auto"> <li>The tests in <code class="notranslate">SimpleDbOpCTest</code> will fail.</li> </ul> <hr> <h2 dir="auto">Root Cause</h2> <p dir="auto">In the Test Framework, it creates one instance of <code class="notranslate">ApplicationContext</code> for each "Set of context locations" and caches (and switches) the ApplicationContext instances by "context locations". Among all those <code class="notranslate">ApplicationContext</code> instances, the instance of <code class="notranslate">AnnotationTransactionAspect</code> is shared. That is, during the test suite running, there will be only one instance of <code class="notranslate">AnnotationTransactionAspect</code>, no matter how many <code class="notranslate">ApplicationContext</code> instances created.</p> <p dir="auto">A reference to <code class="notranslate">BeanFactory</code> (in spring 3.0.0.RC) or <code class="notranslate">transactionManager</code> (in spring 2.5.6) will be injected into <code class="notranslate">AnnotationTransactionAspect</code> (derived from <code class="notranslate">TransactionAspectSupport</code>) while the <code class="notranslate">ApplicationContext</code> being loaded.</p> <p dir="auto">In the example above, test A and C have the exactly same context locations, and they will share the same application context instance when running in a test suite. So, when running tests A, B, and C in a suite and in that order, the application context instance switches from A to B to A. However, the <code class="notranslate">transactionManager</code> instance (retrieved from an instance of <code class="notranslate">AnnotationTransactionAspect</code>) will be A, B, and B (<strong>should be A though</strong>), because there is only one instance of <code class="notranslate">AnnotationTransactionAspect</code> per class loader. In turn, that causes the operations in the <code class="notranslate">C.testXxx()</code> be split in to two <code class="notranslate">transactionManager</code> instances, one from <code class="notranslate">AnnotationTransactionAspect</code> and the other from <code class="notranslate">ApplicationContext</code>. Therefore, the DB result verification fails.</p> <h2 dir="auto">Proposed Solution</h2> <p dir="auto">To create one Aspect instance per <code class="notranslate">ApplicationContext</code>, not per class loader. Not sure if that's achievable though.</p> <h2 dir="auto">Further Resources</h2> <ul dir="auto"> <li><a href="http://www.javacodegeeks.com/2014/04/spring-test-context-caching-aspectj-transactional-ehcache-pain.html" rel="nofollow">Spring Test Context Caching + AspectJ @Transactional + Ehcache pain</a> blog by Java Code Geeks</li> </ul> <h2 dir="auto">Related Issues</h2> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398105419" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11897" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11897/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11897">#11897</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398174513" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/17123" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/17123/hovercard" href="https://github.com/spring-projects/spring-framework/issues/17123">#17123</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398097538" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10789" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10789/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10789">#10789</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398110169" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12619" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12619/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12619">#12619</a></li> </ul> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6, 3.0.5</p> <p dir="auto"><strong>Reference URL:</strong> <a href="http://forum.springsource.org/showthread.php?t=79949" rel="nofollow">http://forum.springsource.org/showthread.php?t=79949</a></p> <p dir="auto">5 votes, 7 watchers</p>
1
<h2 dir="auto">❓ Questions and Help</h2> <p dir="auto">Under PyTorch's no gradient mode, any tensor returned by operations shouldn't create a new or extend an existing computation graph (i.e. <code class="notranslate">requires_grad</code> should be false and <code class="notranslate">grad_fn</code> should be <code class="notranslate">None</code>). However, when using <code class="notranslate">Tensor.expand</code> this is clearly not the case. Consider the following code:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="a = torch.tensor(1., requires_grad=True) b = a.clone() with th.no_grad(): c = b.expand((1,)) c.requires_grad # True"><pre class="notranslate"><span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">tensor</span>(<span class="pl-c1">1.</span>, <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">a</span>.<span class="pl-en">clone</span>() <span class="pl-k">with</span> <span class="pl-s1">th</span>.<span class="pl-en">no_grad</span>(): <span class="pl-s1">c</span> <span class="pl-c1">=</span> <span class="pl-s1">b</span>.<span class="pl-en">expand</span>((<span class="pl-c1">1</span>,)) <span class="pl-s1">c</span>.<span class="pl-s1">requires_grad</span> <span class="pl-c"># True</span></pre></div> <p dir="auto">Although variable <code class="notranslate">c</code> is not attached to the computation graph that contains <code class="notranslate">a</code> and <code class="notranslate">b</code>, <code class="notranslate">c</code> has its <code class="notranslate">requires_grad</code> property set to <code class="notranslate">True</code> which will create a new computation graph. Is this the expected behavior or is this a bug?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; x = torch.randn(3, requires_grad=True) &gt;&gt;&gt; with torch.no_grad(): ... print(x[1]) ... tensor(-0.0967, requires_grad=True)"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; x = torch.randn(3, requires_grad=True) &gt;&gt;&gt; with torch.no_grad(): ... print(x[1]) ... tensor(-0.0967, requires_grad=True) </code></pre></div>
1
<p dir="auto"><strong>Node.js</strong> can't autocomplete after update 0.10.10, and i have the <code class="notranslate">typings</code>...</p> <p dir="auto">If i try to user a new WS for test, __dirname can't underline to show me download it, and just reference works</p>
<p dir="auto">I found this going through the /docs/runtimes/Node.js walkthrough after seeing a doc feedback verbatim saying that typings weren't being picked up.<br> After creating an express application, trying to get IntelliSense for node and express types fails.<br> If I roll-back to 0.10.8, the typings are picked up correctly.<br> The generated express app does not include a jsconfig.json file.</p>
1
<h3 dir="auto">Bug report</h3> <h4 dir="auto">Bug summary</h4> <p dir="auto">There is an inconsistency between the <a href="http://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.bar.html#matplotlib.axes.Axes.bar" rel="nofollow">matplotlib's documentation</a> and actual outcome of the bar plot function. The documentation says that <code class="notranslate">left</code> argument in the bar plot function indicate</p> <blockquote> <p dir="auto">the x coordinates of the left sides of the bars</p> </blockquote> <p dir="auto">In fact, the <code class="notranslate">left</code> parameter indicate the center of the bar.</p> <h4 dir="auto">Code for reproduction</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt import numpy as np N = 3 width = 1.0 stat = [2.4, 3.2, 1.6] ind = np.arange(1, 6, 2, dtype=np.float32) fig, ax = plt.subplots() ax.bar(ind, stat, width ) ax.set_xticks(ind+width/2.0) plt.show()"><pre class="notranslate"><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">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-v">N</span> <span class="pl-c1">=</span> <span class="pl-c1">3</span> <span class="pl-s1">width</span> <span class="pl-c1">=</span> <span class="pl-c1">1.0</span> <span class="pl-s1">stat</span> <span class="pl-c1">=</span> [<span class="pl-c1">2.4</span>, <span class="pl-c1">3.2</span>, <span class="pl-c1">1.6</span>] <span class="pl-s1">ind</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1</span>, <span class="pl-c1">6</span>, <span class="pl-c1">2</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float32</span>) <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">ax</span>.<span class="pl-en">bar</span>(<span class="pl-s1">ind</span>, <span class="pl-s1">stat</span>, <span class="pl-s1">width</span> ) <span class="pl-s1">ax</span>.<span class="pl-en">set_xticks</span>(<span class="pl-s1">ind</span><span class="pl-c1">+</span><span class="pl-s1">width</span><span class="pl-c1">/</span><span class="pl-c1">2.0</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <h4 dir="auto">Actual outcome and expected outcome</h4> <p dir="auto">The x axis ticks should be in the center of bar if the documentation is right. In fact, the ticks are in the right side of each bar. See figure below<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/16662357/24069524/f7d904e2-0be4-11e7-816e-c94c8a2ae8bd.png"><img src="https://cloud.githubusercontent.com/assets/16662357/24069524/f7d904e2-0be4-11e7-816e-c94c8a2ae8bd.png" alt="image" style="max-width: 100%;"></a></p> <h4 dir="auto">Matplotlib version</h4> <ul dir="auto"> <li>Matplotlib version: 2.0.0</li> <li>Python version: 2.7.13 and 3.5.2</li> <li>Platform: Linux (CentOS 7) and Windows</li> <li>How did you install Matplotlib and Python: Anaconda</li> </ul>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Using <code class="notranslate">bar</code>, the first input argument is not used for the left edge of the bar, but rather the center, as if the kwarg <code class="notranslate">align='center'</code> was used. However, the desired behavior is obtained in both cases when using <code class="notranslate">align = 'center'</code> and <code class="notranslate">align = 'edge'</code>. Just when <code class="notranslate">align</code> is not specified, it should be 'edge' aligned which it is not.</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 matplotlib.pyplot as plt plt.bar([1], [1]) plt.show()"><pre class="notranslate"><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-s1">plt</span>.<span class="pl-en">bar</span>([<span class="pl-c1">1</span>], [<span class="pl-c1">1</span>]) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto"><strong>Actual outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4058407/22334729/17af86b4-e3dc-11e6-83d0-f5e3392625ac.png"><img src="https://cloud.githubusercontent.com/assets/4058407/22334729/17af86b4-e3dc-11e6-83d0-f5e3392625ac.png" alt="figure_1" style="max-width: 100%;"></a><br> <strong>Expected outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4058407/22334747/2ce9afc8-e3dc-11e6-8f69-0c0150522359.png"><img src="https://cloud.githubusercontent.com/assets/4058407/22334747/2ce9afc8-e3dc-11e6-8f69-0c0150522359.png" alt="figure_2" style="max-width: 100%;"></a></p> <p dir="auto">In matplotlib 1.5.3 I got the expected behavior.</p> <p dir="auto"><strong>Matplotlib version</strong><br> matplotlib 2.0.0<br> python 3.6.0<br> both installed from the Arch Linux repository.</p>
1
<p dir="auto">My code is following and the gif animation is slow, can yo u correct me the usage of code in order to showing gif normally? you can email me the detail:<a href="mailto:[email protected]">[email protected]</a></p> <p dir="auto">RequestOptions o = new RequestOptions();<br> Glide.with(h.imageView3.getContext())<br> .load("<a href="https://timgsa.baidu.com/timg?image&amp;quality=80&amp;size=b9999_10000&amp;sec=1508322038285&amp;di=e0c474540228565f1271de3b4b2c56e7&amp;imgtype=0&amp;src=http%3A%2F%2Fwww.lia-edu.com%2Fupload%2Fimage%2F20170717%2F20170717151619_8233.gif%22).apply(o.diskCacheStrategy(DiskCacheStrategy.RESOURCE)).into(h.imageView3" rel="nofollow">https://timgsa.baidu.com/timg?image&amp;quality=80&amp;size=b9999_10000&amp;sec=1508322038285&amp;di=e0c474540228565f1271de3b4b2c56e7&amp;imgtype=0&amp;src=http%3A%2F%2Fwww.lia-edu.com%2Fupload%2Fimage%2F20170717%2F20170717151619_8233.gif").apply(o.diskCacheStrategy(DiskCacheStrategy.RESOURCE)).into(h.imageView3</a>);</p>
<p dir="auto">Hello</p> <p dir="auto">If you have url and try to load it multiple times with a different view size, image will not be loaded from cache, instead from network again and again.</p> <p dir="auto">My guess would be glide uses "size" as part of the key, which leads to a new key every time we have different view with the same url.</p> <p dir="auto">Here is example app:<br> <a href="https://github.com/vovkab/glide-example">https://github.com/vovkab/glide-example</a></p>
0
<p dir="auto">When datasource name is long, the menu (after use clicks the three dots) renders off - cuts off. It’s still on the screen but below the chart instead of rendering to the left.</p> <h3 dir="auto">Expected results</h3> <p dir="auto">Render to the left.</p> <h3 dir="auto">Actual results</h3> <p dir="auto">Cuts off.</p> <h4 dir="auto">Screenshots</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/61221714/96805790-427f7100-13c7-11eb-8e89-d363dbb51647.png"><img width="513" alt="Screen Shot 2020-10-21 at 5 58 27 PM" src="https://user-images.githubusercontent.com/61221714/96805790-427f7100-13c7-11eb-8e89-d363dbb51647.png" style="max-width: 100%;"></a></p> <h4 dir="auto">How to reproduce the bug</h4> <ol dir="auto"> <li>Go to 'Chart Explore' - chart with long virtual datasource name</li> <li>Click on 'the three dots'</li> <li>See the issue</li> </ol> <h3 dir="auto">Environment</h3> <p dir="auto">(please complete the following information):</p> <ul dir="auto"> <li>superset version: <code class="notranslate">master</code></li> </ul> <h3 dir="auto">Checklist</h3> <p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</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 there are 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>
<p dir="auto">when I use docker-compose to start superset,error happen.</p> <h3 dir="auto">Expected results</h3> <p dir="auto">I want superset-init container to work,but error happen</p> <h3 dir="auto">Actual results</h3> <p dir="auto">superset_init | Traceback (most recent call last):<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 582, in _build_master<br> superset_init | ws.require(<strong>requires</strong>)<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 899, in require<br> superset_init | needed = self.resolve(parse_requirements(requirements))<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 790, in resolve<br> superset_init | raise VersionConflict(dist, req).with_context(dependent_req)<br> superset_init | pkg_resources.ContextualVersionConflict: (slackclient 2.6.2 (/usr/local/lib/python3.6/site-packages), Requirement.parse('slackclient==2.5.0'), {'apache-superset'})<br> superset_init |<br> superset_init | During handling of the above exception, another exception occurred:<br> superset_init |<br> superset_init | Traceback (most recent call last):<br> superset_init | File "/usr/local/bin/superset", line 4, in <br> superset_init | <strong>import</strong>('pkg_resources').require('apache-superset==0.999.0.dev0')<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 3256, in <br> superset_init | @_call_aside<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 3240, in _call_aside<br> superset_init | f(*args, **kwargs)<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 3269, in _initialize_master_working_set<br> superset_init | working_set = WorkingSet._build_master()<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 584, in _build_master<br> superset_init | return cls._build_from_requirements(<strong>requires</strong>)<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 597, in _build_from_requirements<br> superset_init | dists = ws.resolve(reqs, Environment())<br> superset_init | File "/usr/local/lib/python3.6/site-packages/pkg_resources/<strong>init</strong>.py", line 785, in resolve<br> superset_init | raise DistributionNotFound(req, requirers)<br> superset_init | pkg_resources.DistributionNotFound: The 'slackclient==2.5.0' distribution was not found and is required by apache-superset<br> superset_init exited with code 1</p> <h4 dir="auto">Screenshots</h4> <p dir="auto">If applicable, add screenshots to help explain your problem.</p> <h4 dir="auto">How to reproduce the bug</h4> <ol dir="auto"> <li>Go to '...'</li> <li>Click on '....'</li> <li>Scroll down to '....'</li> <li>See error</li> </ol> <h3 dir="auto">Environment</h3> <p dir="auto">(please complete the following information):</p> <p dir="auto">the newest master code,with docker-compose up</p> <h3 dir="auto">Checklist</h3> <p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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"> I have checked the issue tracker for the same issue and I haven't found one similar.</li> </ul> <h3 dir="auto">Additional context</h3> <p dir="auto">Add any other context about the problem here.</p>
0
<p dir="auto">Full browser height on MBA 13 inch:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/037e5fc2fc9ad864d6137bfa218fc6943fb95a8058f41e997e2773ca5c1370c8/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313930393533392f313036333032352f65626533313265362d313238312d313165332d386137392d6562366364316633633962312e706e67"><img src="https://camo.githubusercontent.com/037e5fc2fc9ad864d6137bfa218fc6943fb95a8058f41e997e2773ca5c1370c8/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313930393533392f313036333032352f65626533313265362d313238312d313165332d386137392d6562366364316633633962312e706e67" alt="screen shot 2013-08-31 at 17 08 44" data-canonical-src="https://f.cloud.github.com/assets/1909539/1063025/ebe312e6-1281-11e3-8a79-eb6cd1f3c9b1.png" style="max-width: 100%;"></a></p> <p dir="auto">Can't see ~4 components at the end.</p>
<p dir="auto">When you display some item that has a lot of subitems, the nav grows so much that it doesn't fit on some resolutions, and some of the items aren't shown.</p> <p dir="auto"><a href="http://oi43.tinypic.com/2ivjtyv.jpg" rel="nofollow">http://oi43.tinypic.com/2ivjtyv.jpg</a></p> <p dir="auto">On that screenshot, nav items are shown up to badges, missing the remaining. I've tested it on latest Firefox and Chrome at 1366x768.</p>
1
<p dir="auto">The .mobi file of the documentation has gone missing, does anyone know the whereabouts of it?</p> <p dir="auto">EDIT: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18261440" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/841" data-hovercard-type="issue" data-hovercard-url="/pallets/flask/issues/841/hovercard" href="https://github.com/pallets/flask/issues/841">#841</a></p>
<p dir="auto">I'm trying to use <code class="notranslate">mido</code> package with <code class="notranslate">flask</code>. I noticed a couple issues.</p> <ol dir="auto"> <li> <p dir="auto"><code class="notranslate">mido.get_input_names()</code> : doesn't recognize a new ports that opened after the <code class="notranslate">flask</code> server started.</p> </li> <li> <p dir="auto">If a port closed (ex: <code class="notranslate">VMPK Output</code>) after it was called by, calling the same function <code class="notranslate">mido.get_input_names()</code> throws the <code class="notranslate">subject</code> error (even it is a<code class="notranslate">browser page refresh</code> or a <code class="notranslate">form submit</code>.</p> </li> </ol> <ul dir="auto"> <li>Thought, this could be an issue with <code class="notranslate">mido</code>, I opened a ticket there.</li> <li>But the same code <strong>works fine in <code class="notranslate">Quart</code></strong> framework though]</li> </ul> <h3 dir="auto">Expected Behavior (for #. 1)</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import mido from flask import Flask, jsonify app = Flask(__name__) @app.route('/') def home(): return jsonify({'message': mido.get_input_names()}) # Home Page loading for the first time : #........ ['IAC Driver Bus 1', 'Network Session 1'] # Open `VMPK` and Refresh the page: #....... Expected Output: ['IAC Driver Bus 1', 'Network Session 1', 'VMPK Output']"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">mido</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-s1">jsonify</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Flask</span>(<span class="pl-s1">__name__</span>) <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/'</span>)</span> <span class="pl-k">def</span> <span class="pl-en">home</span>(): <span class="pl-k">return</span> <span class="pl-en">jsonify</span>({<span class="pl-s">'message'</span>: <span class="pl-s1">mido</span>.<span class="pl-en">get_input_names</span>()}) <span class="pl-c"># Home Page loading for the first time : </span> <span class="pl-c">#........ ['IAC Driver Bus 1', 'Network Session 1']</span> <span class="pl-c"># Open `VMPK` and Refresh the page: </span> <span class="pl-c">#....... Expected Output: ['IAC Driver Bus 1', 'Network Session 1', 'VMPK Output']</span></pre></div> <h3 dir="auto">Actual Behavior</h3> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="['IAC Driver Bus 1', 'Network Session 1']"><pre class="notranslate">['IAC Driver Bus 1', 'Network Session 1']</pre></div> <h3 dir="auto">Expected Behavior (For #. 2)</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Open `VMPK`; Start the `app`; Home Page loading for the first time : #........ ['IAC Driver Bus 1', 'Network Session 1', 'VMPK Output', 'VMPK Output'] # *Close* `VMPK`; Refresh the browser #....... Expected Output: ['IAC Driver Bus 1', 'Network Session 1']"><pre class="notranslate"><span class="pl-c"># Open `VMPK`; Start the `app`; Home Page loading for the first time : </span> <span class="pl-c">#........ ['IAC Driver Bus 1', 'Network Session 1', 'VMPK Output', 'VMPK Output']</span> <span class="pl-c"># *Close* `VMPK`; Refresh the browser </span> <span class="pl-c">#....... Expected Output: ['IAC Driver Bus 1', 'Network Session 1']</span></pre></div> <h3 dir="auto">Actual Behavior</h3> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="TypeError TypeError: '&lt;' not supported between instances of 'NoneType' and 'str' Traceback (most recent call last) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 2464, in __call__ return self.wsgi_app(environ, start_response) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 2450, in wsgi_app response = self.handle_exception(e) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 1867, in handle_exception reraise(exc_type, exc_value, tb) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/_compat.py&quot;, line 39, in reraise raise value File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 2447, in wsgi_app response = self.full_dispatch_request() File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/_compat.py&quot;, line 39, in reraise raise value File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 1950, in full_dispatch_request rv = self.dispatch_request() File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py&quot;, line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File &quot;/Users/dacodekid/dev/flask-issue/app.py&quot;, line 9, in home return jsonify({'message': mido.get_input_names()}) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/mido/backends/backend.py&quot;, line 169, in get_input_names devices = self._get_devices(**self._add_api(kwargs)) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/mido/backends/backend.py&quot;, line 163, in _get_devices return self.module.get_devices(**self._add_api(kwargs)) File &quot;/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/mido/backends/rtmidi.py&quot;, line 55, in get_devices for name in sorted(input_names | output_names): TypeError: '&lt;' not supported between instances of 'NoneType' and 'str' The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. To switch between the interactive traceback and the plaintext one, you can click on the &quot;Traceback&quot; headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side. You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection: dump() shows all variables in the frame dump(obj) dumps all that's known about the object"><pre class="notranslate">TypeError <span class="pl-en">TypeError</span>: <span class="pl-s">'&lt;' not supported between instances of 'NoneType' and 'str'</span> Traceback (most recent call last) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 2464, in __call__ return self.wsgi_app(environ, start_response) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 2450, in wsgi_app response = self.handle_exception(e) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 1867, in handle_exception reraise(exc_type, exc_value, tb) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise raise value File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise raise value File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/Users/dacodekid/dev/flask-issue/app.py", line 9, in home return jsonify({'message': mido.get_input_names()}) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/mido/backends/backend.py", line 169, in get_input_names devices = self._get_devices(**self._add_api(kwargs)) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/mido/backends/backend.py", line 163, in _get_devices return self.module.get_devices(**self._add_api(kwargs)) File "/Users/dacodekid/dev/flask-issue/venv/lib/python3.8/site-packages/mido/backends/rtmidi.py", line 55, in get_devices for name in sorted(input_names | output_names): <span class="pl-en">TypeError</span>: <span class="pl-s">'&lt;' not supported between instances of 'NoneType' and 'str'</span> The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side. You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection: dump() shows all variables in the frame dump(obj) dumps all that's known about the object</pre></div> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Python version: 3.7.3</li> <li>Flask version: 1.1.2</li> <li>Werkzeug version: 1.0.1</li> </ul> <h3 dir="auto">Pip packages</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="click==7.1.2 Flask==1.1.2 itsdangerous==1.1.0 Jinja2==2.11.2 MarkupSafe==1.1.1 mido==1.2.9 python-rtmidi==1.4.1 Werkzeug==1.0.1"><pre class="notranslate"><code class="notranslate">click==7.1.2 Flask==1.1.2 itsdangerous==1.1.0 Jinja2==2.11.2 MarkupSafe==1.1.1 mido==1.2.9 python-rtmidi==1.4.1 Werkzeug==1.0.1 </code></pre></div>
0
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-give-your-javascript-slot-machine-some-stylish-images" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-give-your-javascript-slot-machine-some-stylish-images</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.<br> After adding:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $($('.slot')[0]).html('&lt;img src= &quot;' + images[slotOne - 1] + '&quot;&gt;'); $($('.slot')[1]).html('&lt;img src= &quot;' + images[slotTwo - 1] + '&quot;&gt;'); $($('.slot')[2]).html('&lt;img src= &quot;' + images[slotThree - 1] + '&quot;&gt;');"><pre class="notranslate"><code class="notranslate"> $($('.slot')[0]).html('&lt;img src= "' + images[slotOne - 1] + '"&gt;'); $($('.slot')[1]).html('&lt;img src= "' + images[slotTwo - 1] + '"&gt;'); $($('.slot')[2]).html('&lt;img src= "' + images[slotThree - 1] + '"&gt;'); </code></pre></div> <p dir="auto">only the final 3 tests. pass. The first test fails even though I have used the provided code three times.</p>
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-give-your-javascript-slot-machine-some-stylish-images" rel="nofollow">http://freecodecamp.com/challenges/waypoint-give-your-javascript-slot-machine-some-stylish-images</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">It is considering spaces to validate code in:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" $($('.slot')[0]).html('&lt;img src = &quot;' + images[slotOne-1] + '&quot;&gt;'); $($('.slot')[1]).html('&lt;img src = &quot;' + images[slotTwo-1] + '&quot;&gt;'); $($('.slot')[2]).html('&lt;img src = &quot;' + images[slotThree-1] + '&quot;&gt;');"><pre class="notranslate"> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">'.slot'</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-kos">)</span><span class="pl-kos">.</span><span class="pl-en">html</span><span class="pl-kos">(</span><span class="pl-s">'&lt;img src = "'</span> <span class="pl-c1">+</span> <span class="pl-s1">images</span><span class="pl-kos">[</span><span class="pl-s1">slotOne</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">+</span> <span class="pl-s">'"&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">'.slot'</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-kos">)</span><span class="pl-kos">.</span><span class="pl-en">html</span><span class="pl-kos">(</span><span class="pl-s">'&lt;img src = "'</span> <span class="pl-c1">+</span> <span class="pl-s1">images</span><span class="pl-kos">[</span><span class="pl-s1">slotTwo</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">+</span> <span class="pl-s">'"&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">'.slot'</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">html</span><span class="pl-kos">(</span><span class="pl-s">'&lt;img src = "'</span> <span class="pl-c1">+</span> <span class="pl-s1">images</span><span class="pl-kos">[</span><span class="pl-s1">slotThree</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">+</span> <span class="pl-s">'"&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">is validated, but the code below with spaces in <code class="notranslate">slotOne - 1</code> for example do not validate</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" $($('.slot')[0]).html('&lt;img src = &quot;' + images[slotOne - 1] + '&quot;&gt;'); $($('.slot')[1]).html('&lt;img src = &quot;' + images[slotTwo - 1] + '&quot;&gt;'); $($('.slot')[2]).html('&lt;img src = &quot;' + images[slotThree - 1] + '&quot;&gt;');"><pre class="notranslate"> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">'.slot'</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-kos">)</span><span class="pl-kos">.</span><span class="pl-en">html</span><span class="pl-kos">(</span><span class="pl-s">'&lt;img src = "'</span> <span class="pl-c1">+</span> <span class="pl-s1">images</span><span class="pl-kos">[</span><span class="pl-s1">slotOne</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">+</span> <span class="pl-s">'"&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">'.slot'</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-kos">)</span><span class="pl-kos">.</span><span class="pl-en">html</span><span class="pl-kos">(</span><span class="pl-s">'&lt;img src = "'</span> <span class="pl-c1">+</span> <span class="pl-s1">images</span><span class="pl-kos">[</span><span class="pl-s1">slotTwo</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">+</span> <span class="pl-s">'"&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">'.slot'</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">html</span><span class="pl-kos">(</span><span class="pl-s">'&lt;img src = "'</span> <span class="pl-c1">+</span> <span class="pl-s1">images</span><span class="pl-kos">[</span><span class="pl-s1">slotThree</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">+</span> <span class="pl-s">'"&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
1
<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.0-SNAPSHOT</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">README file in 2.7.0 branch (<a href="https://github.com/apache/incubator-dubbo/blob/2.7.0-release/README.md">https://github.com/apache/incubator-dubbo/blob/2.7.0-release/README.md</a>) still using package name <code class="notranslate">com.alibaba.dubbo</code>, it should update to <code class="notranslate">org.apache.dubbo</code></p>
<ul dir="auto"> <li>[ x ] 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>[ x ] 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.2</li> <li>Operating System version: mac</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>Define a interface, put <code class="notranslate">@Path</code> annotation on the implement class</li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface PureService { String hello(String name); } // implement class @Component @Service(protocol = {&quot;dubbo&quot;,&quot;rest&quot;}, version = &quot;1.0.0&quot;, group = &quot;test&quot;) @Consumes({MediaType.APPLICATION_JSON}) @Produces({MediaType.APPLICATION_JSON}) @Path(&quot;/pure-service&quot;) public class PureServiceImpl implements PureService{ @GET @Path(&quot;hello&quot;) @Override public String hello(String name) { return &quot;hello &quot; + name; } }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">PureService</span> { <span class="pl-smi">String</span> <span class="pl-en">hello</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>); } <span class="pl-c">// implement class</span> <span class="pl-c1">@</span><span class="pl-c1">Component</span> <span class="pl-c1">@</span><span class="pl-c1">Service</span>(<span class="pl-s1">protocol</span> = {<span class="pl-s">"dubbo"</span>,<span class="pl-s">"rest"</span>}, <span class="pl-s1">version</span> = <span class="pl-s">"1.0.0"</span>, <span class="pl-s1">group</span> = <span class="pl-s">"test"</span>) <span class="pl-c1">@</span><span class="pl-c1">Consumes</span>({<span class="pl-smi">MediaType</span>.<span class="pl-c1">APPLICATION_JSON</span>}) <span class="pl-c1">@</span><span class="pl-c1">Produces</span>({<span class="pl-smi">MediaType</span>.<span class="pl-c1">APPLICATION_JSON</span>}) <span class="pl-c1">@</span><span class="pl-c1">Path</span>(<span class="pl-s">"/pure-service"</span>) <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">PureServiceImpl</span> <span class="pl-k">implements</span> <span class="pl-smi">PureService</span>{ <span class="pl-c1">@</span><span class="pl-c1">GET</span> <span class="pl-c1">@</span><span class="pl-c1">Path</span>(<span class="pl-s">"hello"</span>) <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">String</span> <span class="pl-en">hello</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>) { <span class="pl-k">return</span> <span class="pl-s">"hello "</span> + <span class="pl-s1">name</span>; } }</pre></div> <ol start="2" dir="auto"> <li>It report exception when starting application<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4962716/64769066-33e84880-d57d-11e9-9cd1-beb0d7c90b74.jpg"><img src="https://user-images.githubusercontent.com/4962716/64769066-33e84880-d57d-11e9-9cd1-beb0d7c90b74.jpg" alt="16_47_11__09_12_2019" style="max-width: 100%;"></a></li> <li>In RestProtocol class, it can not real implement class behind proxy.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4962716/64769400-d274a980-d57d-11e9-89c5-0109efc2c7b6.png"><img src="https://user-images.githubusercontent.com/4962716/64769400-d274a980-d57d-11e9-89c5-0109efc2c7b6.png" alt="image" style="max-width: 100%;"></a></li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?<br> It can normally start when putting <code class="notranslate">@Path</code> on the implement class</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</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="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
0
<ul dir="auto"> <li>Electron version: 0.37.7</li> <li>Operating system: Windows 64, Ubuntu 14.04, 15.10</li> </ul> <p dir="auto">One of the application of us packaged with electron 0.37.7 will quit silently before seeing the window when run. The cause is found, using debugger on a ubuntu 14.04 virtual machine, to be <code class="notranslate">app.makeSingleInstance</code> in the main.js file returns true even for the first instance of the program. All the machines having the problem had not run (or "installed") the program before. After down grade to 0.37.6 and re-package, the program startup OK and the problem disappears. Then, after upgrade to 0.37.7 again the problem also does not re-appear (due to this reason, it never manifests on our development machine and other old machines having used the program packaged with lower versions of electron). It is found that the problem is still there even for a very simple probram with empty main page and almost empty main.js.</p> <p dir="auto">Any ideas?</p>
<ul dir="auto"> <li>Electron version: 0.37.7</li> <li>Operating system: MacOS 10.11.4</li> </ul> <p dir="auto">Create a directory with the attached <code class="notranslate">package.json</code> and <code class="notranslate">main.js</code> files. The app just calls <code class="notranslate">app.makeSingleInstance</code> (code sample copied from the Electron docs) and then creates an empty window.</p> <p dir="auto"><a href="https://github.com/electron/electron/files/233556/package.json.txt">package.json.txt</a><br> <a href="https://github.com/electron/electron/files/233558/main.js.txt">main.js.txt</a></p> <p dir="auto">Type:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" rm -rf ~/Library/Application\ Support/Electron npm start"><pre class="notranslate"><code class="notranslate"> rm -rf ~/Library/Application\ Support/Electron npm start </code></pre></div> <p dir="auto">The app will display</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ### version 0.37.7 ### shouldQuit: true"><pre class="notranslate"><code class="notranslate"> ### version 0.37.7 ### shouldQuit: true </code></pre></div> <p dir="auto">...even though no other instance is running.</p> <p dir="auto">If you create an empty ~/Library/Application\ Support/Electron directory, the app runs as expected.</p> <p dir="auto">(Obviously, any established Electron developer will have such a directory and will not notice this bug. Their users will notice it very quickly indeed.)</p>
1
<p dir="auto">(I'm <em>fairly</em> sure this worked in the previous release)</p> <h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.0 Windows Terminal version (if applicable):0.4.2382.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0 Windows Terminal version (if applicable):0.4.2382.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Open Windows Terminal</li> <li>Double click in the title bar (see screenshot below)</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/229467/63814979-25434400-c976-11e9-9b2a-dabb7863a194.png"><img src="https://user-images.githubusercontent.com/229467/63814979-25434400-c976-11e9-9b2a-dabb7863a194.png" alt="wt-title-maximise" style="max-width: 100%;"></a></p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Windows maximises/restores</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Nothing happens</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Hit control space</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Trigger Powershell's MenuComplete</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Nothing. If I remap MenuComplete to Tab it works, otherwise it doesn't</p>
0
<p dir="auto">Since it is not necessary to have <strong>package.json</strong> file with <strong>deno</strong>, how can I as a developer have a similar experience just as we have with <strong>npm scripts</strong> in <strong>package.json</strong> while using <strong>node.js</strong> environment?</p>
<p dir="auto">Import from url is very hard to use. I think is not a good idea.<br> If so,</p> <ol dir="auto"> <li>We must manage more js files not our own development.</li> <li>Heavily dependent on the network, because the third package also can import another packages.</li> </ol> <p dir="auto">Like C#\Java, the nuget and maven is good for use. Maybe use that mode can help us manage the packages.</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.192.0<br> <strong>System</strong>: Unknown Windows Version<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\k.karashima\Desktop\Pastis\PDF_DecisionTable.page'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:141 Error: ENOENT: no such file or directory, open 'C:\Users\k.karashima\Desktop\Pastis\PDF_DecisionTable.page' at Error (native) "><pre class="notranslate"><code class="notranslate">At events.js:141 Error: ENOENT: no such file or directory, open 'C:\Users\k.karashima\Desktop\Pastis\PDF_DecisionTable.page' at Error (native) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 3x -8:19.8 encoding-selector:show (atom-text-editor.editor) -7:31.5 core:save (atom-text-editor.editor) -6:52.8 core:backspace (atom-text-editor.editor) 2x -6:51.5 core:save (atom-text-editor.editor) -3:39.4 core:backspace (atom-text-editor.editor) -3:37.5 core:save (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> 3x -8:19.8 encoding-selector:show (atom-text-editor.editor) -7:31.5 core:save (atom-text-editor.editor) -6:52.8 core:backspace (atom-text-editor.editor) 2x -6:51.5 core:save (atom-text-editor.editor) -3:39.4 core:backspace (atom-text-editor.editor) -3:37.5 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;editor&quot;: { &quot;invisibles&quot;: {} } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: {}, <span class="pl-ent">"editor"</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 MavensMate-Atom, v0.0.20 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> MavensMate<span class="pl-k">-</span>Atom, v0.<span class="pl-ii">0</span>.<span class="pl-ii">20</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">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>Invoke atom for non-existent file: <code class="notranslate">atom Dockerfile</code></li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.190.0<br> <strong>System</strong>: Mac OS X 10.9.5<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: ENOENT: no such file or directory, open '/Users/arve/Projects/gradlehub/Dockerfile'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:141 Error: ENOENT: no such file or directory, open '/Users/arve/Projects/gradlehub/Dockerfile' at Error (native) "><pre class="notranslate"><code class="notranslate">At events.js:141 Error: ENOENT: no such file or directory, open '/Users/arve/Projects/gradlehub/Dockerfile' at Error (native) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -0:00.5 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)"><pre class="notranslate"><code class="notranslate"> -0:00.5 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui) </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;.git&quot;, &quot;.svn&quot;, &quot;.DS_Store&quot; ] }, &quot;editor&quot;: { &quot;showIndentGuide&quot;: true, &quot;preferredLineLength&quot;: 110, &quot;tabLength&quot;: 4, &quot;softWrapAtPreferredLineLength&quot;: true, &quot;invisibles&quot;: {}, &quot;fontSize&quot;: 15 } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"ignoredNames"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>.git<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>.svn<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>.DS_Store<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"preferredLineLength"</span>: <span class="pl-c1">110</span>, <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>, <span class="pl-ent">"softWrapAtPreferredLineLength"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">15</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 Stylus, v0.7.0 atom-lint, v0.20.1 auto-reveal-in-sidebar, v0.4.0 coffee-refactor, v0.6.2 editorconfig, v0.3.3 language-clojure, v0.14.0 language-docker, v1.1.3 language-gradle, v0.0.3 language-haskell, v1.0.0 language-scala, v1.1.0 refactor, v0.4.1 tabs-to-spaces, v0.9.2 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> Stylus, v0.<span class="pl-ii">7</span>.<span class="pl-ii">0</span> atom<span class="pl-k">-</span>lint, v0.<span class="pl-ii">20</span>.<span class="pl-ii">1</span> auto<span class="pl-k">-</span>reveal<span class="pl-k">-</span><span class="pl-k">in</span><span class="pl-k">-</span>sidebar, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> coffee<span class="pl-k">-</span>refactor, v0.<span class="pl-ii">6</span>.<span class="pl-ii">2</span> editorconfig, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span> language<span class="pl-k">-</span>clojure, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span> language<span class="pl-k">-</span>docker, v1.<span class="pl-ii">1</span>.<span class="pl-ii">3</span> language<span class="pl-k">-</span>gradle, v0.<span class="pl-ii">0</span>.<span class="pl-ii">3</span> language<span class="pl-k">-</span>haskell, v1.<span class="pl-ii">0</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> refactor, v0.<span class="pl-ii">4</span>.<span class="pl-ii">1</span> tabs<span class="pl-k">-</span>to<span class="pl-k">-</span>spaces, v0.<span class="pl-ii">9</span>.<span class="pl-ii">2</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
<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/sharding-sphere/sharding-sphere/issues">GitHub issues</a>.</li> <li>Read documentation: <a href="http://shardingsphere.io/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 <strong>more than 7 days</strong> 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> <p dir="auto">3.1.0</p> <h3 dir="auto">Which project did you use? Sharding-JDBC or Sharding-Proxy?</h3> <p dir="auto">Sharding-JDBC</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">no sharding tables use default-data-source</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">no sharding tables's select actions did not use default-data-source(ds2) but use ds0.<br> But update,insert and delete actions use ds2</p> <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> <p dir="auto">config:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="sharding: jdbc: datasource: names: ds0,ds1,ds2 ds0: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://10.82.27.177:3306/ds0 username: root password: 123456 ds1: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://10.82.27.177:3306/ds1 username: root password: 123456 ds2: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://10.82.27.177:3306/ds2 username: root password: 123456 config: sharding: # 默认数据源,可以将不分库分表的数据表放在这里 default-data-source-name: ds2 default-database-strategy: inline: sharding-column: uId algorithm-expression: ds$-&gt;{uId % 2} tables: order: key-generator-column-name: orderId actual-data-nodes: ds$-&gt;{0..1}.order$-&gt;{0..1} table-strategy: inline: sharding-column: orderId algorithm-expression: order$-&gt;{orderId%2} order_item: key-generator-column-name: orderItemId actual-data-nodes: ds$-&gt;{0..1}.order_item$-&gt;{0..1} table-strategy: inline: sharding-column: orderId algorithm-expression: orderItemId$-&gt;{orderId%2} props: sql.show: true"><pre class="notranslate"><span class="pl-ent">sharding</span>: <span class="pl-ent">jdbc</span>: <span class="pl-ent">datasource</span>: <span class="pl-ent">names</span>: <span class="pl-s">ds0,ds1,ds2</span> <span class="pl-ent">ds0</span>: <span class="pl-ent">type</span>: <span class="pl-s">com.alibaba.druid.pool.DruidDataSource</span> <span class="pl-ent">driver-class-name</span>: <span class="pl-s">com.mysql.jdbc.Driver</span> <span class="pl-ent">url</span>: <span class="pl-s">jdbc:mysql://10.82.27.177:3306/ds0</span> <span class="pl-ent">username</span>: <span class="pl-s">root</span> <span class="pl-ent">password</span>: <span class="pl-c1">123456</span> <span class="pl-ent">ds1</span>: <span class="pl-ent">type</span>: <span class="pl-s">com.alibaba.druid.pool.DruidDataSource</span> <span class="pl-ent">driver-class-name</span>: <span class="pl-s">com.mysql.jdbc.Driver</span> <span class="pl-ent">url</span>: <span class="pl-s">jdbc:mysql://10.82.27.177:3306/ds1</span> <span class="pl-ent">username</span>: <span class="pl-s">root</span> <span class="pl-ent">password</span>: <span class="pl-c1">123456</span> <span class="pl-ent">ds2</span>: <span class="pl-ent">type</span>: <span class="pl-s">com.alibaba.druid.pool.DruidDataSource</span> <span class="pl-ent">driver-class-name</span>: <span class="pl-s">com.mysql.jdbc.Driver</span> <span class="pl-ent">url</span>: <span class="pl-s">jdbc:mysql://10.82.27.177:3306/ds2</span> <span class="pl-ent">username</span>: <span class="pl-s">root</span> <span class="pl-ent">password</span>: <span class="pl-c1">123456</span> <span class="pl-ent">config</span>: <span class="pl-ent">sharding</span>: <span class="pl-c"><span class="pl-c">#</span> 默认数据源,可以将不分库分表的数据表放在这里</span> <span class="pl-ent">default-data-source-name</span>: <span class="pl-s">ds2</span> <span class="pl-ent">default-database-strategy</span>: <span class="pl-ent">inline</span>: <span class="pl-ent">sharding-column</span>: <span class="pl-s">uId</span> <span class="pl-ent">algorithm-expression</span>: <span class="pl-s">ds$-&gt;{uId % 2}</span> <span class="pl-ent">tables</span>: <span class="pl-ent">order</span>: <span class="pl-ent">key-generator-column-name</span>: <span class="pl-s">orderId</span> <span class="pl-ent">actual-data-nodes</span>: <span class="pl-s">ds$-&gt;{0..1}.order$-&gt;{0..1}</span> <span class="pl-ent">table-strategy</span>: <span class="pl-ent">inline</span>: <span class="pl-ent">sharding-column</span>: <span class="pl-s">orderId</span> <span class="pl-ent">algorithm-expression</span>: <span class="pl-s">order$-&gt;{orderId%2}</span> <span class="pl-ent">order_item</span>: <span class="pl-ent">key-generator-column-name</span>: <span class="pl-s">orderItemId</span> <span class="pl-ent">actual-data-nodes</span>: <span class="pl-s">ds$-&gt;{0..1}.order_item$-&gt;{0..1}</span> <span class="pl-ent">table-strategy</span>: <span class="pl-ent">inline</span>: <span class="pl-ent">sharding-column</span>: <span class="pl-s">orderId</span> <span class="pl-ent">algorithm-expression</span>: <span class="pl-s">orderItemId$-&gt;{orderId%2}</span> <span class="pl-ent">props</span>: <span class="pl-ent">sql.show</span>: <span class="pl-c1">true</span></pre></div> <p dir="auto">test sql</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try ( try ( Connection conn = dataSource.getConnection(); Statement statement = conn.createStatement(); ) { statement.execute(&quot;insert into user(name,age) value('2012-12-12 12:12:12',1212)&quot;); statement.execute(&quot;select * from user&quot;); }"><pre class="notranslate"><span class="pl-k">try</span> ( <span class="pl-s1">try</span> ( <span class="pl-smi">Connection</span> <span class="pl-s1">conn</span> = <span class="pl-s1">dataSource</span>.<span class="pl-en">getConnection</span>(); <span class="pl-smi">Statement</span> <span class="pl-s1">statement</span> = <span class="pl-s1">conn</span>.<span class="pl-en">createStatement</span>(); ) { <span class="pl-s1">statement</span>.<span class="pl-en">execute</span>(<span class="pl-s">"insert into user(name,age) value('2012-12-12 12:12:12',1212)"</span>); <span class="pl-s1">statement</span>.<span class="pl-en">execute</span>(<span class="pl-s">"select * from user"</span>); }</pre></div> <p dir="auto">log:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ShardingSphere-SQL : Rule Type: sharding ShardingSphere-SQL : Logic SQL: insert into user(name,age) value('2012-12-12 12:12:12',1212) ShardingSphere-SQL : SQLStatement: InsertStatement(super=DMLStatement(super=io.shardingsphere.core.parsing.parser.sql.dml.insert.InsertStatement@33215ffb), columns=[Column(name=name, tableName=user), Column(name=age, tableName=user)], generatedKeyConditions=[], insertValues=InsertValues(insertValues=[InsertValue(type=VALUES, expression=('2012-12-12 12:12:12',1212), parametersCount=0)]), columnsListLastPosition=25, generateKeyColumnIndex=-1, insertValuesListLastPosition=60) ShardingSphere-SQL : Actual SQL: ds2 ::: insert into user(name,age) value('2012-12-12 12:12:12',1212) ShardingSphere-SQL : Rule Type: sharding ShardingSphere-SQL : Logic SQL: select * from user ShardingSphere-SQL : SQLStatement: SelectStatement(super=DQLStatement(super=io.shardingsphere.core.parsing.parser.sql.dql.select.SelectStatement@12548f9a), containStar=true, firstSelectItemStartPosition=7, selectListLastPosition=9, groupByLastPosition=0, items=[StarSelectItem(owner=Optional.absent())], groupByItems=[], orderByItems=[], limit=null, subQueryStatement=null, subQueryStatements=[], subQueryConditions=[]) ShardingSphere-SQL : Actual SQL: ds0 ::: select * from user"><pre lang="log" class="notranslate"><code class="notranslate"> ShardingSphere-SQL : Rule Type: sharding ShardingSphere-SQL : Logic SQL: insert into user(name,age) value('2012-12-12 12:12:12',1212) ShardingSphere-SQL : SQLStatement: InsertStatement(super=DMLStatement(super=io.shardingsphere.core.parsing.parser.sql.dml.insert.InsertStatement@33215ffb), columns=[Column(name=name, tableName=user), Column(name=age, tableName=user)], generatedKeyConditions=[], insertValues=InsertValues(insertValues=[InsertValue(type=VALUES, expression=('2012-12-12 12:12:12',1212), parametersCount=0)]), columnsListLastPosition=25, generateKeyColumnIndex=-1, insertValuesListLastPosition=60) ShardingSphere-SQL : Actual SQL: ds2 ::: insert into user(name,age) value('2012-12-12 12:12:12',1212) ShardingSphere-SQL : Rule Type: sharding ShardingSphere-SQL : Logic SQL: select * from user ShardingSphere-SQL : SQLStatement: SelectStatement(super=DQLStatement(super=io.shardingsphere.core.parsing.parser.sql.dql.select.SelectStatement@12548f9a), containStar=true, firstSelectItemStartPosition=7, selectListLastPosition=9, groupByLastPosition=0, items=[StarSelectItem(owner=Optional.absent())], groupByItems=[], orderByItems=[], limit=null, subQueryStatement=null, subQueryStatements=[], subQueryConditions=[]) ShardingSphere-SQL : Actual SQL: ds0 ::: select * from user </code></pre></div> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<p dir="auto">sharding jdbc &amp; proxy<br> version:3.1.0<br> when i use sql like<br> " select snapshot_no from pt_item_base_snapshot where snapshot_no ='20190304152137155168409726302111' "<br> sharding-sphere can't get the value of column snapshot_no correctly<br> , it's always be -1;<br> I debug the source code ,in the class <strong>PredicateExtractor</strong> ,the method <strong>buildExpression</strong><br> only support number:<br> <code class="notranslate"> Optional&lt;ParserRuleContext&gt; bitExprNode = ExtractorUtils.findFirstChildNode(valueNode, RuleName.BIT_EXPR); expressionNode = ExtractorUtils.findFirstChildNode(valueNode, RuleName.NUMBER); if (expressionNode.isPresent() &amp;&amp; (!bitExprNode.isPresent() || 1 == bitExprNode.get().getChildCount())) { commonExpressionSegment.setValue(NumberUtil.getExactlyNumber(expressionNode.get().getText(), 10)); }</code></p> <p dir="auto">if I change code like ' expressionNode = ExtractorUtils.findFirstChildNode(valueNode, RuleName.STRING);' , the sql going well !</p>
0
<h2 dir="auto">Feature request</h2> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">I'm currently using the asset/resource module rule to explicitly generate a JSON bundle containing runtime settings (pure JSON - no JS) with the filename "[name].[contenthash].bundle.json". When importing the JSON file in my entry file I'm provided with the hashed filename, which I pass to a window.fetch request to retrieve the JSON content.</p> <p dir="auto">The intent of this JSON file is to serve as appsettings file, allowing runtime settings to be modified after deployment. The browser would always fetch this file during the entry point bootstrapping process.</p> <p dir="auto">I was wondering whether it's possible to combine multiple JSON files into one before generating the asset/resource? For example, if appsettings.dev.json was present, a single JSON bundle would be generated from the combined results of merging appsettings.json and appsettings.dev.json.</p> <p dir="auto">It's not clear whether asset/resource can be chained with other loaders? Originally I was thinking of writing my own loader which transforms the appsettings.json with the dev config (if present) using webpack-merge, however I think I'd need to chain in the file-loader which has been deprecated in v4.</p> <p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong><br> I'd like to simplify local development by adding an optional appsettings.dev.json file which is merged with appsettings.json.</p> <p dir="auto"><strong>How should this be implemented in your opinion?</strong><br> Don't have prerequisite knowledge just yet...</p> <p dir="auto"><strong>Are you willing to work on this yourself?</strong><br> Don't have prerequisite knowledge just yet...</p>
<p dir="auto">During app rebuild this error happens:</p> <p dir="auto">let data = module.buildInfo.jsonData;<br> TypeError: Cannot read property 'jsonData' of undefined</p> <p dir="auto">Webpack 5.42.0</p>
0
<p dir="auto">Running Atom Version 0.176.0 (0.176.0) and atom-fixmyjs 1.3.0<br> Originally from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="56325194" data-permission-text="Title is private" data-url="https://github.com/sindresorhus/atom-fixmyjs/issues/7" data-hovercard-type="issue" data-hovercard-url="/sindresorhus/atom-fixmyjs/issues/7/hovercard" href="https://github.com/sindresorhus/atom-fixmyjs/issues/7">sindresorhus/atom-fixmyjs/issues/7</a></p> <p dir="auto">Reproduceable. This appears to be an atom bug, rather than in the atom-fixmyjs package. It looks like there is an npm install error where the fixmyjs dependency doesn't get installed. Previous versions of Atom worked fine, and there were no relevant changes in atom-fixmyjs.</p> <p dir="auto">If I go to ~/.atom/packages/fixmyjs and run npm install it works, but with a clean install without manually installing the dependency, if I go to the command palette I can execute FixMyJS the web developer view will show this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Failed to activate package named 'fixmyjs' Error: Cannot find module 'fixmyjs' at Module._resolveFilename (module.js:344:15) at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/src/module-cache.js:383:52) at Function.Module._load (module.js:286:25) at Module.require (module.js:373:17) at require (module.js:392:17) at Object.&lt;anonymous&gt; (/Users/gears/.atom/packages/fixmyjs/index.js:2:15) at Module._compile (module.js:468:26) at Object.Module._extensions..js (module.js:486:10) at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36) at Function.Module._load (module.js:318:12) at Module.require (module.js:373:17) at require (module.js:392:17) at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:623:34) at Package.module.exports.Package.activateConfig (/Applications/Atom.app/Contents/Resources/app/src/package.js:250:12) at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:232:14) at /Applications/Atom.app/Contents/Resources/app/src/package.js:682:29 at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11) at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:224:20) at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61 at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:120:32) at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/go-to-line/node_modules/atom-space-pen-views/lib/select-list-view.js:336:21) at space-pen-li.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/node_modules/go-to-line/node_modules/atom-space-pen-views/lib/select-list-view.js:140:19) at HTMLOListElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/node_modules/space-pen/vendor/jquery.js:4676:9) at HTMLOListElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/node_modules/space-pen/vendor/jquery.js:4360:46)"><pre class="notranslate"><code class="notranslate">Failed to activate package named 'fixmyjs' Error: Cannot find module 'fixmyjs' at Module._resolveFilename (module.js:344:15) at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/src/module-cache.js:383:52) at Function.Module._load (module.js:286:25) at Module.require (module.js:373:17) at require (module.js:392:17) at Object.&lt;anonymous&gt; (/Users/gears/.atom/packages/fixmyjs/index.js:2:15) at Module._compile (module.js:468:26) at Object.Module._extensions..js (module.js:486:10) at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36) at Function.Module._load (module.js:318:12) at Module.require (module.js:373:17) at require (module.js:392:17) at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:623:34) at Package.module.exports.Package.activateConfig (/Applications/Atom.app/Contents/Resources/app/src/package.js:250:12) at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:232:14) at /Applications/Atom.app/Contents/Resources/app/src/package.js:682:29 at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11) at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:224:20) at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61 at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:120:32) at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/go-to-line/node_modules/atom-space-pen-views/lib/select-list-view.js:336:21) at space-pen-li.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/node_modules/go-to-line/node_modules/atom-space-pen-views/lib/select-list-view.js:140:19) at HTMLOListElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/node_modules/space-pen/vendor/jquery.js:4676:9) at HTMLOListElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/node_modules/space-pen/vendor/jquery.js:4360:46) </code></pre></div>
<p dir="auto">I made a package called <a href="https://atom.io/packages/tidy-markdown" rel="nofollow">tidy-markdown</a>, that depends on an npm package of the <a href="https://github.com/slang800/tidy-markdown">same name</a> (and currently the same version too). The atom package is just a thin wrapper around the npm package, so it didn't seem like it should have a different name, and I certainly didn't want to add a "atom-" prefix to the actual package name.</p> <p dir="auto">However, when I run <code class="notranslate">apm install tidy-markdown</code>, the resulting installation is missing the tidy-markdown dep (<code class="notranslate">~/.atom/packages/tidy-markdown/node_modules/tidy-markdown</code>). The other dep, emissary, installs just fine. The installation doesn't produce any error or warning, it just fails when I open atom, resulting in this error: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="60840992" data-permission-text="Title is private" data-url="https://github.com/notslang/atom-tidy-markdown/issues/1" data-hovercard-type="issue" data-hovercard-url="/notslang/atom-tidy-markdown/issues/1/hovercard" href="https://github.com/notslang/atom-tidy-markdown/issues/1">notslang/atom-tidy-markdown#1</a></p> <p dir="auto">Also, if I cd into the directory of the package (<code class="notranslate">~/.atom/packages/tidy-markdown</code>) and just run <code class="notranslate">apm install</code>, the <code class="notranslate">tidy-markdown</code> npm package is installed into <code class="notranslate">~/.atom/packages/tidy-markdown/node_modules/tidy-markdown</code>, and works as expected.</p>
1
<p dir="auto">I frequently get asked about post-pruning. Often using single trees is important for interpretability, and post-pruning can help both interpretability and generalization performance.<br> [I'm surprised there is no open issue on this, but I couldn't find one]</p>
<p dir="auto">Everything is in the title. This behaviour comes from the <code class="notranslate">__iter__(self)</code> method of <strong>ParameterSampler</strong>. By creating a generator that randomly picks each time values for every parameter independently, there is no way to prevent collision.<br> If <code class="notranslate">n_iter</code> is greater than a significant fraction of the grid cardinal, collision happens quite often, and <strong>RansomizedSearchCV</strong> launches the exact same CV several times. It seems at least inelegant, at most a significant waste of computational time :-)<br> I would also suggest a check on <code class="notranslate">n_iter</code> to be bounded by the grid cardinal, when <strong>RandomizedSearchCV</strong> becomes <strong>GridSerachCV</strong>.</p>
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">My app should be deployed to now.sh using a custom webpack config and a custom .babelrc</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Deploy fails in <code class="notranslate">next build</code> stage.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; Using external babel configuration 07/12 10:59 AM (33m) &gt; location: &quot;/home/nowuser/src/.babelrc&quot; 07/12 10:59 AM (33m) &gt; Using &quot;webpack&quot; config function defined in next.config.js. 07/12 10:59 AM (32m) &gt; Failed to build on /tmp/917ccbd0-55db-4437-a2c0-544b2502d880 07/12 10:59 AM (32m) { Error: ./pages/_document.js?entry Module build failed: SyntaxError: Unexpected token (24:6) 22 | render() { 23 | return ( &gt; 24 | &lt;html lang=&quot;en-US&quot;&gt; | ^ 25 | &lt;Head&gt; 26 | &lt;meta 27 | name=&quot;viewport&quot; Error at transpile (/home/nowuser/src/node_modules/babel-loader/lib/index.js:64:13) at /home/nowuser/src/node_modules/babel-loader/lib/fs-cache.js:118:18 at ReadFileContext.callback (/home/nowuser/src/node_modules/babel-loader/lib/fs-cache.js:31:21) at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:419:13) @ multi ./pages/_document.js?entry at /home/nowuser/src/node_modules/next/dist/server/build/index.js:182:21 at /home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:274:15 at Compiler.emitRecords (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:369:37) at /home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:267:12 at /home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:362:11 at next (/home/nowuser/src/node_modules/tapable/lib/Tapable.js:154:11) at Compiler.compiler.plugin (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4) at Compiler.applyPluginsAsyncSeries1 (/home/nowuser/src/node_modules/tapable/lib/Tapable.js:158:13) at Compiler.afterEmit (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:359:8) at Compiler.&lt;anonymous&gt; (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:354:14) "><pre class="notranslate"><code class="notranslate">&gt; Using external babel configuration 07/12 10:59 AM (33m) &gt; location: "/home/nowuser/src/.babelrc" 07/12 10:59 AM (33m) &gt; Using "webpack" config function defined in next.config.js. 07/12 10:59 AM (32m) &gt; Failed to build on /tmp/917ccbd0-55db-4437-a2c0-544b2502d880 07/12 10:59 AM (32m) { Error: ./pages/_document.js?entry Module build failed: SyntaxError: Unexpected token (24:6) 22 | render() { 23 | return ( &gt; 24 | &lt;html lang="en-US"&gt; | ^ 25 | &lt;Head&gt; 26 | &lt;meta 27 | name="viewport" Error at transpile (/home/nowuser/src/node_modules/babel-loader/lib/index.js:64:13) at /home/nowuser/src/node_modules/babel-loader/lib/fs-cache.js:118:18 at ReadFileContext.callback (/home/nowuser/src/node_modules/babel-loader/lib/fs-cache.js:31:21) at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:419:13) @ multi ./pages/_document.js?entry at /home/nowuser/src/node_modules/next/dist/server/build/index.js:182:21 at /home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:274:15 at Compiler.emitRecords (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:369:37) at /home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:267:12 at /home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:362:11 at next (/home/nowuser/src/node_modules/tapable/lib/Tapable.js:154:11) at Compiler.compiler.plugin (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4) at Compiler.applyPluginsAsyncSeries1 (/home/nowuser/src/node_modules/tapable/lib/Tapable.js:158:13) at Compiler.afterEmit (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:359:8) at Compiler.&lt;anonymous&gt; (/home/nowuser/src/node_modules/next/node_modules/webpack/lib/Compiler.js:354:14) </code></pre></div> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>run <code class="notranslate">now</code></li> </ol> <h2 dir="auto">Context</h2> <ol dir="auto"> <li>next.config.js</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const path = require('path') const glob = require('glob') module.exports = { webpack: (config, { dev }) =&gt; { config.module.rules.push( { test: /\.(css|graphql|gql|scss|sass)/, loader: 'emit-file-loader', options: { name: 'dist/[path][name].[ext]', }, } , { test: /\.css$/, use: ['babel-loader', 'raw-loader', 'postcss-loader'], }, { test: /\.s(a|c)ss$/, use: ['babel-loader', 'raw-loader', 'postcss-loader', { loader: 'sass-loader', options: { includePaths: ['styles', 'node_modules'] .map((d) =&gt; path.join(__dirname, d)) .map((g) =&gt; glob.sync(g)) .reduce((a, c) =&gt; a.concat(c), []) } } ] }, { test: /\.(graphql|gql)$/, exclude: /node_modules/, loader: 'graphql-tag/loader' } ) return config } }"><pre class="notranslate"><code class="notranslate">const path = require('path') const glob = require('glob') module.exports = { webpack: (config, { dev }) =&gt; { config.module.rules.push( { test: /\.(css|graphql|gql|scss|sass)/, loader: 'emit-file-loader', options: { name: 'dist/[path][name].[ext]', }, } , { test: /\.css$/, use: ['babel-loader', 'raw-loader', 'postcss-loader'], }, { test: /\.s(a|c)ss$/, use: ['babel-loader', 'raw-loader', 'postcss-loader', { loader: 'sass-loader', options: { includePaths: ['styles', 'node_modules'] .map((d) =&gt; path.join(__dirname, d)) .map((g) =&gt; glob.sync(g)) .reduce((a, c) =&gt; a.concat(c), []) } } ] }, { test: /\.(graphql|gql)$/, exclude: /node_modules/, loader: 'graphql-tag/loader' } ) return config } } </code></pre></div> <ol start="2" dir="auto"> <li>.babelrc</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;env&quot;: { &quot;development&quot;: { &quot;presets&quot;: &quot;./babel-preset&quot; }, &quot;production&quot;: { &quot;presets&quot;: &quot;./babel-preset&quot; }, &quot;test&quot;: { &quot;presets&quot;: [ [&quot;env&quot;, { &quot;modules&quot;: &quot;commonjs&quot; }], &quot;./babel-preset&quot; ] } } }"><pre class="notranslate"><code class="notranslate">{ "env": { "development": { "presets": "./babel-preset" }, "production": { "presets": "./babel-preset" }, "test": { "presets": [ ["env", { "modules": "commonjs" }], "./babel-preset" ] } } } </code></pre></div> <ol start="3" dir="auto"> <li>babel-preset.js</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const nextBabelPreset = require('next/babel'); nextBabelPreset.plugins = nextBabelPreset.plugins.map(plugin =&gt; { if (!Array.isArray(plugin) &amp;&amp; plugin.indexOf('styled-jsx/babel') !== -1) { return require.resolve('styled-jsx-postcss/babel'); } return plugin }); module.exports = nextBabelPreset;"><pre class="notranslate"><code class="notranslate">const nextBabelPreset = require('next/babel'); nextBabelPreset.plugins = nextBabelPreset.plugins.map(plugin =&gt; { if (!Array.isArray(plugin) &amp;&amp; plugin.indexOf('styled-jsx/babel') !== -1) { return require.resolve('styled-jsx-postcss/babel'); } return plugin }); module.exports = nextBabelPreset; </code></pre></div> <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</td> </tr> <tr> <td>node</td> <td>8</td> </tr> <tr> <td>OS</td> <td>Mac</td> </tr> <tr> <td>browser</td> <td></td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<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">Steps at <a href="https://learnnextjs.com/basics/getting-started/setup" rel="nofollow">https://learnnextjs.com/basics/getting-started/setup</a> should succeed compilation and show 404 in the browser.</p> <h2 dir="auto">Current Behavior</h2> <blockquote> <p dir="auto">ERROR Failed to compile with 1 errors</p> </blockquote> <blockquote> <p dir="auto">15:19:19</p> <p dir="auto">This module was not found:</p> <ul dir="auto"> <li>react-dom/lib/ReactReconciler in ./node_modules/next/dist/client/next-dev.js</li> </ul> <p dir="auto">To install it, you can run: npm install --save react-dom/lib/ReactReconciler<br> (node:78867) DeprecationWarning: Module.chunks: Use Module.forEachChunk/mapChunks/getNumberOfChunks/isInChunk/addChunk/removeChunk instead</p> </blockquote> <blockquote> <p dir="auto">Ready on <a href="http://localhost:3000" rel="nofollow">http://localhost:3000</a></p> </blockquote> <h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">Steps are at <a href="https://learnnextjs.com/basics/getting-started/setup" rel="nofollow">https://learnnextjs.com/basics/getting-started/setup</a></p> <h2 dir="auto">Context</h2> <p dir="auto">This is my initial discovery of nextjs and my first exploration of the learning resources.</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.2</td> </tr> <tr> <td>node</td> <td>8.1.2</td> </tr> <tr> <td>OS</td> <td>macOS 10.12.6</td> </tr> <tr> <td>browser</td> <td>Chrome 61</td> </tr> <tr> <td>nvm</td> <td>0.32.1</td> </tr> </tbody> </table>
0
<h3 dir="auto"><g-emoji class="g-emoji" alias="computer" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png">💻</g-emoji></h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Would you like to work on a fix?</li> </ul> <h3 dir="auto">How are you using Babel?</h3> <p dir="auto">Other (Next.js, Gatsby, vue-cli, ...)</p> <h3 dir="auto">Input code</h3> <p dir="auto">Code that reproduces the crash (only happens when targeting older engines like <code class="notranslate">IE 11</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="main(); async function main() { let is_done = false; const async_iterable = { [Symbol.asyncIterator]: () =&gt; ({ next: () =&gt; { const promise = Promise.resolve({ value: &quot;luv u&quot;, done: is_done }); is_done = true; return promise; }, }), }; (async () =&gt; { // IIFE: required for babel to crash for await (const string of async_iterable) { // for await: required for babel to crash console.log(string); } })(); const [one] = [1]; // array destructuring: required for babel to crash }"><pre class="notranslate"><code class="notranslate">main(); async function main() { let is_done = false; const async_iterable = { [Symbol.asyncIterator]: () =&gt; ({ next: () =&gt; { const promise = Promise.resolve({ value: "luv u", done: is_done }); is_done = true; return promise; }, }), }; (async () =&gt; { // IIFE: required for babel to crash for await (const string of async_iterable) { // for await: required for babel to crash console.log(string); } })(); const [one] = [1]; // array destructuring: required for babel to crash } </code></pre></div> <p dir="auto"><a href="https://babeljs.io/repl/#?browsers=IE%2011&amp;build=&amp;builtIns=false&amp;corejs=3.6&amp;spec=false&amp;loose=false&amp;code_lz=LYQwlgdgFAlA3AKASAzgTwgYwAQDMCuWALmAPYTaiSzYDeC22ANgKZHZgoD6AJuS9gC8eEExQtEjTORTtUGTFzBEWAJxAAjVkLoNG2ANoBlNMA2kmAOnlYAkivVFSqgLoAubDUEA-T_X36ECwAHkQeXr7-AfrSELLYAA6qpMCcAsIACsmp4paqLCgWAG4sULTYRaL4LB4AREz4Rdj4tQA02HxBHpy8_NgAvvB60RzcnenYRKrVkiPY-UT4qhRJKWmzAf2twwMw24z9iEiMUDY4EXTYAPRX2La2AGIAoh75AI74YPk8eM7YGpoWExJqRsJh1CgABY7XB_EAAd3A7CgsXislUkAA5thSLhsGclA5NKwYJcbr9VPjEcpXiwPl8WD9YZSARogSCwRDoSNURYWJYmKRMVB0Vihps9INYEcpDJ2AZ-C4dAYAIwuODXW4gVTqNAdApTfCYRYYiCY2n074U_6A4FOTmoaH9BBAA&amp;debug=false&amp;forceAllTransforms=false&amp;shippedProposals=true&amp;circleciRepo=&amp;evaluate=false&amp;fileSize=false&amp;timeTravel=false&amp;sourceType=module&amp;lineWrap=true&amp;presets=env&amp;prettier=false&amp;targets=&amp;version=7.15.7&amp;externalPlugins=&amp;assumptions=%7B%7D" rel="nofollow">REPL link that also crashes</a></p> <h3 dir="auto">Configuration file name</h3> <p dir="auto">babel.config.js</p> <h3 dir="auto">Configuration</h3> <p dir="auto">Not relevant IMO since it also crashes in REPL. Target has to be set to <code class="notranslate">IE 11</code>.</p> <h3 dir="auto">Current and expected behavior</h3> <p dir="auto">Current behavior: <code class="notranslate">Property name expected type of string but got null</code></p> <p dir="auto">Expected behavior: Code that prints <code class="notranslate">luv u</code> to the console when ran.</p> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Babel: 7.15.7 (@babel/core 7.15.5)</li> <li>Node v16.9.1</li> <li>Yarn 3.0.2</li> <li>OS: macOS 10.15.7 (19H1323)</li> </ul> <h3 dir="auto">Possible solution</h3> <p dir="auto">Transpile the code correctly instead of crashing</p> <h3 dir="auto">Additional context</h3> <p dir="auto">I wrote code which was the reproduction code but with many more steps. Wanted to push it to a customer as a quick fix before my next calendar event. Babel crashed. Suck. Deployed only for modern browsers. Bored, offline on a flight I removed code bit for bit for bit for bit until I came up with the reproduction snippet. This is a very weird bug.</p>
<p dir="auto">Following code produces the error:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const hello = async () =&gt; { const he = { ll: '2' } const { ll } = he }"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-en">hello</span> <span class="pl-c1">=</span> <span class="pl-k">async</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">he</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">ll</span>: <span class="pl-s">'2'</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-kos">{</span> ll <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">he</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><code class="notranslate">babel config</code></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module.exports = { presets: [ [ require('@babel/preset-env'), { targets: 'defaults, not ie &lt;= 11, not edge &gt; 0, not IE_Mob 11', modules: false } ], require('@babel/preset-react') ], plugins: [ require('react-hot-loader/babel'), require('@babel/plugin-transform-regenerator'), require('@babel/plugin-syntax-dynamic-import'), require('@babel/plugin-syntax-throw-expressions'), require('@babel/plugin-transform-runtime'), require('babel-plugin-styled-components') ], env: { production: { plugins: [require('babel-plugin-transform-react-remove-prop-types')] } } }"><pre class="notranslate"><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">presets</span>: <span class="pl-kos">[</span> <span class="pl-kos">[</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/preset-env'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">targets</span>: <span class="pl-s">'defaults, not ie &lt;= 11, not edge &gt; 0, not IE_Mob 11'</span><span class="pl-kos">,</span> <span class="pl-c1">modules</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-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/preset-react'</span><span class="pl-kos">)</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'react-hot-loader/babel'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/plugin-transform-regenerator'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/plugin-syntax-dynamic-import'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/plugin-syntax-throw-expressions'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/plugin-transform-runtime'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'babel-plugin-styled-components'</span><span class="pl-kos">)</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">env</span>: <span class="pl-kos">{</span> <span class="pl-c1">production</span>: <span class="pl-kos">{</span> <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'babel-plugin-transform-react-remove-prop-types'</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"><code class="notranslate">package.json</code></p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &quot;dependencies&quot;: { &quot;@babel/core&quot;: &quot;^7.9.0&quot;, &quot;@babel/plugin-syntax-dynamic-import&quot;: &quot;^7.8.3&quot;, &quot;@babel/plugin-syntax-throw-expressions&quot;: &quot;^7.8.3&quot;, &quot;@babel/plugin-transform-regenerator&quot;: &quot;^7.8.7&quot;, &quot;@babel/plugin-transform-runtime&quot;: &quot;^7.9.0&quot;, &quot;@babel/preset-env&quot;: &quot;^7.9.0&quot;, &quot;@babel/preset-react&quot;: &quot;^7.9.4&quot;, &quot;babel-eslint&quot;: &quot;^10.1.0&quot;, &quot;babel-jest&quot;: &quot;^25.1.0&quot;, &quot;babel-loader&quot;: &quot;^8.1.0&quot;, &quot;babel-plugin-styled-components&quot;: &quot;^1.10.7&quot;, &quot;babel-plugin-transform-react-remove-prop-types&quot;: &quot;^0.4.24&quot;, &quot;react-hot-loader&quot;: &quot;^4.12.20&quot; },"><pre class="notranslate"> <span class="pl-ent">"dependencies"</span>: { <span class="pl-ent">"@babel/core"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.9.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"@babel/plugin-syntax-dynamic-import"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.8.3<span class="pl-pds">"</span></span>, <span class="pl-ent">"@babel/plugin-syntax-throw-expressions"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.8.3<span class="pl-pds">"</span></span>, <span class="pl-ent">"@babel/plugin-transform-regenerator"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.8.7<span class="pl-pds">"</span></span>, <span class="pl-ent">"@babel/plugin-transform-runtime"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.9.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"@babel/preset-env"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.9.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"@babel/preset-react"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.9.4<span class="pl-pds">"</span></span>, <span class="pl-ent">"babel-eslint"</span>: <span class="pl-s"><span class="pl-pds">"</span>^10.1.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"babel-jest"</span>: <span class="pl-s"><span class="pl-pds">"</span>^25.1.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"babel-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^8.1.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"babel-plugin-styled-components"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.10.7<span class="pl-pds">"</span></span>, <span class="pl-ent">"babel-plugin-transform-react-remove-prop-types"</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.4.24<span class="pl-pds">"</span></span>, <span class="pl-ent">"react-hot-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.12.20<span class="pl-pds">"</span></span> },</pre></div> <p dir="auto"><code class="notranslate">node</code> version <code class="notranslate">v12.13.1</code></p> <p dir="auto">Thanks</p> <p dir="auto">More context <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="596818928" data-permission-text="Title is private" data-url="https://github.com/facebook/regenerator/issues/390" data-hovercard-type="pull_request" data-hovercard-url="/facebook/regenerator/pull/390/hovercard" href="https://github.com/facebook/regenerator/pull/390">#390</a></p>
1
<p dir="auto">I'm using Session.request to do GET from a HTTPS URL where the the server side certificate may be invalid. For testing purposes, if the certificate is invalid, I want to retry the GET with 'verify=False'. I'm reusing the Session for the retry, but the second request also fails even though I specify 'verify=False' in the request. It seems that the verify state is persisted in the Session somewhere and not updated from the request parameters if already set in a previous request. Is this the expected behavior? It seems unusual to me. If I create a new Session for the second request the certificate doesn't get checked in this request.</p>
<p dir="auto">Using a website that has a self-signed cert, the following use of verify=False fails:<br> import requests<br> s = requests.Session()<br> r = s.get('<a href="https://selfsignedsite" rel="nofollow">https://selfsignedsite</a>')<br> <em>traceback</em><br> r = s.get('<a href="https://selfsidnedsite" rel="nofollow">https://selfsidnedsite</a>', verify=False)<br> <em>traceback is the same about SSL3 not finding a valid cert</em><br> requests.get('<a href="https://selfsignedsite" rel="nofollow">https://selfsignedsite</a>', verify=False)<br> <em>traceback as above</em></p>
1
<p dir="auto">yes~I can run all my code in atom-shell,but I didn't find the way to package the code into a app just like node-webkit,any one can tell me the magic?</p>
<p dir="auto">It would be awesome to get packaging support with embedding resourses to executable file<br> Discussed a lot here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="8167264" data-permission-text="Title is private" data-url="https://github.com/nwjs/nw.js/issues/151" data-hovercard-type="issue" data-hovercard-url="/nwjs/nw.js/issues/151/hovercard" href="https://github.com/nwjs/nw.js/issues/151">nwjs/nw.js#151</a> don't get confused with issue title btw</p>
1
<h3 dir="auto">Description</h3> <p dir="auto">When I have multiple feeds and a blocking feed storage, I get duplicated feed logs.</p> <h3 dir="auto">Steps to Reproduce</h3> <ol dir="auto"> <li>Create a <code class="notranslate">test.py</code> file with this <a href="https://gist.github.com/StasDeep/236922e448ac33b354cf5ea6612e8fde">spider and settings</a></li> <li><code class="notranslate">scrapy runspider test.py -L INFO</code></li> </ol> <p dir="auto"><strong>Expected behavior:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored json feed (10 items) in: gs://bucket/output.json 2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored csv feed (10 items) in: gs://bucket/output.csv"><pre class="notranslate"><code class="notranslate">2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored json feed (10 items) in: gs://bucket/output.json 2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored csv feed (10 items) in: gs://bucket/output.csv </code></pre></div> <p dir="auto"><strong>Actual behavior:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored csv feed (10 items) in: gs://bucket/output.csv 2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored csv feed (10 items) in: gs://bucket/output.csv"><pre class="notranslate"><code class="notranslate">2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored csv feed (10 items) in: gs://bucket/output.csv 2020-06-09 19:23:03 [scrapy.extensions.feedexport] INFO: Stored csv feed (10 items) in: gs://bucket/output.csv </code></pre></div> <h3 dir="auto">Versions</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Scrapy : 2.1.0 lxml : 4.5.1.0 libxml2 : 2.9.10 cssselect : 1.1.0 parsel : 1.6.0 w3lib : 1.22.0 Twisted : 20.3.0 Python : 3.7.4 (default, Sep 4 2019, 15:20:53) - [Clang 10.0.0 (clang-1000.10.44.4)] pyOpenSSL : 19.1.0 (OpenSSL 1.1.1g 21 Apr 2020) cryptography : 2.9.2 Platform : Darwin-19.4.0-x86_64-i386-64bit"><pre class="notranslate"><code class="notranslate">Scrapy : 2.1.0 lxml : 4.5.1.0 libxml2 : 2.9.10 cssselect : 1.1.0 parsel : 1.6.0 w3lib : 1.22.0 Twisted : 20.3.0 Python : 3.7.4 (default, Sep 4 2019, 15:20:53) - [Clang 10.0.0 (clang-1000.10.44.4)] pyOpenSSL : 19.1.0 (OpenSSL 1.1.1g 21 Apr 2020) cryptography : 2.9.2 Platform : Darwin-19.4.0-x86_64-i386-64bit </code></pre></div> <h3 dir="auto">Additional context</h3> <p dir="auto">We use custom GoogleCloudFeedStorage and it takes some time to store the data. While it's doing uploading, next iteration of a for loop inside <code class="notranslate">FeedExporter.close_spider</code> comes and creates new <code class="notranslate">log_args</code> object, although the last one is used in closure.</p>
<p dir="auto">While installing scrapy in python virtual environment I am getting the below error. please help on this</p> <p dir="auto">Installing collected packages: pyasn1, pyasn1-modules, service-identity, twisted<br> Running setup.py install for twisted ... error<br> ERROR: Command errored out with exit status 1:<br> command: 'c:\users\neha\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\NEHA\AppData\Local\Temp\pip-install-7hvhal6s\twisted\setup.py'"'"'; <strong>file</strong>='"'"'C:\Users\NEHA\AppData\Local\Temp\pip-install-7hvhal6s\twisted\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(<strong>file</strong>);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, <strong>file</strong>, '"'"'exec'"'"'))' install --record 'C:\Users\NEHA\AppData\Local\Temp\pip-record-wq7r0lth\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\neha\appdata\local\programs\python\python38-32\Include\twisted'<br> cwd: C:\Users\NEHA\AppData\Local\Temp\pip-install-7hvhal6s\twisted<br> Complete output (947 lines):<br> running install<br> running build<br> running build_py<br> creating build<br> creating build\lib.win32-3.8<br> creating build\lib.win32-3.8\twisted<br> copying src\twisted\copyright.py -&gt; build\lib.win32-3.8\twisted<br> copying src\twisted\plugin.py -&gt; build\lib.win32-3.8\twisted<br> copying src\twisted_version.py -&gt; build\lib.win32-3.8\twisted<br> copying src\twisted_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted<br> copying src\twisted_<em>main</em>_.py -&gt; build\lib.win32-3.8\twisted<br> creating build\lib.win32-3.8\twisted\application<br> copying src\twisted\application\app.py -&gt; build\lib.win32-3.8\twisted\application<br> copying src\twisted\application\internet.py -&gt; build\lib.win32-3.8\twisted\application<br> copying src\twisted\application\reactors.py -&gt; build\lib.win32-3.8\twisted\application<br> copying src\twisted\application\service.py -&gt; build\lib.win32-3.8\twisted\application<br> copying src\twisted\application\strports.py -&gt; build\lib.win32-3.8\twisted\application<br> copying src\twisted\application_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\application<br> creating build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\avatar.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\checkers.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\endpoints.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\error.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\interfaces.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\ls.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\manhole.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\manhole_ssh.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\manhole_tap.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\mixin.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\recvline.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\stdio.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\tap.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\telnet.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\ttymodes.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch\unix.py -&gt; build\lib.win32-3.8\twisted\conch<br> copying src\twisted\conch_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch<br> creating build\lib.win32-3.8\twisted\cred<br> copying src\twisted\cred\checkers.py -&gt; build\lib.win32-3.8\twisted\cred<br> copying src\twisted\cred\credentials.py -&gt; build\lib.win32-3.8\twisted\cred<br> copying src\twisted\cred\error.py -&gt; build\lib.win32-3.8\twisted\cred<br> copying src\twisted\cred\portal.py -&gt; build\lib.win32-3.8\twisted\cred<br> copying src\twisted\cred\strcred.py -&gt; build\lib.win32-3.8\twisted\cred<br> copying src\twisted\cred_digest.py -&gt; build\lib.win32-3.8\twisted\cred<br> copying src\twisted\cred_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\cred<br> creating build\lib.win32-3.8\twisted\enterprise<br> copying src\twisted\enterprise\adbapi.py -&gt; build\lib.win32-3.8\twisted\enterprise<br> copying src\twisted\enterprise_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\enterprise<br> creating build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\abstract.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\address.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\asyncioreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\base.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\cfreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\default.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\defer.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\endpoints.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\epollreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\error.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\fdesc.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\gireactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\glib2reactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\gtk2reactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\gtk3reactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\inotify.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\interfaces.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\kqreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\main.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\pollreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\posixbase.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\process.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\protocol.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\pyuisupport.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\reactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\selectreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\serialport.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\ssl.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\stdio.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\task.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\tcp.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\testing.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\threads.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\tksupport.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\udp.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\unix.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\utils.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\win32eventreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\wxreactor.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet\wxsupport.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_baseprocess.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_dumbwin32proc.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_glibbase.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_idna.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_newtls.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_pollingfile.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_posixserialport.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_posixstdio.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_producer_helpers.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_resolver.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_signals.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_sslverify.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_threadedselect.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_win32serialport.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_win32stdio.py -&gt; build\lib.win32-3.8\twisted\internet<br> copying src\twisted\internet_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\internet<br> creating build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_buffer.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_capture.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_file.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_filter.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_flatten.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_format.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_global.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_io.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_json.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_legacy.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_levels.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_logger.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_observer.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_stdlib.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_util.py -&gt; build\lib.win32-3.8\twisted\logger<br> copying src\twisted\logger_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\logger<br> creating build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail\imap4.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail\interfaces.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail\pop3.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail\pop3client.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail\protocols.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail\relay.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail\smtp.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail_cred.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail_except.py -&gt; build\lib.win32-3.8\twisted\mail<br> copying src\twisted\mail_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\mail<br> creating build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\authority.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\cache.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\client.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\common.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\dns.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\error.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\hosts.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\resolve.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\root.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\secondary.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\server.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\srvconnect.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names\tap.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names_rfc1982.py -&gt; build\lib.win32-3.8\twisted\names<br> copying src\twisted\names_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\names<br> creating build\lib.win32-3.8\twisted\pair<br> copying src\twisted\pair\ethernet.py -&gt; build\lib.win32-3.8\twisted\pair<br> copying src\twisted\pair\ip.py -&gt; build\lib.win32-3.8\twisted\pair<br> copying src\twisted\pair\raw.py -&gt; build\lib.win32-3.8\twisted\pair<br> copying src\twisted\pair\rawudp.py -&gt; build\lib.win32-3.8\twisted\pair<br> copying src\twisted\pair\testing.py -&gt; build\lib.win32-3.8\twisted\pair<br> copying src\twisted\pair\tuntap.py -&gt; build\lib.win32-3.8\twisted\pair<br> copying src\twisted\pair_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\pair<br> creating build\lib.win32-3.8\twisted\persisted<br> copying src\twisted\persisted\aot.py -&gt; build\lib.win32-3.8\twisted\persisted<br> copying src\twisted\persisted\crefutil.py -&gt; build\lib.win32-3.8\twisted\persisted<br> copying src\twisted\persisted\dirdbm.py -&gt; build\lib.win32-3.8\twisted\persisted<br> copying src\twisted\persisted\sob.py -&gt; build\lib.win32-3.8\twisted\persisted<br> copying src\twisted\persisted\styles.py -&gt; build\lib.win32-3.8\twisted\persisted<br> copying src\twisted\persisted_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\persisted<br> creating build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\cred_anonymous.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\cred_file.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\cred_memory.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\cred_sshkeys.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\cred_unix.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_conch.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_core.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_ftp.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_inet.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_names.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_portforward.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_reactors.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_runner.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_socks.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_trial.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_web.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins\twisted_words.py -&gt; build\lib.win32-3.8\twisted\plugins<br> copying src\twisted\plugins_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\plugins<br> creating build\lib.win32-3.8\twisted\positioning<br> copying src\twisted\positioning\base.py -&gt; build\lib.win32-3.8\twisted\positioning<br> copying src\twisted\positioning\ipositioning.py -&gt; build\lib.win32-3.8\twisted\positioning<br> copying src\twisted\positioning\nmea.py -&gt; build\lib.win32-3.8\twisted\positioning<br> copying src\twisted\positioning_sentence.py -&gt; build\lib.win32-3.8\twisted\positioning<br> copying src\twisted\positioning_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\positioning<br> creating build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\amp.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\basic.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\dict.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\finger.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\ftp.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\htb.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\ident.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\loopback.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\memcache.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\pcp.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\policies.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\portforward.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\postfix.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\sip.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\socks.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\stateful.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\tls.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols\wire.py -&gt; build\lib.win32-3.8\twisted\protocols<br> copying src\twisted\protocols_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\protocols<br> creating build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\compat.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\components.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\constants.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\context.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\deprecate.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\failure.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\fakepwd.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\filepath.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\formmethod.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\htmlizer.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\lockfile.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\log.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\logfile.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\modules.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\monkey.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\procutils.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\randbytes.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\rebuild.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\reflect.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\release.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\roots.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\runtime.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\sendmsg.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\shortcut.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\syslog.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\systemd.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\text.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\threadable.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\threadpool.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\url.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\urlpath.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\usage.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\util.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\versions.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\win32.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\zippath.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python\zipstream.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_appdirs.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_inotify.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_oldstyle.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_release.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_setup.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_shellcomp.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_textattributes.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_tzhelper.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_url.py -&gt; build\lib.win32-3.8\twisted\python<br> copying src\twisted\python_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\python<br> creating build\lib.win32-3.8\twisted\runner<br> copying src\twisted\runner\inetd.py -&gt; build\lib.win32-3.8\twisted\runner<br> copying src\twisted\runner\inetdconf.py -&gt; build\lib.win32-3.8\twisted\runner<br> copying src\twisted\runner\inetdtap.py -&gt; build\lib.win32-3.8\twisted\runner<br> copying src\twisted\runner\procmon.py -&gt; build\lib.win32-3.8\twisted\runner<br> copying src\twisted\runner\procmontap.py -&gt; build\lib.win32-3.8\twisted\runner<br> copying src\twisted\runner_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\runner<br> creating build\lib.win32-3.8\twisted\scripts<br> copying src\twisted\scripts\htmlizer.py -&gt; build\lib.win32-3.8\twisted\scripts<br> copying src\twisted\scripts\trial.py -&gt; build\lib.win32-3.8\twisted\scripts<br> copying src\twisted\scripts\twistd.py -&gt; build\lib.win32-3.8\twisted\scripts<br> copying src\twisted\scripts_twistd_unix.py -&gt; build\lib.win32-3.8\twisted\scripts<br> copying src\twisted\scripts_twistw.py -&gt; build\lib.win32-3.8\twisted\scripts<br> copying src\twisted\scripts_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\scripts<br> creating build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread\banana.py -&gt; build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread\flavors.py -&gt; build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread\interfaces.py -&gt; build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread\jelly.py -&gt; build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread\pb.py -&gt; build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread\publish.py -&gt; build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread\util.py -&gt; build\lib.win32-3.8\twisted\spread<br> copying src\twisted\spread_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\spread<br> creating build\lib.win32-3.8\twisted\tap<br> copying src\twisted\tap\ftp.py -&gt; build\lib.win32-3.8\twisted\tap<br> copying src\twisted\tap\portforward.py -&gt; build\lib.win32-3.8\twisted\tap<br> copying src\twisted\tap\socks.py -&gt; build\lib.win32-3.8\twisted\tap<br> copying src\twisted\tap_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\tap<br> creating build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\crash_test_dummy.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\iosim.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\mock_win32process.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\myrebuilder1.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\myrebuilder2.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\plugin_basic.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\plugin_extra1.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\plugin_extra2.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_cmdline.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_echoer.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_fds.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_getargv.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_getenv.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_linger.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_reader.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_signal.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_stdinreader.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_tester.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_tty.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\process_twisted.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\proto_helpers.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\reflect_helper_IE.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\reflect_helper_VE.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\reflect_helper_ZDE.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\ssl_helpers.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_consumer.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_halfclose.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_hostpeer.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_lastwrite.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_loseconn.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_producer.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_write.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\stdio_test_writeseq.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\testutils.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_abstract.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_adbapi.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_amp.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_application.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_compat.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_context.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_cooperator.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_defer.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_defgen.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_dict.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_dirdbm.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_error.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_factories.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_failure.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_fdesc.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_finger.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_formmethod.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_ftp.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_ftp_options.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_htb.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_ident.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_internet.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_iosim.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_iutils.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_lockfile.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_log.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_logfile.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_loopback.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_main.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_memcache.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_modules.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_monkey.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_news.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_nooldstyle.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_paths.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_pcp.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_persisted.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_plugin.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_policies.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_postfix.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_process.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_protocols.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_randbytes.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_rebuild.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_reflect.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_roots.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_shortcut.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_sip.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_sob.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_socks.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_ssl.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_sslverify.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_stateful.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_stdio.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_strerror.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_strports.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_task.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_tcp.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_tcp_internals.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_text.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_threadable.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_threadpool.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_threads.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_tpfile.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_twistd.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_twisted.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_udp.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_unix.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_usage.py -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\test<br> creating build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial\itrial.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial\reporter.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial\runner.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial\unittest.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial\util.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial_asyncrunner.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial_asynctest.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial_synctest.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\trial<br> copying src\twisted\trial_<em>main</em>_.py -&gt; build\lib.win32-3.8\twisted\trial<br> creating build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\client.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\demo.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\distrib.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\domhelpers.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\error.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\guard.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\html.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\http.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\http_headers.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\iweb.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\microdom.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\proxy.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\resource.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\rewrite.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\script.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\server.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\static.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\sux.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\tap.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\template.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\twcgi.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\util.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\vhost.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\wsgi.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web\xmlrpc.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web_element.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web_flatten.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web_http2.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web_newclient.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web_responses.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web_stan.py -&gt; build\lib.win32-3.8\twisted\web<br> copying src\twisted\web_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\web<br> creating build\lib.win32-3.8\twisted\words<br> copying src\twisted\words\ewords.py -&gt; build\lib.win32-3.8\twisted\words<br> copying src\twisted\words\iwords.py -&gt; build\lib.win32-3.8\twisted\words<br> copying src\twisted\words\service.py -&gt; build\lib.win32-3.8\twisted\words<br> copying src\twisted\words\tap.py -&gt; build\lib.win32-3.8\twisted\words<br> copying src\twisted\words\xmpproutertap.py -&gt; build\lib.win32-3.8\twisted\words<br> copying src\twisted\words_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\words<br> creating build\lib.win32-3.8\twisted_threads<br> copying src\twisted_threads_convenience.py -&gt; build\lib.win32-3.8\twisted_threads<br> copying src\twisted_threads_ithreads.py -&gt; build\lib.win32-3.8\twisted_threads<br> copying src\twisted_threads_memory.py -&gt; build\lib.win32-3.8\twisted_threads<br> copying src\twisted_threads_pool.py -&gt; build\lib.win32-3.8\twisted_threads<br> copying src\twisted_threads_team.py -&gt; build\lib.win32-3.8\twisted_threads<br> copying src\twisted_threads_threadworker.py -&gt; build\lib.win32-3.8\twisted_threads<br> copying src\twisted_threads_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted_threads<br> creating build\lib.win32-3.8\twisted\application\runner<br> copying src\twisted\application\runner_exit.py -&gt; build\lib.win32-3.8\twisted\application\runner<br> copying src\twisted\application\runner_pidfile.py -&gt; build\lib.win32-3.8\twisted\application\runner<br> copying src\twisted\application\runner_runner.py -&gt; build\lib.win32-3.8\twisted\application\runner<br> copying src\twisted\application\runner_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\application\runner<br> creating build\lib.win32-3.8\twisted\application\test<br> copying src\twisted\application\test\test_internet.py -&gt; build\lib.win32-3.8\twisted\application\test<br> copying src\twisted\application\test\test_service.py -&gt; build\lib.win32-3.8\twisted\application\test<br> copying src\twisted\application\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\application\test<br> creating build\lib.win32-3.8\twisted\application\twist<br> copying src\twisted\application\twist_options.py -&gt; build\lib.win32-3.8\twisted\application\twist<br> copying src\twisted\application\twist_twist.py -&gt; build\lib.win32-3.8\twisted\application\twist<br> copying src\twisted\application\twist_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\application\twist<br> creating build\lib.win32-3.8\twisted\application\runner\test<br> copying src\twisted\application\runner\test\test_exit.py -&gt; build\lib.win32-3.8\twisted\application\runner\test<br> copying src\twisted\application\runner\test\test_pidfile.py -&gt; build\lib.win32-3.8\twisted\application\runner\test<br> copying src\twisted\application\runner\test\test_runner.py -&gt; build\lib.win32-3.8\twisted\application\runner\test<br> copying src\twisted\application\runner\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\application\runner\test<br> creating build\lib.win32-3.8\twisted\application\twist\test<br> copying src\twisted\application\twist\test\test_options.py -&gt; build\lib.win32-3.8\twisted\application\twist\test<br> copying src\twisted\application\twist\test\test_twist.py -&gt; build\lib.win32-3.8\twisted\application\twist\test<br> copying src\twisted\application\twist\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\application\twist\test<br> creating build\lib.win32-3.8\twisted\conch\client<br> copying src\twisted\conch\client\agent.py -&gt; build\lib.win32-3.8\twisted\conch\client<br> copying src\twisted\conch\client\connect.py -&gt; build\lib.win32-3.8\twisted\conch\client<br> copying src\twisted\conch\client\default.py -&gt; build\lib.win32-3.8\twisted\conch\client<br> copying src\twisted\conch\client\direct.py -&gt; build\lib.win32-3.8\twisted\conch\client<br> copying src\twisted\conch\client\knownhosts.py -&gt; build\lib.win32-3.8\twisted\conch\client<br> copying src\twisted\conch\client\options.py -&gt; build\lib.win32-3.8\twisted\conch\client<br> copying src\twisted\conch\client_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch\client<br> creating build\lib.win32-3.8\twisted\conch\insults<br> copying src\twisted\conch\insults\helper.py -&gt; build\lib.win32-3.8\twisted\conch\insults<br> copying src\twisted\conch\insults\insults.py -&gt; build\lib.win32-3.8\twisted\conch\insults<br> copying src\twisted\conch\insults\text.py -&gt; build\lib.win32-3.8\twisted\conch\insults<br> copying src\twisted\conch\insults\window.py -&gt; build\lib.win32-3.8\twisted\conch\insults<br> copying src\twisted\conch\insults_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch\insults<br> creating build\lib.win32-3.8\twisted\conch\openssh_compat<br> copying src\twisted\conch\openssh_compat\factory.py -&gt; build\lib.win32-3.8\twisted\conch\openssh_compat<br> copying src\twisted\conch\openssh_compat\primes.py -&gt; build\lib.win32-3.8\twisted\conch\openssh_compat<br> copying src\twisted\conch\openssh_compat_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch\openssh_compat<br> creating build\lib.win32-3.8\twisted\conch\scripts<br> copying src\twisted\conch\scripts\cftp.py -&gt; build\lib.win32-3.8\twisted\conch\scripts<br> copying src\twisted\conch\scripts\ckeygen.py -&gt; build\lib.win32-3.8\twisted\conch\scripts<br> copying src\twisted\conch\scripts\conch.py -&gt; build\lib.win32-3.8\twisted\conch\scripts<br> copying src\twisted\conch\scripts\tkconch.py -&gt; build\lib.win32-3.8\twisted\conch\scripts<br> copying src\twisted\conch\scripts_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch\scripts<br> creating build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\address.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\agent.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\channel.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\common.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\connection.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\factory.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\filetransfer.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\forwarding.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\keys.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\service.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\session.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\sexpy.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\transport.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh\userauth.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh_kex.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> copying src\twisted\conch\ssh_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch\ssh<br> creating build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\keydata.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\loopback.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_address.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_agent.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_cftp.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_channel.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_checkers.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_ckeygen.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_conch.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_connection.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_default.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_endpoints.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_filetransfer.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_forwarding.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_helper.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_insults.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_keys.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_knownhosts.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_manhole.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_manhole_tap.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_mixin.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_openssh_compat.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_recvline.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_scripts.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_session.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_ssh.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_tap.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_telnet.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_text.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_transport.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_unix.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_userauth.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test\test_window.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> copying src\twisted\conch\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch\test<br> creating build\lib.win32-3.8\twisted\conch\ui<br> copying src\twisted\conch\ui\ansi.py -&gt; build\lib.win32-3.8\twisted\conch\ui<br> copying src\twisted\conch\ui\tkvt100.py -&gt; build\lib.win32-3.8\twisted\conch\ui<br> copying src\twisted\conch\ui_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\conch\ui<br> creating build\lib.win32-3.8\twisted\cred\test<br> copying src\twisted\cred\test\test_cramauth.py -&gt; build\lib.win32-3.8\twisted\cred\test<br> copying src\twisted\cred\test\test_cred.py -&gt; build\lib.win32-3.8\twisted\cred\test<br> copying src\twisted\cred\test\test_digestauth.py -&gt; build\lib.win32-3.8\twisted\cred\test<br> copying src\twisted\cred\test\test_simpleauth.py -&gt; build\lib.win32-3.8\twisted\cred\test<br> copying src\twisted\cred\test\test_strcred.py -&gt; build\lib.win32-3.8\twisted\cred\test<br> copying src\twisted\cred\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\cred\test<br> creating build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor\abstract.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor\const.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor\interfaces.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor\reactor.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor\setup.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor\tcp.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor\udp.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\iocpreactor_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> creating build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\connectionmixins.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\fakeendpoint.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\modulehelpers.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\process_cli.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\process_connectionlost.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\process_gireactornocompat.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\process_helper.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\reactormixins.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_abstract.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_address.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_asyncioreactor.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_base.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_baseprocess.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_core.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_coroutines.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_default.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_endpoints.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_epollreactor.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_error.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_fdset.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_filedescriptor.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_gireactor.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_glibbase.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_inlinecb.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_inotify.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_iocp.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_kqueuereactor.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_main.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_newtls.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_pollingfile.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_posixbase.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_posixprocess.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_process.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_protocol.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_resolver.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_serialport.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_sigchld.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_socket.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_stdio.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_tcp.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_testing.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_threads.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_time.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_tls.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_udp.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_udp_internals.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_unix.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_win32events.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test\test_win32serialport.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test_posixifaces.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test_win32ifaces.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\internet\test<br> creating build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_buffer.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_capture.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_file.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_filter.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_flatten.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_format.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_global.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_io.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_json.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_legacy.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_levels.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_logger.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_observer.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_stdlib.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test\test_util.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> copying src\twisted\logger\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\logger\test<br> creating build\lib.win32-3.8\twisted\mail\scripts<br> copying src\twisted\mail\scripts\mailmail.py -&gt; build\lib.win32-3.8\twisted\mail\scripts<br> creating build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\mail\test\pop3testserver.py -&gt; build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\mail\test\test_imap.py -&gt; build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\mail\test\test_mailmail.py -&gt; build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\mail\test\test_pop3.py -&gt; build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\mail\test\test_pop3client.py -&gt; build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\mail\test\test_smtp.py -&gt; build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\mail\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\mail\test<br> creating build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_cache.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_client.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_common.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_dns.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_examples.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_hosts.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_names.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_resolve.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_rfc1982.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_rootresolve.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_server.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_srvconnect.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_tap.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test\test_util.py -&gt; build\lib.win32-3.8\twisted\names\test<br> copying src\twisted\names\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\names\test<br> creating build\lib.win32-3.8\twisted\pair\test<br> copying src\twisted\pair\test\test_ethernet.py -&gt; build\lib.win32-3.8\twisted\pair\test<br> copying src\twisted\pair\test\test_ip.py -&gt; build\lib.win32-3.8\twisted\pair\test<br> copying src\twisted\pair\test\test_rawudp.py -&gt; build\lib.win32-3.8\twisted\pair\test<br> copying src\twisted\pair\test\test_tuntap.py -&gt; build\lib.win32-3.8\twisted\pair\test<br> copying src\twisted\pair\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\pair\test<br> creating build\lib.win32-3.8\twisted\persisted\test<br> copying src\twisted\persisted\test\test_styles.py -&gt; build\lib.win32-3.8\twisted\persisted\test<br> copying src\twisted\persisted\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\persisted\test<br> creating build\lib.win32-3.8\twisted\positioning\test<br> copying src\twisted\positioning\test\receiver.py -&gt; build\lib.win32-3.8\twisted\positioning\test<br> copying src\twisted\positioning\test\test_base.py -&gt; build\lib.win32-3.8\twisted\positioning\test<br> copying src\twisted\positioning\test\test_nmea.py -&gt; build\lib.win32-3.8\twisted\positioning\test<br> copying src\twisted\positioning\test\test_sentence.py -&gt; build\lib.win32-3.8\twisted\positioning\test<br> copying src\twisted\positioning\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\positioning\test<br> creating build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_exceptions.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_info.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_interfaces.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_parser.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_v1parser.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_v2parser.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_wrapper.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> copying src\twisted\protocols\haproxy_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy<br> creating build\lib.win32-3.8\twisted\protocols\test<br> copying src\twisted\protocols\test\test_basic.py -&gt; build\lib.win32-3.8\twisted\protocols\test<br> copying src\twisted\protocols\test\test_tls.py -&gt; build\lib.win32-3.8\twisted\protocols\test<br> copying src\twisted\protocols\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\protocols\test<br> creating build\lib.win32-3.8\twisted\protocols\haproxy\test<br> copying src\twisted\protocols\haproxy\test\test_parser.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy\test<br> copying src\twisted\protocols\haproxy\test\test_v1parser.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy\test<br> copying src\twisted\protocols\haproxy\test\test_v2parser.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy\test<br> copying src\twisted\protocols\haproxy\test\test_wrapper.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy\test<br> copying src\twisted\protocols\haproxy\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\protocols\haproxy\test<br> creating build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\deprecatedattributes.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\modules_helpers.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\pullpipe.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_appdirs.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_components.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_constants.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_deprecate.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_dist3.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_fakepwd.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_htmlizer.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_inotify.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_release.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_runtime.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_sendmsg.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_setup.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_shellcomp.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_syslog.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_systemd.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_textattributes.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_tzhelper.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_url.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_urlpath.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_util.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_versions.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_zippath.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test\test_zipstream.py -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\python\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\python\test<br> creating build\lib.win32-3.8\twisted\runner\test<br> copying src\twisted\runner\test\test_inetdconf.py -&gt; build\lib.win32-3.8\twisted\runner\test<br> copying src\twisted\runner\test\test_procmon.py -&gt; build\lib.win32-3.8\twisted\runner\test<br> copying src\twisted\runner\test\test_procmontap.py -&gt; build\lib.win32-3.8\twisted\runner\test<br> copying src\twisted\runner\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\runner\test<br> creating build\lib.win32-3.8\twisted\scripts\test<br> copying src\twisted\scripts\test\test_scripts.py -&gt; build\lib.win32-3.8\twisted\scripts\test<br> copying src\twisted\scripts\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\scripts\test<br> creating build\lib.win32-3.8\twisted\spread\test<br> copying src\twisted\spread\test\test_banana.py -&gt; build\lib.win32-3.8\twisted\spread\test<br> copying src\twisted\spread\test\test_jelly.py -&gt; build\lib.win32-3.8\twisted\spread\test<br> copying src\twisted\spread\test\test_pb.py -&gt; build\lib.win32-3.8\twisted\spread\test<br> copying src\twisted\spread\test\test_pbfailure.py -&gt; build\lib.win32-3.8\twisted\spread\test<br> copying src\twisted\spread\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\spread\test<br> creating build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\detests.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\erroneous.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\mockcustomsuite.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\mockcustomsuite2.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\mockcustomsuite3.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\mockdoctest.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\moduleself.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\moduletest.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\novars.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\ordertests.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\packages.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\sample.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\scripttest.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\skipping.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\suppression.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_assertions.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_asyncassertions.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_deferred.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_doctest.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_keyboard.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_loader.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_log.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_output.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_plugins.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_pyunitcompat.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_reporter.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_runner.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_script.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_suppression.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_testcase.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_tests.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_util.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\test_warning.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test\weird.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\trial\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\trial\test<br> creating build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\distreporter.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\disttrial.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\managercommands.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\options.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\worker.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\workercommands.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\workerreporter.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist\workertrial.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> copying src\twisted\trial_dist_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\trial_dist<br> creating build\lib.win32-3.8\twisted\trial_dist\test<br> copying src\twisted\trial_dist\test\test_distreporter.py -&gt; build\lib.win32-3.8\twisted\trial_dist\test<br> copying src\twisted\trial_dist\test\test_disttrial.py -&gt; build\lib.win32-3.8\twisted\trial_dist\test<br> copying src\twisted\trial_dist\test\test_options.py -&gt; build\lib.win32-3.8\twisted\trial_dist\test<br> copying src\twisted\trial_dist\test\test_worker.py -&gt; build\lib.win32-3.8\twisted\trial_dist\test<br> copying src\twisted\trial_dist\test\test_workerreporter.py -&gt; build\lib.win32-3.8\twisted\trial_dist\test<br> copying src\twisted\trial_dist\test\test_workertrial.py -&gt; build\lib.win32-3.8\twisted\trial_dist\test<br> copying src\twisted\trial_dist\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\trial_dist\test<br> creating build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\injectionhelpers.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\requesthelper.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_agent.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_cgi.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_client.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_distrib.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_domhelpers.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_error.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_flatten.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_html.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_http.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_http2.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_httpauth.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_http_headers.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_newclient.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_proxy.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_resource.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_script.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_stan.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_static.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_tap.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_template.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_util.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_vhost.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_web.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_webclient.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_web__responses.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_wsgi.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_xml.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test\test_xmlrpc.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test_util.py -&gt; build\lib.win32-3.8\twisted\web\test<br> copying src\twisted\web\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\web\test<br> creating build\lib.win32-3.8\twisted\web_auth<br> copying src\twisted\web_auth\basic.py -&gt; build\lib.win32-3.8\twisted\web_auth<br> copying src\twisted\web_auth\digest.py -&gt; build\lib.win32-3.8\twisted\web_auth<br> copying src\twisted\web_auth\wrapper.py -&gt; build\lib.win32-3.8\twisted\web_auth<br> copying src\twisted\web_auth_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\web_auth<br> creating build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im\baseaccount.py -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im\basechat.py -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im\basesupport.py -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im\interfaces.py -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im\ircsupport.py -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im\locals.py -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im\pbsupport.py -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\im_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\words\im<br> creating build\lib.win32-3.8\twisted\words\protocols<br> copying src\twisted\words\protocols\irc.py -&gt; build\lib.win32-3.8\twisted\words\protocols<br> copying src\twisted\words\protocols_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\words\protocols<br> creating build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_basechat.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_basesupport.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_domish.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_irc.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_ircsupport.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_irc_service.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabberclient.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabbercomponent.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabbererror.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabberjid.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabberjstrports.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabbersasl.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabbersaslmechanisms.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabberxmlstream.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_jabberxmppstringprep.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_service.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_tap.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_xishutil.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_xmlstream.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_xmpproutertap.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test\test_xpath.py -&gt; build\lib.win32-3.8\twisted\words\test<br> copying src\twisted\words\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\words\test<br> creating build\lib.win32-3.8\twisted\words\xish<br> copying src\twisted\words\xish\domish.py -&gt; build\lib.win32-3.8\twisted\words\xish<br> copying src\twisted\words\xish\utility.py -&gt; build\lib.win32-3.8\twisted\words\xish<br> copying src\twisted\words\xish\xmlstream.py -&gt; build\lib.win32-3.8\twisted\words\xish<br> copying src\twisted\words\xish\xpath.py -&gt; build\lib.win32-3.8\twisted\words\xish<br> copying src\twisted\words\xish\xpathparser.py -&gt; build\lib.win32-3.8\twisted\words\xish<br> copying src\twisted\words\xish_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\words\xish<br> creating build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\client.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\component.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\error.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\ijabber.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\jid.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\jstrports.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\sasl.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\sasl_mechanisms.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\xmlstream.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber\xmpp_stringprep.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> copying src\twisted\words\protocols\jabber_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted\words\protocols\jabber<br> creating build\lib.win32-3.8\twisted_threads\test<br> copying src\twisted_threads\test\test_convenience.py -&gt; build\lib.win32-3.8\twisted_threads\test<br> copying src\twisted_threads\test\test_memory.py -&gt; build\lib.win32-3.8\twisted_threads\test<br> copying src\twisted_threads\test\test_team.py -&gt; build\lib.win32-3.8\twisted_threads\test<br> copying src\twisted_threads\test\test_threadworker.py -&gt; build\lib.win32-3.8\twisted_threads\test<br> copying src\twisted_threads\test_<em>init</em>_.py -&gt; build\lib.win32-3.8\twisted_threads\test<br> running egg_info<br> writing src\Twisted.egg-info\PKG-INFO<br> writing dependency_links to src\Twisted.egg-info\dependency_links.txt<br> writing entry points to src\Twisted.egg-info\entry_points.txt<br> writing requirements to src\Twisted.egg-info\requires.txt<br> writing top-level names to src\Twisted.egg-info\top_level.txt<br> reading manifest file 'src\Twisted.egg-info\SOURCES.txt'<br> reading manifest template 'MANIFEST.in'<br> warning: no previously-included files matching '<em>.misc' found under directory 'src\twisted'<br> warning: no previously-included files matching '</em>.bugfix' found under directory 'src\twisted'<br> warning: no previously-included files matching '<em>.doc' found under directory 'src\twisted'<br> warning: no previously-included files matching '</em>.feature' found under directory 'src\twisted'<br> warning: no previously-included files matching '<em>.removal' found under directory 'src\twisted'<br> warning: no previously-included files matching 'NEWS' found under directory 'src\twisted'<br> warning: no previously-included files matching 'README' found under directory 'src\twisted'<br> warning: no previously-included files matching 'newsfragments' found under directory 'src\twisted'<br> warning: no previously-included files found matching 'src\twisted\topfiles\CREDITS'<br> warning: no previously-included files found matching 'src\twisted\topfiles\ChangeLog.Old'<br> warning: no previously-included files found matching 'pyproject.toml'<br> warning: no previously-included files found matching 'codecov.yml'<br> warning: no previously-included files found matching 'appveyor.yml'<br> warning: no previously-included files found matching '.coveralls.yml'<br> warning: no previously-included files found matching '.circleci'<br> warning: no previously-included files matching '</em>' found under directory '.circleci'<br> no previously-included directories found matching 'bin'<br> no previously-included directories found matching 'admin'<br> no previously-included directories found matching '.travis'<br> no previously-included directories found matching '.github'<br> warning: no previously-included files found matching 'docs\historic\2003'<br> warning: no previously-included files matching '*' found under directory 'docs\historic\2003'<br> writing manifest file 'src\Twisted.egg-info\SOURCES.txt'<br> copying src\twisted\python\twisted-completion.zsh -&gt; build\lib.win32-3.8\twisted\python<br> creating build\lib.win32-3.8\twisted\python_pydoctortemplates<br> copying src\twisted\python_pydoctortemplates\common.html -&gt; build\lib.win32-3.8\twisted\python_pydoctortemplates<br> copying src\twisted\python_pydoctortemplates\index.html -&gt; build\lib.win32-3.8\twisted\python_pydoctortemplates<br> copying src\twisted\python_pydoctortemplates\summary.html -&gt; build\lib.win32-3.8\twisted\python_pydoctortemplates<br> copying src\twisted\test\cert.pem.no_trailing_newline -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\key.pem.no_trailing_newline -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\server.pem -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\test\test_defer.py.3only -&gt; build\lib.win32-3.8\twisted\test<br> copying src\twisted\internet\iocpreactor\notes.txt -&gt; build\lib.win32-3.8\twisted\internet\iocpreactor<br> copying src\twisted\internet\test_awaittests.py.3only -&gt; build\lib.win32-3.8\twisted\internet\test<br> copying src\twisted\internet\test_yieldfromtests.py.3only -&gt; build\lib.win32-3.8\twisted\internet\test<br> creating build\lib.win32-3.8\twisted\internet\test\fake_CAs<br> copying src\twisted\internet\test\fake_CAs\chain.pem -&gt; build\lib.win32-3.8\twisted\internet\test\fake_CAs<br> copying src\twisted\internet\test\fake_CAs\not-a-certificate -&gt; build\lib.win32-3.8\twisted\internet\test\fake_CAs<br> copying src\twisted\internet\test\fake_CAs\thing1.pem -&gt; build\lib.win32-3.8\twisted\internet\test\fake_CAs<br> copying src\twisted\internet\test\fake_CAs\thing2-duplicate.pem -&gt; build\lib.win32-3.8\twisted\internet\test\fake_CAs<br> copying src\twisted\internet\test\fake_CAs\thing2.pem -&gt; build\lib.win32-3.8\twisted\internet\test\fake_CAs<br> copying src\twisted\mail\test\rfc822.message -&gt; build\lib.win32-3.8\twisted\mail\test<br> copying src\twisted\python\test_deprecatetests.py.3only -&gt; build\lib.win32-3.8\twisted\python\test<br> copying src\twisted\trial\test_assertiontests.py.3only -&gt; build\lib.win32-3.8\twisted\trial\test<br> copying src\twisted\words\im\instancemessenger.glade -&gt; build\lib.win32-3.8\twisted\words\im<br> copying src\twisted\words\xish\xpathparser.g -&gt; build\lib.win32-3.8\twisted\words\xish<br> running build_ext<br> building 'twisted.test.raiser' extension<br> error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": <a href="https://visualstudio.microsoft.com/downloads/" rel="nofollow">https://visualstudio.microsoft.com/downloads/</a><br> ----------------------------------------<br> ERROR: Command errored out with exit status 1: 'c:\users\neha\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\NEHA\AppData\Local\Temp\pip-install-7hvhal6s\twisted\setup.py'"'"'; <strong>file</strong>='"'"'C:\Users\NEHA\AppData\Local\Temp\pip-install-7hvhal6s\twisted\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(<strong>file</strong>);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, <strong>file</strong>, '"'"'exec'"'"'))' install --record 'C:\Users\NEHA\AppData\Local\Temp\pip-record-wq7r0lth\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\neha\appdata\local\programs\python\python38-32\Include\twisted' Check the logs for full command output.</p> <h3 dir="auto">Description</h3> <p dir="auto">[Description of the issue]</p> <h3 dir="auto">Steps to Reproduce</h3> <ol dir="auto"> <li>[First Step]</li> <li>[Second Step]</li> <li>[and so on...]</li> </ol> <p dir="auto"><strong>Expected behavior:</strong> [What you expect to happen]</p> <p dir="auto"><strong>Actual behavior:</strong> [What actually happens]</p> <p dir="auto"><strong>Reproduces how often:</strong> [What percentage of the time does it reproduce?]</p> <h3 dir="auto">Versions</h3> <p dir="auto">Please paste here the output of executing <code class="notranslate">scrapy version --verbose</code> in the command line.</p> <h3 dir="auto">Additional context</h3> <p dir="auto">Any additional information, configuration, data or output from commands that might be necessary to reproduce or understand the issue. Please try not to include screenshots of code or the command line, paste the contents as text instead. You can use <a href="https://help.github.com/en/articles/creating-and-highlighting-code-blocks">GitHub Flavored Markdown</a> to make the text look better.</p>
0
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; sparse.hstack( [] ) Traceback (most recent call last): File &quot;&lt;ipython-input-143-f5f1847514fe&gt;&quot;, line 1, in &lt;module&gt; sparse.hstack( [] ) File &quot;C:\Python27\lib\site-packages\scipy\sparse\construct.py&quot;, line 423, in hstack return bmat([blocks], format=format, dtype=dtype) File &quot;C:\Python27\lib\site-packages\scipy\sparse\construct.py&quot;, line 533, in bmat raise ValueError('blocks[%d,:] is all None' % brow_lengths.argmin()) ValueError: blocks[0,:] is all None &gt;&gt;&gt; sparse.vstack( [] ) Traceback (most recent call last): File &quot;&lt;ipython-input-144-de4027ae6d92&gt;&quot;, line 1, in &lt;module&gt; sparse.vstack( [] ) File &quot;C:\Python27\lib\site-packages\scipy\sparse\construct.py&quot;, line 454, in vstack return bmat([[b] for b in blocks], format=format, dtype=dtype) File &quot;C:\Python27\lib\site-packages\scipy\sparse\construct.py&quot;, line 503, in bmat raise ValueError('blocks must have rank 2') ValueError: blocks must have rank 2"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; sparse.hstack( [] ) Traceback (most recent call last): File "&lt;ipython-input-143-f5f1847514fe&gt;", line 1, in &lt;module&gt; sparse.hstack( [] ) File "C:\Python27\lib\site-packages\scipy\sparse\construct.py", line 423, in hstack return bmat([blocks], format=format, dtype=dtype) File "C:\Python27\lib\site-packages\scipy\sparse\construct.py", line 533, in bmat raise ValueError('blocks[%d,:] is all None' % brow_lengths.argmin()) ValueError: blocks[0,:] is all None &gt;&gt;&gt; sparse.vstack( [] ) Traceback (most recent call last): File "&lt;ipython-input-144-de4027ae6d92&gt;", line 1, in &lt;module&gt; sparse.vstack( [] ) File "C:\Python27\lib\site-packages\scipy\sparse\construct.py", line 454, in vstack return bmat([[b] for b in blocks], format=format, dtype=dtype) File "C:\Python27\lib\site-packages\scipy\sparse\construct.py", line 503, in bmat raise ValueError('blocks must have rank 2') ValueError: blocks must have rank 2 </code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import numpy as np &gt;&gt;&gt; from scipy import sparse &gt;&gt;&gt; sparse.hstack( (sparse.csr_matrix([[1,2]]), np.array([[]])) ) Traceback (most recent call last): File &quot;&lt;ipython-input-27-f65b402ca75d&gt;&quot;, line 1, in &lt;module&gt; hstack( (csr_matrix([[1,2]]), np.array([[]])) ) File &quot;C:\Python27\lib\site-packages\scipy\sparse\construct.py&quot;, line 423, in hstack return bmat([blocks], format=format, dtype=dtype) File &quot;C:\Python27\lib\site-packages\scipy\sparse\construct.py&quot;, line 535, in bmat raise ValueError('blocks[:,%d] is all None' % bcol_lengths.argmin()) ValueError: blocks[:,1] is all None"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; import numpy as np &gt;&gt;&gt; from scipy import sparse &gt;&gt;&gt; sparse.hstack( (sparse.csr_matrix([[1,2]]), np.array([[]])) ) Traceback (most recent call last): File "&lt;ipython-input-27-f65b402ca75d&gt;", line 1, in &lt;module&gt; hstack( (csr_matrix([[1,2]]), np.array([[]])) ) File "C:\Python27\lib\site-packages\scipy\sparse\construct.py", line 423, in hstack return bmat([blocks], format=format, dtype=dtype) File "C:\Python27\lib\site-packages\scipy\sparse\construct.py", line 535, in bmat raise ValueError('blocks[:,%d] is all None' % bcol_lengths.argmin()) ValueError: blocks[:,1] is all None </code></pre></div> <p dir="auto">The same error occurs with all sparse matrix formats and with vstack.</p>
1
<p dir="auto">Trying to build latest git tree (<code class="notranslate">git describe --tags</code> calls it <code class="notranslate">v1.3.0-rc1-2262-g74cfc64734</code>):</p> <blockquote> <p dir="auto">ERROR: /build/tensorflow-git/src/tensorflow/tensorflow/tools/pip_package/BUILD:101:1: no such package '@llvm//': java.io.IOException: Error downloading [http://mirror.bazel.build/github.com/llvm-mirror/llvm/archive/9aafb854cc7cb8df8338c50cb411a54ce1e09796.tar.gz, https://github.com/llvm-mirror/llvm/archive/9aafb854cc7cb8df8338c50cb411a54ce1e09796.tar.gz] to /build/.cache/bazel/_bazel_builduser/a152fcd393afbe6f0b02d283bc9e6174/external/llvm/9aafb854cc7cb8df8338c50cb411a54ce1e09796.tar.gz: Checksum was e8f07137a3a0b95e143c0665cd19160dd5040114b34a48653fa7f5f91cf4c136 but wanted 2a6d4c23f6660d9130d8d5f16267db53a87f8d0104f9618b558c033570f110af and referenced by '//tensorflow/tools/pip_package:licenses'.</p> </blockquote> <p dir="auto">Surely the correct fix is <em>not</em> to just to change the expected checksum to match the observed one?</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>: Arch Linux</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Source</li> <li><strong>TensorFlow version (use command below)</strong>: master</li> <li><strong>Python version</strong>: Python 3.6.2</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.5.4</li> <li><strong>CUDA/cuDNN version</strong>: N/A</li> <li><strong>GPU model and memory</strong>: N/A</li> <li><strong>Exact command to reproduce</strong>: <code class="notranslate">bazel build --verbose_failures //tensorflow/contrib/android:libtensorflow_inference.so --crosstool_top=//external:android/crosstool --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cpu=armeabi-v7a</code></li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">GitHub tarball checksums have changed making it impossible to build tensorflow since the checksums don't match any more.</p> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="256823654" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/3722" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/3722/hovercard" href="https://github.com/bazelbuild/bazel/issues/3722">bazelbuild/bazel#3722</a></p> <h3 dir="auto">Source code / logs</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: /home/travis/tensorflow/tensorflow/contrib/android/BUILD:72:1: error loading package 'tensorflow/core': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf//': java.io.IOException: Error downloading [https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz, http://mirror.bazel.build/github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz] to /home/travis/.cache/bazel/_bazel_travis/c397b760afc31b444fffb10b0086dea5/external/protobuf/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz: Checksum was e5fdeee6b28cf6c38d61243adff06628baa434a22b5ebb7432d2a7fbabbdb13d but wanted 6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93 and referenced by '//tensorflow/contrib/android:libtensorflow_inference.so'"><pre class="notranslate"><code class="notranslate">ERROR: /home/travis/tensorflow/tensorflow/contrib/android/BUILD:72:1: error loading package 'tensorflow/core': Encountered error while reading extension file 'protobuf.bzl': no such package '@protobuf//': java.io.IOException: Error downloading [https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz, http://mirror.bazel.build/github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz] to /home/travis/.cache/bazel/_bazel_travis/c397b760afc31b444fffb10b0086dea5/external/protobuf/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz: Checksum was e5fdeee6b28cf6c38d61243adff06628baa434a22b5ebb7432d2a7fbabbdb13d but wanted 6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93 and referenced by '//tensorflow/contrib/android:libtensorflow_inference.so' </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" /tmp/foo  curl -L https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz | sha256sum % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 157 0 157 0 0 157 0 --:--:-- --:--:-- --:--:-- 301 100 4274k 100 4274k 0 0 4274k 0 0:00:01 0:00:01 --:--:-- 8710k e5fdeee6b28cf6c38d61243adff06628baa434a22b5ebb7432d2a7fbabbdb13d - /tmp/foo  curl http://mirror.bazel.build/github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz | sha256sum % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4274k 100 4274k 0 0 4274k 0 0:00:01 --:--:-- 0:00:01 6177k 6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93 -"><pre class="notranslate"><code class="notranslate"> /tmp/foo  curl -L https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz | sha256sum % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 157 0 157 0 0 157 0 --:--:-- --:--:-- --:--:-- 301 100 4274k 100 4274k 0 0 4274k 0 0:00:01 0:00:01 --:--:-- 8710k e5fdeee6b28cf6c38d61243adff06628baa434a22b5ebb7432d2a7fbabbdb13d - /tmp/foo  curl http://mirror.bazel.build/github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz | sha256sum % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4274k 100 4274k 0 0 4274k 0 0:00:01 --:--:-- 0:00:01 6177k 6d43b9d223ce09e5d4ce8b0060cb8a7513577a35a64c7e3dad10f0703bf3ad93 - </code></pre></div>
1
<ul dir="auto"> <li>Electron version: the one bundled with Atom 1.7.1, also 0.36.0</li> <li>Operating system: Linux</li> </ul> <p dir="auto">The "focus()" call does not actually focus the window, it only raises it. Focus remains in the caller app (terminal, for instance).</p> <p dir="auto">No "focus stealing prevention" is used. This can be reproduced on multiple window managers (xfwm, unity).</p> <p dir="auto">Steps to reproduce, using Atom (as an example -- works with any other Electron-based app that focuses itself):</p> <ol dir="auto"> <li>open terminal</li> <li><code class="notranslate">atom myfile.txt</code></li> <li>switch back to terminal</li> <li><code class="notranslate">atom myfile.txt</code></li> <li>note that Atom raised itself, but the focus is still in terminal.</li> </ol>
<p dir="auto">I am hitting an issue where a window (in Windows 10) is not being put to the front when I call focus() on it. The same code brings the window to the front on Windows 8 and below, so something must have changed in Windows 10 with regards to window management.</p> <p dir="auto">What I see happening is that the task bar is flashing in orange, so there is some indication. Just the window does not get focussed properly.</p>
1
<p dir="auto">Trying out electron for the first time and downloaded the latest version 0.28 (win x64). I basically copy and pasted the tutorial code from Quick Start (<a href="https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md">https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md</a>) and was able to bring up a window. However I see the following error:<br> Uncaught Error: Cannot find module './web-view/web-view-attributes' (module.js:334)</p> <p dir="auto">I checked v0.27 and do not see this error.</p>
<ul dir="auto"> <li>Electron version: v1.7.5</li> <li>Operating system: MacOS</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">WebView opens external website e.g <a href="https://google.com" rel="nofollow">https://google.com</a></p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">When creating a WebView in Angular projects either using JavaScript or by adding a HTML tag, it crashes with this error.</p> <blockquote> <p dir="auto">Uncaught TypeError: WebViewImpl.BrowserPlugin is not a constructor<br> at WebViewImpl.createBrowserPluginNode (/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:41)<br> at new WebViewImpl (/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:29)<br> at HTMLElement.proto.createdCallback (/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:283)<br> at :1:10<br> createBrowserPluginNode @ /usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:41<br> WebViewImpl @ /usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:29<br> proto.createdCallback @ /usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/we…:283<br> (anonymous) @ VM370:1<br> ​​</p> </blockquote> <h3 dir="auto">How to reproduce</h3> <blockquote> <p dir="auto">$ npm install -g @angular/cli<br> $ ng new test1 --minimal<br> $ cd test1<br> $ npm start</p> </blockquote> <blockquote> <p dir="auto">document.createElement('webview')</p> </blockquote>
0
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Compiling water v0.14.34-alpha (file:///mnt/host/kmcg3413.net/water.rs) /mnt/host/kmcg3413.net/water.rs/src/compat.rs:53:1: 61:2 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 6089 }:compat::MessagesIterator&lt;'a, T&gt;.Iterator, substs=Substs[types=[[_];[];[]], regions=[['_#0r];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Send))),depth=1), Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Sized))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=&lt;compat::MessagesIterator&lt;'a, T&gt; as TraitRef(compat::MessagesIterator&lt;'a, T&gt;, core::iter::Iterator)&gt;::Item,depth=0)` /mnt/host/kmcg3413.net/water.rs/src/compat.rs:53 impl&lt;'a, T: Send&gt; Iterator for MessagesIterator&lt;'a, T&gt; { /mnt/host/kmcg3413.net/water.rs/src/compat.rs:54 fn next(&amp;mut self) -&gt; Option&lt;T&gt; { /mnt/host/kmcg3413.net/water.rs/src/compat.rs:55 let result = self.proxy.recv_opt(); /mnt/host/kmcg3413.net/water.rs/src/compat.rs:56 match result { /mnt/host/kmcg3413.net/water.rs/src/compat.rs:57 Result::Ok(t) =&gt; Option::Some(t), /mnt/host/kmcg3413.net/water.rs/src/compat.rs:58 Result::Err(_) =&gt; Option::None, ... note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x7fb1ad3cf920 - sys::backtrace::write::h36422e877a8b3158yQs 2: 0x7fb1ad3f5650 - failure::on_fail::hde5005d61795902da3y 3: 0x7fb1ad35b4a0 - rt::unwind::begin_unwind_inner::ha0668a3a9d73b9a7RHy 4: 0x7fb1a824baf0 - rt::unwind::begin_unwind::h9147230717703493418 5: 0x7fb1a824ba80 - diagnostic::SpanHandler::span_bug::hee7de6e88971705bDFF 6: 0x7fb1ab746c70 - middle::traits::project::project_type::ha3169b6d00cba236CYP 7: 0x7fb1ab743dd0 - middle::traits::project::opt_normalize_projection_type::h52e80e1c888609adFQP 8: 0x7fb1ab731890 - middle::traits::project::normalize_projection_type::had1d9d27edaeb68fgPP 9: 0x7fb1ab745270 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h8977cf1010cf2ef8RNP 10: 0x7fb1aca02990 - middle::ty_fold::TypeFolder::fold_trait_ref::h15244371943192340039 11: 0x7fb1aca035c0 - middle::ty_fold::VecPerParamSpace&lt;T&gt;.TypeFoldable&lt;'tcx&gt;::fold_with::h3029018912722243389 12: 0x7fb1aca1eb40 - check::FnCtxt&lt;'a, 'tcx&gt;::instantiate_bounds::haf69ce16fdf22227Nul 13: 0x7fb1aca37870 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;::check_impl::closure.30018 14: 0x7fb1aca33ce0 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;::with_fcx::h0df2a1129da2a633Hfi 15: 0x7fb1aca3a760 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::hc72c9294b1b3f21ftoi 16: 0x7fb1aca3c5c0 - visit::walk_mod::h2450081392115226323 17: 0x7fb1aca3a760 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::hc72c9294b1b3f21ftoi 18: 0x7fb1acc28bd0 - check_crate::unboxed_closure.40283 19: 0x7fb1acc23820 - check_crate::h4ba306a17295b431iux 20: 0x7fb1ad910600 - driver::phase_3_run_analysis_passes::h56810662503f92d8Sva 21: 0x7fb1ad8feaa0 - driver::compile_input::h8d0abf631800220evba 22: 0x7fb1ad9ca070 - thunk::F.Invoke&lt;A, R&gt;::invoke::h13263903969514368718 23: 0x7fb1ad9c8e20 - rt::unwind::try::try_fn::h2272437873322108176 24: 0x7fb1ad4598b0 - rust_try_inner 25: 0x7fb1ad4598a0 - rust_try 26: 0x7fb1ad9c9170 - thunk::F.Invoke&lt;A, R&gt;::invoke::h17236552692728063371 27: 0x7fb1ad3e1490 - sys::thread::thread_start::hd19c7749b7af23e8EGv 28: 0x7fb1a7a6fa80 - start_thread 29: 0x0 - &lt;unknown&gt; Could not compile `water`. To learn more, run the command again with --verbose."><pre class="notranslate"><code class="notranslate"> Compiling water v0.14.34-alpha (file:///mnt/host/kmcg3413.net/water.rs) /mnt/host/kmcg3413.net/water.rs/src/compat.rs:53:1: 61:2 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 6089 }:compat::MessagesIterator&lt;'a, T&gt;.Iterator, substs=Substs[types=[[_];[];[]], regions=[['_#0r];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Send))),depth=1), Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Sized))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=&lt;compat::MessagesIterator&lt;'a, T&gt; as TraitRef(compat::MessagesIterator&lt;'a, T&gt;, core::iter::Iterator)&gt;::Item,depth=0)` /mnt/host/kmcg3413.net/water.rs/src/compat.rs:53 impl&lt;'a, T: Send&gt; Iterator for MessagesIterator&lt;'a, T&gt; { /mnt/host/kmcg3413.net/water.rs/src/compat.rs:54 fn next(&amp;mut self) -&gt; Option&lt;T&gt; { /mnt/host/kmcg3413.net/water.rs/src/compat.rs:55 let result = self.proxy.recv_opt(); /mnt/host/kmcg3413.net/water.rs/src/compat.rs:56 match result { /mnt/host/kmcg3413.net/water.rs/src/compat.rs:57 Result::Ok(t) =&gt; Option::Some(t), /mnt/host/kmcg3413.net/water.rs/src/compat.rs:58 Result::Err(_) =&gt; Option::None, ... note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x7fb1ad3cf920 - sys::backtrace::write::h36422e877a8b3158yQs 2: 0x7fb1ad3f5650 - failure::on_fail::hde5005d61795902da3y 3: 0x7fb1ad35b4a0 - rt::unwind::begin_unwind_inner::ha0668a3a9d73b9a7RHy 4: 0x7fb1a824baf0 - rt::unwind::begin_unwind::h9147230717703493418 5: 0x7fb1a824ba80 - diagnostic::SpanHandler::span_bug::hee7de6e88971705bDFF 6: 0x7fb1ab746c70 - middle::traits::project::project_type::ha3169b6d00cba236CYP 7: 0x7fb1ab743dd0 - middle::traits::project::opt_normalize_projection_type::h52e80e1c888609adFQP 8: 0x7fb1ab731890 - middle::traits::project::normalize_projection_type::had1d9d27edaeb68fgPP 9: 0x7fb1ab745270 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h8977cf1010cf2ef8RNP 10: 0x7fb1aca02990 - middle::ty_fold::TypeFolder::fold_trait_ref::h15244371943192340039 11: 0x7fb1aca035c0 - middle::ty_fold::VecPerParamSpace&lt;T&gt;.TypeFoldable&lt;'tcx&gt;::fold_with::h3029018912722243389 12: 0x7fb1aca1eb40 - check::FnCtxt&lt;'a, 'tcx&gt;::instantiate_bounds::haf69ce16fdf22227Nul 13: 0x7fb1aca37870 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;::check_impl::closure.30018 14: 0x7fb1aca33ce0 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;::with_fcx::h0df2a1129da2a633Hfi 15: 0x7fb1aca3a760 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::hc72c9294b1b3f21ftoi 16: 0x7fb1aca3c5c0 - visit::walk_mod::h2450081392115226323 17: 0x7fb1aca3a760 - check::wf::CheckTypeWellFormedVisitor&lt;'ccx, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::hc72c9294b1b3f21ftoi 18: 0x7fb1acc28bd0 - check_crate::unboxed_closure.40283 19: 0x7fb1acc23820 - check_crate::h4ba306a17295b431iux 20: 0x7fb1ad910600 - driver::phase_3_run_analysis_passes::h56810662503f92d8Sva 21: 0x7fb1ad8feaa0 - driver::compile_input::h8d0abf631800220evba 22: 0x7fb1ad9ca070 - thunk::F.Invoke&lt;A, R&gt;::invoke::h13263903969514368718 23: 0x7fb1ad9c8e20 - rt::unwind::try::try_fn::h2272437873322108176 24: 0x7fb1ad4598b0 - rust_try_inner 25: 0x7fb1ad4598a0 - rust_try 26: 0x7fb1ad9c9170 - thunk::F.Invoke&lt;A, R&gt;::invoke::h17236552692728063371 27: 0x7fb1ad3e1490 - sys::thread::thread_start::hd19c7749b7af23e8EGv 28: 0x7fb1a7a6fa80 - start_thread 29: 0x0 - &lt;unknown&gt; Could not compile `water`. To learn more, run the command again with --verbose. </code></pre></div> <p dir="auto">rustc 0.13.0-nightly (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/ad9e759382ad7daed26f86732f41f5f83cd673e2/hovercard" href="https://github.com/rust-lang/rust/commit/ad9e759382ad7daed26f86732f41f5f83cd673e2"><tt>ad9e759</tt></a> 2015-01-05 00:26:28 +0000)<br> binary: rustc<br> commit-hash: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/ad9e759382ad7daed26f86732f41f5f83cd673e2/hovercard" href="https://github.com/rust-lang/rust/commit/ad9e759382ad7daed26f86732f41f5f83cd673e2"><tt>ad9e759</tt></a><br> commit-date: 2015-01-05 00:26:28 +0000<br> host: x86_64-unknown-linux-gnu<br> release: 0.13.0-nightly</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<h3 dir="auto">STR</h3> <p dir="auto">Didn't have time to write a shorter snippet</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![crate_type = &quot;lib&quot;] #![feature(associated_types, lang_items, unboxed_closures)] #![no_std] use Option::{None, Some}; trait Iterator { type Item; fn next(&amp;mut self) -&gt; Option&lt;Self::Item&gt;; } trait DoubleEndedIterator: Iterator { fn next_back(&amp;mut self) -&gt; Option&lt; &lt;Self as Iterator&gt;::Item&gt;; } struct Rev&lt;I&gt;(I); impl&lt;I&gt; Iterator for Rev&lt;I&gt; where I: DoubleEndedIterator { // forgot this! //type Item = &lt;I as Iterator&gt;::Item; fn next(&amp;mut self) -&gt; Option&lt; &lt;I as Iterator&gt;::Item&gt; { self.0.next_back() } } #[lang = &quot;copy&quot;] trait Copy {} #[lang = &quot;sized&quot;] trait Sized {} enum Option&lt;T&gt; { None, Some(T), } #[lang = &quot;fn_mut&quot;] trait FnMut&lt;Args, Result&gt; { extern &quot;rust-call&quot; fn call_mut(&amp;mut self, Args) -&gt; Result; }"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>crate_type = <span class="pl-s">"lib"</span><span class="pl-kos">]</span></span> <span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>associated_types<span class="pl-kos">,</span> lang_items<span class="pl-kos">,</span> unboxed_closures<span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-c1">#!<span class="pl-kos">[</span>no_std<span class="pl-kos">]</span></span> <span class="pl-k">use</span> <span class="pl-v">Option</span><span class="pl-kos">::</span><span class="pl-kos">{</span><span class="pl-v">None</span><span class="pl-kos">,</span> <span class="pl-v">Some</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">trait</span> <span class="pl-smi">Iterator</span> <span class="pl-kos">{</span> <span class="pl-k">type</span> <span class="pl-smi">Item</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">Self</span><span class="pl-kos">::</span><span class="pl-smi">Item</span><span class="pl-kos">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">trait</span> <span class="pl-smi">DoubleEndedIterator</span><span class="pl-kos">:</span> <span class="pl-smi">Iterator</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">next_back</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span> &lt;<span class="pl-smi">Self</span> <span class="pl-k">as</span> <span class="pl-smi">Iterator</span>&gt;<span class="pl-kos">::</span><span class="pl-smi">Item</span><span class="pl-kos">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">struct</span> <span class="pl-smi">Rev</span><span class="pl-kos">&lt;</span><span class="pl-smi">I</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-smi">I</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">impl</span><span class="pl-kos">&lt;</span><span class="pl-smi">I</span><span class="pl-kos">&gt;</span> <span class="pl-smi">Iterator</span> <span class="pl-k">for</span> <span class="pl-smi">Rev</span><span class="pl-kos">&lt;</span><span class="pl-smi">I</span><span class="pl-kos">&gt;</span> <span class="pl-k">where</span> <span class="pl-smi">I</span><span class="pl-kos">:</span> <span class="pl-smi">DoubleEndedIterator</span> <span class="pl-kos">{</span> <span class="pl-c">// forgot this!</span> <span class="pl-c">//type Item = &lt;I as Iterator&gt;::Item;</span> <span class="pl-k">fn</span> <span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span> &lt;<span class="pl-smi">I</span> <span class="pl-k">as</span> <span class="pl-smi">Iterator</span>&gt;<span class="pl-kos">::</span><span class="pl-smi">Item</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">0</span><span class="pl-kos">.</span><span class="pl-en">next_back</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-c1">#<span class="pl-kos">[</span>lang = <span class="pl-s">"copy"</span><span class="pl-kos">]</span></span> <span class="pl-k">trait</span> <span class="pl-smi">Copy</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-c1">#<span class="pl-kos">[</span>lang = <span class="pl-s">"sized"</span><span class="pl-kos">]</span></span> <span class="pl-k">trait</span> <span class="pl-smi">Sized</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-k">enum</span> <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-v">None</span><span class="pl-kos">,</span> <span class="pl-v">Some</span><span class="pl-kos">(</span><span class="pl-smi">T</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-c1">#<span class="pl-kos">[</span>lang = <span class="pl-s">"fn_mut"</span><span class="pl-kos">]</span></span> <span class="pl-k">trait</span> <span class="pl-smi">FnMut</span><span class="pl-kos">&lt;</span><span class="pl-smi">Args</span><span class="pl-kos">,</span> <span class="pl-smi">Result</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">extern</span> <span class="pl-s">"rust-call"</span> <span class="pl-k">fn</span> <span class="pl-en">call_mut</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">,</span> <span class="pl-smi">Args</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Result</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <h3 dir="auto">Output</h3> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="iter.rs:23:5: 25:6 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 38 }:Rev&lt;I&gt;.Iterator, substs=Substs[types=[[_];[];[]], regions=[[];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(I, Sized))),depth=1), Obligation(predicate=Binder(TraitPredicate(TraitRef(I, DoubleEndedIterator))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=&lt;Rev&lt;I&gt; as TraitRef(Rev&lt;I&gt;, Iterator)&gt;::Item,depth=0)` iter.rs:23 fn next(&amp;mut self) -&gt; Option&lt; &lt;I as Iterator&gt;::Item&gt; { iter.rs:24 self.0.next_back() iter.rs:25 } note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box&lt;Any&gt;', /root/rust/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x7fddb1e70120 - sys::backtrace::write::h3fe61c98bf398fe8P8s 2: 0x7fddb1e8fef0 - failure::on_fail::h55da319a91ee267cEpz 3: 0x7fddb1e05b40 - rt::unwind::begin_unwind_inner::h2a51826b093fcd9eJ3y 4: 0x7fddad24b3d0 - rt::unwind::begin_unwind::h3298842058425057001 5: 0x7fddad24b360 - diagnostic::SpanHandler::span_bug::heeaf2edd6daa003fNQF 6: 0x7fddb022acb0 - middle::traits::project::project_type::hcf50d7eec736df9c35P 7: 0x7fddb0222800 - middle::traits::fulfill::process_predicate::h3703aabc133e79cayGP 8: 0x7fddb0221ab0 - middle::traits::fulfill::FulfillmentContext&lt;$u{27}tcx$GT$::select::h827e4d042486e566SzP 9: 0x7fddb00ee7c0 - middle::traits::fulfill::FulfillmentContext&lt;$u{27}tcx$GT$::select_all_or_error::heebbe09eddbd26dfDwP 10: 0x7fddb1510cd0 - check::compare_impl_method::h359a8a44e8f8def4Zfk 11: 0x7fddb14ff0b0 - check::check_item::hfedb86714512d4d8XRj 12: 0x7fddb169d450 - check_crate::unboxed_closure.39783 13: 0x7fddb16981f0 - check_crate::h7446c5344d10b3c1cGx 14: 0x7fddb23a98d0 - driver::phase_3_run_analysis_passes::hb59d2d67157ec124gva 15: 0x7fddb2397fb0 - driver::compile_input::hff9e8d16e3108315vba 16: 0x7fddb24e4900 - thunk::F.Invoke&lt;A,$u{20}R$GT$::invoke::h10803646332669730367 17: 0x7fddb24e36c0 - rt::unwind::try::try_fn::h3820096971255462672 18: 0x7fddb1ef4eb0 - rust_try_inner 19: 0x7fddb1ef4ea0 - rust_try 20: 0x7fddb24e3a10 - thunk::F.Invoke&lt;A,$u{20}R$GT$::invoke::h15250775183210022334 21: 0x7fddb1e7f8d0 - sys::thread::thread_start::h7b82ef93cab3e580K1v 22: 0x7fddaca690c0 - start_thread 23: 0x7fddb1aab2d9 - __clone 24: 0x0 - &lt;unknown&gt;"><pre class="notranslate">iter<span class="pl-kos">.</span><span class="pl-c1">rs</span><span class="pl-kos">:</span><span class="pl-c1">23</span><span class="pl-kos">:</span><span class="pl-c1">5</span><span class="pl-kos">:</span> <span class="pl-c1">25</span><span class="pl-kos">:</span><span class="pl-c1">6</span> error<span class="pl-kos">:</span> internal compiler error<span class="pl-kos">:</span> <span class="pl-k">impl</span> `<span class="pl-smi">VtableImpl</span><span class="pl-kos">(</span><span class="pl-smi">impl_def_id</span>=<span class="pl-v">DefId</span> <span class="pl-kos">{</span> <span class="pl-c1">krate</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">node</span><span class="pl-kos">:</span> <span class="pl-c1">38</span> <span class="pl-kos">}</span><span class="pl-kos">:</span><span class="pl-smi">Rev</span><span class="pl-kos">&lt;</span><span class="pl-smi">I</span><span class="pl-kos">&gt;</span><span class="pl-kos">.</span><span class="pl-smi">Iterator</span><span class="pl-kos">,</span> substs=<span class="pl-v">Substs</span><span class="pl-kos">[</span>types=<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-kos">;</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> regions=<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-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> nested=<span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-v">Obligation</span><span class="pl-kos">(</span>predicate=<span class="pl-v">Binder</span><span class="pl-kos">(</span><span class="pl-v">TraitPredicate</span><span class="pl-kos">(</span><span class="pl-v">TraitRef</span><span class="pl-kos">(</span><span class="pl-v">I</span><span class="pl-kos">,</span> <span class="pl-v">Sized</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">,</span>depth=<span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Obligation</span><span class="pl-kos">(</span>predicate=<span class="pl-v">Binder</span><span class="pl-kos">(</span><span class="pl-v">TraitPredicate</span><span class="pl-kos">(</span><span class="pl-v">TraitRef</span><span class="pl-kos">(</span><span class="pl-v">I</span><span class="pl-kos">,</span> <span class="pl-v">DoubleEndedIterator</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">,</span>depth=<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><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>` did not contain <span class="pl-smi">projection</span> <span class="pl-k">for</span> `<span class="pl-smi">Obligation</span><span class="pl-kos">(</span><span class="pl-smi">predicate</span>=<span class="pl-kos">&lt;</span><span class="pl-smi">Rev</span><span class="pl-kos">&lt;</span><span class="pl-smi">I</span><span class="pl-kos">&gt;</span> <span class="pl-k">as</span> <span class="pl-smi">TraitRef</span><span class="pl-kos">(</span><span class="pl-smi">Rev</span><span class="pl-kos">&lt;</span><span class="pl-smi">I</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-smi">Iterator</span><span class="pl-kos">)</span><span class="pl-kos">&gt;</span><span class="pl-kos">::</span><span class="pl-smi">Item</span><span class="pl-kos">,</span><span class="pl-smi">depth</span>=<span class="pl-c1">0</span><span class="pl-kos">)</span>` iter<span class="pl-kos">.</span><span class="pl-smi">rs</span><span class="pl-kos">:</span><span class="pl-c1">23</span> <span class="pl-k">fn</span> <span class="pl-smi">next</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span> &lt;<span class="pl-smi">I</span> <span class="pl-k">as</span> <span class="pl-smi">Iterator</span>&gt;<span class="pl-kos">::</span><span class="pl-smi">Item</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> iter<span class="pl-kos">.</span>rs<span class="pl-kos">:</span><span class="pl-c1">24</span> <span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">0</span><span class="pl-kos">.</span>next_back<span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos"></span> iter<span class="pl-kos">.</span><span class="pl-c1">rs</span><span class="pl-kos">:</span><span class="pl-c1">25</span> <span class="pl-kos">}</span> note<span class="pl-kos">:</span> the compiler unexpectedly panicked<span class="pl-kos">.</span> <span class="pl-c1">this</span> is a bug<span class="pl-kos">.</span> <span class="pl-c1">note</span><span class="pl-kos">:</span> we would appreciate a bug report<span class="pl-kos">:</span> http<span class="pl-kos">:</span><span class="pl-c">//doc.rust-lang.org/complement-bugreport.html</span> note<span class="pl-kos">:</span> run with `<span class="pl-v">RUST_BACKTRACE</span>=<span class="pl-c1">1</span>` <span class="pl-k">for</span> a backtrace thread <span class="pl-c1">'</span>rustc<span class="pl-c1">'</span> panicked at <span class="pl-c1">'</span><span class="pl-v">Box</span>&lt;<span class="pl-v">Any</span>&gt;<span class="pl-c1">'</span><span class="pl-kos">,</span> /root/rust/src/libsyntax/diagnostic<span class="pl-kos">.</span><span class="pl-c1">rs</span><span class="pl-kos">:</span><span class="pl-c1">123</span> stack backtrace<span class="pl-kos">:</span> <span class="pl-c1">1</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1e70120</span> - sys<span class="pl-kos">::</span>backtrace<span class="pl-kos">::</span>write<span class="pl-kos">::</span>h3fe61c98bf398fe8P8s <span class="pl-c1">2</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1e8fef0</span> - failure<span class="pl-kos">::</span>on_fail<span class="pl-kos">::</span>h55da319a91ee267cEpz <span class="pl-c1">3</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1e05b40</span> - rt<span class="pl-kos">::</span>unwind<span class="pl-kos">::</span>begin_unwind_inner<span class="pl-kos">::</span>h2a51826b093fcd9eJ3y <span class="pl-c1">4</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddad24b3d0</span> - rt<span class="pl-kos">::</span>unwind<span class="pl-kos">::</span>begin_unwind<span class="pl-kos">::</span>h3298842058425057001 <span class="pl-c1">5</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddad24b360</span> - diagnostic<span class="pl-kos">::</span><span class="pl-smi">SpanHandler</span><span class="pl-kos">::</span>span_bug<span class="pl-kos">::</span>heeaf2edd6daa003fNQF <span class="pl-c1">6</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb022acb0</span> - middle<span class="pl-kos">::</span>traits<span class="pl-kos">::</span>project<span class="pl-kos">::</span>project_type<span class="pl-kos">::</span>hcf50d7eec736df9c35P <span class="pl-c1">7</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb0222800</span> - middle<span class="pl-kos">::</span>traits<span class="pl-kos">::</span>fulfill<span class="pl-kos">::</span>process_predicate<span class="pl-kos">::</span>h3703aabc133e79cayGP <span class="pl-c1">8</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb0221ab0</span> - middle<span class="pl-kos">::</span>traits<span class="pl-kos">::</span>fulfill<span class="pl-kos">::</span><span class="pl-v">FulfillmentContext</span>&lt;$u<span class="pl-kos">{</span><span class="pl-c1">27</span><span class="pl-kos">}</span>tcx$GT$<span class="pl-kos">::</span>select<span class="pl-kos">::</span><span class="pl-smi">h827e4d042486e566SzP</span> <span class="pl-c1">9</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb00ee7c0</span> - middle<span class="pl-kos">::</span>traits<span class="pl-kos">::</span>fulfill<span class="pl-kos">::</span><span class="pl-v">FulfillmentContext</span>&lt;$u<span class="pl-kos">{</span><span class="pl-c1">27</span><span class="pl-kos">}</span>tcx$GT$<span class="pl-kos">::</span>select_all_or_error<span class="pl-kos">::</span><span class="pl-smi">heebbe09eddbd26dfDwP</span> <span class="pl-c1">10</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1510cd0</span> - check<span class="pl-kos">::</span>compare_impl_method<span class="pl-kos">::</span>h359a8a44e8f8def4Zfk <span class="pl-c1">11</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb14ff0b0</span> - check<span class="pl-kos">::</span>check_item<span class="pl-kos">::</span>hfedb86714512d4d8XRj <span class="pl-c1">12</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb169d450</span> - check_crate<span class="pl-kos">::</span>unboxed_closure<span class="pl-kos">.</span><span class="pl-c1">39783</span> <span class="pl-c1">13</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb16981f0</span> - check_crate<span class="pl-kos">::</span>h7446c5344d10b3c1cGx <span class="pl-c1">14</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb23a98d0</span> - driver<span class="pl-kos">::</span>phase_3_run_analysis_passes<span class="pl-kos">::</span>hb59d2d67157ec124gva <span class="pl-c1">15</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb2397fb0</span> - driver<span class="pl-kos">::</span>compile_input<span class="pl-kos">::</span>hff9e8d16e3108315vba <span class="pl-c1">16</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb24e4900</span> - thunk<span class="pl-kos">::</span><span class="pl-v">F</span><span class="pl-kos">.</span><span class="pl-c1">Invoke</span>&lt;<span class="pl-v">A</span><span class="pl-kos">,</span>$u<span class="pl-kos">{</span><span class="pl-c1">20</span><span class="pl-kos">}</span><span class="pl-v">R</span>$GT$<span class="pl-kos">::</span>invoke<span class="pl-kos">::</span>h10803646332669730367 <span class="pl-c1">17</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb24e36c0</span> - rt<span class="pl-kos">::</span>unwind<span class="pl-kos">::</span>try<span class="pl-kos">::</span>try_fn<span class="pl-kos">::</span>h3820096971255462672 <span class="pl-c1">18</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1ef4eb0</span> - rust_try_inner <span class="pl-c1">19</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1ef4ea0</span> - rust_try <span class="pl-c1">20</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb24e3a10</span> - thunk<span class="pl-kos">::</span><span class="pl-v">F</span><span class="pl-kos">.</span><span class="pl-c1">Invoke</span>&lt;<span class="pl-v">A</span><span class="pl-kos">,</span>$u<span class="pl-kos">{</span><span class="pl-c1">20</span><span class="pl-kos">}</span><span class="pl-v">R</span>$GT$<span class="pl-kos">::</span>invoke<span class="pl-kos">::</span>h15250775183210022334 <span class="pl-c1">21</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1e7f8d0</span> - sys<span class="pl-kos">::</span>thread<span class="pl-kos">::</span>thread_start<span class="pl-kos">::</span>h7b82ef93cab3e580K1v <span class="pl-c1">22</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddaca690c0</span> - start_thread <span class="pl-c1">23</span><span class="pl-kos">:</span> <span class="pl-c1">0x7fddb1aab2d9</span> - __clone <span class="pl-c1">24</span><span class="pl-kos">:</span> <span class="pl-c1">0x0</span> - &lt;<span class="pl-smi">unknown</span>&gt;</pre></div> <h3 dir="auto">Version</h3> <p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/84f5ad8679c7fc454473ffbf389030f3e5fee379/hovercard" href="https://github.com/rust-lang/rust/commit/84f5ad8679c7fc454473ffbf389030f3e5fee379"><tt>84f5ad8</tt></a></p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikomatsakis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikomatsakis">@nikomatsakis</a></p>
1
<p dir="auto">I wanted to exclude all of the tensorflow logs in output. I searched and found that one or both of these setting should work:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="os.environ['TF_CPP_MIN_LOG_LEVEL']='3' tf.logging.set_verbosity(tf.logging.ERROR)"><pre class="notranslate"><code class="notranslate">os.environ['TF_CPP_MIN_LOG_LEVEL']='3' tf.logging.set_verbosity(tf.logging.ERROR) </code></pre></div> <p dir="auto">Though, I am still getting network loading logs, e.g.:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2019-02-28 23:51:13,520:INFO::Restoring parameters from ./pre_model/classic/brain4/network--6009999"><pre class="notranslate"><code class="notranslate">2019-02-28 23:51:13,520:INFO::Restoring parameters from ./pre_model/classic/brain4/network--6009999 </code></pre></div> <p dir="auto">I was wondering why the <code class="notranslate">INFO</code> logs are still there. I also searched a lot about it and read the previous issues, but neither had a certain solution for this problem.</p> <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>: Debian 8.7</li> <li><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>: NA</li> <li><strong>TensorFlow installed from (source or binary)</strong>: binary</li> <li><strong>TensorFlow version (use command below)</strong>: 1.10.1</li> <li><strong>Python version</strong>: 2.7</li> <li><strong>Bazel version (if compiling from source)</strong>: NA</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: NA</li> <li><strong>CUDA/cuDNN version</strong>: 9.0</li> <li><strong>GPU model and memory</strong>: K80 12GB</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="checkpoint = tf.train.get_checkpoint_state(os.path.join(directory, saved_model_address)) tf.train.Saver.restore(session, checkpoint.model_checkpoint_path) "><pre class="notranslate"><code class="notranslate">checkpoint = tf.train.get_checkpoint_state(os.path.join(directory, saved_model_address)) tf.train.Saver.restore(session, checkpoint.model_checkpoint_path) </code></pre></div> <p dir="auto">in which <code class="notranslate">saved_model_address</code> is the address of the saved model, and session is an instance of tf.Session() which the model is created in.</p>
<p dir="auto">In the softmax documentation on page:</p> <p dir="auto"><a href="http://tensorflow.org/tutorials/mnist/beginners/index.md" rel="nofollow">http://tensorflow.org/tutorials/mnist/beginners/index.md</a></p> <p dir="auto">There is a set of images showing an example of what the function is doing:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5950006/11081692/e3c5dc3c-87ec-11e5-8e9a-6ed0b0ace7c6.png"><img src="https://cloud.githubusercontent.com/assets/5950006/11081692/e3c5dc3c-87ec-11e5-8e9a-6ed0b0ace7c6.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Then the "xs" are pulled out so that we have the vectors Wx. But the coefficients in the image above is incorrect. If the image below, also take form the docs, shows the true form then the equations in the above image should be:</p> <p dir="auto">y1 = W1,1<strong>x1</strong> + W1,2<strong>x2</strong> + W1,3<strong>x3</strong> + b1</p> <p dir="auto">instead of:</p> <p dir="auto">y1 = W1,1<strong>x1</strong> + W1,2<strong>x1</strong> + W1,3<strong>x1</strong> + b1</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5950006/11081715/38e3fdb6-87ed-11e5-8621-ac80926f2c03.png"><img src="https://cloud.githubusercontent.com/assets/5950006/11081715/38e3fdb6-87ed-11e5-8621-ac80926f2c03.png" alt="image" style="max-width: 100%;"></a></p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=adamj" rel="nofollow">Adam Murray</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2128?redirect=false" rel="nofollow">SPR-2128</a></strong> and commented</p> <p dir="auto">The form implementation class org.springframework.web.servlet.tags.form.FormTag doesn't implement support for all the attributes it claims to support in the spring-form.tld. Specially, the attributes supported by code in the AbstractHtmlElementTag class are missing. This isn't a major problem on Tomcat, where things work fine until you try to use one of the unsupported attributes, like cssClass, and then the JSP fails to compile with the following error:<br> Unable to find setter method for attribute: cssClass</p> <p dir="auto">But the situation is worse on WebLogic 8.1, which appears to validate the TLD just by including the taglib on a page. I have a common taglibs.jsp page that includes all the taglibs needed by my app, even if they aren't used on a particular page. So I can't view any page in my application when using the spring form taglib and this "global include" type of approach, because all pages will display the following error:<br> Error in using tag library uri='<a href="http://www.springframework.org/tags/form" rel="nofollow">http://www.springframework.org/tags/form</a>' prefix='form': The Tag class 'org.springframework.web.servlet.tags.form.FormTag ' has no setter method corresponding to TLD declared attribute 'cssClass', (JSP 1.1 spec, 5.4.1)</p> <p dir="auto">I think ideally the FormTag class would extend from AbstractHtmlElementTag like most of the other tags, but this class in turn extends from AbstractDataBoundFormElementTag, which contains behavior that doesn't apply to the form tag. So I guess you might need to rework the inheritence hierarchy slightly?</p> <p dir="auto">I don't need these attributes so as a temporary workaround I removed them from my spring-forms.tld.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0 M5</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="398067031" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6829" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6829/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6829">#6829</a> form:form tag does not support all documented attributes (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=drcgjung" rel="nofollow">Dr. Christoph G. Jung</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2727?redirect=false" rel="nofollow">SPR-2727</a></strong> and commented</p> <p dir="auto">I just stumbled over an issue when dealing with a reasonable Java5 feature, that is covariant method overrides.</p> <p dir="auto">Suppose you define a general access interface</p> <p dir="auto">public interface Foo {<br> public Number getVersion();<br> }</p> <p dir="auto">and implement it in a bean like this (to my knowledge a really nice by-product of the lang spec extension that came with the introduction of Generics)</p> <p dir="auto">public class Bar implements Foo {<br> private double version;</p> <p dir="auto">public Double getVersion() {<br> return this.version;<br> }</p> <p dir="auto">public void setVersion(Double theDouble) {<br> this.version=theDouble;<br> }<br> }</p> <p dir="auto">the JavaBeans Introspector will upon reflecting Bar.class return a PropertyDescriptor for property "version" that has type "java.lang.Number", a read method java.lang.Number Bar.getVersion() and no write method! This leads to surprising NotWritablePropertyExceptions when trying to configure the Bar bean with Spring.</p> <p dir="auto">The attached patch would lead to a CachedIntrospectionResults version that still is conformant to JavaBeans, but can deal with those covariant properties with a (AFAICS)<br> minimal processing overhead (one additional "canonical" getter lookup per asymetric propertydescriptor, another one for identifying the corresponding setter).</p> <p dir="auto">This would be really convenient and helpful (and I suppose there will be more such cases when dealing with generics in properties which can't be easily worked around by adding another getter/setter).</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0 final</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/12037/patch.txt" rel="nofollow">patch.txt</a> (<em>2.51 kB</em>)</li> </ul> <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="398073256" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7570" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7570/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7570">#7570</a> Data Binding to Class Extending Abstract Class Uses Volatile Abstract Methods Instead of Overridden Final Method (<em><strong>"is depended on by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398091650" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9928" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9928/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9928">#9928</a> The parameter type of the setter should not need to match the return type of the getter (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">1 votes, 3 watchers</p>
0
<h3 dir="auto">Describe your issue.</h3> <p dir="auto">with scipy1.10 scipy.interpolate.RegularGridInterpolator object gives the following error message when the <strong>call</strong> method is used:</p> <h3 dir="auto">Reproducing Code Example</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import scipy import scipy.interpolate import numpy as np foo = scipy.interpolate.RegularGridInterpolator( [np.arange(4), np.arange(5)], np.zeros([4,5],&quot;f&quot;), bounds_error=False, method=&quot;linear&quot;, fill_value=None, ) print( foo( (0,0))) print( foo( [ (0,0), (0,0) ])) print( foo(np.zeros([20,21,2],&quot;f&quot;)))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">scipy</span> <span class="pl-k">import</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">interpolate</span> <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-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">interpolate</span>.<span class="pl-v">RegularGridInterpolator</span>( [<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">4</span>), <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">5</span>)], <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>([<span class="pl-c1">4</span>,<span class="pl-c1">5</span>],<span class="pl-s">"f"</span>), <span class="pl-s1">bounds_error</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s">"linear"</span>, <span class="pl-s1">fill_value</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, ) <span class="pl-en">print</span>( <span class="pl-en">foo</span>( (<span class="pl-c1">0</span>,<span class="pl-c1">0</span>))) <span class="pl-en">print</span>( <span class="pl-en">foo</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-en">print</span>( <span class="pl-en">foo</span>(<span class="pl-s1">np</span>.<span class="pl-en">zeros</span>([<span class="pl-c1">20</span>,<span class="pl-c1">21</span>,<span class="pl-c1">2</span>],<span class="pl-s">"f"</span>)))</pre></div> <h3 dir="auto">Error message</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;test.py&quot;, line 12, in &lt;module&gt; print( foo( (0,0))) File &quot;/tmp/pippo/lib/python3.8/site-packages/scipy/interpolate/_rgi.py&quot;, line 336, in __call__ result = evaluate_linear_2d(self.values, File &quot;_rgi_cython.pyx&quot;, line 19, in scipy.interpolate._rgi_cython.__pyx_fused_cpdef TypeError: No matching signature found"><pre class="notranslate">Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>test.py<span class="pl-pds">"</span></span>, line 12, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> print( foo( (0,0))) File <span class="pl-s"><span class="pl-pds">"</span>/tmp/pippo/lib/python3.8/site-packages/scipy/interpolate/_rgi.py<span class="pl-pds">"</span></span>, line 336, <span class="pl-k">in</span> __call__ result = evaluate_linear_2d(self.values, File <span class="pl-s"><span class="pl-pds">"</span>_rgi_cython.pyx<span class="pl-pds">"</span></span>, line 19, <span class="pl-k">in</span> scipy.interpolate._rgi_cython.__pyx_fused_cpdef TypeError: No matching signature found</pre></div> <h3 dir="auto">SciPy/NumPy/Python version information</h3> <p dir="auto">1.10.0 1.24.1 sys.version_info(major=3, minor=8, micro=10, releaselevel='final', serial=0)</p>
<h3 dir="auto">Describe your issue.</h3> <p dir="auto">Invoking <code class="notranslate">RegularGridInterpolator</code> for a 2D interpolation problem where the data array is <code class="notranslate">float32</code> crashes.</p> <h3 dir="auto">Reproducing Code Example</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;&quot;&quot; Found our code tickled a bug. We have a mismatched type, but probably this shouldn't crash... Reproducing code is copied (and reduced to 2d ) from the `scipy` tutorial: https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.RegularGridInterpolator.html &quot;&quot;&quot; from scipy.interpolate import RegularGridInterpolator import numpy as np def f(x, y): return 2 * x**3 + 3 * y**2 x = np.linspace(1, 4, 11) y = np.linspace(4, 7, 22) xg, yg = np.meshgrid(x, y, indexing='ij', sparse=True) data = f(xg, yg) # This line tickles the issue. data = data.astype(np.float32) interp = RegularGridInterpolator((x, y), data) pts = np.array([[2.1, 6.2], [3.3, 5.2]]) q = interp(pts) print(q) # expect [134.10469388 153.40069388] print(f(*pts[0]), f(*pts[1])) # 133.842 152.994"><pre class="notranslate"><span class="pl-s">""" </span> <span class="pl-s">Found our code tickled a bug. We have a mismatched type, but probably this shouldn't crash... </span> <span class="pl-s"> </span> <span class="pl-s">Reproducing code is copied (and reduced to 2d ) from the `scipy` tutorial: </span> <span class="pl-s"> </span> <span class="pl-s">https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.RegularGridInterpolator.html </span> <span class="pl-s">"""</span> <span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">interpolate</span> <span class="pl-k">import</span> <span class="pl-v">RegularGridInterpolator</span> <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">def</span> <span class="pl-en">f</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>): <span class="pl-k">return</span> <span class="pl-c1">2</span> <span class="pl-c1">*</span> <span class="pl-s1">x</span><span class="pl-c1">**</span><span class="pl-c1">3</span> <span class="pl-c1">+</span> <span class="pl-c1">3</span> <span class="pl-c1">*</span> <span class="pl-s1">y</span><span class="pl-c1">**</span><span class="pl-c1">2</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">1</span>, <span class="pl-c1">4</span>, <span class="pl-c1">11</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">4</span>, <span class="pl-c1">7</span>, <span class="pl-c1">22</span>) <span class="pl-s1">xg</span>, <span class="pl-s1">yg</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">y</span>, <span class="pl-s1">indexing</span><span class="pl-c1">=</span><span class="pl-s">'ij'</span>, <span class="pl-s1">sparse</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-en">f</span>(<span class="pl-s1">xg</span>, <span class="pl-s1">yg</span>) <span class="pl-c"># This line tickles the issue. </span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">data</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">float32</span>) <span class="pl-s1">interp</span> <span class="pl-c1">=</span> <span class="pl-v">RegularGridInterpolator</span>((<span class="pl-s1">x</span>, <span class="pl-s1">y</span>), <span class="pl-s1">data</span>) <span class="pl-s1">pts</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-c1">2.1</span>, <span class="pl-c1">6.2</span>], [<span class="pl-c1">3.3</span>, <span class="pl-c1">5.2</span>]]) <span class="pl-s1">q</span> <span class="pl-c1">=</span> <span class="pl-en">interp</span>(<span class="pl-s1">pts</span>) <span class="pl-en">print</span>(<span class="pl-s1">q</span>) <span class="pl-c"># expect [134.10469388 153.40069388] </span> <span class="pl-en">print</span>(<span class="pl-en">f</span>(<span class="pl-c1">*</span><span class="pl-s1">pts</span>[<span class="pl-c1">0</span>]), <span class="pl-en">f</span>(<span class="pl-c1">*</span><span class="pl-s1">pts</span>[<span class="pl-c1">1</span>])) <span class="pl-c"># 133.842 152.994</span></pre></div> <h3 dir="auto">Error message</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Traceback (most recent call last): # File &quot;repro_interp_issue.py&quot;, line 22, in &lt;module&gt; # q = interp(pts) # File &quot;/Users/gbwright/opt/miniconda3/envs/sp110/lib/python3.8/site-packages/scipy/interpolate/_rgi.py&quot;, line 336, in __call__ # result = evaluate_linear_2d(self.values, # File &quot;_rgi_cython.pyx&quot;, line 19, in scipy.interpolate._rgi_cython.__pyx_fused_cpdef # TypeError: No matching signature found"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> Traceback (most recent call last): </span> <span class="pl-c"><span class="pl-c">#</span> File "repro_interp_issue.py", line 22, in &lt;module&gt; </span> <span class="pl-c"><span class="pl-c">#</span> q = interp(pts) </span> <span class="pl-c"><span class="pl-c">#</span> File "/Users/gbwright/opt/miniconda3/envs/sp110/lib/python3.8/site-packages/scipy/interpolate/_rgi.py", line 336, in __call__ </span> <span class="pl-c"><span class="pl-c">#</span> result = evaluate_linear_2d(self.values, </span> <span class="pl-c"><span class="pl-c">#</span> File "_rgi_cython.pyx", line 19, in scipy.interpolate._rgi_cython.__pyx_fused_cpdef </span> <span class="pl-c"><span class="pl-c">#</span> TypeError: No matching signature found</span></pre></div> <h3 dir="auto">SciPy/NumPy/Python version information</h3> <p dir="auto">1.10.0 1.24.1 sys.version_info(major=3, minor=8, micro=15, releaselevel='final', serial=0)</p>
1
<p dir="auto">There is a fiddle illustrating the problem here <a href="http://jsfiddle.net/lddubeau/kcbFY/" rel="nofollow">http://jsfiddle.net/lddubeau/kcbFY/</a></p> <p dir="auto">(It imports 3.0.0 RC2 rather than what is on the wip branch. I tried to get the fiddle to get the latest from github but jsfiddle complained. Visual inspection of the files on the wip branch tells me the issue has not disappeared since 3.0.0 RC2 .)</p> <p dir="auto">The following scenarios refer to the fiddle above.</p> <h3 dir="auto">Scenario 1</h3> <p dir="auto">If you load the fiddle and click on the panel headers and don't touch the two buttons at the bottom, when expanding one panel, the other collapses. This is the expected behavior.</p> <h3 dir="auto">Scenario 2</h3> <p dir="auto">However, if you load the fiddle and then click the "Trigger it programmatically" button. Panel B will expand without panel A collapsing. The expected behavior would be for panel A to collapse as panel B expands.</p> <h3 dir="auto">Scenario 3</h3> <p dir="auto">If you load the fiddle and then click the "Workaround" button, panel B will expand and panel A collapse. That's the expected behavior.</p> <h3 dir="auto">Scenario 4</h3> <p dir="auto">Load the fiddle. Click on "Panel B". Works fine. Then click on "Panel A" so that panel A is expanded and panel B collapsed. Then, hit "Trigger it programmatically". It works as expected: panel A collapses, panel B expands.</p> <h3 dir="auto">Discussion</h3> <p dir="auto">What happens in Scenario 2 is that when the <code class="notranslate">$.collapse()</code> function is called, the element appears to be some random collapsible element not part of a group of panels that should be coordinated together. There is no information on the element itself to tell <code class="notranslate">$.collapse()</code> that there is a <code class="notranslate">data-parent</code> associated with this element.</p> <p dir="auto">This is confirmed by scenario 4. There, the click on the "Panel B" heading triggers <code class="notranslate">click.bs.collapse.data-api</code>, which causes the collapsible element to acquire a <code class="notranslate">Collapse</code> object which is properly initialized. From that point on, it is possible to call <code class="notranslate">$.collapse()</code> on that element and get proper behavior but that's only because the user first clicked on the heading.</p> <p dir="auto">This is also confirmed by the workaround which consists in duplicating the information already present in the HTML so that the <code class="notranslate">Collapse</code> object is created properly. There is another workaround in this fiddle: <a href="http://jsfiddle.net/lddubeau/6uzL6/" rel="nofollow">http://jsfiddle.net/lddubeau/6uzL6/</a> This fiddle contains a modified HTML where the <code class="notranslate">data-parent</code> attribute is set on both the toggles and on their targets.</p> <p dir="auto">If the <code class="notranslate">data-parent</code> attribute were specified on the element that actually collapses rather than on the toggle (and modify <code class="notranslate">click.bs.collapse.data-api</code> to seek the <code class="notranslate">data-parent</code> information from its target) it would avoid having to duplicate the information either in the JS or in the HTML.</p>
<p dir="auto">It seems there is something funky happening when compiling the the less files to plain old css. While porting 3.0.0-wip to Sass I noticed duplicate rules in the bootstrap.css generated by recess:</p> <p dir="auto">A good example is in lines <a href="https://github.com/twitter/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L587">587 to 605</a> of bootstrap.css. The rules for .dl-horizontal dd:before and .dl-horizontal dd:after are duplicated, it seems it has something to do with the clearfix mixin. It happens to all classes making use of clearfix(). I couldn't reproduce the error when extracting the mixin and classes into a smaller testfile.</p>
0
<p dir="auto">I fit exactly same data to LinearRegression() function but get two slightly different model coeficients.</p> <p dir="auto">1st try:<br> 3260 12/05/2018 12:41:59 PM self.ref_price_psf_model.coef_1 = 0.8927025598257011<br> 3260 12/05/2018 12:41:59 PM self.ref_price_psf_model.coef_2 = -1.697037974902777e-05<br> 3260 12/05/2018 12:41:59 PM self.ref_price_psf_model.coef_3 = -0.031210337831353692<br> 3260 12/05/2018 12:41:59 PM self.ref_price_psf_model.coef_4 = 0.0021041235932400064<br> 3260 12/05/2018 12:41:59 PM self.ref_price_psf_model.intercept_ = 19.049368273019788</p> <p dir="auto">2nd try:<br> 2976 12/05/2018 12:56:50 PM self.ref_price_psf_model.coef_1 = 0.8927025598256996<br> 2976 12/05/2018 12:56:50 PM self.ref_price_psf_model.coef_2 = -1.6970379749026318e-05<br> 2976 12/05/2018 12:56:50 PM self.ref_price_psf_model.coef_3 = -0.031210337831354636<br> 2976 12/05/2018 12:56:50 PM self.ref_price_psf_model.coef_4 = 0.0021041235932399926<br> 2976 12/05/2018 12:56:50 PM self.ref_price_psf_model.intercept_ = 19.049368273019823</p> <p dir="auto">I am expecting then to be exactly the same. Could you tell me what could cause this? How to fix it?</p> <p dir="auto">Thanks</p>
<p dir="auto"><code class="notranslate">LinearRegression</code> is sometimes not deterministic, as shown by the following test:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.linear_model import LinearRegression from sklearn.utils.testing import assert_array_equal from sklearn.tests.test_multioutput import generate_multilabel_dataset_with_correlations def test_investigate_linear_regression_indeterminacy(): # Is LinearRegression deterministic? X, Y = generate_multilabel_dataset_with_correlations() y = Y[:, 1] ref = LinearRegression().fit(X, y).coef_ for i in range(1000): coef = LinearRegression().fit(X, y).coef_ assert_array_equal(ref, coef, 'iter %d' % i) test_investigate_linear_regression_indeterminacy()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">linear_model</span> <span class="pl-k">import</span> <span class="pl-v">LinearRegression</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">testing</span> <span class="pl-k">import</span> <span class="pl-s1">assert_array_equal</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">tests</span>.<span class="pl-s1">test_multioutput</span> <span class="pl-k">import</span> <span class="pl-s1">generate_multilabel_dataset_with_correlations</span> <span class="pl-k">def</span> <span class="pl-en">test_investigate_linear_regression_indeterminacy</span>(): <span class="pl-c"># Is LinearRegression deterministic?</span> <span class="pl-v">X</span>, <span class="pl-v">Y</span> <span class="pl-c1">=</span> <span class="pl-en">generate_multilabel_dataset_with_correlations</span>() <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-v">Y</span>[:, <span class="pl-c1">1</span>] <span class="pl-s1">ref</span> <span class="pl-c1">=</span> <span class="pl-v">LinearRegression</span>().<span class="pl-en">fit</span>(<span class="pl-v">X</span>, <span class="pl-s1">y</span>).<span class="pl-s1">coef_</span> <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">1000</span>): <span class="pl-s1">coef</span> <span class="pl-c1">=</span> <span class="pl-v">LinearRegression</span>().<span class="pl-en">fit</span>(<span class="pl-v">X</span>, <span class="pl-s1">y</span>).<span class="pl-s1">coef_</span> <span class="pl-en">assert_array_equal</span>(<span class="pl-s1">ref</span>, <span class="pl-s1">coef</span>, <span class="pl-s">'iter %d'</span> <span class="pl-c1">%</span> <span class="pl-s1">i</span>) <span class="pl-en">test_investigate_linear_regression_indeterminacy</span>()</pre></div> <p dir="auto">which failed <strong>at iteration 18</strong> in <a href="https://travis-ci.org/scikit-learn/scikit-learn/jobs/314812527#L2797" rel="nofollow">this Travis job</a>. I can't reproduce locally.<br> It only occurs on one Travis platform (Linux + python 3.6.2), only sometimes (iteration 18 in this test case).</p> <p dir="auto">Failure spotted initially in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="239823784" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/9257" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/9257/hovercard?comment_id=350111442&amp;comment_type=issue_comment" href="https://github.com/scikit-learn/scikit-learn/pull/9257#issuecomment-350111442">#9257 (comment)</a></p>
1
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>yes</td> </tr> <tr> <td>Symfony version</td> <td>3.4 ? maybe also before</td> </tr> </tbody> </table> <p dir="auto">In the sulu recipe, we will add another file which adds the firewall to the existing configuration. This is not really possible without manually adding the <code class="notranslate">admin</code> key inside the <code class="notranslate">security.yaml</code> file!</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stof/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stof">@stof</a> hopefully you will add your thought which we have at the #SymfonyConHackday2017</p>
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>no</td> </tr> <tr> <td>Feature request?</td> <td>yes</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>-</td> </tr> </tbody> </table> <p dir="auto">One of the most frustrating limitations of the Security component config is that you can't define the firewalls in different files:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="InvalidConfigurationException in PrototypedArrayNode.php line 325: You are not allowed to define new elements for path &quot;security.firewalls&quot;. Please define all elements for this path in one config file."><pre class="notranslate"><code class="notranslate">InvalidConfigurationException in PrototypedArrayNode.php line 325: You are not allowed to define new elements for path "security.firewalls". Please define all elements for this path in one config file. </code></pre></div> <p dir="auto">But this could be so useful! Like in this example:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# app/config/dev/security.yml security: firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false # app/config/security.yml security: # ... firewalls: main: # ..."><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> app/config/dev/security.yml</span> <span class="pl-ent">security</span>: <span class="pl-ent">firewalls</span>: <span class="pl-ent">dev</span>: <span class="pl-ent">pattern</span>: <span class="pl-s">^/(_(profiler|wdt)|css|images|js)/</span> <span class="pl-ent">security</span>: <span class="pl-c1">false</span> <span class="pl-c"><span class="pl-c">#</span> app/config/security.yml</span> <span class="pl-ent">security</span>: <span class="pl-c"><span class="pl-c">#</span> ...</span> <span class="pl-ent">firewalls</span>: <span class="pl-ent">main</span>: <span class="pl-c"><span class="pl-c">#</span> ...</span></pre></div> <p dir="auto">So, my question for those experts in the internals of the Security component: would be really hard to remove this limitation? Maybe it's a matter of changing a few lines of code but nobody really tried to do that. Thanks!</p>
1
<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> Before 2.1.1, building our code with ngc would compile it with no errors (but not actually AoT the Angular templates because we use the upgrade adapter). Now that upgrade adapter AoT support has been added with 2.1.1, I get the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in /home/gibson/.build/shared/js/cyph.im/appmodule.ts, resolving symbol AppModule in /home/gibson/.build/shared/js/cyph.im/appmodule.ts at simplifyInContext (/usr/lib/node_modules/@angular/compiler-cli/src/static_reflector.js:472:23) at StaticReflector.simplify (/usr/lib/node_modules/@angular/compiler-cli/src/static_reflector.js:475:22) at StaticReflector.annotations (/usr/lib/node_modules/@angular/compiler-cli/src/static_reflector.js:61:36) at _loop_1 (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:66:54) at CodeGeneratorModuleCollector.readFileMetadata (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:79:13) at /usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:41:74 at Array.map (native) at CodeGeneratorModuleCollector.getModuleSymbols (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:41:35) at CodeGenerator.codegen (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:120:39) at codegen (/usr/lib/node_modules/@angular/compiler-cli/src/main.js:7:81)"><pre class="notranslate"><code class="notranslate">Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in /home/gibson/.build/shared/js/cyph.im/appmodule.ts, resolving symbol AppModule in /home/gibson/.build/shared/js/cyph.im/appmodule.ts at simplifyInContext (/usr/lib/node_modules/@angular/compiler-cli/src/static_reflector.js:472:23) at StaticReflector.simplify (/usr/lib/node_modules/@angular/compiler-cli/src/static_reflector.js:475:22) at StaticReflector.annotations (/usr/lib/node_modules/@angular/compiler-cli/src/static_reflector.js:61:36) at _loop_1 (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:66:54) at CodeGeneratorModuleCollector.readFileMetadata (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:79:13) at /usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:41:74 at Array.map (native) at CodeGeneratorModuleCollector.getModuleSymbols (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:41:35) at CodeGenerator.codegen (/usr/lib/node_modules/@angular/compiler-cli/src/codegen.js:120:39) at codegen (/usr/lib/node_modules/@angular/compiler-cli/src/main.js:7:81) </code></pre></div> <p dir="auto"><strong>Expected behavior</strong><br> Code builds successfully.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> Running ngc on our project that includes the following main module:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import {AppComponent} from './appcomponent'; import {CommonModule} from '@angular/common'; import {NgModule, forwardRef} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {UpgradeAdapter as NgUpgradeAdapter} from '@angular/upgrade'; ... export const UpgradeAdapter = new NgUpgradeAdapter( forwardRef(() =&gt; AppModule) ); @NgModule({ imports: [ BrowserModule, CommonModule ], declarations: [ AppComponent, UpgradeAdapter.upgradeNg1Component( ... ), ... ] }) export class AppModule {}"><pre class="notranslate"><code class="notranslate">import {AppComponent} from './appcomponent'; import {CommonModule} from '@angular/common'; import {NgModule, forwardRef} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {UpgradeAdapter as NgUpgradeAdapter} from '@angular/upgrade'; ... export const UpgradeAdapter = new NgUpgradeAdapter( forwardRef(() =&gt; AppModule) ); @NgModule({ imports: [ BrowserModule, CommonModule ], declarations: [ AppComponent, UpgradeAdapter.upgradeNg1Component( ... ), ... ] }) export class AppModule {} </code></pre></div> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Being able to use Angular 2 at all. (We can't use JIT'd ng2 in prod due to our CSP.)</p> <p dir="auto"><strong>Please tell us about your environment:</strong> Debian Jessie inside Docker on OS X El Capitan</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.1.1</li> <li><strong>Browser:</strong> N/A</li> <li><strong>Language:</strong> TypeScript 2.0.3</li> <li><strong>Node (for AoT issues):</strong> 6.7.0</li> </ul>
<p dir="auto">I have been struggling with issues using the paper-data-table written in polymer<br> (more information about the issue and my questetion is here: [http://stackoverflow.com/questions/36864501/using-paper-datatable-in-angular2](The issue)<br> One of the suggested solution is to surround the table with: <br> which is a polymer binding helper element. The problem is that angular removes all the template tags from the dom which dont use an angular directive (inside my component html).<br> I didn't find a way to coop with this, maybe there should be some way of telling angular to not process the some template tags (but still process their children because I do need to use data biniding inside the template tag in order to pass data for the table element)</p>
0
<p dir="auto">There are many native features that will require listening to windows messages and alter them.<br> It's important to hook to the original wndproc so we'll be able to alter messages as well.<br> After digging in I noticed there is a PreHandleMSG in here <a href="https://github.com/atom/electron/blob/master/atom/browser/native_window_views_win.cc#L81">https://github.com/atom/electron/blob/master/atom/browser/native_window_views_win.cc#L81</a><br> And after a bit of testings I managed to affect the messages a windows is receiving.</p> <p dir="auto">I wonder if it is the best way to hook into the wndproc<br> Any thoughts?</p>
<p dir="auto">There are many native Windows features that will require listening to some <code class="notranslate">WM</code> or another. Right now there isn't a great way in Atom Shell to do this. AFAICT, your best bet is to:</p> <ol dir="auto"> <li>Create your own native node module</li> <li>Include <code class="notranslate">&lt;windows.h&gt;</code></li> <li>Create a message-only <code class="notranslate">Hwnd</code> that is a child of your Atom window</li> <li>Hook <code class="notranslate">WndProc</code> for whatever message you're interested in</li> <li>Fire a callback to the JS</li> </ol> <p dir="auto">It would be <em>awesome</em> if there was a generic way to add a handler for a window message, and Atom Shell took care of the above steps natively. Something like:</p> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="messageCode = 262 # WM_SYSCHAR browserWindow.hookWindowMessage messageCode, (wParam, lParam) -&gt; # Do your dirty work"><pre class="notranslate"><span class="pl-v">messageCode</span> <span class="pl-k">=</span> <span class="pl-c1">262</span> <span class="pl-c"><span class="pl-c">#</span> WM_SYSCHAR</span> <span class="pl-smi">browserWindow</span>.<span class="pl-en">hookWindowMessage</span> messageCode, (<span class="pl-smi">wParam</span>, <span class="pl-smi">lParam</span>) <span class="pl-k">-&gt;</span> <span class="pl-c"><span class="pl-c">#</span> Do your dirty work</span></pre></div>
1
<p dir="auto">If you call <code class="notranslate">jl_init()</code> from a Windows application without a console, Julia 0.7 and 1.0 will abort the application after trying and failing to duplicate an invalid stdio handle. Julia 0.6 was less strict (and possibly less correct) about this but at least the apparent result was that things worked and stdout/stderr output just disappeared.</p> <p dir="auto">This doesn't seem like an unreasonable use case for embedding and <code class="notranslate">jl_init</code> should handle it gracefully. If it can't easily be fixed it should at least be documented.</p> <p dir="auto">The easiest workaround I have found is to call <code class="notranslate">AllocConsole()</code> before <code class="notranslate">jl_init()</code>, with the predictable drawback that you get a window that you might not want. As a workaround for the workaround you can hide the console window with <code class="notranslate">ShowWindow(GetConsoleWindow(), SW_HIDE)</code>, but not without a brief flickering between creation and hiding.</p> <p dir="auto">For more details, see <a href="https://discourse.julialang.org/t/embedding-jl-init-exits-on-windows-for-julia-0-7/13819" rel="nofollow">https://discourse.julialang.org/t/embedding-jl-init-exits-on-windows-for-julia-0-7/13819</a></p>
<p dir="auto">Currently, <code class="notranslate">convert</code> is used to extract the magnitude of a quantity, or alternatively to give units to a dimensionless quantity. This happens in the <code class="notranslate">Dates</code> code in <code class="notranslate">Base</code>, and the behaviour has inspired similar behaviour in SIUnits.jl and Unitful.jl.</p> <p dir="auto">In Base, <code class="notranslate">convert</code> is generally used to convert between values of different types, but with same meaning. Since 1 and 1 second do not represent the same quantity, the use of <code class="notranslate">convert</code> to switch between them is a pun. In addition, it can lead to surprising behaviour. Note:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; convert(Base.Dates.Second, 60) 60 seconds julia&gt; convert(Base.Dates.Minute, ans) 1 minute julia&gt; convert(Int, ans) 1"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">convert</span>(Base<span class="pl-k">.</span>Dates<span class="pl-k">.</span>Second, <span class="pl-c1">60</span>) <span class="pl-c1">60</span> seconds julia<span class="pl-k">&gt;</span> <span class="pl-c1">convert</span>(Base<span class="pl-k">.</span>Dates<span class="pl-k">.</span>Minute, ans) <span class="pl-c1">1</span> minute julia<span class="pl-k">&gt;</span> <span class="pl-c1">convert</span>(Int, ans) <span class="pl-c1">1</span></pre></div> <p dir="auto">So we have converted an Int back to itself, but the conversion was lossy!</p>
0
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Make the WM tile automatically and properly.<br> Allow key binding for mode select (priority or other or grid)<br> Allow you to group custom presets into a custom template which you can then switch to using the binding describer above.<br> (When opening the custom template there is an option for what template you want to use for missing descriptors.)</p> <p dir="auto">ps. i wasn't sure if I should create 3 Feature request or 1.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">Simply read the amount of apps running on the desktop - floating windows.<br> Allow user to set windows at floating windows with a keyboard shortcut.</p> <p dir="auto">Have a list ways to do the sorting. Examples Below.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13624265/87860591-d95b0e00-c93e-11ea-8915-908e9a80e857.png"><img src="https://user-images.githubusercontent.com/13624265/87860591-d95b0e00-c93e-11ea-8915-908e9a80e857.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">Be able to change the template "on the fly" by using a keyboard shortcut.</h2> <p dir="auto">When I press the given shortcut, it activates the template associated.<br> Then, the next time I use "Shift-drag" to place a windows into a template area, the areas shown corresponds to newly selected template.</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>
0
<p dir="auto">Users can consume the options appropriately or pass them down to recursive <code class="notranslate">Deno.inspect()</code> calls.</p>
<p dir="auto"><em>Edit: the current proposal is here <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="728670624" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/8099" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/8099/hovercard?comment_id=757434256&amp;comment_type=issue_comment" href="https://github.com/denoland/deno/issues/8099#issuecomment-757434256">#8099 (comment)</a></em></p> <hr> <p dir="auto">Probably should have thought of this when we did <code class="notranslate">Deno.customInspect</code> but we didn't. As our console output has evolved, it makes it really hard to implement the same rich output. For example if you have the following code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const h = new Headers(); h.append(&quot;key&quot;, &quot;value&quot;); console.log(h);"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">h</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Headers</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">h</span><span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s">"key"</span><span class="pl-kos">,</span> <span class="pl-s">"value"</span><span class="pl-kos">)</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-s1">h</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">You would get something like the following output:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1282577/97069044-d6944700-1618-11eb-87f7-37365013b3ac.png"><img width="157" alt="a non coloured output string" src="https://user-images.githubusercontent.com/1282577/97069044-d6944700-1618-11eb-87f7-37365013b3ac.png" style="max-width: 100%;"></a></p> <p dir="auto">Where as if you did:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log({ key: &quot;value&quot; });"><pre class="notranslate"><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-kos">{</span> <span class="pl-c1">key</span>: <span class="pl-s">"value"</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">You would get:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1282577/97069063-017e9b00-1619-11eb-940d-35428f56c4d9.png"><img width="115" alt="a coloured output string" src="https://user-images.githubusercontent.com/1282577/97069063-017e9b00-1619-11eb-940d-35428f56c4d9.png" style="max-width: 100%;"></a></p> <p dir="auto">Which takes advantage of all the other benefits of the output algorithm.</p> <p dir="auto">Therefore if we had another symbol that returned a more structured set of information, we could use the same algorithms to colourise the output and otherwise pretty print it. I would propose that we create <code class="notranslate">Symbol("Deno.richCustomInspect")</code> which would require a return of a tuple value of two strings. The first string would be the <em>name</em> for the inspector and the second value would be a JSON string, which would be parsed by the inspector.</p> <p dir="auto">So for example if I wanted a rich output for <code class="notranslate">Headers</code>, I would do something like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Headers { [Symbol.for(&quot;Deno.richCustomInspect]() { const output = {}; for (const [key, value] of this[headersData]) { output[key] = value; } return [ &quot;Headers&quot;, JSON.stringify(output) ]; } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Headers</span> <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">for</span><span class="pl-kos">(</span><span class="pl-s">"Deno.richCustomInspect]() {</span> <span class="pl-s"> const output = {};</span> <span class="pl-s"> for (const [key, value] of this[headersData]) {</span> <span class="pl-s"> output[key] = value;</span> <span class="pl-s"> }</span> <span class="pl-s"> return [ "</span><span class="pl-v">Headers</span>", JSON.stringify(output) ]; } }</pre></div> <p dir="auto">This would allow complex modelling of the internals, but ensure serialisation to a consistent format that can be handled by the inspector.</p>
1
<p dir="auto">Using a samsung 7 tablet<br> when doing challenges, "Go to my next challenge" link does not work when tablet is in portrait mode, but works fine in landscape</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-say-hello-to-html-elements" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-say-hello-to-html-elements</a> has an issue. Please describe how to reproduce it, and include links to screen shots if possible.</p> <p dir="auto">I was unable to access the instructions for this module because the button labeled "More Information" was unresponsive on my mobile devices (both iPhone &amp; iPad). For both, I'm running iOS v 8.3.</p> <p dir="auto">The editor and display both seem to be working fine. It would be extremely useful to be able to use my mobile devices in addition to my laptop because it's easier to integrate into my daily routine.</p>
1
<p dir="auto">Hello,</p> <p dir="auto">I want to apologize first if someone ask it before, I did a lot of searches, and I didn't find an answer, so.. as I don't know if that's an issue or not, I post it there.</p> <p dir="auto">I have, for many events (but not all) the following issue :<br> My listeners are called 2 times whereas I only send it once (I'm sure about it, I did a lot of tests) when I call next({}).</p> <p dir="auto">An example ?<br> The call : <a href="https://github.com/Peekmo/angular2-leap/blob/master/src/app/components/link-element/link-element.ts#L38">https://github.com/Peekmo/angular2-leap/blob/master/src/app/components/link-element/link-element.ts#L38</a><br> The template that call the component : <a href="https://github.com/Peekmo/angular2-leap/blob/master/src/app/components/page/page.html#L7">https://github.com/Peekmo/angular2-leap/blob/master/src/app/components/page/page.html#L7</a><br> The function that is called twice for one .next() : <a href="https://github.com/Peekmo/angular2-leap/blob/master/src/app/components/page/page.ts#L23">https://github.com/Peekmo/angular2-leap/blob/master/src/app/components/page/page.ts#L23</a> (note : I'm forced to do that ugly timeout to avoid to do 2 times the same thing)</p> <p dir="auto">Is that normal ? Do I do something wrong ? (I have some listener in the same app that are only called once, and other twice so that's weird..)<br> If you never heard about that, that's probably an issue into my app.</p> <p dir="auto">Thank you ! <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></p>
<p dir="auto"><strong>I'm submitting a ...</strong></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></p> <p dir="auto">When using <code class="notranslate">&lt;select&gt;</code> with <code class="notranslate">&lt;select [attr.multiple]="true"&gt;</code> the value for the select is not an array of values but only a single value.</p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto"><code class="notranslate">&lt;select [attr.multiple]&gt;</code> should populate the value of the select control with an array of values.<br> But if I use <code class="notranslate">&lt;select multiple&gt;</code>, it would work.</p> <p dir="auto"><strong>Reproduction of the problem</strong></p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <ul dir="auto"> <li> <p dir="auto"><strong>Angular version:</strong> 2.0.0</p> </li> <li> <p dir="auto"><strong>Browser:</strong> [Chrome 54]</p> </li> <li> <p dir="auto"><strong>Language:</strong> [TypeScript 2.0]</p> </li> <li> <p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = 6.4</p> </li> </ul>
0
<p dir="auto">AFAIK, it would be great if two types of interfaces are defined, which would help developers to do better source reusing. And also that there maybe other things in same situation, I hope somebody else can commit them here too.</p> <p dir="auto">At first, for the request builders, there are SearchRequestBuilder, CountRequestBuilder and DeleteByQueryRequestBuilder which are sharing a group of methods with same name due to the completely same functions. Thus, currently, I have to define 3 methods for the separated 3 types if I want to add some common search define on the request(especially for adding routing by common logic).</p> <p dir="auto">Secondly, for the QueryBuilders and FilterBuilders, they are in 99% similarity logically and they are in 99% similarity in the real source but there are only separated interfaces for each other of query and filter. Hence, I have to define 2 methods for the separated 2 types if I want to create a common query define for some common business data structure.</p> <p dir="auto">I believe both of the above situations can be addressed by defining higher level interfaces.</p>
<p dir="auto">Copied from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="59081520" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/9901" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/9901/hovercard" href="https://github.com/elastic/elasticsearch/pull/9901">#9901</a>:</p> <p dir="auto">Today we have a massive infrastructure to parse all our requests. We have client side builders and server side parsers but no real representation of the query, filter, aggregation etc until it's executed. What is produced from a XContent binary is a Lucene query directly which causes huge parse methods in separate classes etc. that hare hard to test and don't allow decoupled modifications or actions on the query itself between parsing and executing.</p> <p dir="auto">This refactoring splits the parsing and the creation of the lucene query, this has a couple of advantages</p> <ul dir="auto"> <li>XContent parsing creation are in one file and can be tested more easily</li> <li>the class allows a typed in-memory representation of the query that can be modified before a lucene query is build</li> <li>the query can be normalized and serialized via Streamable to be used as a normalized cache key (not depending on the order of the keys in the XContent)</li> <li>the query can be parsed on the coordinating node to allow document prefetching etc. forwarding to the executing nodes would work via Streamable binary representation --&gt; <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46169277" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/8150" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/8150/hovercard" href="https://github.com/elastic/elasticsearch/issues/8150">#8150</a></li> <li>for the query cache a query tree can be "walked" to rewrite range queries into match all queries with MIN/MAX terms to get cache hits for sliding windows --&gt; <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="56232698" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/9526" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/9526/hovercard" href="https://github.com/elastic/elasticsearch/issues/9526">#9526</a></li> <li>code wise two classes are merged into one which is nice</li> </ul> <h2 dir="auto">Queries (Completed)</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> AndQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="87737014" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11628" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11628/hovercard" href="https://github.com/elastic/elasticsearch/pull/11628">#11628</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> BoolQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="75619871" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11121" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11121/hovercard" href="https://github.com/elastic/elasticsearch/pull/11121">#11121</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> BoostingQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="87705302" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11621" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11621/hovercard" href="https://github.com/elastic/elasticsearch/pull/11621">#11621</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> CommonTermsQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="80897166" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11345" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11345/hovercard" href="https://github.com/elastic/elasticsearch/pull/11345">#11345</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ConstantScoreQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="87753267" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11629" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11629/hovercard" href="https://github.com/elastic/elasticsearch/pull/11629">#11629</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> DisMaxQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="88749878" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11703" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11703/hovercard" href="https://github.com/elastic/elasticsearch/pull/11703">#11703</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ExistsQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="82489018" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11427" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11427/hovercard" href="https://github.com/elastic/elasticsearch/pull/11427">#11427</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> FieldMaskingSpanQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="88964184" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11717" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11717/hovercard" href="https://github.com/elastic/elasticsearch/pull/11717">#11717</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> FilteredQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="91187392" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11885" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11885/hovercard" href="https://github.com/elastic/elasticsearch/pull/11885">#11885</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> FQueryFilterBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="89064561" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11729" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11729/hovercard" href="https://github.com/elastic/elasticsearch/pull/11729">#11729</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> FunctionScoreQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="107183090" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13653" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13653/hovercard" href="https://github.com/elastic/elasticsearch/pull/13653">#13653</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> FuzzyQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="90789215" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11865" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11865/hovercard" href="https://github.com/elastic/elasticsearch/pull/11865">#11865</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> GeoBoundingBoxQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="92309171" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11969" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11969/hovercard" href="https://github.com/elastic/elasticsearch/pull/11969">#11969</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> GeoDistanceQueryBuilder(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105917038" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13496" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13496/hovercard" href="https://github.com/elastic/elasticsearch/pull/13496">#13496</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> GeoDistanceRangeQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105917038" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13496" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13496/hovercard" href="https://github.com/elastic/elasticsearch/pull/13496">#13496</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> GeohashCellQuery (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105364274" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13393" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13393/hovercard" href="https://github.com/elastic/elasticsearch/pull/13393">#13393</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> GeoPolygonQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105604905" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13426" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13426/hovercard" href="https://github.com/elastic/elasticsearch/pull/13426">#13426</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> GeoShapeQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105801013" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13466" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13466/hovercard" href="https://github.com/elastic/elasticsearch/pull/13466">#13466</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> HasChildQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="104785867" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13333" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13333/hovercard" href="https://github.com/elastic/elasticsearch/pull/13333">#13333</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> HasParentQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105461198" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13408" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13408/hovercard" href="https://github.com/elastic/elasticsearch/pull/13408">#13408</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> IdsQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="69535119" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/10670" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/10670/hovercard" href="https://github.com/elastic/elasticsearch/pull/10670">#10670</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> IndicesQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="92998819" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12031" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12031/hovercard" href="https://github.com/elastic/elasticsearch/pull/12031">#12031</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> LimitQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="86542119" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11551" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11551/hovercard" href="https://github.com/elastic/elasticsearch/pull/11551">#11551</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> MatchAllQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="69533016" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/10668" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/10668/hovercard" href="https://github.com/elastic/elasticsearch/pull/10668">#10668</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> MatchQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105425159" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13402" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13402/hovercard" href="https://github.com/elastic/elasticsearch/pull/13402">#13402</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> MissingQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="92919726" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12030" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12030/hovercard" href="https://github.com/elastic/elasticsearch/pull/12030">#12030</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> MoreLikeThisQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105854935" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13486" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13486/hovercard" href="https://github.com/elastic/elasticsearch/pull/13486">#13486</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> MultiMatchQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105455063" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13405" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13405/hovercard" href="https://github.com/elastic/elasticsearch/pull/13405">#13405</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> NestedQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105593647" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13424" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13424/hovercard" href="https://github.com/elastic/elasticsearch/pull/13424">#13424</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> NotQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="90352826" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11823" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11823/hovercard" href="https://github.com/elastic/elasticsearch/pull/11823">#11823</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> OrQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="90320106" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11817" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11817/hovercard" href="https://github.com/elastic/elasticsearch/pull/11817">#11817</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> PrefixQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93023250" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12032" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12032/hovercard" href="https://github.com/elastic/elasticsearch/pull/12032">#12032</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> QueryFilterBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="89064561" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11729" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11729/hovercard" href="https://github.com/elastic/elasticsearch/pull/11729">#11729</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> QueryStringQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="104546808" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13284" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13284/hovercard" href="https://github.com/elastic/elasticsearch/pull/13284">#13284</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> QueryWrappingQueryBuilder (will be removed once all queries refactored)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> RangeQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="75500527" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11108" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11108/hovercard" href="https://github.com/elastic/elasticsearch/pull/11108">#11108</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> RegexpQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="91330757" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11896" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11896/hovercard" href="https://github.com/elastic/elasticsearch/pull/11896">#11896</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ScriptQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93708318" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12115" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12115/hovercard" href="https://github.com/elastic/elasticsearch/pull/12115">#12115</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SimpleQueryStringBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="78869822" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11274" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11274/hovercard" href="https://github.com/elastic/elasticsearch/pull/11274">#11274</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanContainingQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93307561" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12057" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12057/hovercard" href="https://github.com/elastic/elasticsearch/pull/12057">#12057</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanFirstQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93479996" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12073" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12073/hovercard" href="https://github.com/elastic/elasticsearch/pull/12073">#12073</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanMultiTermQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="94305462" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12182" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12182/hovercard" href="https://github.com/elastic/elasticsearch/pull/12182">#12182</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanNearQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="94058229" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12156" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12156/hovercard" href="https://github.com/elastic/elasticsearch/pull/12156">#12156</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanNotQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="96278440" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12365" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12365/hovercard" href="https://github.com/elastic/elasticsearch/pull/12365">#12365</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanOrQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="96072963" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12342" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12342/hovercard" href="https://github.com/elastic/elasticsearch/pull/12342">#12342</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanTermQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="73570955" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/11005" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/11005/hovercard" href="https://github.com/elastic/elasticsearch/pull/11005">#11005</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> SpanWithinQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="96562185" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12396" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12396/hovercard" href="https://github.com/elastic/elasticsearch/pull/12396">#12396</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> TemplateQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="104314796" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13253" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13253/hovercard" href="https://github.com/elastic/elasticsearch/pull/13253">#13253</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> TermQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="69533585" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/10669" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/10669/hovercard" href="https://github.com/elastic/elasticsearch/pull/10669">#10669</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> TermsLookupQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93211769" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12042" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12042/hovercard" href="https://github.com/elastic/elasticsearch/pull/12042">#12042</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> TermsQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93211769" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12042" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12042/hovercard" href="https://github.com/elastic/elasticsearch/pull/12042">#12042</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> TypeQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93030402" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12035" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12035/hovercard" href="https://github.com/elastic/elasticsearch/pull/12035">#12035</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> WildcardQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93686546" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12110" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12110/hovercard" href="https://github.com/elastic/elasticsearch/pull/12110">#12110</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> WrapperQueryBuilder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93049870" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12037" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12037/hovercard" href="https://github.com/elastic/elasticsearch/pull/12037">#12037</a>)</li> </ul> <p dir="auto">Total of 54 Queries<br> 54 done</p> <p dir="auto">Former filters were mostly merged or converted to queries and are included in this list.</p> <h2 dir="auto">Aggregations (Completed - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111634277" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14136" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14136/hovercard" href="https://github.com/elastic/elasticsearch/pull/14136">#14136</a>)</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Min Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="100526246" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/12832" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/12832/hovercard" href="https://github.com/elastic/elasticsearch/pull/12832">#12832</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Max Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116351279" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14687" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14687/hovercard" href="https://github.com/elastic/elasticsearch/pull/14687">#14687</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Sum Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116351279" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14687" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14687/hovercard" href="https://github.com/elastic/elasticsearch/pull/14687">#14687</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Avg Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116351279" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14687" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14687/hovercard" href="https://github.com/elastic/elasticsearch/pull/14687">#14687</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Stats Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116351437" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14688" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14688/hovercard" href="https://github.com/elastic/elasticsearch/pull/14688">#14688</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Extended Stats Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116351437" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14688" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14688/hovercard" href="https://github.com/elastic/elasticsearch/pull/14688">#14688</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Value Count Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116351606" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14689" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14689/hovercard" href="https://github.com/elastic/elasticsearch/pull/14689">#14689</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Percentiles Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117608270" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14836" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14836/hovercard" href="https://github.com/elastic/elasticsearch/pull/14836">#14836</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Percentile Ranks Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117608270" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14836" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14836/hovercard" href="https://github.com/elastic/elasticsearch/pull/14836">#14836</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Cardinality Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118066642" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14893" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14893/hovercard" href="https://github.com/elastic/elasticsearch/pull/14893">#14893</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Geo Bounds Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118363683" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14934" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14934/hovercard" href="https://github.com/elastic/elasticsearch/pull/14934">#14934</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Top hits Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="123255170" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15566" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15566/hovercard" href="https://github.com/elastic/elasticsearch/pull/15566">#15566</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Scripted Metric Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118610052" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14966" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14966/hovercard" href="https://github.com/elastic/elasticsearch/pull/14966">#14966</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Global Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111635021" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14139" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14139/hovercard" href="https://github.com/elastic/elasticsearch/pull/14139">#14139</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Filter Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118642952" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14974" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14974/hovercard" href="https://github.com/elastic/elasticsearch/pull/14974">#14974</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Filters Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="122256668" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15437" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15437/hovercard" href="https://github.com/elastic/elasticsearch/pull/15437">#15437</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Missing Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118658680" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14975" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14975/hovercard" href="https://github.com/elastic/elasticsearch/pull/14975">#14975</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Nested Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118798825" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15006" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15006/hovercard" href="https://github.com/elastic/elasticsearch/pull/15006">#15006</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Reverse nested Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118798825" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15006" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15006/hovercard" href="https://github.com/elastic/elasticsearch/pull/15006">#15006</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Children Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118801880" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15008" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15008/hovercard" href="https://github.com/elastic/elasticsearch/pull/15008">#15008</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Terms Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121676786" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15386" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15386/hovercard" href="https://github.com/elastic/elasticsearch/pull/15386">#15386</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Significant Terms Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121676786" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15386" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15386/hovercard" href="https://github.com/elastic/elasticsearch/pull/15386">#15386</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Sampler Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="122028627" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15418" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15418/hovercard" href="https://github.com/elastic/elasticsearch/pull/15418">#15418</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Range Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121754879" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15399" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15399/hovercard" href="https://github.com/elastic/elasticsearch/pull/15399">#15399</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Date Range Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121754879" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15399" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15399/hovercard" href="https://github.com/elastic/elasticsearch/pull/15399">#15399</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> IPv4 Range Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121754879" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15399" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15399/hovercard" href="https://github.com/elastic/elasticsearch/pull/15399">#15399</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Histogram Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111635199" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14140" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14140/hovercard" href="https://github.com/elastic/elasticsearch/pull/14140">#14140</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Date Histogram Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111635199" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14140" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14140/hovercard" href="https://github.com/elastic/elasticsearch/pull/14140">#14140</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Geo Distance Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121754879" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15399" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15399/hovercard" href="https://github.com/elastic/elasticsearch/pull/15399">#15399</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> GeoHash grid Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111634632" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14138" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14138/hovercard" href="https://github.com/elastic/elasticsearch/pull/14138">#14138</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Geo Centroid Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118793462" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15002" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15002/hovercard" href="https://github.com/elastic/elasticsearch/pull/15002">#15002</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Min Bucket Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118818780" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15009" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15009/hovercard" href="https://github.com/elastic/elasticsearch/pull/15009">#15009</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Max Bucket Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118818780" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15009" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15009/hovercard" href="https://github.com/elastic/elasticsearch/pull/15009">#15009</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Avg Bucket Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118818780" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15009" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15009/hovercard" href="https://github.com/elastic/elasticsearch/pull/15009">#15009</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Sum Bucket Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118818780" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15009" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15009/hovercard" href="https://github.com/elastic/elasticsearch/pull/15009">#15009</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Stats Bucket Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118818780" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15009" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15009/hovercard" href="https://github.com/elastic/elasticsearch/pull/15009">#15009</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Extended Stats Bucket Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118818780" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15009" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15009/hovercard" href="https://github.com/elastic/elasticsearch/pull/15009">#15009</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Percentiles Bucket Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118818780" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15009" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15009/hovercard" href="https://github.com/elastic/elasticsearch/pull/15009">#15009</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Bucket Script Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118834238" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15014" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15014/hovercard" href="https://github.com/elastic/elasticsearch/pull/15014">#15014</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Cumulative Sum Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118837088" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15015" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15015/hovercard" href="https://github.com/elastic/elasticsearch/pull/15015">#15015</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Derivative Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111634488" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14137" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14137/hovercard" href="https://github.com/elastic/elasticsearch/pull/14137">#14137</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Bucket Selector Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="119712745" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15147" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15147/hovercard" href="https://github.com/elastic/elasticsearch/pull/15147">#15147</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Moving Average Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="119927411" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15180" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15180/hovercard" href="https://github.com/elastic/elasticsearch/pull/15180">#15180</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Serial Differencing Aggregation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="119168715" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15058" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15058/hovercard" href="https://github.com/elastic/elasticsearch/pull/15058">#15058</a>)</li> </ul> <p dir="auto">Total of 44 Aggregations<br> 44 done</p> <h2 dir="auto">Suggesters</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Term suggester</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Phrase Suggester</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Completion Suggester</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Context Suggester</li> </ul> <p dir="auto">Total of 4 Suggesters<br> 4 done, 0 in open PRs</p> <h2 dir="auto">Highlighters</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> plain</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> fvh</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> postings</li> </ul> <p dir="auto">Total of 3 Highlighters<br> 3 done</p> <h2 dir="auto">Others</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> from (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> size (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> min_score (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> fields (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> script_fields (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> fielddata_fields (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> _source (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> sort (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="142199297" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/17205" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/17205/hovercard" href="https://github.com/elastic/elasticsearch/pull/17205">#17205</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> timeout (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> explain (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> terminate_after (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> version (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> stats (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> indices_boost (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> track_scores (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> inner_hits (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="143016233" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/17291" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/17291/hovercard" href="https://github.com/elastic/elasticsearch/pull/17291">#17291</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <del>query_binary</del>: (removed, queries should only be specified via type-safe builders in the Java API, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="113594783" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14308" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/14308/hovercard" href="https://github.com/elastic/elasticsearch/issues/14308">#14308</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <del>filter_binary</del>: (removed, filters should only be specified via type-safe builders in the Java API, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="113594783" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14308" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/14308/hovercard" href="https://github.com/elastic/elasticsearch/issues/14308">#14308</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <del>aggregations_binary</del>: (to be removed, aggregations should only be specified via type-safe builders in the Java API, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="113594783" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14308" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/14308/hovercard" href="https://github.com/elastic/elasticsearch/issues/14308">#14308</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111634277" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14136" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14136/hovercard" href="https://github.com/elastic/elasticsearch/pull/14136">#14136</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> rescore (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="123096373" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15559" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/15559/hovercard" href="https://github.com/elastic/elasticsearch/issues/15559">#15559</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> post_filter (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108011983" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13752" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13752/hovercard" href="https://github.com/elastic/elasticsearch/pull/13752">#13752</a>)</li> </ul> <h2 dir="auto">APIs to be adapted/revised besides _search</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <del>search exists api</del> (removed, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="109529882" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13911" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13911/hovercard" href="https://github.com/elastic/elasticsearch/pull/13911">#13911</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> explain api: (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="113062144" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14270" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14270/hovercard" href="https://github.com/elastic/elasticsearch/pull/14270">#14270</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> validate query api: (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="114273374" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14384" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14384/hovercard" href="https://github.com/elastic/elasticsearch/pull/14384">#14384</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> suggest api (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="141986432" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/17198" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/17198/hovercard" href="https://github.com/elastic/elasticsearch/pull/17198">#17198</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> percolator (Planned to be removed, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="130426382" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/16349" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/16349/hovercard" href="https://github.com/elastic/elasticsearch/pull/16349">#16349</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <del>index warmers</del> (removed, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="123525121" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15614" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/15614/hovercard" href="https://github.com/elastic/elasticsearch/pull/15614">#15614</a>)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> alias filters</li> </ul> <p dir="auto">The above apis don't necessarily have to change to parse queries in our intermediate format, for instance the percolator will still need to parse to lucene query straight-away, but we should still have a look at each of those and double check if anything needs to be adjusted after all the infra changes we have made.</p>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/create-decimal-numbers-with-javascript#?solution=var%20ourDecimal%20%3D%205.7%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Avar%20myDecimal%20%3D%201.1%3B%0A%0A" rel="nofollow">Create Decimal Numbers with JavaScript</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/47.0.2526.111 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="var ourDecimal = 5.7; // Only change code below this line var myDecimal = 1.0; "><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ourDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">5.7</span><span class="pl-kos">;</span> <span class="pl-c">// Only change code below this line</span> <span class="pl-k">var</span> <span class="pl-s1">myDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">1.0</span><span class="pl-kos">;</span> </pre></div> <p dir="auto">The value 1.0 contains a decimal and is thus a floating point number, yet fails the test case.</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/create-decimal-numbers-with-javascript#?solution=var%20ourDecimal%20%3D%205.7%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Avar%20myDecimal%20%3D%201.0%3B%0A%0A" rel="nofollow">Create Decimal Numbers with JavaScript</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/46.0.2490.71 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="var ourDecimal = 5.7; // Only change code below this line var myDecimal = 1.0; "><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ourDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">5.7</span><span class="pl-kos">;</span> <span class="pl-c">// Only change code below this line</span> <span class="pl-k">var</span> <span class="pl-s1">myDecimal</span> <span class="pl-c1">=</span> <span class="pl-c1">1.0</span><span class="pl-kos">;</span> </pre></div> <p dir="auto">This gave an error: "myDecimal should have a decimal point". But it does have a decimal point.</p> <p dir="auto">The test is:</p> <p dir="auto"><code class="notranslate">assert(myDecimal % 1 != 0, 'message: &lt;code&gt;myDecimal&lt;/code&gt; should have a decimal point');</code></p> <p dir="auto">The request to "Create a variable <code class="notranslate">myDecimal</code> and give it a decimal value" should perhaps specify that the decimal part needs to be non-zero. Or the error message needs fixing.</p> <p dir="auto">My last issue was closed without comment. Are "nit picks" like this unwelcome in general? I'd like to help improve the site, but if you would rather I keep these issues to myself I can do.</p>
1
<p dir="auto"><strong>Preflight Checklist</strong><br> [x ] I have read the Contributing Guidelines for this project.<br> [ x] I agree to follow the Code of Conduct that this project adheres to.<br> <strong>Issue Details</strong></p> <ul dir="auto"> <li>Electron Version:<br> 8.2.1</li> <li>Operating System:<br> window 10</li> <li>Last Known Working Electron version:<br> Dont know.<br> <strong>预期行为</strong><br> 没有崩溃<br> <strong>实际行为</strong><br> 通过web唤醒electron的时候,electron应用报错:<br> Invalid package C:\Program Files (x86)\Google\Chrome\Application\81.0.4044.92\resources\app.asar<br> 正常的情况下打包安装双击能够打开。</li> </ul>
<p dir="auto"><strong>Preflight Checklist</strong><br> [x ] I have read the Contributing Guidelines for this project.<br> [ x] I agree to follow the Code of Conduct that this project adheres to.<br> <strong>Issue Details</strong></p> <ul dir="auto"> <li>Electron Version:<br> 8.2.1</li> <li>Operating System:<br> window 10</li> <li>Last Known Working Electron version:<br> Dont know.<br> <strong>预期行为</strong><br> 没有崩溃<br> <strong>实际行为</strong><br> 通过web唤醒electron的时候,electron应用报错:<br> Invalid package C:\Program Files (x86)\Google\Chrome\Application\81.0.4044.92\resources\app.asar<br> 正常的情况下打包安装双击能够打开。</li> </ul>
1
<p dir="auto">After upgrading Flutter, when I build my app I started getting following error :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Execution failed for task ':app:processDebugManifest'. [ +5 ms] &gt; Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.4.0) from [com.android.support:appcompat-v7:25.4.0] AndroidManifest.xml:28:13-35 [ +23 ms] is also present at [com.android.support:support-v4:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0). [ +8 ms] Suggestion: add 'tools:replace=&quot;android:value&quot;' to &lt;meta-data&gt; element at AndroidManifest.xml:26:9-28:38 to override."><pre class="notranslate"><code class="notranslate">Execution failed for task ':app:processDebugManifest'. [ +5 ms] &gt; Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.4.0) from [com.android.support:appcompat-v7:25.4.0] AndroidManifest.xml:28:13-35 [ +23 ms] is also present at [com.android.support:support-v4:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0). [ +8 ms] Suggestion: add 'tools:replace="android:value"' to &lt;meta-data&gt; element at AndroidManifest.xml:26:9-28:38 to override. </code></pre></div> <p dir="auto">As explained in <a href="https://stackoverflow.com/questions/43140059/add-toolsreplace-androidvalue-to-meta-data-element-at-androidmanifest" rel="nofollow">https://stackoverflow.com/questions/43140059/add-toolsreplace-androidvalue-to-meta-data-element-at-androidmanifest</a> and<br> <a href="https://stackoverflow.com/questions/43280871/android-getting-manifest-merger-failed-error-after-updating-to-a-new-version/44931003" rel="nofollow">https://stackoverflow.com/questions/43280871/android-getting-manifest-merger-failed-error-after-updating-to-a-new-version/44931003</a> SO answers i added the</p> <div class="highlight highlight-source-groovy-gradle notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -&gt; def requested = details.requested if (requested.group == 'com.android.support') { if (!requested.name.startsWith(&quot;multidex&quot;)) { details.useVersion '25.4.0' } } } }"><pre class="notranslate"> configurations<span class="pl-k">.</span><span class="pl-en">all</span> { resolutionStrategy<span class="pl-k">.</span>eachDependency { <span class="pl-k">DependencyResolveDetails</span> <span class="pl-v">details</span> <span class="pl-k">-&gt;</span> <span class="pl-k">def</span> requested <span class="pl-k">=</span> details<span class="pl-k">.</span>requested <span class="pl-k">if</span> (requested<span class="pl-k">.</span>group <span class="pl-k">==</span> <span class="pl-s"><span class="pl-pds">'</span>com.android.support<span class="pl-pds">'</span></span>) { <span class="pl-k">if</span> (<span class="pl-k">!</span>requested<span class="pl-k">.</span>name<span class="pl-k">.</span>startsWith(<span class="pl-s"><span class="pl-pds">"</span>multidex<span class="pl-pds">"</span></span>)) { details<span class="pl-k">.</span>useVersion <span class="pl-s"><span class="pl-pds">'</span>25.4.0<span class="pl-pds">'</span></span> } } } }</pre></div> <p dir="auto">to my app folder <code class="notranslate">build.gradle</code> :</p> <div class="highlight highlight-source-groovy-gradle notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -&gt; localProperties.load(reader) } } def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { throw new GradleException(&quot;Flutter SDK not found. Define location with flutter.sdk in the local.properties file.&quot;) } apply plugin: 'com.android.application' apply from: &quot;$flutterRoot/packages/flutter_tools/gradle/flutter.gradle&quot; android { compileSdkVersion 27 lintOptions { disable 'InvalidPackage' } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId &quot;com.yourcompany.chatapp&quot; minSdkVersion 16 targetSdkVersion 27 versionCode 1 versionName &quot;1.0&quot; testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot; } buildTypes { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug } } } flutter { source '../..' } dependencies { testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' } configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -&gt; def requested = details.requested if (requested.group == 'com.android.support') { if (!requested.name.startsWith(&quot;multidex&quot;)) { details.useVersion '25.4.0' } } } } apply plugin: 'com.google.gms.google-services' "><pre class="notranslate"> <span class="pl-k">def</span> localProperties <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-k">Properties</span>() <span class="pl-k">def</span> localPropertiesFile <span class="pl-k">=</span> rootProject<span class="pl-k">.</span>file(<span class="pl-s"><span class="pl-pds">'</span>local.properties<span class="pl-pds">'</span></span>) <span class="pl-k">if</span> (localPropertiesFile<span class="pl-k">.</span>exists()) { localPropertiesFile<span class="pl-k">.</span>withReader(<span class="pl-s"><span class="pl-pds">'</span>UTF-8<span class="pl-pds">'</span></span>) { <span class="pl-v">reader</span> <span class="pl-k">-&gt;</span> localProperties<span class="pl-k">.</span>load(reader) } } <span class="pl-k">def</span> flutterRoot <span class="pl-k">=</span> localProperties<span class="pl-k">.</span>getProperty(<span class="pl-s"><span class="pl-pds">'</span>flutter.sdk<span class="pl-pds">'</span></span>) <span class="pl-k">if</span> (flutterRoot <span class="pl-k">==</span> <span class="pl-c1">null</span>) { <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-k">GradleException</span>(<span class="pl-s"><span class="pl-pds">"</span>Flutter SDK not found. Define location with flutter.sdk in the local.properties file.<span class="pl-pds">"</span></span>) } apply <span class="pl-c1">plugin</span>: <span class="pl-s"><span class="pl-pds">'</span>com.android.application<span class="pl-pds">'</span></span> apply <span class="pl-c1">from</span>: <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">$f<span class="pl-smi">lutterRoot</span></span>/packages/flutter_tools/gradle/flutter.gradle<span class="pl-pds">"</span></span> <span class="pl-en">android</span> { compileSdkVersion 27 lintOptions { disable <span class="pl-s"><span class="pl-pds">'</span>InvalidPackage<span class="pl-pds">'</span></span> } defaultConfig { <span class="pl-c"><span class="pl-c">//</span> TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).</span> applicationId <span class="pl-s"><span class="pl-pds">"</span>com.yourcompany.chatapp<span class="pl-pds">"</span></span> minSdkVersion <span class="pl-c1">16</span> targetSdkVersion <span class="pl-c1">27</span> versionCode <span class="pl-c1">1</span> versionName <span class="pl-s"><span class="pl-pds">"</span>1.0<span class="pl-pds">"</span></span> testInstrumentationRunner <span class="pl-s"><span class="pl-pds">"</span>android.support.test.runner.AndroidJUnitRunner<span class="pl-pds">"</span></span> } buildTypes { release { <span class="pl-c"><span class="pl-c">//</span> TODO: Add your own signing config for the release build.</span> <span class="pl-c"><span class="pl-c">//</span> Signing with the debug keys for now, so `flutter run --release` works.</span> signingConfig signingConfigs<span class="pl-k">.</span>debug } } } <span class="pl-en">flutter</span> { source <span class="pl-s"><span class="pl-pds">'</span>../..<span class="pl-pds">'</span></span> } <span class="pl-en">dependencies</span> { testImplementation <span class="pl-s"><span class="pl-pds">'</span>junit:junit:4.12<span class="pl-pds">'</span></span> 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> } configurations<span class="pl-k">.</span><span class="pl-en">all</span> { resolutionStrategy<span class="pl-k">.</span>eachDependency { <span class="pl-k">DependencyResolveDetails</span> <span class="pl-v">details</span> <span class="pl-k">-&gt;</span> <span class="pl-k">def</span> requested <span class="pl-k">=</span> details<span class="pl-k">.</span>requested <span class="pl-k">if</span> (requested<span class="pl-k">.</span>group <span class="pl-k">==</span> <span class="pl-s"><span class="pl-pds">'</span>com.android.support<span class="pl-pds">'</span></span>) { <span class="pl-k">if</span> (<span class="pl-k">!</span>requested<span class="pl-k">.</span>name<span class="pl-k">.</span>startsWith(<span class="pl-s"><span class="pl-pds">"</span>multidex<span class="pl-pds">"</span></span>)) { details<span class="pl-k">.</span>useVersion <span class="pl-s"><span class="pl-pds">'</span>25.4.0<span class="pl-pds">'</span></span> } } } } apply <span class="pl-c1">plugin</span>: <span class="pl-s"><span class="pl-pds">'</span>com.google.gms.google-services<span class="pl-pds">'</span></span> </pre></div> <p dir="auto">Now whenever i run my app i get the following Error :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error -32601 received from application: Method not found"><pre class="notranslate"><code class="notranslate">Error -32601 received from application: Method not found </code></pre></div> <p dir="auto">I have tried by running <code class="notranslate">flutter clean</code>, the error still persists.</p> <p dir="auto">Here is output of <code class="notranslate">flutter doctor</code> :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel beta, v0.3.1, on Microsoft Windows [Version 10.0.16299.371], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK 28.0.0-rc1) [√] Android Studio (version 3.1) [√] Connected devices (1 available) • No issues found!"><pre class="notranslate"><code class="notranslate"> Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel beta, v0.3.1, on Microsoft Windows [Version 10.0.16299.371], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK 28.0.0-rc1) [√] Android Studio (version 3.1) [√] Connected devices (1 available) • No issues found! </code></pre></div>
<p dir="auto">pressing 'r' results in error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error -32601 received from application: Method not found Hot reload was rejected: 'package:flutter/src/semantics/semantics.dart': malformed type: line 2126 pos 17: cannot resolve class 'SemanticsFlag' from 'SemanticsConfiguration' void _setFlag(SemanticsFlag flag, bool value) { ^"><pre class="notranslate"><code class="notranslate">Error -32601 received from application: Method not found Hot reload was rejected: 'package:flutter/src/semantics/semantics.dart': malformed type: line 2126 pos 17: cannot resolve class 'SemanticsFlag' from 'SemanticsConfiguration' void _setFlag(SemanticsFlag flag, bool value) { ^ </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\src\flutter\flutter\examples\flutter_gallery [master ≡ +4 ~3 -0 !]&gt; ..\..\bin\flutter run Running &quot;flutter packages get&quot; in flutter_gallery... 3.4s Launching lib/main.dart on Pixel in debug mode... Initializing gradle... 2.7s Resolving dependencies... 14.2s Running 'gradlew assembleDebug'... 20.2s Built build\app\outputs\apk\app-debug.apk (28.8MB). Installing build\app\outputs\apk\app.apk... 16.1s I/FlutterActivityDelegate( 2563): onResume setting current activity to this Syncing files to device Pixel... 4.5s 🔥 To hot reload your app on the fly, press &quot;r&quot;. To restart the app entirely, press &quot;R&quot;. An Observatory debugger and profiler on Pixel is available at: http://127.0.0.1:8100/ For a more detailed help message, press &quot;h&quot;. To quit, press &quot;q&quot;. Initializing hot reload... Error -32601 received from application: Method not found Hot reload was rejected: 'package:flutter/src/semantics/semantics.dart': malformed type: line 2126 pos 17: cannot resolve class 'SemanticsFlag' from 'SemanticsConfiguration' void _setFlag(SemanticsFlag flag, bool value) { ^ Try again after fixing the above error(s). Application finished. Terminate batch job (Y/N)? y C:\src\flutter\flutter\examples\flutter_gallery [master ≡ +4 ~3 -0 !]&gt; ..\..\bin\flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (on Microsoft Windows [Version 10.0.14393], locale en-US, channel master) [√] Android toolchain - develop for Android devices (Android SDK 27.0.1) [√] Android Studio (version 3.0) [√] IntelliJ IDEA Ultimate Edition (version 2017.3) [√] Connected devices • No issues found! C:\src\flutter\flutter\examples\flutter_gallery [master ≡ +4 ~3 -0 !]&gt; git reflog -1 83e0ca24f (HEAD -&gt; master, upstream/master, origin/master, origin/HEAD) HEAD@{0}: pull upstream master: Fast-forward"><pre class="notranslate"><code class="notranslate">C:\src\flutter\flutter\examples\flutter_gallery [master ≡ +4 ~3 -0 !]&gt; ..\..\bin\flutter run Running "flutter packages get" in flutter_gallery... 3.4s Launching lib/main.dart on Pixel in debug mode... Initializing gradle... 2.7s Resolving dependencies... 14.2s Running 'gradlew assembleDebug'... 20.2s Built build\app\outputs\apk\app-debug.apk (28.8MB). Installing build\app\outputs\apk\app.apk... 16.1s I/FlutterActivityDelegate( 2563): onResume setting current activity to this Syncing files to device Pixel... 4.5s 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R". An Observatory debugger and profiler on Pixel is available at: http://127.0.0.1:8100/ For a more detailed help message, press "h". To quit, press "q". Initializing hot reload... Error -32601 received from application: Method not found Hot reload was rejected: 'package:flutter/src/semantics/semantics.dart': malformed type: line 2126 pos 17: cannot resolve class 'SemanticsFlag' from 'SemanticsConfiguration' void _setFlag(SemanticsFlag flag, bool value) { ^ Try again after fixing the above error(s). Application finished. Terminate batch job (Y/N)? y C:\src\flutter\flutter\examples\flutter_gallery [master ≡ +4 ~3 -0 !]&gt; ..\..\bin\flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (on Microsoft Windows [Version 10.0.14393], locale en-US, channel master) [√] Android toolchain - develop for Android devices (Android SDK 27.0.1) [√] Android Studio (version 3.0) [√] IntelliJ IDEA Ultimate Edition (version 2017.3) [√] Connected devices • No issues found! C:\src\flutter\flutter\examples\flutter_gallery [master ≡ +4 ~3 -0 !]&gt; git reflog -1 83e0ca24f (HEAD -&gt; master, upstream/master, origin/master, origin/HEAD) HEAD@{0}: pull upstream master: Fast-forward </code></pre></div>
1
<blockquote> <p dir="auto">Querying the GitHub API failed. This is usually caused by a network outage or because you have reached your hourly API rate limit of 60 requests.</p> </blockquote> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16542492/82158080-19e8cd80-98a3-11ea-891f-75d141819330.png"><img src="https://user-images.githubusercontent.com/16542492/82158080-19e8cd80-98a3-11ea-891f-75d141819330.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a href="https://deno.land/std" rel="nofollow">https://deno.land/std</a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23056320/81916390-577cfa80-9606-11ea-89d8-752ed1a2cb64.png"><img src="https://user-images.githubusercontent.com/23056320/81916390-577cfa80-9606-11ea-89d8-752ed1a2cb64.png" alt="image" style="max-width: 100%;"></a><br> Failed to get directory listing<br> Querying the GitHub API failed. This is usually caused by a network outage or because you have reached your hourly API rate limit of 60 requests.</p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/tmp# ls -lt sklearn-test* | head -rw------- 1 buildslave buildslave 213 Jan 14 01:07 sklearn-test8Yh7h6.gz -rw------- 1 buildslave buildslave 209 Jan 14 01:07 sklearn-testbux42U.bz2 -rw------- 1 buildslave buildslave 209 Jan 14 00:50 sklearn-testpv8EZp.bz2 -rw------- 1 buildslave buildslave 208 Jan 14 00:50 sklearn-testzv3J8Y.gz -rw------- 1 buildslave buildslave 209 Jan 14 00:49 sklearn-testn2VN9G.bz2 -rw------- 1 buildslave buildslave 213 Jan 14 00:49 sklearn-testQ2Rs8V.gz -rw------- 1 buildslave buildslave 209 Jan 14 00:20 sklearn-testDuiS27.bz2 -rw------- 1 buildslave buildslave 208 Jan 14 00:20 sklearn-testte9W4r.gz -rw------- 1 buildslave buildslave 213 Jan 14 00:19 sklearn-testvJ8UnC.gz -rw------- 1 buildslave buildslave 209 Jan 14 00:19 sklearn-testYTaIeW.bz2 root@lingual:/tmp# bzcat sklearn-testbux42U.bz2 | less # comment # note: the next line contains a tab 1.0 3:2.5 11:-5.2 16:1.5 # and an inline comment 2.0 6:1.0 13:-3 # another comment 3.0 21:27 4.0 2:1.234567890123456e10 # double precision value 1.0 # empty line, all zeros 2.0 3:0 # explicit zeros"><pre class="notranslate"><code class="notranslate">/tmp# ls -lt sklearn-test* | head -rw------- 1 buildslave buildslave 213 Jan 14 01:07 sklearn-test8Yh7h6.gz -rw------- 1 buildslave buildslave 209 Jan 14 01:07 sklearn-testbux42U.bz2 -rw------- 1 buildslave buildslave 209 Jan 14 00:50 sklearn-testpv8EZp.bz2 -rw------- 1 buildslave buildslave 208 Jan 14 00:50 sklearn-testzv3J8Y.gz -rw------- 1 buildslave buildslave 209 Jan 14 00:49 sklearn-testn2VN9G.bz2 -rw------- 1 buildslave buildslave 213 Jan 14 00:49 sklearn-testQ2Rs8V.gz -rw------- 1 buildslave buildslave 209 Jan 14 00:20 sklearn-testDuiS27.bz2 -rw------- 1 buildslave buildslave 208 Jan 14 00:20 sklearn-testte9W4r.gz -rw------- 1 buildslave buildslave 213 Jan 14 00:19 sklearn-testvJ8UnC.gz -rw------- 1 buildslave buildslave 209 Jan 14 00:19 sklearn-testYTaIeW.bz2 root@lingual:/tmp# bzcat sklearn-testbux42U.bz2 | less # comment # note: the next line contains a tab 1.0 3:2.5 11:-5.2 16:1.5 # and an inline comment 2.0 6:1.0 13:-3 # another comment 3.0 21:27 4.0 2:1.234567890123456e10 # double precision value 1.0 # empty line, all zeros 2.0 3:0 # explicit zeros </code></pre></div>
<h4 dir="auto">Description</h4> <p dir="auto"><code class="notranslate">KBinsDiscretizer</code> with <code class="notranslate">strategy='quantile'</code> is producing duplicate bins when used on data which don't have uniform distribution.</p> <h4 dir="auto">Steps/Code to Reproduce</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np np.random.randint(1, size=(10,1)) X1 = np.random.randint(1, size=(10,1)) X2 = np.random.randint(4, size=(5,1)) X = np.concatenate([X1, X2], axis=0) from sklearn.preprocessing import KBinsDiscretizer transformer = KBinsDiscretizer(encode='ordinal') transformer.fit(X) transformer.bin_edges_ # Output: array([array([0., 0., 0., 0., 1., 3.])], dtype=object) transformer.transform(X) # Output: # array([[3.], # [3.], # [3.], # [3.], # [3.], # [3.], # [3.], # [3.], # [3.], # [3.], # [4.], # [4.], # [4.], # [4.], # [4.]])"><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-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">1</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">10</span>,<span class="pl-c1">1</span>)) <span class="pl-v">X1</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">1</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">10</span>,<span class="pl-c1">1</span>)) <span class="pl-v">X2</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">4</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">5</span>,<span class="pl-c1">1</span>)) <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">concatenate</span>([<span class="pl-v">X1</span>, <span class="pl-v">X2</span>], <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">0</span>) <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">preprocessing</span> <span class="pl-k">import</span> <span class="pl-v">KBinsDiscretizer</span> <span class="pl-s1">transformer</span> <span class="pl-c1">=</span> <span class="pl-v">KBinsDiscretizer</span>(<span class="pl-s1">encode</span><span class="pl-c1">=</span><span class="pl-s">'ordinal'</span>) <span class="pl-s1">transformer</span>.<span class="pl-en">fit</span>(<span class="pl-v">X</span>) <span class="pl-s1">transformer</span>.<span class="pl-s1">bin_edges_</span> <span class="pl-c"># Output: array([array([0., 0., 0., 0., 1., 3.])], dtype=object)</span> <span class="pl-s1">transformer</span>.<span class="pl-en">transform</span>(<span class="pl-v">X</span>) <span class="pl-c"># Output: </span> <span class="pl-c"># array([[3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [3.],</span> <span class="pl-c"># [4.],</span> <span class="pl-c"># [4.],</span> <span class="pl-c"># [4.],</span> <span class="pl-c"># [4.],</span> <span class="pl-c"># [4.]])</span></pre></div> <h4 dir="auto">Actual Results</h4> <p dir="auto">The first three bins are duplicates. They are not used in the output. Even if I change the <code class="notranslate">n_bins</code> to 3 or 4, even then the duplicate bins are generated and then not used.</p> <h4 dir="auto">Expected Results</h4> <p dir="auto">I understand that:</p> <ol dir="auto"> <li>The duplicate bins are present because the <code class="notranslate">'strategy'</code> used is 'quantile' and <code class="notranslate">n_bins</code> is fixed.</li> <li>The bins are not used in output because the internal code is using <code class="notranslate">numpy.isclose</code> and <code class="notranslate">numpy.digitize</code>.</li> </ol> <p dir="auto">So is there a scope of removing the duplicate bins after fitting with a warning?</p> <h4 dir="auto">Versions</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="System: python: 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 17:14:51) [GCC 7.2.0] executable: ~/anaconda3/.../bin/python machine: Linux-4.15.0-20-generic-x86_64-with-debian-buster-sid BLAS: macros: SCIPY_MKL_H=None, HAVE_CBLAS=None lib_dirs: ~/anaconda3/.../lib cblas_libs: mkl_rt, pthread Python deps: pip: 18.1 setuptools: 40.2.0 sklearn: 0.20.1 numpy: 1.15.4 scipy: 1.1.0 Cython: 0.29 pandas: 0.23.4"><pre class="notranslate"><code class="notranslate">System: python: 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 17:14:51) [GCC 7.2.0] executable: ~/anaconda3/.../bin/python machine: Linux-4.15.0-20-generic-x86_64-with-debian-buster-sid BLAS: macros: SCIPY_MKL_H=None, HAVE_CBLAS=None lib_dirs: ~/anaconda3/.../lib cblas_libs: mkl_rt, pthread Python deps: pip: 18.1 setuptools: 40.2.0 sklearn: 0.20.1 numpy: 1.15.4 scipy: 1.1.0 Cython: 0.29 pandas: 0.23.4 </code></pre></div>
0
<h3 dir="auto">Version</h3> <p dir="auto">2.5.13</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/6vps8vej/" rel="nofollow">https://jsfiddle.net/6vps8vej/</a></p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Select one of the </li> </ol> <h3 dir="auto">What is expected?</h3> <p dir="auto">The {{ selected }} text should appear.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">The <code class="notranslate">selected</code> value does not change.</p> <hr> <ul dir="auto"> <li> <p dir="auto">The code works if the <code class="notranslate">&lt;div is="select"&gt;</code> is changed to a native <code class="notranslate">&lt;select&gt;</code></p> </li> <li> <p dir="auto">Manually binding with <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/change/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/change">@change</a> works</p> </li> </ul>
<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/Pomer/vdq3wbtL/1/" rel="nofollow">https://jsfiddle.net/Pomer/vdq3wbtL/1/</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Simple you can change Vue from 2.5.17 to 2.5.17-beta and the jsfiddle will stop working.<br> The idea it's simple we have an array of json componen than need to be sorted via computed function.</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">array of elements sorted, instead we get an error and nothing shown.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">It seems to have an infinite loop, since i can set a console.log before the return statement of the computed function and see how many times its been called this function.</p> <hr> <p dir="auto">stacktrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="vue.js:597 [Vue warn]: Error in render: &quot;RangeError: Maximum call stack size exceeded&quot; (found` in &lt;Root&gt;) warn @ vue.js:597 logError @ vue.js:1740 globalHandleError @ vue.js:1735 handleError @ vue.js:1724 Vue._render @ vue.js:4562 updateComponent @ vue.js:2779 get @ vue.js:3144 Watcher @ vue.js:3132 mountComponent @ vue.js:2786 Vue.$mount @ vue.js:8557 Vue.$mount @ vue.js:10957 Vue._init @ vue.js:4652 Vue @ vue.js:4739 (anonymous) @ main.js:9 vue.js:1744 RangeError: Maximum call stack size exceeded at Watcher.get (vue.js:3158) at Watcher.getAndInvoke (vue.js:3244) at Watcher.update (vue.js:3222) at Dep.notify (vue.js:703) at Array.mutator (vue.js:851) at Vue.testSort (main.js:89) at Watcher.get (vue.js:3144) at Watcher.getAndInvoke (vue.js:3244) at Watcher.update (vue.js:3222) at Dep.notify (vue.js:703)"><pre class="notranslate"><code class="notranslate">vue.js:597 [Vue warn]: Error in render: "RangeError: Maximum call stack size exceeded" (found` in &lt;Root&gt;) warn @ vue.js:597 logError @ vue.js:1740 globalHandleError @ vue.js:1735 handleError @ vue.js:1724 Vue._render @ vue.js:4562 updateComponent @ vue.js:2779 get @ vue.js:3144 Watcher @ vue.js:3132 mountComponent @ vue.js:2786 Vue.$mount @ vue.js:8557 Vue.$mount @ vue.js:10957 Vue._init @ vue.js:4652 Vue @ vue.js:4739 (anonymous) @ main.js:9 vue.js:1744 RangeError: Maximum call stack size exceeded at Watcher.get (vue.js:3158) at Watcher.getAndInvoke (vue.js:3244) at Watcher.update (vue.js:3222) at Dep.notify (vue.js:703) at Array.mutator (vue.js:851) at Vue.testSort (main.js:89) at Watcher.get (vue.js:3144) at Watcher.getAndInvoke (vue.js:3244) at Watcher.update (vue.js:3222) at Dep.notify (vue.js:703) </code></pre></div>
0
<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 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"> 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><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="395146552" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5265" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5265/hovercard" href="https://github.com/celery/celery/issues/5265">#5265</a></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.3.0</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <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>: 4.3.0</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> </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=""><pre class="notranslate"></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">The signature.link method could raise AttributeError if signature is built with from_dict class method. It should call the from_dict class method if this happens to transform the dict into a Signature instance. The call should be recursive to rebuild all sub-signatures if they are dict instances instead of Signature.</p> <h1 dir="auto">Actual Behavior</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2019-10-31 15:35:07,882: ERROR/ForkPoolWorker-8] Task cancel[5eaedd7c-9d11-42e6-88fd-952b2526ab2a] raised unexpected: AttributeError(&quot;'dict' object has no attribute 'link'&quot;) Traceback (most recent call last): File &quot;/home/[...]/python3.7/site-packages/celery/app/trace.py&quot;, line 385, in trace_task R = retval = fun(*args, **kwargs) File &quot;/home/[...]/venv/lib/python3.7/site-packages/celery/app/trace.py&quot;, line 650, in __protected_call__ return self.run(*args, **kwargs) [...] File &quot;/home/[...]/venv/lib/python3.7/site-packages/celery/canvas.py&quot;, line 1351, in link self.body.link(callback) File &quot;/home/[...]/venv/lib/python3.7/site-packages/celery/canvas.py&quot;, line 1041, in link return self.tasks[0].link(sig) AttributeError: 'dict' object has no attribute 'link'"><pre class="notranslate"><code class="notranslate">[2019-10-31 15:35:07,882: ERROR/ForkPoolWorker-8] Task cancel[5eaedd7c-9d11-42e6-88fd-952b2526ab2a] raised unexpected: AttributeError("'dict' object has no attribute 'link'") Traceback (most recent call last): File "/home/[...]/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task R = retval = fun(*args, **kwargs) File "/home/[...]/venv/lib/python3.7/site-packages/celery/app/trace.py", line 650, in __protected_call__ return self.run(*args, **kwargs) [...] File "/home/[...]/venv/lib/python3.7/site-packages/celery/canvas.py", line 1351, in link self.body.link(callback) File "/home/[...]/venv/lib/python3.7/site-packages/celery/canvas.py", line 1041, in link return self.tasks[0].link(sig) AttributeError: 'dict' object has no attribute 'link' </code></pre></div> <p dir="auto">I'm not an expert in Celery code byt maybe it should be possible to replace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def link(self, sig): # Simply link to first task sig = sig.clone().set(immutable=True) return self.tasks[0].link(sig)"><pre class="notranslate"><code class="notranslate">def link(self, sig): # Simply link to first task sig = sig.clone().set(immutable=True) return self.tasks[0].link(sig) </code></pre></div> <p dir="auto">by:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def link(self, sig): # Simply link to first task sig = sig.clone().set(immutable=True) try: return self.tasks[0].link(sig) except AttributeError: return Signature.from_dict(self.tasks[0]).link(sig)"><pre class="notranslate"><code class="notranslate">def link(self, sig): # Simply link to first task sig = sig.clone().set(immutable=True) try: return self.tasks[0].link(sig) except AttributeError: return Signature.from_dict(self.tasks[0]).link(sig) </code></pre></div> <p dir="auto">The same applies to link_error.</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"> 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"> 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"> 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"> 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"> 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"> 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"> 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"> 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"> 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"> 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=""><pre class="notranslate"><code class="notranslate"></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>: N/A or Unknown</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=""><pre class="notranslate"><code class="notranslate"></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=""><pre class="notranslate"></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <h1 dir="auto">Actual Behavior</h1>
0
<p dir="auto">Using a tangent space normal map and DoubleSide phong material doesn't show lighting effects on Android Chrome. (Desktop Chrome seems to be fine, changing to FrontSide also works)</p> <p dir="auto"><strong>Code</strong></p> <p dir="auto"><a href="https://gist.github.com/nbilyk/809fc2a3fc1644a72048038e01ac6468">https://gist.github.com/nbilyk/809fc2a3fc1644a72048038e01ac6468</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize); const planeMat = new THREE.MeshPhongMaterial({ map: groundTex, side: THREE.DoubleSide, // DoubleSide causes lighting not to be seen on android. FrontSide works fine. }); const groundNormalText = textureLoader.load('./assets/groundNormalMap.jpg'); groundNormalText.wrapS = THREE.RepeatWrapping; groundNormalText.wrapT = THREE.RepeatWrapping; groundNormalText.magFilter = THREE.LinearFilter; planeMat.normalMap = groundNormalText; planeMat.normalMapType = THREE.TangentSpaceNormalMap; planeMat.normalScale = new THREE.Vector2(0.8, -0.8); // Negative scaling - normal map written for a different coordinate system. const mesh = new THREE.Mesh(planeGeo, planeMat); mesh.receiveShadow = true; mesh.rotation.x = Math.PI * -.5; scene.add(mesh);"><pre class="notranslate"><code class="notranslate">const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize); const planeMat = new THREE.MeshPhongMaterial({ map: groundTex, side: THREE.DoubleSide, // DoubleSide causes lighting not to be seen on android. FrontSide works fine. }); const groundNormalText = textureLoader.load('./assets/groundNormalMap.jpg'); groundNormalText.wrapS = THREE.RepeatWrapping; groundNormalText.wrapT = THREE.RepeatWrapping; groundNormalText.magFilter = THREE.LinearFilter; planeMat.normalMap = groundNormalText; planeMat.normalMapType = THREE.TangentSpaceNormalMap; planeMat.normalScale = new THREE.Vector2(0.8, -0.8); // Negative scaling - normal map written for a different coordinate system. const mesh = new THREE.Mesh(planeGeo, planeMat); mesh.receiveShadow = true; mesh.rotation.x = Math.PI * -.5; scene.add(mesh); </code></pre></div> <p dir="auto"><strong>Expected:</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/589193/104109409-263af400-5293-11eb-8b4c-0ca65588d508.png"><img src="https://user-images.githubusercontent.com/589193/104109409-263af400-5293-11eb-8b4c-0ca65588d508.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Actual:</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/589193/104109421-38b52d80-5293-11eb-9349-1636a8bf7b17.png"><img src="https://user-images.githubusercontent.com/589193/104109421-38b52d80-5293-11eb-9349-1636a8bf7b17.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Platform:</strong></p> <ul dir="auto"> <li>Device: Pixel 2</li> <li>OS: Android</li> <li>Browser: Chrome 87.0.4280.141</li> <li>Three.js version: r124</li> </ul>
<p dir="auto"><strong>Description of problem</strong></p> <p dir="auto">Models appear to be washed out/metallic when they are loaded on certain Android devices.<br> From the tested devices Google Pixel and OnePlus phones display this issue.<br> Models are loaded in .glb format (packed with PBR textures), the scene contains an HDRI environment map.</p> <p dir="auto">This issue may be related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="625758066" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/19479" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/19479/hovercard" href="https://github.com/mrdoob/three.js/issues/19479">#19479</a></p> <p dir="auto"><strong>Example Screenshots</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31434858/103416517-cad07e00-4b8f-11eb-87e4-511caab12e78.png"><img src="https://user-images.githubusercontent.com/31434858/103416517-cad07e00-4b8f-11eb-87e4-511caab12e78.png" alt="Preview-1" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31434858/103416597-1b47db80-4b90-11eb-8ae4-e61bf7d1eb3c.png"><img src="https://user-images.githubusercontent.com/31434858/103416597-1b47db80-4b90-11eb-8ae4-e61bf7d1eb3c.png" alt="Preview-2" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Viewers used for testing</strong></p> <ul dir="auto"> <li><a href="https://gltf-viewer.donmccurdy.com/" rel="nofollow">https://gltf-viewer.donmccurdy.com/</a> (r123)</li> <li><a href="https://gltf.insimo.com/" rel="nofollow">https://gltf.insimo.com/</a> (r88)</li> </ul> <p dir="auto"><strong>THREE.js Versions tested</strong></p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r123 (issue appears)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r121.1 (issue appers)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r88 (works correctly)</li> </ul> <p dir="auto"><strong>Browser</strong></p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> FireFox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <p dir="auto"><strong>OS</strong></p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li> </ul> <p dir="auto"><strong>Devices used for testing</strong></p> <ul dir="auto"> <li>Google Pixel 4a (Android 11, 2 separate devices) - issue appears</li> <li>Google Pixel 4xl (Android 11) - issue appears</li> <li>OnePlus 6 (Android 10) - issue appears</li> <li>Samsung Galaxy Note 9 (Android 10)</li> <li>Samsung Glaxy S20+ (Android 10)</li> <li>Samsung a50 (Android 9)</li> </ul>
1
<h3 dir="auto">Version</h3> <p dir="auto">2.5.13</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/50wL7mdz/94716/" rel="nofollow">https://jsfiddle.net/50wL7mdz/94716/</a></p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>navigate to page-a to make keep-alive to cache page-a component</li> <li>navigate to page-b to make keep-alive to cache page-b component</li> <li>now, if remove cache of page-a, page-a was destroyed correctly,<br> if navigate back to page-a and remove cache of page-b ,page-b was not destroyed</li> </ol> <h3 dir="auto">What is expected?</h3> <p dir="auto">page-b was destroyed</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">page-b was was not destroyed</p> <hr> <p dir="auto"><a href="https://github.com/vuejs/vue/blob/dev/src/core/components/keep-alive.js#L44">https://github.com/vuejs/vue/blob/dev/src/core/components/keep-alive.js#L44</a></p>
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">There are many cases where attributes passed to a Vue component should not be added to the root element, but rather a sub-element. For example, in <a href="https://github.com/almino/semantic-ui-vue2/blob/master/src/elements/Input.vue">this UI component</a>, an incredible amount of props must be used to ensure that attributes are added to the <code class="notranslate">input</code> element, instead of the wrapper <code class="notranslate">div</code>.</p> <p dir="auto">Additionally, it's often desirable to expose all event listeners on a form element to the parent, which also requires a lot of boilerplate currently if the element is not the root (in which case, the <code class="notranslate">.native</code> modifier can solve the problem).</p> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto"><strong>EDIT: <a href="https://github.com/vuejs/vue/issues/5983#issuecomment-312085126" data-hovercard-type="issue" data-hovercard-url="/vuejs/vue/issues/5983/hovercard">Start here</a> to catch up on the discussion.</strong></p> <p dir="auto">Currently by default, the "exposed" element (the one that arbitrary attributes can be added to) is always the root element. A new directive could be used to define a different exposed element. Some ideas for the name of the directive:</p> <ul dir="auto"> <li><code class="notranslate">v-expose</code> (probably my personal favorite)</li> <li><code class="notranslate">v-expose-attrs</code> (probably clearer, but lengthier)</li> <li><code class="notranslate">v-main</code></li> <li><code class="notranslate">v-primary</code></li> </ul> <p dir="auto">If <code class="notranslate">v-expose</code> is added to an element, it will accept attributes passed to its component - and these attributes will <strong>no longer</strong> be passed to the root element.</p> <p dir="auto">Other features that may be nice:</p> <ul dir="auto"> <li>If the directive is defined on multiple elements, attributes will be duplicated across each of them</li> <li>In the case where a subset of attributes should be accepted by an element, <code class="notranslate">v-expose</code> could accept a string or array of strings (e.g. <code class="notranslate">v-expose="class"</code> or <code class="notranslate">v-expose="['class', 'type', 'placeholder']"</code>). In this case, these attributes would be added to the element (again, instead of to the root element), but all other attributes would be added to the root element or to the element(s) with a valueless <code class="notranslate">v-expose</code>.</li> </ul>
0
<p dir="auto">Plugin will say cannot load plugin dispite no code has been changed but seems to work on WIndows. flash last worked on Electron 4.2.6 on Linux</p> <p dir="auto">E.g:</p> <p dir="auto">Gamer World based on Electron 4.2.6 (working Linux)<br> <a href="https://imgur.com/o6dvCP2.png" rel="nofollow">https://imgur.com/o6dvCP2.png</a></p> <p dir="auto">Gamer World based on Electron 6.0.0 (not LInux)<br> <a href="https://imgur.com/YUrPMs8.png" rel="nofollow">https://imgur.com/YUrPMs8.png</a></p> <p dir="auto">Gamer World on Electron 6.0.0 on Windows 10<br> <a href="https://i.imgur.com/qquoj9P.png" rel="nofollow">https://i.imgur.com/qquoj9P.png</a></p> <p dir="auto">Code for Flash (code not changed)<br> <code class="notranslate">// Specify flash path, supposing it is placed in the same directory with main.js. const pluginList = { 'win32': '/legacy/pepflashplayer.dll', 'darwin': '/legacy/PepperFlashPlayer.plugin', 'linux': '/legacy/libpepflashplayer.so' } app.commandLine.appendSwitch('ppapi-flash-path', path.join(__dirname, pluginList[process.platform]))</code></p>
<p dir="auto">this is navigator.plugins console<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31099607/59558885-cb95d380-902e-11e9-97d2-2d3901eccd41.png"><img src="https://user-images.githubusercontent.com/31099607/59558885-cb95d380-902e-11e9-97d2-2d3901eccd41.png" alt="image" style="max-width: 100%;"></a><br> main.js<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31099607/59558972-81aded00-9030-11e9-896c-5ee82e0ad9bf.png"><img src="https://user-images.githubusercontent.com/31099607/59558972-81aded00-9030-11e9-896c-5ee82e0ad9bf.png" alt="image" style="max-width: 100%;"></a><br> I use video.js flash play <a href="http://rtmp" rel="nofollow">http://rtmp</a><br> The player didn't load the screen and didn't do anything. I tried to play it manually and it didn't work, and there was no error.</p> <p dir="auto">What should I do to solve this situation? Thank you.</p>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">I'm trying to build on a system with a Radeon VII and Ryzen 3800x running Ubuntu 19.04 with ROCm installed from AMD's repository as described <a href="https://rocm.github.io/ROCmInstall.html" rel="nofollow">here</a> (without dkms, just using the upstream kernel and udev rules as outlined). I see the following when I try to build:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Building wheel torch-1.3.0a0+105fbb9 -- Building version 1.3.0a0+105fbb9 cmake -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/luke/Builds/pytorch/torch -DCMAKE_PREFIX_PATH=/usr/lib/python3/dist-packages -DNUMPY_INCLUDE_DIR=/home/luke/.local/lib/python3.7/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so.1.0 -DTORCH_BUILD_VERSION=1.3.0a0+105fbb9 -DUSE_CUDA=False -DUSE_DISTRIBUTED=True -DUSE_LMDB=1 -DUSE_NUMPY=True -DUSE_OPENCV=1 -DUSE_ROCM=1 /home/luke/Builds/pytorch -- The CXX compiler identification is GNU 8.3.0 -- The C compiler identification is GNU 8.3.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Not forcing any particular BLAS to be found -- Performing Test COMPILER_WORKS -- Performing Test COMPILER_WORKS - Success -- Performing Test SUPPORT_GLIBCXX_USE_C99 -- Performing Test SUPPORT_GLIBCXX_USE_C99 - Success -- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED -- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED - Success -- std::exception_ptr is supported. -- Performing Test CAFFE2_IS_NUMA_AVAILABLE -- Performing Test CAFFE2_IS_NUMA_AVAILABLE - Success -- NUMA is available -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Success -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Success -- Current compiler supports avx2 extension. Will build perfkernels. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success -- Current compiler supports avx512f extension. Will build fbgemm. -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_SUPPORTS_RDYNAMIC -- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success -- Building using own protobuf under third_party per request. -- Use custom protobuf build. -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Caffe2 protobuf include directory: $&lt;BUILD_INTERFACE:/home/luke/Builds/pytorch/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include&gt; -- Trying to find preferred BLAS backend of choice: MKL -- MKL_THREADING = OMP -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- MKL_THREADING = OMP CMake Warning at cmake/Dependencies.cmake:143 (message): MKL could not be found. Defaulting to Eigen Call Stack (most recent call first): CMakeLists.txt:308 (include) CMake Warning at cmake/Dependencies.cmake:162 (message): Preferred BLAS (MKL) cannot be found, now searching for a general BLAS library Call Stack (most recent call first): CMakeLists.txt:308 (include) -- MKL_THREADING = OMP -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [openblas] -- Library openblas: /usr/lib/x86_64-linux-gnu/libopenblas.so -- Looking for sgemm_ -- Looking for sgemm_ - found -- Performing Test BLAS_F2C_DOUBLE_WORKS -- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed -- Performing Test BLAS_F2C_FLOAT_WORKS -- Performing Test BLAS_F2C_FLOAT_WORKS - Success -- Performing Test BLAS_USE_CBLAS_DOT -- Performing Test BLAS_USE_CBLAS_DOT - Success -- Found a library with BLAS API (open). -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Brace yourself, we are building NNPACK -- Performing Test NNPACK_ARCH_IS_X86_32 -- Performing Test NNPACK_ARCH_IS_X86_32 - Failed -- Found PythonInterp: /usr/bin/python3 (found version &quot;3.7.3&quot;) -- NNPACK backend is x86-64 -- Failed to find LLVM FileCheck -- Found Git: /usr/bin/git (found version &quot;2.20.1&quot;) -- git Version: v1.4.0-505be96a -- Version: 1.4.0 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success -- Performing Test HAVE_CXX_FLAG_WALL -- Performing Test HAVE_CXX_FLAG_WALL - Success -- Performing Test HAVE_CXX_FLAG_WEXTRA -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success -- Performing Test HAVE_CXX_FLAG_WSHADOW -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success -- Performing Test HAVE_CXX_FLAG_WERROR -- Performing Test HAVE_CXX_FLAG_WERROR - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Performing Test HAVE_STD_REGEX -- Performing Test HAVE_STD_REGEX -- Performing Test HAVE_STD_REGEX -- success -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- success -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Performing Test COMPILER_SUPPORTS_AVX512 -- Performing Test COMPILER_SUPPORTS_AVX512 - Success -- Found OpenMP_C: -fopenmp (found version &quot;4.5&quot;) -- Found OpenMP_CXX: -fopenmp (found version &quot;4.5&quot;) -- Found OpenMP: TRUE (found version &quot;4.5&quot;) -- Performing Test __CxxFlag__fmerge_all_constants -- Performing Test __CxxFlag__fmerge_all_constants - Success ** AsmJit Summary ** ASMJIT_DIR=/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit ASMJIT_TEST=FALSE ASMJIT_TARGET_TYPE=STATIC ASMJIT_DEPS=pthread;rt ASMJIT_LIBS=asmjit;pthread;rt ASMJIT_CFLAGS=-DASMJIT_STATIC ASMJIT_PRIVATE_CFLAGS=-Wall;-Wextra;-fno-math-errno;-fno-threadsafe-statics;-DASMJIT_STATIC ASMJIT_PRIVATE_CFLAGS_DBG= ASMJIT_PRIVATE_CFLAGS_REL=-O2;-fmerge-all-constants -- Found LMDB: /usr/include -- Found lmdb (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so) -- Found Numa: /usr/include -- Found Numa (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so) -- OpenCV found (/usr/share/OpenCV) -- Using third party subdirectory Eigen. Python 3.7.3 -- Found PythonInterp: /usr/bin/python3 (found suitable version &quot;3.7.3&quot;, minimum required is &quot;2.7&quot;) -- Found PythonLibs: /usr/lib/libpython3.7m.so.1.0 (found suitable version &quot;3.7.3&quot;, minimum required is &quot;2.7&quot;) -- Could NOT find pybind11 (missing: pybind11_DIR) -- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) -- Using third_party/pybind11. -- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version &quot;3.1&quot;) -- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version &quot;3.1&quot;) -- Found MPI: TRUE (found version &quot;3.1&quot;) -- MPI support found -- MPI compile flags: -- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/usr/lib/x86_64-linux-gnu/openmpi/include -- MPI LINK flags path: -pthread -- MPI libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so CMake Warning at cmake/Dependencies.cmake:738 (message): OpenMPI found, but it is not built with CUDA support. Call Stack (most recent call first): CMakeLists.txt:308 (include) -- Adding OpenMP CXX_FLAGS: -fopenmp -- Will link against OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so -- Found HIP: /opt/rocm (found suitable version &quot;1.5.19284&quot;, minimum required is &quot;1.0&quot;) HIP VERSION: 1.5.19284 ***** Library versions from dpkg ***** rocm-dev VERSION: 2.7.22 rocm-device-libs VERSION: 0.0.1 rocm-libs VERSION: 2.7.22 hsakmt-roct VERSION: 1.0.9-194-gbcfdf35 hsakmt-roct-dev VERSION: 1.0.9-194-gbcfdf35 hsa-ext-rocr-dev VERSION: 1.1.9-99-g835b876 hsa-rocr-dev VERSION: 1.1.9-99-g835b876 hcc VERSION: 2.7.19315 hip_base VERSION: 1.5.19284 hip_hcc VERSION: 1.5.19284 ***** Library versions from cmake find_package ***** rocrand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa hiprand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa -- Found HIP: /opt/rocm (found version &quot;1.5.19284&quot;) rocblas VERSION: 2.4.0.1471-rocm-rel-2.7-22-1ac2271 miopen VERSION: 2.0.1.7405-rocm-rel-2.7-22-4e39a83 rocfft VERSION: 0.9.5.697-rocm-rel-2.7-22-ed7760e hipsparse VERSION: 1.0.9.168-rocm-rel-2.7-22-5fea400 INFOCompiling with HIP for AMD. CMake Warning (dev) at third_party/gloo/CMakeLists.txt:21 (option): Policy CMP0077 is not set: option() honors normal variables. Run &quot;cmake --help-policy CMP0077&quot; for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'BUILD_BENCHMARK'. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at third_party/gloo/CMakeLists.txt:32 (option): Policy CMP0077 is not set: option() honors normal variables. Run &quot;cmake --help-policy CMP0077&quot; for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'USE_NCCL'. This warning is for project developers. Use -Wno-dev to suppress it. -- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/usr/lib/x86_64-linux-gnu/openmpi/include -- MPI libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so -- Found HIP: /opt/rocm (found suitable version &quot;1.5.19284&quot;, minimum required is &quot;1.0&quot;) Successfully preprocessed all matching files. CMake Warning at cmake/Dependencies.cmake:1012 (message): Metal is only used in ios builds. Call Stack (most recent call first): CMakeLists.txt:308 (include) -- -- ******** Summary ******** -- CMake version : 3.15.2 -- CMake command : /usr/local/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 8.3.0 -- CXX flags : -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor -- Build type : Release -- Compile definitions : NDEBUG;ONNX_ML=1 -- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages -- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch -- CMAKE_MODULE_PATH : /opt/rocm/hip/cmake;/home/luke/Builds/pytorch/cmake/Modules -- -- ONNX version : 1.5.0 -- ONNX NAMESPACE : onnx_torch -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- ONNX_USE_LITE_PROTO : OFF -- ONNXIFI_DUMMY_BACKEND : OFF -- ONNXIFI_ENABLE_EXT : OFF -- -- Protobuf compiler : -- Protobuf includes : -- Protobuf libraries : -- BUILD_ONNX_PYTHON : OFF -- -- ******** Summary ******** -- CMake version : 3.15.2 -- CMake command : /usr/local/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 8.3.0 -- CXX flags : -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor -- Build type : Release -- Compile definitions : NDEBUG;ONNX_ML=1 -- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages -- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch -- CMAKE_MODULE_PATH : /opt/rocm/hip/cmake;/home/luke/Builds/pytorch/cmake/Modules -- -- ONNX version : 1.4.1 -- ONNX NAMESPACE : onnx_torch -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- ONNX_USE_LITE_PROTO : OFF -- ONNXIFI_DUMMY_BACKEND : OFF -- -- Protobuf compiler : -- Protobuf includes : -- Protobuf libraries : -- BUILD_ONNX_PYTHON : OFF -- Could not find CUDA with FP16 support, compiling without torch.CudaHalfTensor -- Removing -DNDEBUG from compile flags -- MAGMA not found. Compiling without MAGMA support -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this machine. -- No OMAP4 processor on this machine. -- Looking for cpuid.h -- Looking for cpuid.h - found -- Performing Test HAVE_GCC_GET_CPUID -- Performing Test HAVE_GCC_GET_CPUID - Success -- Performing Test NO_GCC_EBX_FPIC_BUG -- Performing Test NO_GCC_EBX_FPIC_BUG - Success -- Performing Test C_HAS_AVX_1 -- Performing Test C_HAS_AVX_1 - Failed -- Performing Test C_HAS_AVX_2 -- Performing Test C_HAS_AVX_2 - Success -- Performing Test C_HAS_AVX2_1 -- Performing Test C_HAS_AVX2_1 - Failed -- Performing Test C_HAS_AVX2_2 -- Performing Test C_HAS_AVX2_2 - Success -- Performing Test CXX_HAS_AVX_1 -- Performing Test CXX_HAS_AVX_1 - Failed -- Performing Test CXX_HAS_AVX_2 -- Performing Test CXX_HAS_AVX_2 - Success -- Performing Test CXX_HAS_AVX2_1 -- Performing Test CXX_HAS_AVX2_1 - Failed -- Performing Test CXX_HAS_AVX2_2 -- Performing Test CXX_HAS_AVX2_2 - Success -- AVX compiler support found -- AVX2 compiler support found -- Looking for cheev_ -- Looking for cheev_ - found -- Found a library with LAPACK API (open). disabling CUDA because NOT USE_CUDA is set -- CuDNN not found. Compiling without CuDNN support -- MKLDNN_THREADING = CMake Warning (dev) at third_party/ideep/mkl-dnn/cmake/options.cmake:33 (option): Policy CMP0077 is not set: option() honors normal variables. Run &quot;cmake --help-policy CMP0077&quot; for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'MKLDNN_ENABLE_CONCURRENT_EXEC'. Call Stack (most recent call first): third_party/ideep/mkl-dnn/cmake/utils.cmake:24 (include) third_party/ideep/mkl-dnn/CMakeLists.txt:74 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- This is a product build -- Detecting Intel(R) MKL: trying mklml_intel -- Intel(R) MKL: include /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/include -- Intel(R) MKL: lib /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib/libmklml_intel.so -- Found OpenMP_C: -fopenmp -- Found OpenMP_CXX: -fopenmp -- Found OpenMP: TRUE -- OpenMP lib: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib/libiomp5.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- VTune profiling environment is unset CMake Warning (dev) at third_party/ideep/mkl-dnn/cmake/utils.cmake:120 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run &quot;cmake --help-policy CMP0023&quot; for policy details. Use the cmake_policy command to set the policy and suppress this warning. The plain signature for target_link_libraries has already been used with the target &quot;mkldnn&quot;. All uses of target_link_libraries with a target should be either all-keyword or all-plain. The uses of the plain signature are here: * third_party/ideep/mkl-dnn/cmake/utils.cmake:111 (target_link_libraries) Call Stack (most recent call first): third_party/ideep/mkl-dnn/src/CMakeLists.txt:108 (target_link_libraries_install) This warning is for project developers. Use -Wno-dev to suppress it. -- Found MKL-DNN: TRUE -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for mmap -- Looking for mmap - found -- Looking for shm_open -- Looking for shm_open - found -- Looking for shm_unlink -- Looking for shm_unlink - found -- Looking for malloc_usable_size -- Looking for malloc_usable_size - found -- Performing Test C_HAS_THREAD -- Performing Test C_HAS_THREAD - Success -- GCC 8.3.0: Adding gcc and gcc_s libs to link line -- NUMA paths: -- /usr/include -- /usr/lib/x86_64-linux-gnu/libnuma.so -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success HIP VERSION: 1.5.19284 ***** Library versions from dpkg ***** rocm-dev VERSION: 2.7.22 rocm-device-libs VERSION: 0.0.1 rocm-libs VERSION: 2.7.22 hsakmt-roct VERSION: 1.0.9-194-gbcfdf35 hsakmt-roct-dev VERSION: 1.0.9-194-gbcfdf35 hsa-ext-rocr-dev VERSION: 1.1.9-99-g835b876 hsa-rocr-dev VERSION: 1.1.9-99-g835b876 hcc VERSION: 2.7.19315 hip_base VERSION: 1.5.19284 hip_hcc VERSION: 1.5.19284 ***** Library versions from cmake find_package ***** rocrand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa hiprand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa -- Found HIP: /opt/rocm (found version &quot;1.5.19284&quot;) rocblas VERSION: 2.4.0.1471-rocm-rel-2.7-22-1ac2271 miopen VERSION: 2.0.1.7405-rocm-rel-2.7-22-4e39a83 rocfft VERSION: 0.9.5.697-rocm-rel-2.7-22-ed7760e hipsparse VERSION: 1.0.9.168-rocm-rel-2.7-22-5fea400 ROCm is enabled. -- Check size of long double -- Check size of long double - done -- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE -- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE - Success -- Performing Test COMPILER_SUPPORTS_FLOAT128 -- Performing Test COMPILER_SUPPORTS_FLOAT128 - Success -- Performing Test COMPILER_SUPPORTS_SSE2 -- Performing Test COMPILER_SUPPORTS_SSE2 - Success -- Performing Test COMPILER_SUPPORTS_SSE4 -- Performing Test COMPILER_SUPPORTS_SSE4 - Success -- Performing Test COMPILER_SUPPORTS_AVX -- Performing Test COMPILER_SUPPORTS_AVX - Success -- Performing Test COMPILER_SUPPORTS_FMA4 -- Performing Test COMPILER_SUPPORTS_FMA4 - Success -- Performing Test COMPILER_SUPPORTS_AVX2 -- Performing Test COMPILER_SUPPORTS_AVX2 - Success -- Performing Test COMPILER_SUPPORTS_SVE -- Performing Test COMPILER_SUPPORTS_SVE - Failed -- Performing Test COMPILER_SUPPORTS_AVX512F -- Performing Test COMPILER_SUPPORTS_AVX512F - Success -- Performing Test COMPILER_SUPPORTS_OPENMP -- Performing Test COMPILER_SUPPORTS_OPENMP - Success -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Success -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Success -- Configuring build for SLEEF-v3.2 Target system: Linux-5.0.0-25-generic Target processor: x86_64 Host system: Linux-5.0.0-25-generic Host processor: x86_64 Detected C compiler: GNU @ /usr/bin/cc -- Using option `-Wall -Wno-unused -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math` to compile libsleef -- Building shared libs : OFF -- MPFR : LIB_MPFR-NOTFOUND -- GMP : LIBGMP-NOTFOUND -- RUNNING_ON_TRAVIS : 0 -- COMPILER_SUPPORTS_OPENMP : 1 -- NCCL operators skipped due to no CUDA support -- Including IDEEP operators -- Including image processing operators -- Excluding video processing operators due to no opencv -- Include Observer library -- /usr/bin/c++ /home/luke/Builds/pytorch/caffe2/../torch/abi-check.cpp -o /home/luke/Builds/pytorch/build/abi-check -- Determined _GLIBCXX_USE_CXX11_ABI=1 -- MPI_INCLUDE_PATH: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include -- MPI_LIBRARIES: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so -- MPIEXEC: /usr/bin/mpiexec -- pytorch is compiling with OpenMP. OpenMP CXX_FLAGS: -fopenmp. OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so. -- Caffe2 is compiling with OpenMP. OpenMP CXX_FLAGS: -fopenmp. OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so. -- Using ATen parallel backend: OMP -- Using lib/python3/dist-packages as python relative installation path CMake Warning at CMakeLists.txt:530 (message): Generated cmake files are only fully tested if one builds with system glog, gflags, and protobuf. Other settings may generate files that are not well tested. -- -- ******** Summary ******** -- General: -- CMake version : 3.15.2 -- CMake command : /usr/local/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler id : GNU -- C++ compiler version : 8.3.0 -- BLAS : MKL -- CXX flags : -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 : NDEBUG;ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1 -- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages -- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch -- -- TORCH_VERSION : 1.3.0 -- CAFFE2_VERSION : 1.3.0 -- BUILD_CAFFE2_MOBILE : ON -- USE_STATIC_DISPATCH : OFF -- 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.3 -- Python executable : /usr/bin/python3 -- Pythonlibs version : 3.7.3 -- Python library : /usr/lib/libpython3.7m.so.1.0 -- Python includes : /usr/include/python3.7m -- Python site-packages: lib/python3/dist-packages -- BUILD_CAFFE2_OPS : ON -- BUILD_SHARED_LIBS : ON -- BUILD_TEST : True -- INTERN_BUILD_MOBILE : -- USE_ASAN : OFF -- USE_CUDA : False -- USE_ROCM : ON -- USE_EIGEN_FOR_BLAS : ON -- USE_FBGEMM : ON -- USE_FFMPEG : OFF -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_LEVELDB : OFF -- USE_LITE_PROTO : OFF -- USE_LMDB : 1 -- LMDB version : 0.9.23 -- USE_METAL : OFF -- USE_MKL : OFF -- USE_MKLDNN : ON -- USE_MKLDNN_CBLAS : OFF -- USE_NCCL : OFF -- USE_NNPACK : ON -- USE_NUMPY : ON -- USE_OBSERVERS : ON -- USE_OPENCL : OFF -- USE_OPENCV : 1 -- OpenCV version : 3.2.0 -- 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 : ON -- USE_GLOO : ON -- USE_GLOO_IBVERBS : OFF -- BUILD_NAMEDTENSOR : OFF -- Public Dependencies : Threads::Threads;caffe2::mkldnn -- Private Dependencies : qnnpack;nnpack;cpuinfo;fbgemm;/usr/lib/x86_64-linux-gnu/liblmdb.so;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_video;fp16;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl -- Configuring done CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target FileStoreTest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:16 (c10d_add_test) CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target TCPStoreTest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:17 (c10d_add_test) CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target ProcessGroupGlooTest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:30 (c10d_add_test) CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target ProcessGroupMPITest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:36 (c10d_add_test) CMake Warning at torch/lib/libshm/CMakeLists.txt:33 (ADD_EXECUTABLE): Cannot generate a safe linker search path for target torch_shm_manager because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. CMake Warning at torch/lib/libshm/CMakeLists.txt:25 (ADD_LIBRARY): Cannot generate a safe linker search path for target shm because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. -- Generating done -- Build files have been written to: /home/luke/Builds/pytorch/build cmake --build . --target install --config Release -- -j 8 Scanning dependencies of target gtest Scanning dependencies of target fbgemm_avx2 Scanning dependencies of target clog Scanning dependencies of target pthreadpool Scanning dependencies of target libprotobuf-lite Scanning dependencies of target benchmark Scanning dependencies of target fbgemm_generic Scanning dependencies of target libprotobuf [ 0%] Building C object confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o [ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmFP16UKernelsAvx2.cc.o /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_fatal’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_error’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_warning’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_info’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_debug’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 0%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arena.cc.o [ 0%] Linking C static library ../../lib/libclog.a [ 0%] Built target clog [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arenastring.cc.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernel.cc.o [ 0%] Linking C static library ../../lib/libpthreadpool.a [ 0%] Built target pthreadpool [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/extension_set.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arena.cc.o Scanning dependencies of target fbgemm_avx512 [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/src/UtilsAvx512.cc.o /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 9]’: /home/luke/Builds/pytorch/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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 27]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 1]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 2]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 3]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 4]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 5]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 10]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 11]’: /home/luke/Builds/pytorch/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] [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernelU8S8.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arenastring.cc.o [ 0%] Built target fbgemm_avx512 [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set.cc.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Fbgemm.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_util.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_util.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/implicit_weak_message.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/coded_stream.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/implicit_weak_message.cc.o [ 0%] Linking CXX static library ../../../../lib/libgtest.a [ 0%] Built target gtest [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/coded_stream.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o Scanning dependencies of target asmjit [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o [ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/arch.cpp.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/assembler.cpp.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o [ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/builder.cpp.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/message_lite.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/repeated_field.cc.o [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message_lite.cc.o [ 1%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/callconv.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/codeholder.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/compiler.cpp.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/repeated_field.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/bytestream.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/bytestream.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/constpool.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/cpuinfo.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/emitter.cpp.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/common.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/common.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/func.cpp.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/int128.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/int128.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/io_win32.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/status.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/io_win32.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/status.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/statusor.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/statusor.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/strutil.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/strutil.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/time.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/time.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/wire_format_lite.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmFP16.cc.o Scanning dependencies of target gloo [ 2%] Linking CXX static library ../../../lib/libbenchmark.a [ 2%] Built target benchmark [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format_lite.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.cc.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/globals.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/inst.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/jitallocator.cpp.o [ 2%] Linking CXX static library ../../../lib/libprotobuf-lite.a [ 2%] Built target libprotobuf-lite [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/jitruntime.cpp.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/OptimizedKernelsAvx2.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/api.pb.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/logging.cpp.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/QuantUtilsAvx2.cc.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmConv.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/operand.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/osutils.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/UtilsAvx2.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/ralocal.cpp.o /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/core/ralocal.cpp: In member function ‘asmjit::Error asmjit::RALocalAllocator::allocBranch(asmjit::InstNode*, asmjit::RABlock*, asmjit::RABlock*)’: /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/core/ralocal.cpp:833:79: warning: unused parameter ‘cont’ [-Wunused-parameter] Error RALocalAllocator::allocBranch(InstNode* node, RABlock* target, RABlock* cont) noexcept { ~~~~~~~~~^~~~ [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/rapass.cpp.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/importer.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/parser.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/rastack.cpp.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmI8Spmdm.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/string.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/support.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/target.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/type.cpp.o Scanning dependencies of target mkldnn [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/virtmem.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zone.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonehash.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonelist.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonestack.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonetree.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonevector.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86assembler.cpp.o [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o [ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o [ 3%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.cc.o [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o [ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution.cpp.o [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o [ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution_pd.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/deconvolution.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/eltwise.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/engine.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/inner_product.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/lrn.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/mpi/context.cc.o Scanning dependencies of target c10 [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o In file included from /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:16: /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc: In destructor ‘gloo::mpi::MPIScope::~MPIScope()’: /home/luke/Builds/pytorch/third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ /home/luke/Builds/pytorch/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__) ^~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:43:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ(rv, MPI_SUCCESS); ^~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/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__))); \ ^ /home/luke/Builds/pytorch/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__) ^~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:43:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ(rv, MPI_SUCCESS); ^~~~~~~~~~~~~~~ [ 4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512VNNI.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/mkldnn_debug.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/pooling.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_attr.cpp.o [ 4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_desc.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_iterator.cpp.o [ 4%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86builder.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/query.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/reorder.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/rnn.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/scratchpad.cpp.o [ 4%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.pb.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/shuffle.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/softmax.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/stream.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/verbose.cpp.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o [ 5%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o [ 5%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_batch_normalization_utils.cpp.o [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o [ 5%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86callconv.cpp.o [ 5%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512.cc.o [ 5%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86compiler.cpp.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeId.cpp.o [ 5%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512VNNI.cc.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeIdRegistration.cpp.o [ 6%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_concat.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor_database.cc.o [ 6%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o [ 6%] Linking CXX static library ../../../lib/libgloo.a [ 6%] Built target gloo [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_engine.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Array.cpp.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_memory.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/duration.pb.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/dynamic_message.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86features.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86internal.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instdb.cpp.o [ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GroupwiseConvAcc32Avx2.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o [ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAMatrix.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/empty.pb.cc.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set_heavy.cc.o [ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithIm2Col.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/field_mask.pb.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Type.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_reflection.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instapi.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86logging.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86logging.cpp: In function ‘asmjit::Error asmjit::x86::LoggingInternal::formatInstruction(asmjit::String&amp;, uint32_t, const asmjit::BaseEmitter*, uint32_t, const asmjit::BaseInst&amp;, const asmjit::Operand_*, uint32_t)’: /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86logging.cpp:677:29: warning: unused variable ‘instInfo’ [-Wunused-variable] const InstDB::InstInfo&amp; instInfo = InstDB::infoById(instId); ^~~~~~~~ [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86operand.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86internal.cpp:1337:13: warning: ‘void asmjit::x86::dumpAssignment(asmjit::String&amp;, const asmjit::x86::X86FuncArgsContext&amp;)’ defined but not used [-Wunused-function] static void dumpAssignment(String&amp; sb, const X86FuncArgsContext&amp; ctx) noexcept { ^~~~~~~~~~~~~~ [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86rapass.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_primitive.cpp.o [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackBMatrix.cc.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven.cc.o [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/gzip_stream.cc.o [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackMatrix.cc.o [ 7%] Linking CXX shared library ../lib/libc10.so [ 7%] Built target c10 [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithQuantRowOffset.cc.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/printer.cc.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/strtod.cc.o [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithRowOffset.cc.o [ 7%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reducer.cpp.o [ 7%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reorder.cpp.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/tokenizer.cc.o [ 8%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightMatrixForGConv.cc.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl.cc.o [ 8%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightsForConv.cc.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/map_field.cc.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message.cc.o [ 8%] Linking CXX static library ../../../lib/libasmjit.a [ 8%] Built target asmjit Scanning dependencies of target python_copy_files [ 8%] Generating __init__.py [ 9%] Generating contrib/__init__.py [ 9%] Generating contrib/aten/__init__.py [ 9%] Generating contrib/aten/aten_test.py [ 9%] Generating contrib/aten/docs/__init__.py [ 9%] Generating contrib/aten/docs/sample.py [ 9%] Generating contrib/aten/gen_op.py [ 9%] Generating contrib/gloo/__init__.py [ 9%] Generating contrib/gloo/gloo_test.py [ 9%] Generating contrib/nccl/__init__.py [ 9%] Generating contrib/nccl/nccl_ops_test.py [ 9%] Generating contrib/nnpack/__init__.py [ 9%] Generating contrib/nnpack/nnpack_ops_test.py [ 9%] Generating contrib/playground/AnyExp.py [ 9%] Generating contrib/playground/AnyExpOnTerm.py [ 9%] Generating contrib/playground/ModuleRegister.py [ 9%] Generating contrib/playground/__init__.py [ 9%] Generating contrib/playground/checkpoint.py [ 9%] Generating contrib/playground/compute_loss.py [ 9%] Generating contrib/playground/compute_topk_accuracy.py [ 9%] Generating contrib/playground/meter.py [ 9%] Generating contrib/playground/module_map.py [ 9%] Generating contrib/playground/output_generator.py [ 9%] Generating contrib/playground/resnetdemo/IN1k_resnet.py [ 9%] Generating contrib/playground/resnetdemo/IN1k_resnet_no_test_model.py [ 9%] Generating contrib/playground/resnetdemo/__init__.py [ 9%] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_forward.py [ 9%] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_param_update.py [ 9%] Generating contrib/playground/resnetdemo/explicit_resnet_forward.py [ 9%] Generating contrib/playground/resnetdemo/explicit_resnet_param_update.py [ 9%] Generating contrib/playground/resnetdemo/gfs_IN1k.py [ 9%] Generating contrib/playground/resnetdemo/override_no_test_model_no_checkpoint.py [ 9%] Generating contrib/playground/resnetdemo/rendezvous_filestore.py [ 10%] Generating contrib/prof/__init__.py [ 10%] Generating contrib/prof/cuda_profile_ops_test.py [ 10%] Generating contrib/script/__init__.py [ 10%] Generating contrib/script/examples/__init__.py [ 10%] Generating contrib/tensorboard/__init__.py [ 10%] Generating contrib/tensorboard/tensorboard.py [ 10%] Generating contrib/tensorboard/tensorboard_exporter.py [ 10%] Generating contrib/tensorboard/tensorboard_exporter_test.py [ 10%] Generating contrib/tensorboard/tensorboard_test.py [ 10%] Generating contrib/warpctc/__init__.py [ 10%] Generating contrib/warpctc/ctc_ops_test.py [ 10%] Generating core/__init__.py [ 10%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/QuantUtils.cc.o [ 10%] Generating core/nomnigraph/__init__.py [ 10%] Generating core/nomnigraph/op_gen.py [ 10%] Generating distributed/__init__.py [ 10%] Generating distributed/file_store_handler_op_test.py [ 10%] Generating distributed/redis_store_handler_op_test.py [ 10%] Generating distributed/store_ops_test_util.py [ 10%] Generating experiments/__init__.py [ 10%] Generating experiments/python/SparseTransformer.py [ 10%] Generating experiments/python/__init__.py [ 10%] Generating experiments/python/convnet_benchmarks.py [ 10%] Generating experiments/python/device_reduce_sum_bench.py [ 10%] Generating experiments/python/funhash_op_test.py [ 10%] Generating experiments/python/net_construct_bench.py [ 10%] Generating experiments/python/sparse_funhash_op_test.py [ 10%] Generating experiments/python/sparse_reshape_op_test.py [ 10%] Generating experiments/python/tt_contraction_op_test.py [ 10%] Generating experiments/python/tt_pad_op_test.py [ 10%] Generating perfkernels/__init__.py [ 10%] Generating perfkernels/hp_emblookup_codegen.py [ 10%] Generating proto/__init__.py [ 11%] Generating python/__init__.py [ 11%] Generating python/_import_c_extension.py [ 11%] Generating python/allcompare_test.py [ 11%] Generating python/attention.py [ 11%] Generating python/benchmark_generator.py [ 11%] Generating python/binarysize.py [ 11%] Generating python/brew.py [ 11%] Generating python/brew_test.py [ 11%] Generating python/build.py [ 11%] Generating python/cached_reader.py [ 11%] Generating python/caffe_translator.py [ 11%] Generating python/caffe_translator_test.py [ 11%] Generating python/checkpoint.py [ 11%] Generating python/checkpoint_test.py [ 11%] Generating python/cnn.py [ 11%] Generating python/compatibility.py [ 11%] Generating python/context.py [ 11%] Generating python/context_test.py [ 11%] Generating python/control.py [ 11%] Generating python/control_ops_grad.py [ 11%] Generating python/control_ops_grad_test.py [ 11%] Generating python/control_ops_util.py [ 11%] Generating python/control_test.py [ 11%] Generating python/convert.py [ 11%] Generating python/convert_test.py [ 11%] Generating python/convnet_benchmarks.py [ 11%] Generating python/convnet_benchmarks_test.py [ 11%] Generating python/core.py [ 11%] Generating python/core_gradients_test.py [ 11%] Generating python/core_test.py [ 11%] Generating python/crf.py [ 11%] Generating python/crf_predict.py [ 12%] Generating python/crf_viterbi_test.py [ 12%] Generating python/data_parallel_model.py [ 12%] Generating python/data_parallel_model_test.py [ 12%] Generating python/data_workers.py [ 12%] Generating python/data_workers_test.py [ 12%] Generating python/dataio.py [ 12%] Generating python/dataio_test.py [ 12%] Generating python/dataset.py [ 12%] Generating python/db_file_reader.py [ 12%] Generating python/db_test.py [ 12%] Generating python/device_checker.py [ 12%] Generating python/docs/__init__.py [ 12%] Generating python/docs/formatter.py [ 12%] Generating python/docs/generator.py [ 12%] Generating python/docs/github.py [ 12%] Generating python/docs/parser.py [ 12%] Generating python/dyndep.py [ 12%] Generating python/embedding_generation_benchmark.py [ 12%] Generating python/examples/__init__.py [ 12%] Generating python/examples/char_rnn.py [ 12%] Generating python/examples/imagenet_trainer.py [ 12%] Generating python/examples/lmdb_create_example.py [ 12%] Generating python/examples/resnet50_trainer.py [ 12%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/RefImplementations.cc.o [ 12%] Generating python/experiment_util.py [ 12%] Generating python/extension_loader.py [ 12%] Generating python/filler_test.py [ 12%] Generating python/functional.py [ 12%] Generating python/functional_test.py [ 12%] Generating python/fused_8bit_rowwise_conversion_ops_test.py [ 12%] Generating python/gradient_check_test.py [ 12%] Generating python/gradient_checker.py [ 12%] Generating python/gru_cell.py [ 13%] Generating python/helpers/__init__.py [ 13%] Generating python/helpers/algebra.py [ 13%] Generating python/helpers/arg_scope.py [ 13%] Generating python/helpers/array_helpers.py [ 13%] Generating python/helpers/control_ops.py [ 13%] Generating python/helpers/conv.py [ 13%] Generating python/helpers/db_input.py [ 13%] Generating python/helpers/dropout.py [ 13%] Generating python/helpers/elementwise_linear.py [ 13%] Generating python/helpers/fc.py [ 13%] Generating python/helpers/nonlinearity.py [ 13%] Generating python/helpers/normalization.py [ 13%] Generating python/helpers/pooling.py [ 13%] Generating python/helpers/tools.py [ 13%] Generating python/helpers/train.py [ 13%] Generating python/hip_test_util.py [ 13%] Generating python/hsm_util.py [ 13%] Generating python/hypothesis_test.py [ 13%] Generating python/hypothesis_test_util.py [ 13%] Generating python/ideep/LRN_op_test.py [ 13%] Generating python/ideep/__init__.py [ 13%] Generating python/ideep/adam_op_test.py [ 13%] Generating python/ideep/blobs_queue_db_test.py [ 13%] Generating python/ideep/channel_shuffle_op_test.py [ 13%] Generating python/ideep/concat_split_op_test.py [ 13%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/reflection_ops.cc.o [ 13%] Generating python/ideep/conv_op_test.py [ 13%] Generating python/ideep/conv_transpose_test.py [ 13%] Generating python/ideep/convfusion_op_test.py [ 13%] Generating python/ideep/copy_op_test.py [ 13%] Generating python/ideep/dropout_op_test.py [ 13%] Generating python/ideep/elementwise_sum_op_test.py [ 14%] Generating python/ideep/expanddims_squeeze_op_test.py [ 14%] Generating python/ideep/fc_op_test.py [ 14%] Generating python/ideep/leaky_relu_op_test.py [ 14%] Generating python/ideep/moment_sgd_op_test.py [ 14%] Generating python/ideep/operator_fallback_op_test.py [ 14%] Generating python/ideep/order_switch_op_test.py [ 14%] Generating python/ideep/pool_op_test.py [ 14%] Generating python/ideep/pre_convert_test.py [ 14%] Generating python/ideep/relu_op_test.py [ 14%] Generating python/ideep/reshape_op_test.py [ 14%] Generating python/ideep/shape_op_test.py [ 14%] Generating python/ideep/sigmoid_op_test.py [ 14%] Generating python/ideep/softmax_op_test.py [ 14%] Generating python/ideep/spatial_bn_op_test.py [ 14%] Generating python/ideep/test_ideep_net.py [ 14%] Generating python/ideep/transform_ideep_net.py [ 14%] Generating python/ideep/transpose_op_test.py [ 14%] Generating python/ideep/weightedsum_op_test.py [ 14%] Generating python/ideep_test_util.py [ 14%] Generating python/layer_model_helper.py [ 14%] Generating python/layer_model_instantiator.py [ 14%] Generating python/layer_parameter_sharing_test.py [ 14%] Generating python/layer_test_util.py [ 14%] Generating python/layers/__init__.py [ 14%] Generating python/layers/adaptive_weight.py [ 14%] Generating python/layers/add_bias.py [ 14%] Generating python/layers/arc_cosine_feature_map.py [ 14%] Generating python/layers/batch_huber_loss.py [ 14%] Generating python/layers/batch_lr_loss.py [ 14%] Generating python/layers/batch_mse_loss.py [ 14%] Generating python/layers/batch_normalization.py [ 14%] Generating python/layers/batch_sigmoid_cross_entropy_loss.py [ 15%] Generating python/layers/batch_softmax_loss.py [ 15%] Generating python/layers/blob_weighted_sum.py [ 15%] Generating python/layers/bpr_loss.py [ 15%] Generating python/layers/bucket_weighted.py [ 15%] Generating python/layers/build_index.py [ 15%] Generating python/layers/concat.py [ 15%] Generating python/layers/constant_weight.py [ 15%] Generating python/layers/conv.py [ 15%] Generating python/layers/dropout.py [ 15%] Generating python/layers/fc.py [ 15%] Generating python/layers/fc_without_bias.py [ 15%] Generating python/layers/feature_sparse_to_dense.py [ 15%] Generating python/layers/functional.py [ 15%] Generating python/layers/gather_record.py [ 15%] Generating python/layers/homotopy_weight.py [ 15%] Generating python/layers/label_smooth.py [ 15%] Generating python/layers/last_n_window_collector.py [ 15%] Generating python/layers/layer_normalization.py [ 15%] Generating python/layers/layers.py [ 15%] Generating python/layers/margin_rank_loss.py [ 15%] Generating python/layers/merge_id_lists.py [ 15%] Generating python/layers/pairwise_similarity.py [ 15%] Generating python/layers/position_weighted.py [ 15%] Generating python/layers/random_fourier_features.py [ 15%] Generating python/layers/reservoir_sampling.py [ 15%] Generating python/layers/sampling_train.py [ 15%] Generating python/layers/sampling_trainable_mixin.py [ 15%] Generating python/layers/select_record_by_context.py [ 15%] Generating python/layers/semi_random_features.py [ 15%] Generating python/layers/sparse_dropout_with_replacement.py [ 15%] Generating python/layers/sparse_feature_hash.py [ 15%] Generating python/layers/sparse_lookup.py [ 16%] Generating python/layers/split.py [ 16%] Generating python/layers/tags.py [ 16%] Generating python/layers/uniform_sampling.py [ 16%] Generating python/layers_test.py [ 16%] Generating python/lengths_reducer_fused_8bit_rowwise_ops_test.py [ 16%] Generating python/lengths_reducer_rowwise_8bit_ops_test.py [ 16%] Generating python/lstm_benchmark.py [ 16%] Generating python/memonger.py [ 16%] Generating python/memonger_test.py [ 16%] Generating python/mint/__init__.py [ 16%] Generating python/mint/app.py [ 16%] Generating python/mkl/__init__.py [ 16%] Generating python/mkl/mkl_LRN_op_test.py [ 16%] Generating python/mkl/mkl_LRN_speed_test.py [ 16%] Generating python/mkl/mkl_concat_op_test.py [ 16%] Generating python/mkl/mkl_conv_op_test.py [ 16%] Generating python/mkl/mkl_copy_op_test.py [ 16%] Generating python/mkl/mkl_elementwise_add_op_test.py [ 16%] Generating python/mkl/mkl_elementwise_sum_op_test.py [ 16%] Generating python/mkl/mkl_fc_op_test.py [ 16%] Generating python/mkl/mkl_fc_speed_test.py [ 16%] Generating python/mkl/mkl_fill_op_test.py [ 16%] Generating python/mkl/mkl_pool_op_test.py [ 16%] Generating python/mkl/mkl_pool_speed_test.py [ 16%] Generating python/mkl/mkl_relu_op_test.py [ 16%] Generating python/mkl/mkl_sbn_op_test.py [ 16%] Generating python/mkl/mkl_sbn_speed_test.py [ 16%] Generating python/mkl/mkl_sigmoid_op_test.py [ 16%] Generating python/mkl/mkl_speed_test.py [ 16%] Generating python/mkl/mkl_squeeze_op_test.py [ 16%] Generating python/mkl/rewrite_graph.py [ 16%] Generating python/mkl/rewrite_graph_test.py [ 17%] Generating python/mkl_test_util.py [ 17%] Generating python/model_device_test.py [ 17%] Generating python/model_helper.py [ 17%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Utils.cc.o [ 17%] Generating python/model_helper_test.py [ 17%] Generating python/modeling/__init__.py [ 17%] Generating python/modeling/compute_histogram_for_blobs.py [ 17%] Generating python/modeling/compute_histogram_for_blobs_test.py [ 17%] Generating python/modeling/compute_norm_for_blobs.py [ 17%] Generating python/modeling/compute_norm_for_blobs_test.py [ 17%] Generating python/modeling/compute_statistics_for_blobs.py [ 17%] Generating python/modeling/compute_statistics_for_blobs_test.py [ 17%] Generating python/modeling/get_entry_from_blobs.py [ 17%] Generating python/modeling/get_entry_from_blobs_test.py [ 17%] Generating python/modeling/gradient_clipping.py [ 17%] Generating python/modeling/gradient_clipping_test.py [ 17%] Generating python/modeling/initializers.py [ 17%] Generating python/modeling/initializers_test.py [ 17%] Generating python/modeling/net_modifier.py [ 17%] Generating python/modeling/parameter_info.py [ 17%] Generating python/modeling/parameter_sharing.py [ 17%] Generating python/modeling/parameter_sharing_test.py [ 17%] Generating python/models/__init__.py [ 17%] Generating python/models/__sym_init__.py [ 17%] Generating python/models/download.py [ 17%] Generating python/models/imagenet_trainer_test_utils.py [ 17%] Generating python/models/resnet.py [ 17%] Generating python/models/resnet_test.py [ 17%] Generating python/models/seq2seq/__init__.py [ 17%] Generating python/models/seq2seq/beam_search.py [ 17%] Generating python/models/seq2seq/seq2seq_beam_search_test.py [ 17%] Generating python/models/seq2seq/seq2seq_model_helper.py [ 17%] Generating python/models/seq2seq/seq2seq_model_helper_test.py [ 18%] Generating python/models/seq2seq/seq2seq_util.py [ 18%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_sum.cpp.o [ 18%] Generating python/models/seq2seq/train.py [ 18%] Generating python/models/seq2seq/translate.py [ 18%] Generating python/models/shufflenet.py [ 18%] Generating python/models/shufflenet_test.py [ 18%] Generating python/modifier_context.py [ 18%] Generating python/muji.py [ 18%] Generating python/muji_test.py [ 18%] Generating python/net_builder.py [ 18%] Generating python/net_builder_test.py [ 18%] Generating python/net_drawer.py [ 18%] Generating python/net_printer.py [ 18%] Generating python/net_printer_test.py [ 18%] Generating python/nomnigraph.py [ 18%] Generating python/nomnigraph_test.py [ 18%] Generating python/nomnigraph_transformations.py [ 18%] Generating python/nomnigraph_transformations_test.py [ 18%] Generating python/normalizer.py [ 18%] Generating python/normalizer_context.py [ 18%] Generating python/normalizer_test.py [ 18%] Generating python/numa_benchmark.py [ 18%] Generating python/numa_test.py [ 18%] Generating python/observer_test.py [ 18%] Generating python/onnx/__init__.py [ 18%] Generating python/onnx/backend.py [ 18%] Generating python/onnx/backend_cpp_rep.py [ 18%] Generating python/onnx/backend_rep.py [ 18%] Generating python/onnx/bin/__init__.py [ 18%] Generating python/onnx/bin/conversion.py [ 18%] Generating python/onnx/error.py [ 18%] Generating python/onnx/frontend.py [ 18%] Generating python/onnx/helper.py [ 19%] Generating python/onnx/onnxifi.py [ 19%] Generating python/onnx/test_onnxifi.py [ 19%] Generating python/onnx/tests/__init__.py [ 19%] Generating python/onnx/tests/c2_ref_test.py [ 19%] Generating python/onnx/tests/conversion_test.py [ 19%] Generating python/onnx/tests/helper_test.py [ 19%] Generating python/onnx/tests/onnx_backend_test.py [ 19%] Generating python/onnx/tests/ssa_test.py [ 19%] Generating python/onnx/tests/test_utils.py [ 19%] Generating python/onnx/workspace.py [ 19%] Generating python/operator_fp_exceptions_test.py [ 19%] Generating python/operator_test/__init__.py [ 19%] Generating python/operator_test/activation_ops_test.py [ 19%] Generating python/operator_test/adadelta_test.py [ 19%] Generating python/operator_test/adagrad_test.py [ 19%] Generating python/operator_test/adagrad_test_helper.py [ 19%] Generating python/operator_test/adam_test.py [ 19%] Generating python/operator_test/affine_channel_op_test.py [ 19%] Generating python/operator_test/apmeter_test.py [ 19%] Generating python/operator_test/arg_ops_test.py [ 19%] Generating python/operator_test/assert_test.py [ 19%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/service.cc.o [ 19%] Generating python/operator_test/atomic_ops_test.py [ 19%] Built target fbgemm_generic [ 19%] Generating python/operator_test/basic_rnn_test.py [ 19%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/gemm_utils_f32.cpp.o [ 19%] Generating python/operator_test/batch_box_cox_test.py [ 19%] Generating python/operator_test/batch_bucketize_op_test.py [ 19%] Generating python/operator_test/batch_moments_op_test.py [ 19%] Generating python/operator_test/batch_sparse_to_dense_op_test.py [ 19%] Generating python/operator_test/bbox_transform_test.py [ 19%] Generating python/operator_test/bisect_percentile_op_test.py [ 19%] Generating python/operator_test/blobs_queue_db_test.py [ 19%] Generating python/operator_test/boolean_mask_test.py [ 19%] Generating python/operator_test/boolean_unmask_test.py [ 20%] Generating python/operator_test/box_with_nms_limit_op_test.py [ 20%] Generating python/operator_test/bucketize_op_test.py [ 20%] Generating python/operator_test/cast_op_test.py [ 20%] Generating python/operator_test/ceil_op_test.py [ 20%] Generating python/operator_test/channel_backprop_stats_op_test.py [ 20%] Generating python/operator_test/channel_shuffle_test.py [ 20%] Generating python/operator_test/channel_stats_op_test.py [ 20%] Generating python/operator_test/checkpoint_test.py [ 20%] Generating python/operator_test/clip_op_test.py [ 20%] Generating python/operator_test/clip_tensor_op_test.py [ 20%] Generating python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py [ 20%] Generating python/operator_test/concat_split_op_test.py [ 20%] Generating python/operator_test/conditional_test.py [ 20%] Generating python/operator_test/conftest.py [ 20%] Generating python/operator_test/conv_test.py [ 20%] Generating python/operator_test/conv_transpose_test.py [ 20%] Generating python/operator_test/copy_ops_test.py [ 20%] Generating python/operator_test/copy_rows_to_tensor_op_test.py [ 20%] Generating python/operator_test/cosine_embedding_criterion_op_test.py [ 20%] Generating python/operator_test/counter_ops_test.py [ 20%] Generating python/operator_test/crf_test.py [ 20%] Generating python/operator_test/cross_entropy_ops_test.py [ 21%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx512_common_gemm_f32.cpp.o [ 21%] Generating python/operator_test/ctc_beam_search_decoder_op_test.py [ 21%] Generating python/operator_test/ctc_greedy_decoder_op_test.py [ 21%] Generating python/operator_test/cudnn_recurrent_test.py [ 21%] Generating python/operator_test/data_couple_op_test.py [ 21%] Generating python/operator_test/dataset_ops_test.py [ 21%] Generating python/operator_test/deform_conv_test.py [ 21%] Generating python/operator_test/dense_vector_to_id_list_op_test.py [ 21%] Generating python/operator_test/depthwise_3x3_conv_test.py [ 21%] Generating python/operator_test/detectron_keypoints.py [ 22%] Generating python/operator_test/distance_op_test.py [ 22%] Generating python/operator_test/dropout_op_test.py [ 22%] Generating python/operator_test/duplicate_operands_test.py [ 22%] Generating python/operator_test/elementwise_linear_op_test.py [ 22%] Generating python/operator_test/elementwise_logical_ops_test.py [ 22%] Generating python/operator_test/elementwise_op_broadcast_test.py [ 22%] Generating python/operator_test/elementwise_ops_test.py [ 22%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/source_context.pb.cc.o [ 22%] Generating python/operator_test/emptysample_ops_test.py [ 22%] Generating python/operator_test/enforce_finite_op_test.py [ 22%] Generating python/operator_test/ensure_clipped_test.py [ 22%] Generating python/operator_test/ensure_cpu_output_op_test.py [ 22%] Generating python/operator_test/erf_op_test.py [ 22%] Generating python/operator_test/expand_op_test.py [ 22%] Generating python/operator_test/fc_operator_test.py [ 22%] Generating python/operator_test/feature_maps_ops_test.py [ 22%] Generating python/operator_test/filler_ops_test.py [ 22%] Generating python/operator_test/find_op_test.py [ 22%] Generating python/operator_test/flatten_op_test.py [ 22%] Generating python/operator_test/flexible_top_k_test.py [ 22%] Generating python/operator_test/floor_op_test.py [ 22%] Generating python/operator_test/gather_ops_test.py [ 22%] Generating python/operator_test/gather_ranges_op_test.py [ 22%] Generating python/operator_test/given_tensor_byte_string_to_uint8_fill_op_test.py [ 22%] Generating python/operator_test/given_tensor_fill_op_test.py [ 22%] Generating python/operator_test/glu_op_test.py [ 22%] Generating python/operator_test/group_conv_test.py [ 22%] Generating python/operator_test/group_norm_op_test.py [ 22%] Generating python/operator_test/gru_test.py [ 22%] Generating python/operator_test/heatmap_max_keypoint_op_test.py [ 22%] Generating python/operator_test/hsm_test.py [ 22%] Generating python/operator_test/hyperbolic_ops_test.py [ 22%] Generating python/operator_test/im2col_col2im_test.py [ 23%] Generating python/operator_test/image_input_op_test.py [ 23%] Generating python/operator_test/index_hash_ops_test.py [ 23%] Generating python/operator_test/index_ops_test.py [ 23%] Generating python/operator_test/instance_norm_test.py [ 23%] Generating python/operator_test/integral_image_ops_test.py [ 23%] Generating python/operator_test/jsd_ops_test.py [ 23%] Generating python/operator_test/key_split_ops_test.py [ 23%] Generating python/operator_test/lars_test.py [ 23%] Generating python/operator_test/layer_norm_op_test.py [ 23%] Generating python/operator_test/leaky_relu_test.py [ 23%] Generating python/operator_test/learning_rate_adaption_op_test.py [ 23%] Generating python/operator_test/learning_rate_op_test.py [ 23%] Generating python/operator_test/length_split_op_test.py [ 23%] Generating python/operator_test/lengths_pad_op_test.py [ 23%] Generating python/operator_test/lengths_tile_op_test.py [ 23%] Generating python/operator_test/lengths_top_k_ops_test.py [ 23%] Generating python/operator_test/listwise_l2r_operator_test.py [ 23%] Generating python/operator_test/load_save_test.py [ 23%] Generating python/operator_test/locally_connected_op_test.py [ 23%] Generating python/operator_test/loss_ops_test.py [ 23%] Generating python/operator_test/lpnorm_op_test.py [ 23%] Generating python/operator_test/map_ops_test.py [ 23%] Generating python/operator_test/margin_ranking_criterion_op_test.py [ 23%] Generating python/operator_test/math_ops_test.py [ 23%] Generating python/operator_test/matmul_op_test.py [ 23%] Generating python/operator_test/mean_op_test.py [ 23%] Generating python/operator_test/merge_id_lists_op_test.py [ 23%] Generating python/operator_test/mkl_conv_op_test.py [ 23%] Generating python/operator_test/mkl_packed_fc_op_test.py [ 23%] Generating python/operator_test/mkl_speed_test.py [ 23%] Generating python/operator_test/mod_op_test.py [ 23%] Generating python/operator_test/moments_op_test.py [ 24%] Generating python/operator_test/momentum_sgd_test.py [ 24%] Generating python/operator_test/mpi_test.py [ 24%] Generating python/operator_test/negate_gradient_op_test.py [ 24%] Generating python/operator_test/ngram_ops_test.py [ 24%] Generating python/operator_test/normalize_op_test.py [ 24%] Generating python/operator_test/numpy_tile_op_test.py [ 24%] Generating python/operator_test/one_hot_ops_test.py [ 24%] Generating python/operator_test/onnx_while_test.py [ 24%] Generating python/operator_test/order_switch_test.py [ 24%] Generating python/operator_test/pack_ops_test.py [ 24%] Generating python/operator_test/pack_rnn_sequence_op_test.py [ 24%] Generating python/operator_test/pad_test.py [ 24%] Generating python/operator_test/partition_ops_test.py [ 24%] Generating python/operator_test/percentile_op_test.py [ 24%] Generating python/operator_test/piecewise_linear_transform_test.py [ 24%] Generating python/operator_test/pooling_test.py [ 24%] Generating python/operator_test/prepend_dim_test.py [ 24%] Generating python/operator_test/python_op_test.py [ 24%] Generating python/operator_test/rand_quantization_op_speed_test.py [ 24%] Generating python/operator_test/rand_quantization_op_test.py [ 24%] Generating python/operator_test/rank_loss_operator_test.py [ 24%] Generating python/operator_test/rebatching_queue_test.py [ 24%] Generating python/operator_test/record_queue_test.py [ 24%] Generating python/operator_test/recurrent_net_executor_test.py [ 24%] Generating python/operator_test/recurrent_network_test.py [ 24%] Generating python/operator_test/reduce_ops_test.py [ 24%] Generating python/operator_test/reduction_ops_test.py [ 24%] Generating python/operator_test/reshape_ops_test.py [ 24%] Generating python/operator_test/resize_op_test.py [ 24%] Generating python/operator_test/rmac_regions_op_test.py [ 24%] Generating python/operator_test/rnn_cell_test.py [ 24%] Generating python/operator_test/roi_align_rotated_op_test.py [ 25%] Generating python/operator_test/scale_op_test.py [ 25%] Generating python/operator_test/segment_ops_test.py [ 25%] Generating python/operator_test/selu_op_test.py [ 25%] Generating python/operator_test/sequence_ops_test.py [ 25%] Generating python/operator_test/shape_inference_test.py [ 25%] Generating python/operator_test/sinusoid_position_encoding_op_test.py [ 25%] Generating python/operator_test/softmax_ops_test.py [ 25%] Generating python/operator_test/softplus_op_test.py [ 25%] Generating python/operator_test/sparse_dropout_with_replacement_op_test.py [ 25%] Generating python/operator_test/sparse_gradient_checker_test.py [ 25%] Generating python/operator_test/sparse_lengths_sum_benchmark.py [ 25%] Generating python/operator_test/sparse_normalize_test.py [ 25%] Generating python/operator_test/sparse_ops_test.py [ 25%] Generating python/operator_test/sparse_to_dense_mask_op_test.py [ 25%] Generating python/operator_test/spatial_bn_op_test.py [ 25%] Generating python/operator_test/specialized_segment_ops_test.py [ 25%] Generating python/operator_test/square_root_divide_op_test.py [ 25%] Generating python/operator_test/stats_ops_test.py [ 25%] Generating python/operator_test/stats_put_ops_test.py [ 25%] Generating python/operator_test/string_ops_test.py [ 25%] Generating python/operator_test/text_file_reader_test.py [ 25%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/struct.pb.cc.o [ 25%] Generating python/operator_test/thresholded_relu_op_test.py [ 25%] Generating python/operator_test/tile_op_test.py [ 25%] Generating python/operator_test/top_k_test.py [ 25%] Generating python/operator_test/torch_integration_test.py [ 25%] Generating python/operator_test/transpose_op_test.py [ 25%] Generating python/operator_test/trigonometric_op_test.py [ 25%] Generating python/operator_test/unique_ops_test.py [ 25%] Generating python/operator_test/unique_uniform_fill_op_test.py [ 25%] Generating python/operator_test/upsample_op_test.py [ 25%] Generating python/operator_test/utility_ops_test.py [ 25%] Generating python/operator_test/video_input_op_test.py [ 26%] Generating python/operator_test/weighted_multi_sample_test.py [ 26%] Generating python/operator_test/weighted_sample_test.py [ 26%] Generating python/operator_test/weighted_sum_test.py [ 26%] Generating python/operator_test/wngrad_test.py [ 26%] Generating python/optimizer.py [ 26%] Generating python/optimizer_context.py [ 26%] Generating python/optimizer_test.py [ 26%] Generating python/optimizer_test_util.py [ 26%] Generating python/parallel_workers.py [ 26%] Generating python/parallel_workers_test.py [ 26%] Generating python/parallelize_bmuf_distributed_test.py [ 26%] Generating python/pipeline.py [ 26%] Generating python/pipeline_test.py [ 26%] Generating python/predictor/__init__.py [ 26%] Generating python/predictor/mobile_exporter.py [ 26%] Generating python/predictor/mobile_exporter_test.py [ 26%] Generating python/predictor/predictor_exporter.py [ 26%] Generating python/predictor/predictor_exporter_test.py [ 26%] Generating python/predictor/predictor_py_utils.py [ 26%] Generating python/predictor/predictor_test.py [ 26%] Generating python/predictor/serde.py [ 26%] Generating python/predictor_constants.py [ 26%] Generating python/python_op_test.py [ 26%] Generating python/queue_util.py [ 26%] Generating python/record_queue.py [ 26%] Generating python/recurrent.py [ 26%] Generating python/regularizer.py Scanning dependencies of target foxi_loader [ 26%] Generating python/regularizer_context.py [ 26%] Generating python/regularizer_test.py [ 26%] Building C object third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o [ 26%] Generating python/rnn/__init__.py [ 26%] Generating python/rnn/lstm_comparison.py [ 26%] Generating python/rnn/rnn_cell_test_util.py [ 27%] Generating python/rnn_cell.py [ 27%] Generating python/schema.py [ 27%] Generating python/schema_test.py [ 27%] Generating python/scope.py [ 27%] Generating python/scope_test.py [ 27%] Linking C static library ../../lib/libfoxi_loader.a [ 27%] Generating python/serialized_test/__init__.py [ 27%] Generating python/serialized_test/coverage.py [ 27%] Built target foxi_loader [ 27%] Generating python/session.py [ 27%] Generating python/serialized_test/serialized_test_util.py [ 27%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx_gemm_f32.cpp.o [ 27%] Generating python/session_test.py [ 27%] Generating python/sparse_to_dense_mask_test.py [ 27%] Generating python/sparse_to_dense_test.py [ 27%] Generating python/task.py [ 27%] Generating python/task_test.py [ 27%] Generating python/test/__init__.py [ 27%] Generating python/test/blob_deallocation_test.py [ 27%] Generating python/test/do_op_test.py [ 27%] Generating python/test/executor_test.py [ 27%] Generating python/test/executor_test_util.py [ 27%] Generating python/test/inference_lstm_op_test.py [ 27%] Generating python/test/python_protobuf_test.py [ 27%] Generating python/test_util.py [ 27%] Generating python/text_file_reader.py [ 27%] Generating python/timeout_guard.py [ 27%] Generating python/toy_regression_test.py [ 27%] Generating python/transformations.py [ 27%] Generating python/transformations_test.py [ 27%] Generating python/trt/__init__.py [ 27%] Generating python/trt/test_trt.py [ 27%] Generating python/trt/transform.py [ 27%] Generating python/tt_core.py [ 27%] Generating python/tt_core_test.py [ 28%] Generating python/utils.py [ 28%] Generating python/utils_test.py [ 28%] Generating python/visualize.py [ 28%] Generating python/workspace.py [ 28%] Generating python/workspace_test.py [ 28%] Generating quantization/__init__.py [ 28%] Generating quantization/server/__init__.py [ 28%] Generating quantization/server/batch_matmul_dnnlowp_op_test.py [ 28%] Generating quantization/server/batch_permutation_dnnlowp_op_test.py [ 28%] Generating quantization/server/channel_shuffle_dnnlowp_op_test.py [ 28%] Generating quantization/server/concat_dnnlowp_op_test.py [ 28%] Generating quantization/server/conv_depthwise_dnnlowp_op_test.py [ 28%] Generating quantization/server/conv_dnnlowp_acc16_op_test.py [ 28%] Generating quantization/server/conv_dnnlowp_op_test.py [ 28%] Generating quantization/server/conv_groupwise_dnnlowp_acc16_op_test.py [ 28%] Generating quantization/server/conv_groupwise_dnnlowp_op_test.py [ 28%] Generating quantization/server/dequantize_dnnlowp_op_test.py [ 28%] Generating quantization/server/dnnlowp_test_utils.py [ 28%] Generating quantization/server/elementwise_add_dnnlowp_op_test.py [ 28%] Generating quantization/server/elementwise_linear_dnnlowp_op_test.py [ 28%] Generating quantization/server/elementwise_mul_dnnlowp_op_test.py [ 28%] Generating quantization/server/elementwise_sum_dnnlowp_op_test.py [ 28%] Generating quantization/server/fully_connected_dnnlowp_acc16_op_test.py [ 28%] Generating quantization/server/fully_connected_dnnlowp_op_test.py [ 28%] Generating quantization/server/fully_connected_fp16_test.py [ 28%] Generating quantization/server/fully_connected_rowwise_dnnlowp_op_test.py [ 28%] Generating quantization/server/gather_dnnlowp_op_test.py [ 28%] Generating quantization/server/group_norm_dnnlowp_op_test.py [ 28%] Generating quantization/server/lstm_unit_dnnlowp_op_test.py [ 28%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/ref_gemm_f32.cpp.o [ 28%] Generating quantization/server/observer_test.py [ 28%] Generating quantization/server/pool_dnnlowp_op_test.py [ 29%] Generating quantization/server/quantize_dnnlowp_op_test.py [ 29%] Generating quantization/server/relu_dnnlowp_op_test.py [ 29%] Generating quantization/server/resize_nearest_dnnlowp_op_test.py [ 29%] Generating quantization/server/sigmoid_dnnlowp_op_test.py [ 29%] Generating quantization/server/spatial_batch_norm_dnnlowp_op_test.py [ 29%] Generating quantization/server/tanh_dnnlowp_op_test.py [ 29%] Generating quantization/server/utils.py [ 29%] Built target python_copy_files [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/gemm.cpp.o [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8s8s32.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/mathlimits.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/substitute.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/text_format.cc.o Scanning dependencies of target ATEN_CUDA_FILES_GEN_TARGET [ 29%] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.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/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 Scanning dependencies of target ATEN_CPU_FILES_GEN_TARGET [ 29%] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.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/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 [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/timestamp.pb.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/type.pb.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/unknown_field_set.cc.o Scanning dependencies of target common [ 29%] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o Scanning dependencies of target mkrename [ 29%] Building C object sleef/src/libm/CMakeFiles/mkrename.dir/mkrename.c.o [ 29%] Built target common [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32_kern.cpp.o [ 29%] Linking C executable ../../bin/mkrename [ 29%] Built target mkrename [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemv_s8u8s32.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/delimited_message_util.cc.o Scanning dependencies of target mkalias [ 29%] Building C object sleef/src/libm/CMakeFiles/mkalias.dir/mkalias.c.o [ 29%] Linking C executable ../../bin/mkalias [ 29%] Built target mkalias [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_kernel_gemv_s8u8s32_kern.cpp.o Scanning dependencies of target renameAVX512F.h_generated [ 29%] Generating include/renameavx512f.h Generating renameavx512f.h: mkrename 8 16 avx512f [ 29%] Built target renameAVX512F.h_generated Scanning dependencies of target mkdisp [ 29%] Building C object sleef/src/libm/CMakeFiles/mkdisp.dir/mkdisp.c.o [ 29%] Linking C executable ../../bin/mkdisp [ 29%] Built target mkdisp [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_an_kern.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_comparator.cc.o [ 29%] Built target ATEN_CUDA_FILES_GEN_TARGET [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_mask_util.cc.o [ 29%] Built target ATEN_CPU_FILES_GEN_TARGET [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/datapiece.cc.o Scanning dependencies of target headers [ 29%] 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 [ 29%] Generating include/renameavx2.h Generating renameavx2.h: mkrename 4 8 avx2 [ 29%] Generating include/renameavx2128.h Generating renameavx2128.h: mkrename 2 4 avx2128 [ 29%] Generating include/renamefma4.h Generating renamefma4.h: mkrename 4 8 fma4 [ 30%] Generating include/renameavx.h Generating renameavx.h: mkrename 4 8 avx [ 30%] Generating include/renamesse4.h Generating renamesse4.h: mkrename 2 4 sse4 [ 30%] Generating include/renamesse2.h Generating renamesse2.h: mkrename 2 4 sse2 [ 30%] Built target headers [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_at_kern.cpp.o [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bn_kern.cpp.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/error_listener.cc.o Scanning dependencies of target renamedsp128.h_generated [ 30%] Generating renamedsp128.h [ 30%] Built target renamedsp128.h_generated [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bt_kern.cpp.o [ 30%] 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 [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/field_mask_utility.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_escaping.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_objectwriter.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_stream_parser.cc.o [ 30%] 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 [ 30%] 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 [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/object_writer.cc.o Scanning dependencies of target renamedsp256.h_generated [ 30%] Generating renamedsp256.h [ 30%] Built target renamedsp256.h_generated [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/proto_writer.cc.o Scanning dependencies of target dispavx.c_generated [ 30%] Generating dispavx.c [ 30%] Built target dispavx.c_generated [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectsource.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [ 30%] 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 [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/ref_gemm_s8x8s32.cpp.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info_test_helper.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/utility.cc.o Scanning dependencies of target renameSSE2.h_generated [ 30%] Built target renameSSE2.h_generated [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/json_util.cc.o Scanning dependencies of target renameFMA4.h_generated [ 30%] Built target renameFMA4.h_generated [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution.cpp.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/message_differencer.cc.o Scanning dependencies of target renameAVX2.h_generated [ 31%] Built target renameAVX2.h_generated [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution_utils.cpp.o Scanning dependencies of target renameAVX2128.h_generated [ 31%] Built target renameAVX2128.h_generated [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_inner_product.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_convolution.cpp.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/time_util.cc.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/type_resolver_util.cc.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format.cc.o Scanning dependencies of target renameSSE4.h_generated [ 31%] Built target renameSSE4.h_generated [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wrappers.pb.cc.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_inner_product.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_conv_kernel_f32.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_convolution.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_conv_kernel_f32.cpp.o [ 31%] Linking CXX static library ../../../lib/libprotobuf.a [ 31%] Built target libprotobuf Scanning dependencies of target caffe2_nvrtc [ 31%] Building CXX object caffe2/CMakeFiles/caffe2_nvrtc.dir/__/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp.o In file included from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:82:39: note: in definition of macro ‘CREATE_MEMBER’ #define CREATE_MEMBER(name) decltype(&amp;name) name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:83:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_MEMBER) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ In file included from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:82:39: note: in definition of macro ‘CREATE_MEMBER’ #define CREATE_MEMBER(name) decltype(&amp;name) name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:83:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_MEMBER) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ Scanning dependencies of target mkrename_gnuabi [ 31%] Building C object sleef/src/libm/CMakeFiles/mkrename_gnuabi.dir/mkrename_gnuabi.c.o /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp: In function ‘at::cuda::NVRTC* at::cuda::load_nvrtc()’: /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:8:42: note: in definition of macro ‘CREATE_ASSIGN’ #define CREATE_ASSIGN(name) self-&gt;name = name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:9:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_ASSIGN) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:8:42: note: in definition of macro ‘CREATE_ASSIGN’ #define CREATE_ASSIGN(name) self-&gt;name = name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:9:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_ASSIGN) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ [ 31%] Linking CXX shared library ../lib/libcaffe2_nvrtc.so [ 31%] Linking C executable ../../bin/mkrename_gnuabi [ 31%] Built target mkrename_gnuabi Scanning dependencies of target mkmasked_gnuabi [ 31%] Building C object sleef/src/libm/CMakeFiles/mkmasked_gnuabi.dir/mkmasked_gnuabi.c.o [ 31%] Built target caffe2_nvrtc Scanning dependencies of target arraymap [ 31%] Building C object sleef/src/common/CMakeFiles/arraymap.dir/arraymap.c.o [ 31%] Linking C executable ../../bin/mkmasked_gnuabi [ 31%] Built target mkmasked_gnuabi Scanning dependencies of target generate-torch-sources [ 31%] 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 [ 31%] Built target arraymap [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_convolution.cpp.o Skipped writing torch/csrc/nn/THNN.cpp Skipped writing torch/csrc/nn/THCUNN.cpp [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_conv_kernel.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_convolution.cpp.o Skipped writing torch/csrc/autograd/generated/python_functions.h Skipped writing torch/csrc/autograd/generated/python_functions.cpp [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_kernel.cpp.o Skipped writing torch/csrc/autograd/generated/python_variable_methods.cpp Skipped writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_winograd_kernel_f32.cpp.o Skipped writing torch/csrc/autograd/generated/python_torch_functions.cpp Skipped writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h Skipped writing torch/csrc/autograd/generated/python_nn_functions.cpp Skipped writing torch/csrc/autograd/generated/python_nn_functions.h Skipped writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h Scanning dependencies of target torch_python_stubs [ 31%] Generating ../../../torch/__init__.pyi, ../../../torch/nn/functional.pyi [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution.cpp.o Skipped writing torch/csrc/autograd/generated/VariableType.h Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp Skipped writing torch/csrc/autograd/generated/VariableType_1.cpp Skipped writing torch/csrc/autograd/generated/VariableType_2.cpp Skipped writing ./torch/__init__.pyi Skipped writing ./torch/nn/functional.pyi Skipped writing torch/csrc/autograd/generated/VariableType_3.cpp [ 31%] Built target torch_python_stubs [ 32%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution_winograd.cpp.o Skipped writing torch/csrc/autograd/generated/VariableType_4.cpp Scanning dependencies of target libprotoc [ 32%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_lrn.cpp.o [ 32%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/code_generator.cc.o Skipped writing torch/csrc/autograd/generated/VariableTypeEverything.cpp Skipped writing torch/csrc/autograd/generated/Functions.h Skipped writing torch/csrc/autograd/generated/Functions.cpp Skipped writing torch/csrc/autograd/generated/variable_factories.h [ 32%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/command_line_interface.cc.o Skipped writing torch/csrc/jit/generated/register_aten_ops_0.cpp Skipped writing torch/csrc/jit/generated/register_aten_ops_1.cpp Skipped writing torch/csrc/jit/generated/register_aten_ops_2.cpp [ 32%] Built target generate-torch-sources [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum.cc.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum_field.cc.o [ 33%] Built target fbgemm_avx2 Scanning dependencies of target cpuinfo [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/api.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/info.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/vendor.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/uarch.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/name.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/topology.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/isa.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/descriptor.c.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_extension.cc.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/deterministic.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/cpuinfo.c.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_field.cc.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/smallfile.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/multiline.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/current.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/cpulist.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/processors.c.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_file.cc.o [ 33%] Linking C static library ../../lib/libcpuinfo.a [ 33%] Built target cpuinfo [ 33%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_2x3.cpp.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_generator.cc.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_helpers.cc.o [ 33%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3.cpp.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_map_field.cc.o Scanning dependencies of target cpuinfo_internals [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/api.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/info.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/vendor.c.o [ 33%] Generating src/x86_64-fma/2d-fourier-8x8.py.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/uarch.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/name.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/topology.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/isa.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/init.c.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3_kernel.cpp.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/descriptor.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/deterministic.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/init.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/cpuinfo.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/smallfile.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/multiline.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/current.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/cpulist.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/processors.c.o [ 34%] Linking C static library ../../lib/libcpuinfo_internals.a [ 34%] Built target cpuinfo_internals [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_u8s8s32x_wino_convolution.cpp.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_conv_kernel.cpp.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_convolution.cpp.o [ 34%] Generating src/x86_64-fma/2d-fourier-16x16.py.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message_field.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_conv_kernel.cpp.o Scanning dependencies of target nnpack_reference_layers [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-input-gradient.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-kernel.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/fully-connected-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/max-pooling-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/softmax-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-input-gradient.c.o [ 34%] Linking C static library ../../lib/libnnpack_reference_layers.a [ 34%] Built target nnpack_reference_layers [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_convolution.cpp.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_deconvolution.cpp.o Scanning dependencies of target gmock [ 34%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_service.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_string_field.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc.o Scanning dependencies of target gtest_main [ 34%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o Scanning dependencies of target benchmark_main [ 34%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o [ 34%] Linking CXX static library ../../../../lib/libgtest_main.a [ 34%] Built target gtest_main Scanning dependencies of target fbgemm [ 34%] Linking CXX static library ../../lib/libfbgemm.a [ 34%] Built target fbgemm [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/nccl/gloo_hip_generated_nccl.hip.o [ 34%] Linking CXX static library ../../../lib/libbenchmark_main.a [ 34%] Built target benchmark_main [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip.hip.o [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_bcube.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum_field.cc.o [ 34%] Linking CXX static library ../../../lib/libgmock.a [ 34%] Built target gmock [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_field_base.cc.o [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_halving_doubling.cc.o [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_local.cc.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_conv_kernel_f32.cpp.o [ 34%] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_generator.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_helpers.cc.o [ 34%] Generating src/x86_64-fma/blas/s8gemm.py.o [ 34%] Generating src/x86_64-fma/blas/c8gemm.py.o [ 34%] Generating src/x86_64-fma/blas/s4c6gemm.py.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_convolution.cpp.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_map_field.cc.o [ 34%] Generating src/x86_64-fma/blas/conv1x1.py.o [ 34%] Generating src/x86_64-fma/blas/sgemm.py.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_conv_kernel_f32.cpp.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message.cc.o [ 34%] Generating src/x86_64-fma/max-pooling.py.o [ 34%] Generating src/x86_64-fma/relu.py.o [ 34%] Generating src/x86_64-fma/softmax.py.o [ 34%] Generating src/x86_64-fma/blas/sdotxf.py.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message_field.cc.o [ 34%] Generating src/x86_64-fma/blas/shdotxf.py.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_convolution.cpp.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_transpose_src_utils.cpp.o Scanning dependencies of target nnpack [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/init.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-inference.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-inference.c.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/pooling-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/softmax-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-input-gradient.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-input-gradient.c.o [ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-kernel-gradient.c.o [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc.o [ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-output.c.o [ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/x86_64-fma/softmax.c.o [ 35%] Linking C static library ../../lib/libnnpack.a [ 35%] Built target nnpack [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc.o [ 35%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_batch_normalization.cpp.o Scanning dependencies of target c10_hip [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc.o [ 35%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/HIPCachingAllocator.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc.o [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_context.cc.o cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 35%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/HIPStream.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_doc_comment.cc.o cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 36%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum.cc.o [ 36%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/impl/HIPGuardImpl.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 36%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/impl/HIPTest.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ [ 36%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field.cc.o [ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_conv_kernel_f32.cpp.o cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 36%] Linking CXX shared library ../../lib/libc10_hip.so [ 36%] Built target c10_hip [ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_convolution.cpp.o Scanning dependencies of target __aten_op_header_gen [ 37%] Generating contrib/aten/aten_op.h [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field_lite.cc.o 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_per_channel_affine_quantized_like 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) [ 37%] Built target __aten_op_header_gen [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_eltwise.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_lite.cc.o Scanning dependencies of target renameAVX.h_generated [ 37%] Built target renameAVX.h_generated [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_i8i8_pooling.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension_lite.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_field.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn.cpp.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn_kernel_f32.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_file.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator.cc.o [ 37%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_ring.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pool_kernel_f32.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator_factory.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_helpers.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pooling.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field_lite.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message.cc.o Scanning dependencies of target alias_avx512f.h_generated [ 37%] Generating alias_avx512f.h [ 37%] Built target alias_avx512f.h_generated [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder.cc.o Scanning dependencies of target dispsse.c_generated [ 37%] Generating dispsse.c [ 37%] Built target dispsse.c_generated [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder_lite.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder_utils.cpp.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nchw_pooling.cpp.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ncsp_batch_normalization.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nhwc_pooling.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field_lite.cc.o Scanning dependencies of target dispavx_obj [ 37%] Building C object sleef/src/libm/CMakeFiles/dispavx_obj.dir/dispavx.c.o Scanning dependencies of target sleefsse2 [ 37%] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimdsp.c.o [ 37%] Built target dispavx_obj [ 37%] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimddp.c.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nspc_batch_normalization.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_lite.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_name_resolver.cc.o [ 37%] Built target sleefsse2 [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_batch_normalization.cpp.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_convolution.cpp.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_deconvolution.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field_lite.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_service.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_shared_code_generator.cc.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_eltwise.cpp.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_inner_product.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field_lite.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/js_generator.cc.o [ 38%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_ring_chunked.cc.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_lrn.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/well_known_types_embed.cc.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_pooling.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_shuffle.cpp.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_softmax.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_extension.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_field.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_common.cpp.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru.cpp.o [ 39%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_broadcast_one_to_all.cc.o [ 39%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_private.hip.o Scanning dependencies of target sleeffma4 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimdsp.c.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru_lbr.cpp.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimddp.c.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_lstm.cpp.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_rnn.cpp.o [ 39%] Built target sleeffma4 [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/ref_rnn.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/rnn_utils.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_concat.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc.o Scanning dependencies of target sleefavx2 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimdsp.c.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimddp.c.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/php/php_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.cc.o Scanning dependencies of target sleefavx2128 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimdsp.c.o [ 39%] Built target sleefavx2 [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.pb.cc.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimddp.c.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_sum.cpp.o Scanning dependencies of target sleefsse4 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimdsp.c.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimddp.c.o [ 39%] Built target sleefavx2128 [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/python/python_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/ruby/ruby_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/subprocess.cc.o Scanning dependencies of target qnnpack [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/init.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/add.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/average-pooling.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/clamp.c.o [ 39%] Linking CXX static library ../../../../lib/libmkldnn.a [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/convolution.c.o [ 39%] Built target sleefsse4 [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/deconvolution.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/fully-connected.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o Scanning dependencies of target gmock_main [ 39%] Built target mkldnn [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/leaky-relu.c.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/zip_writer.cc.o [ 39%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/max-pooling.c.o Scanning dependencies of target c10_TypeList_test [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sigmoid.c.o [ 39%] Building CXX object c10/test/CMakeFiles/c10_TypeList_test.dir/util/TypeList_test.cpp.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/softargmax.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-delete.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/indirection.c.o Scanning dependencies of target c10_TensorTypeId_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_TensorTypeId_test.dir/core/TensorTypeId_test.cpp.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-run.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o Scanning dependencies of target c10_flags_test [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o [ 39%] Building CXX object c10/test/CMakeFiles/c10_flags_test.dir/util/flags_test.cpp.o [ 39%] Linking CXX static library ../../../lib/libgmock_main.a [ 39%] Built target gmock_main [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o Scanning dependencies of target c10_LeftRight_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_LeftRight_test.dir/util/LeftRight_test.cpp.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o [ 39%] Linking CXX executable ../../bin/c10_TypeList_test [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o [ 39%] Built target c10_TypeList_test Scanning dependencies of target c10_registry_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_registry_test.dir/util/registry_test.cpp.o [ 39%] Linking CXX executable ../../bin/c10_TensorTypeId_test [ 39%] Linking CXX static library ../../../lib/libprotoc.a [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o [ 39%] Built target libprotoc [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o [ 39%] Built target c10_TensorTypeId_test Scanning dependencies of target c10_Half_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_Half_test.dir/util/Half_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_flags_test Scanning dependencies of target c10_Array_test [ 40%] Built target c10_flags_test Scanning dependencies of target c10_tempfile_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_Array_test.dir/util/Array_test.cpp.o [ 40%] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_Half_test [ 40%] Built target c10_Half_test Scanning dependencies of target c10_StreamGuard_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_StreamGuard_test.dir/core/StreamGuard_test.cpp.o [ 40%] Linking CXX executable ../../bin/c10_Array_test [ 40%] Built target c10_Array_test Scanning dependencies of target c10_TypeTraits_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_TypeTraits_test.dir/util/TypeTraits_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_registry_test [ 40%] Linking CXX executable ../../bin/c10_LeftRight_test [ 40%] Built target c10_registry_test Scanning dependencies of target c10_Metaprogramming_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_Metaprogramming_test.dir/util/Metaprogramming_test.cpp.o [ 40%] Linking CXX executable ../../bin/c10_StreamGuard_test [ 40%] Built target c10_LeftRight_test Scanning dependencies of target c10_DeviceGuard_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o [ 40%] Building CXX object c10/test/CMakeFiles/c10_DeviceGuard_test.dir/core/DeviceGuard_test.cpp.o [ 40%] Built target c10_StreamGuard_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_tempfile_test Scanning dependencies of target c10_InlineDeviceGuard_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o [ 40%] Built target c10_tempfile_test Scanning dependencies of target c10_InlineStreamGuard_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_InlineDeviceGuard_test.dir/core/impl/InlineDeviceGuard_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o [ 40%] Building CXX object c10/test/CMakeFiles/c10_InlineStreamGuard_test.dir/core/impl/InlineStreamGuard_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_TypeTraits_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o [ 40%] Built target c10_TypeTraits_test [ 40%] Linking C static library ../../lib/libqnnpack.a Scanning dependencies of target c10_bfloat16_test [ 40%] Built target qnnpack Scanning dependencies of target c10_intrusive_ptr_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_bfloat16_test.dir/util/bfloat16_test.cpp.o [ 41%] Building CXX object c10/test/CMakeFiles/c10_intrusive_ptr_test.dir/util/intrusive_ptr_test.cpp.o [ 41%] Linking CXX executable ../../bin/c10_Metaprogramming_test [ 41%] Linking CXX executable ../../bin/c10_bfloat16_test [ 41%] Built target c10_Metaprogramming_test Scanning dependencies of target c10_either_test [ 41%] Building CXX object c10/test/CMakeFiles/c10_either_test.dir/util/either_test.cpp.o [ 41%] Built target c10_bfloat16_test Scanning dependencies of target c10_logging_test [ 42%] Linking CXX executable ../../bin/c10_DeviceGuard_test [ 42%] Building CXX object c10/test/CMakeFiles/c10_logging_test.dir/util/logging_test.cpp.o [ 42%] Built target c10_DeviceGuard_test Scanning dependencies of target c10_typeid_test [ 42%] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o [ 42%] Linking CXX executable ../../bin/c10_InlineDeviceGuard_test [ 42%] Linking CXX executable ../../bin/c10_InlineStreamGuard_test [ 42%] Built target c10_InlineDeviceGuard_test Scanning dependencies of target c10_hip_HIPTest [ 42%] Building CXX object c10/hip/test/CMakeFiles/c10_hip_HIPTest.dir/impl/HIPTest.cpp.o [ 42%] Built target c10_InlineStreamGuard_test Scanning dependencies of target sleefavx [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimdsp.c.o [ 42%] Linking CXX executable ../../../bin/c10_hip_HIPTest [ 42%] Built target c10_hip_HIPTest [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimddp.c.o [ 42%] Linking CXX executable ../../bin/c10_logging_test [ 42%] Built target c10_logging_test Scanning dependencies of target sleefavx512f [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimdsp.c.o [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimddp.c.o [ 42%] Linking CXX executable ../../bin/c10_typeid_test [ 42%] Built target c10_typeid_test Scanning dependencies of target dispsse_obj [ 42%] Building C object sleef/src/libm/CMakeFiles/dispsse_obj.dir/dispsse.c.o [ 42%] Built target sleefavx Scanning dependencies of target protoc [ 42%] Building CXX object third_party/protobuf/cmake/CMakeFiles/protoc.dir/__/src/google/protobuf/compiler/main.cc.o [ 42%] Built target sleefavx512f [ 42%] Linking CXX executable ../../../bin/protoc [ 42%] Built target protoc [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/torch.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/caffe2.proto Scanning dependencies of target gen_onnx_proto [ 42%] Running gen_proto.py on onnx/onnx.in.proto Processing /home/luke/Builds/pytorch/third_party/onnx/onnx/onnx.in.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto3 Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-ml.pb.h generating /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_pb.py [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/caffe2_legacy.proto [ 42%] Running C++ protocol buffer compiler on /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/metanet.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/hsm.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/predictor_consts.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/prof_dag.proto Scanning dependencies of target Caffe2_PROTO [ 42%] Built target dispsse_obj Scanning dependencies of target sleef [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefsp.c.o [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefdp.c.o [ 42%] Built target gen_onnx_proto [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefld.c.o [ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o [ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefqp.c.o [ 42%] Running gen_proto.py on onnx/onnx-operators.in.proto Processing /home/luke/Builds/pytorch/third_party/onnx/onnx/onnx-operators.in.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto3 Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators-ml.pb.h generating /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_operators_pb.py [ 42%] Running C++ protocol buffer compiler on /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto [ 42%] Linking C static library ../../lib/libsleef.a [ 42%] Built target sleef [ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o Scanning dependencies of target onnx_proto [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch-ml.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch-ml.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o [ 43%] Linking CXX executable ../../bin/c10_either_test [ 43%] Built target c10_either_test [ 43%] Linking CXX static library ../../lib/libonnx_proto.a [ 43%] Built target onnx_proto Scanning dependencies of target onnx [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o [ 43%] Built target Caffe2_PROTO [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o Scanning dependencies of target gloo_hip [ 43%] Linking CXX static library ../../../lib/libgloo_hip.a [ 43%] Built target gloo_hip [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o Scanning dependencies of target caffe2_dnnlowp_avx2_ops [ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o [ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o [ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o Scanning dependencies of target caffe2_protos [ 43%] Linking CXX static library ../lib/libcaffe2_protos.a Scanning dependencies of target Caffe2_perfkernels_avx512 [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o [ 44%] Built target caffe2_protos [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o [ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o [ 44%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx512.a [ 44%] Built target Caffe2_perfkernels_avx512 [ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o Scanning dependencies of target Caffe2_perfkernels_avx [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/adagrad_avx.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o Scanning dependencies of target Caffe2_perfkernels_avx2 [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o [ 44%] Linking CXX executable ../../bin/c10_intrusive_ptr_test [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o [ 44%] Built target c10_intrusive_ptr_test [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o [ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o [ 44%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx.a [ 44%] Built target Caffe2_perfkernels_avx [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o [ 45%] Built target caffe2_dnnlowp_avx2_ops [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o [ 45%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx2.a [ 45%] Built target Caffe2_perfkernels_avx2 [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/onnxifi_utils.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/optimize.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_manager.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_registry.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o [ 45%] Linking CXX static library ../../lib/libonnx.a [ 45%] Built target onnx [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHBlas.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorageCopy.hip.o [ 45%] 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 [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHSleep.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorage.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHReduceApplyUtils.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensor.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorCopy.hip.o Skipped writing torch/csrc/nn/THNN.cpp Skipped writing torch/csrc/nn/THCUNN.cpp Skipped writing torch/csrc/autograd/generated/python_functions.h Skipped writing torch/csrc/autograd/generated/python_functions.cpp Skipped writing torch/csrc/autograd/generated/python_variable_methods.cpp Skipped writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h Skipped writing torch/csrc/autograd/generated/python_torch_functions.cpp Skipped writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h Skipped writing torch/csrc/autograd/generated/python_nn_functions.cpp Skipped writing torch/csrc/autograd/generated/python_nn_functions.h Skipped writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h /home/luke/Builds/pytorch/aten/src/THH/THHBlas.hip:257:17: warning: rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored [-W#pragma-messages] THCublasCheck(rocblas_gemm_strided_batched_ex(handle, opa, opb, (int)m, (int)n, (int)k, ^ /opt/rocm/rocblas/include/rocblas-functions.h:2231:41: note: expanded from macro 'rocblas_gemm_strided_batched_ex' ROCBLAS_VA_OPT_PRAGMA(GCC warning &quot;rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored&quot;, __VA_ARGS__) \ ^ /opt/rocm/rocblas/include/rocblas-functions.h:50:5: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA' ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, ROCBLAS_VA_OPT_COUNT(__VA_ARGS__)) ^ /opt/rocm/rocblas/include/rocblas-functions.h:48:51: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL' #define ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, count) ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ^ /opt/rocm/rocblas/include/rocblas-functions.h:47:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL2' #define ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ROCBLAS_VA_OPT_PRAGMA_SELECT##count(pragma) ^ &lt;scratch space&gt;:51:1: note: expanded from here ROCBLAS_VA_OPT_PRAGMA_SELECTN ^ /opt/rocm/rocblas/include/rocblas-functions.h:46:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_SELECTN' #define ROCBLAS_VA_OPT_PRAGMA_SELECTN(pragma, ...) _Pragma(#pragma) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, &quot;__copy::trivial_device_copy H-&gt;D: failed&quot;); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 1 warning generated. Skipped writing torch/csrc/autograd/generated/VariableType.h Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp Skipped writing torch/csrc/autograd/generated/VariableType_1.cpp Skipped writing torch/csrc/autograd/generated/VariableType_2.cpp Skipped writing torch/csrc/autograd/generated/VariableType_3.cpp Skipped writing torch/csrc/autograd/generated/VariableType_4.cpp Skipped writing torch/csrc/autograd/generated/VariableTypeEverything.cpp Skipped writing torch/csrc/autograd/generated/Functions.h Skipped writing torch/csrc/autograd/generated/Functions.cpp Skipped writing torch/csrc/autograd/generated/variable_factories.h /home/luke/Builds/pytorch/aten/src/THH/THHBlas.hip:257:17: warning: rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored [-W#pragma-messages] THCublasCheck(rocblas_gemm_strided_batched_ex(handle, opa, opb, (int)m, (int)n, (int)k, ^ /opt/rocm/rocblas/include/rocblas-functions.h:2231:41: note: expanded from macro 'rocblas_gemm_strided_batched_ex' ROCBLAS_VA_OPT_PRAGMA(GCC warning &quot;rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored&quot;, __VA_ARGS__) \ ^ /opt/rocm/rocblas/include/rocblas-functions.h:50:5: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA' ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, ROCBLAS_VA_OPT_COUNT(__VA_ARGS__)) ^ /opt/rocm/rocblas/include/rocblas-functions.h:48:51: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL' #define ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, count) ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ^ /opt/rocm/rocblas/include/rocblas-functions.h:47:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL2' #define ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ROCBLAS_VA_OPT_PRAGMA_SELECT##count(pragma) ^ &lt;scratch space&gt;:51:1: note: expanded from here ROCBLAS_VA_OPT_PRAGMA_SELECTN ^ /opt/rocm/rocblas/include/rocblas-functions.h:46:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_SELECTN' #define ROCBLAS_VA_OPT_PRAGMA_SELECTN(pragma, ...) _Pragma(#pragma) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorMath.hip.o /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, &quot;__copy::trivial_device_copy H-&gt;D: failed&quot;); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ Skipped writing torch/csrc/jit/generated/register_aten_ops_0.cpp Skipped writing torch/csrc/jit/generated/register_aten_ops_1.cpp fatal error: too many errors emitted, stopping now [-ferror-limit=] Skipped writing torch/csrc/jit/generated/register_aten_ops_2.cpp 20 errors generated. CMake Error at torch_generated_THHStorage.hip.o.cmake:174 (message): Error generating file /home/luke/Builds/pytorch/build/caffe2/CMakeFiles/torch.dir/__/aten/src/THH/./torch_generated_THHStorage.hip.o make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:86: caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorage.hip.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 1 warning generated. In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, &quot;__copy::trivial_device_copy H-&gt;D: failed&quot;); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, &quot;__copy::trivial_device_copy H-&gt;D: failed&quot;); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. CMake Error at torch_generated_THHTensorMath.hip.o.cmake:174 (message): Error generating file /home/luke/Builds/pytorch/build/caffe2/CMakeFiles/torch.dir/__/aten/src/THH/./torch_generated_THHTensorMath.hip.o make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:114: caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorMath.hip.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:4459: caffe2/CMakeFiles/torch.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Traceback (most recent call last): File &quot;setup.py&quot;, line 759, in &lt;module&gt; build_deps() File &quot;setup.py&quot;, line 321, in build_deps cmake=cmake) File &quot;/home/luke/Builds/pytorch/tools/build_pytorch_libs.py&quot;, line 63, in build_caffe2 cmake.build(my_env) File &quot;/home/luke/Builds/pytorch/tools/setup_helpers/cmake.py&quot;, line 330, in build self.run(build_args, my_env) File &quot;/home/luke/Builds/pytorch/tools/setup_helpers/cmake.py&quot;, line 143, in run check_call(command, cwd=self.build_dir, env=env) File &quot;/usr/lib/python3.7/subprocess.py&quot;, line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '8']' returned non-zero exit status 2."><pre class="notranslate"><code class="notranslate">Building wheel torch-1.3.0a0+105fbb9 -- Building version 1.3.0a0+105fbb9 cmake -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/luke/Builds/pytorch/torch -DCMAKE_PREFIX_PATH=/usr/lib/python3/dist-packages -DNUMPY_INCLUDE_DIR=/home/luke/.local/lib/python3.7/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so.1.0 -DTORCH_BUILD_VERSION=1.3.0a0+105fbb9 -DUSE_CUDA=False -DUSE_DISTRIBUTED=True -DUSE_LMDB=1 -DUSE_NUMPY=True -DUSE_OPENCV=1 -DUSE_ROCM=1 /home/luke/Builds/pytorch -- The CXX compiler identification is GNU 8.3.0 -- The C compiler identification is GNU 8.3.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Not forcing any particular BLAS to be found -- Performing Test COMPILER_WORKS -- Performing Test COMPILER_WORKS - Success -- Performing Test SUPPORT_GLIBCXX_USE_C99 -- Performing Test SUPPORT_GLIBCXX_USE_C99 - Success -- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED -- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED - Success -- std::exception_ptr is supported. -- Performing Test CAFFE2_IS_NUMA_AVAILABLE -- Performing Test CAFFE2_IS_NUMA_AVAILABLE - Success -- NUMA is available -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Success -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Success -- Current compiler supports avx2 extension. Will build perfkernels. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success -- Current compiler supports avx512f extension. Will build fbgemm. -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_SUPPORTS_RDYNAMIC -- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success -- Building using own protobuf under third_party per request. -- Use custom protobuf build. -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Caffe2 protobuf include directory: $&lt;BUILD_INTERFACE:/home/luke/Builds/pytorch/third_party/protobuf/src&gt;$&lt;INSTALL_INTERFACE:include&gt; -- Trying to find preferred BLAS backend of choice: MKL -- MKL_THREADING = OMP -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- MKL_THREADING = OMP CMake Warning at cmake/Dependencies.cmake:143 (message): MKL could not be found. Defaulting to Eigen Call Stack (most recent call first): CMakeLists.txt:308 (include) CMake Warning at cmake/Dependencies.cmake:162 (message): Preferred BLAS (MKL) cannot be found, now searching for a general BLAS library Call Stack (most recent call first): CMakeLists.txt:308 (include) -- MKL_THREADING = OMP -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [openblas] -- Library openblas: /usr/lib/x86_64-linux-gnu/libopenblas.so -- Looking for sgemm_ -- Looking for sgemm_ - found -- Performing Test BLAS_F2C_DOUBLE_WORKS -- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed -- Performing Test BLAS_F2C_FLOAT_WORKS -- Performing Test BLAS_F2C_FLOAT_WORKS - Success -- Performing Test BLAS_USE_CBLAS_DOT -- Performing Test BLAS_USE_CBLAS_DOT - Success -- Found a library with BLAS API (open). -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Brace yourself, we are building NNPACK -- Performing Test NNPACK_ARCH_IS_X86_32 -- Performing Test NNPACK_ARCH_IS_X86_32 - Failed -- Found PythonInterp: /usr/bin/python3 (found version "3.7.3") -- NNPACK backend is x86-64 -- Failed to find LLVM FileCheck -- Found Git: /usr/bin/git (found version "2.20.1") -- git Version: v1.4.0-505be96a -- Version: 1.4.0 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success -- Performing Test HAVE_CXX_FLAG_WALL -- Performing Test HAVE_CXX_FLAG_WALL - Success -- Performing Test HAVE_CXX_FLAG_WEXTRA -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success -- Performing Test HAVE_CXX_FLAG_WSHADOW -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success -- Performing Test HAVE_CXX_FLAG_WERROR -- Performing Test HAVE_CXX_FLAG_WERROR - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Performing Test HAVE_STD_REGEX -- Performing Test HAVE_STD_REGEX -- Performing Test HAVE_STD_REGEX -- success -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- success -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Performing Test COMPILER_SUPPORTS_AVX512 -- Performing Test COMPILER_SUPPORTS_AVX512 - Success -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Performing Test __CxxFlag__fmerge_all_constants -- Performing Test __CxxFlag__fmerge_all_constants - Success ** AsmJit Summary ** ASMJIT_DIR=/home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit ASMJIT_TEST=FALSE ASMJIT_TARGET_TYPE=STATIC ASMJIT_DEPS=pthread;rt ASMJIT_LIBS=asmjit;pthread;rt ASMJIT_CFLAGS=-DASMJIT_STATIC ASMJIT_PRIVATE_CFLAGS=-Wall;-Wextra;-fno-math-errno;-fno-threadsafe-statics;-DASMJIT_STATIC ASMJIT_PRIVATE_CFLAGS_DBG= ASMJIT_PRIVATE_CFLAGS_REL=-O2;-fmerge-all-constants -- Found LMDB: /usr/include -- Found lmdb (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so) -- Found Numa: /usr/include -- Found Numa (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so) -- OpenCV found (/usr/share/OpenCV) -- Using third party subdirectory Eigen. Python 3.7.3 -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "2.7") -- Found PythonLibs: /usr/lib/libpython3.7m.so.1.0 (found suitable version "3.7.3", minimum required is "2.7") -- Could NOT find pybind11 (missing: pybind11_DIR) -- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) -- Using third_party/pybind11. -- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1") -- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1") -- Found MPI: TRUE (found version "3.1") -- MPI support found -- MPI compile flags: -- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/usr/lib/x86_64-linux-gnu/openmpi/include -- MPI LINK flags path: -pthread -- MPI libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so CMake Warning at cmake/Dependencies.cmake:738 (message): OpenMPI found, but it is not built with CUDA support. Call Stack (most recent call first): CMakeLists.txt:308 (include) -- Adding OpenMP CXX_FLAGS: -fopenmp -- Will link against OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so -- Found HIP: /opt/rocm (found suitable version "1.5.19284", minimum required is "1.0") HIP VERSION: 1.5.19284 ***** Library versions from dpkg ***** rocm-dev VERSION: 2.7.22 rocm-device-libs VERSION: 0.0.1 rocm-libs VERSION: 2.7.22 hsakmt-roct VERSION: 1.0.9-194-gbcfdf35 hsakmt-roct-dev VERSION: 1.0.9-194-gbcfdf35 hsa-ext-rocr-dev VERSION: 1.1.9-99-g835b876 hsa-rocr-dev VERSION: 1.1.9-99-g835b876 hcc VERSION: 2.7.19315 hip_base VERSION: 1.5.19284 hip_hcc VERSION: 1.5.19284 ***** Library versions from cmake find_package ***** rocrand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa hiprand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa -- Found HIP: /opt/rocm (found version "1.5.19284") rocblas VERSION: 2.4.0.1471-rocm-rel-2.7-22-1ac2271 miopen VERSION: 2.0.1.7405-rocm-rel-2.7-22-4e39a83 rocfft VERSION: 0.9.5.697-rocm-rel-2.7-22-ed7760e hipsparse VERSION: 1.0.9.168-rocm-rel-2.7-22-5fea400 INFOCompiling with HIP for AMD. CMake Warning (dev) at third_party/gloo/CMakeLists.txt:21 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'BUILD_BENCHMARK'. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at third_party/gloo/CMakeLists.txt:32 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'USE_NCCL'. This warning is for project developers. Use -Wno-dev to suppress it. -- MPI include path: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/usr/lib/x86_64-linux-gnu/openmpi/include -- MPI libraries: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so -- Found HIP: /opt/rocm (found suitable version "1.5.19284", minimum required is "1.0") Successfully preprocessed all matching files. CMake Warning at cmake/Dependencies.cmake:1012 (message): Metal is only used in ios builds. Call Stack (most recent call first): CMakeLists.txt:308 (include) -- -- ******** Summary ******** -- CMake version : 3.15.2 -- CMake command : /usr/local/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 8.3.0 -- CXX flags : -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor -- Build type : Release -- Compile definitions : NDEBUG;ONNX_ML=1 -- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages -- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch -- CMAKE_MODULE_PATH : /opt/rocm/hip/cmake;/home/luke/Builds/pytorch/cmake/Modules -- -- ONNX version : 1.5.0 -- ONNX NAMESPACE : onnx_torch -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- ONNX_USE_LITE_PROTO : OFF -- ONNXIFI_DUMMY_BACKEND : OFF -- ONNXIFI_ENABLE_EXT : OFF -- -- Protobuf compiler : -- Protobuf includes : -- Protobuf libraries : -- BUILD_ONNX_PYTHON : OFF -- -- ******** Summary ******** -- CMake version : 3.15.2 -- CMake command : /usr/local/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 8.3.0 -- CXX flags : -fvisibility-inlines-hidden -fopenmp -Wnon-virtual-dtor -- Build type : Release -- Compile definitions : NDEBUG;ONNX_ML=1 -- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages -- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch -- CMAKE_MODULE_PATH : /opt/rocm/hip/cmake;/home/luke/Builds/pytorch/cmake/Modules -- -- ONNX version : 1.4.1 -- ONNX NAMESPACE : onnx_torch -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- ONNX_USE_LITE_PROTO : OFF -- ONNXIFI_DUMMY_BACKEND : OFF -- -- Protobuf compiler : -- Protobuf includes : -- Protobuf libraries : -- BUILD_ONNX_PYTHON : OFF -- Could not find CUDA with FP16 support, compiling without torch.CudaHalfTensor -- Removing -DNDEBUG from compile flags -- MAGMA not found. Compiling without MAGMA support -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this machine. -- No OMAP4 processor on this machine. -- Looking for cpuid.h -- Looking for cpuid.h - found -- Performing Test HAVE_GCC_GET_CPUID -- Performing Test HAVE_GCC_GET_CPUID - Success -- Performing Test NO_GCC_EBX_FPIC_BUG -- Performing Test NO_GCC_EBX_FPIC_BUG - Success -- Performing Test C_HAS_AVX_1 -- Performing Test C_HAS_AVX_1 - Failed -- Performing Test C_HAS_AVX_2 -- Performing Test C_HAS_AVX_2 - Success -- Performing Test C_HAS_AVX2_1 -- Performing Test C_HAS_AVX2_1 - Failed -- Performing Test C_HAS_AVX2_2 -- Performing Test C_HAS_AVX2_2 - Success -- Performing Test CXX_HAS_AVX_1 -- Performing Test CXX_HAS_AVX_1 - Failed -- Performing Test CXX_HAS_AVX_2 -- Performing Test CXX_HAS_AVX_2 - Success -- Performing Test CXX_HAS_AVX2_1 -- Performing Test CXX_HAS_AVX2_1 - Failed -- Performing Test CXX_HAS_AVX2_2 -- Performing Test CXX_HAS_AVX2_2 - Success -- AVX compiler support found -- AVX2 compiler support found -- Looking for cheev_ -- Looking for cheev_ - found -- Found a library with LAPACK API (open). disabling CUDA because NOT USE_CUDA is set -- CuDNN not found. Compiling without CuDNN support -- MKLDNN_THREADING = CMake Warning (dev) at third_party/ideep/mkl-dnn/cmake/options.cmake:33 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'MKLDNN_ENABLE_CONCURRENT_EXEC'. Call Stack (most recent call first): third_party/ideep/mkl-dnn/cmake/utils.cmake:24 (include) third_party/ideep/mkl-dnn/CMakeLists.txt:74 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- This is a product build -- Detecting Intel(R) MKL: trying mklml_intel -- Intel(R) MKL: include /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/include -- Intel(R) MKL: lib /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib/libmklml_intel.so -- Found OpenMP_C: -fopenmp -- Found OpenMP_CXX: -fopenmp -- Found OpenMP: TRUE -- OpenMP lib: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib/libiomp5.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- VTune profiling environment is unset CMake Warning (dev) at third_party/ideep/mkl-dnn/cmake/utils.cmake:120 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The plain signature for target_link_libraries has already been used with the target "mkldnn". All uses of target_link_libraries with a target should be either all-keyword or all-plain. The uses of the plain signature are here: * third_party/ideep/mkl-dnn/cmake/utils.cmake:111 (target_link_libraries) Call Stack (most recent call first): third_party/ideep/mkl-dnn/src/CMakeLists.txt:108 (target_link_libraries_install) This warning is for project developers. Use -Wno-dev to suppress it. -- Found MKL-DNN: TRUE -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for mmap -- Looking for mmap - found -- Looking for shm_open -- Looking for shm_open - found -- Looking for shm_unlink -- Looking for shm_unlink - found -- Looking for malloc_usable_size -- Looking for malloc_usable_size - found -- Performing Test C_HAS_THREAD -- Performing Test C_HAS_THREAD - Success -- GCC 8.3.0: Adding gcc and gcc_s libs to link line -- NUMA paths: -- /usr/include -- /usr/lib/x86_64-linux-gnu/libnuma.so -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success HIP VERSION: 1.5.19284 ***** Library versions from dpkg ***** rocm-dev VERSION: 2.7.22 rocm-device-libs VERSION: 0.0.1 rocm-libs VERSION: 2.7.22 hsakmt-roct VERSION: 1.0.9-194-gbcfdf35 hsakmt-roct-dev VERSION: 1.0.9-194-gbcfdf35 hsa-ext-rocr-dev VERSION: 1.1.9-99-g835b876 hsa-rocr-dev VERSION: 1.1.9-99-g835b876 hcc VERSION: 2.7.19315 hip_base VERSION: 1.5.19284 hip_hcc VERSION: 1.5.19284 ***** Library versions from cmake find_package ***** rocrand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa hiprand VERSION: 2.7.0.641-rocm-rel-2.7-22-dd953aa -- Found HIP: /opt/rocm (found version "1.5.19284") rocblas VERSION: 2.4.0.1471-rocm-rel-2.7-22-1ac2271 miopen VERSION: 2.0.1.7405-rocm-rel-2.7-22-4e39a83 rocfft VERSION: 0.9.5.697-rocm-rel-2.7-22-ed7760e hipsparse VERSION: 1.0.9.168-rocm-rel-2.7-22-5fea400 ROCm is enabled. -- Check size of long double -- Check size of long double - done -- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE -- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE - Success -- Performing Test COMPILER_SUPPORTS_FLOAT128 -- Performing Test COMPILER_SUPPORTS_FLOAT128 - Success -- Performing Test COMPILER_SUPPORTS_SSE2 -- Performing Test COMPILER_SUPPORTS_SSE2 - Success -- Performing Test COMPILER_SUPPORTS_SSE4 -- Performing Test COMPILER_SUPPORTS_SSE4 - Success -- Performing Test COMPILER_SUPPORTS_AVX -- Performing Test COMPILER_SUPPORTS_AVX - Success -- Performing Test COMPILER_SUPPORTS_FMA4 -- Performing Test COMPILER_SUPPORTS_FMA4 - Success -- Performing Test COMPILER_SUPPORTS_AVX2 -- Performing Test COMPILER_SUPPORTS_AVX2 - Success -- Performing Test COMPILER_SUPPORTS_SVE -- Performing Test COMPILER_SUPPORTS_SVE - Failed -- Performing Test COMPILER_SUPPORTS_AVX512F -- Performing Test COMPILER_SUPPORTS_AVX512F - Success -- Performing Test COMPILER_SUPPORTS_OPENMP -- Performing Test COMPILER_SUPPORTS_OPENMP - Success -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Success -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Success -- Configuring build for SLEEF-v3.2 Target system: Linux-5.0.0-25-generic Target processor: x86_64 Host system: Linux-5.0.0-25-generic Host processor: x86_64 Detected C compiler: GNU @ /usr/bin/cc -- Using option `-Wall -Wno-unused -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math` to compile libsleef -- Building shared libs : OFF -- MPFR : LIB_MPFR-NOTFOUND -- GMP : LIBGMP-NOTFOUND -- RUNNING_ON_TRAVIS : 0 -- COMPILER_SUPPORTS_OPENMP : 1 -- NCCL operators skipped due to no CUDA support -- Including IDEEP operators -- Including image processing operators -- Excluding video processing operators due to no opencv -- Include Observer library -- /usr/bin/c++ /home/luke/Builds/pytorch/caffe2/../torch/abi-check.cpp -o /home/luke/Builds/pytorch/build/abi-check -- Determined _GLIBCXX_USE_CXX11_ABI=1 -- MPI_INCLUDE_PATH: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi;/usr/lib/x86_64-linux-gnu/openmpi/include -- MPI_LIBRARIES: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so -- MPIEXEC: /usr/bin/mpiexec -- pytorch is compiling with OpenMP. OpenMP CXX_FLAGS: -fopenmp. OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so. -- Caffe2 is compiling with OpenMP. OpenMP CXX_FLAGS: -fopenmp. OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/8/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so. -- Using ATen parallel backend: OMP -- Using lib/python3/dist-packages as python relative installation path CMake Warning at CMakeLists.txt:530 (message): Generated cmake files are only fully tested if one builds with system glog, gflags, and protobuf. Other settings may generate files that are not well tested. -- -- ******** Summary ******** -- General: -- CMake version : 3.15.2 -- CMake command : /usr/local/bin/cmake -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler id : GNU -- C++ compiler version : 8.3.0 -- BLAS : MKL -- CXX flags : -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 : NDEBUG;ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1 -- CMAKE_PREFIX_PATH : /usr/lib/python3/dist-packages -- CMAKE_INSTALL_PREFIX : /home/luke/Builds/pytorch/torch -- -- TORCH_VERSION : 1.3.0 -- CAFFE2_VERSION : 1.3.0 -- BUILD_CAFFE2_MOBILE : ON -- USE_STATIC_DISPATCH : OFF -- 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.3 -- Python executable : /usr/bin/python3 -- Pythonlibs version : 3.7.3 -- Python library : /usr/lib/libpython3.7m.so.1.0 -- Python includes : /usr/include/python3.7m -- Python site-packages: lib/python3/dist-packages -- BUILD_CAFFE2_OPS : ON -- BUILD_SHARED_LIBS : ON -- BUILD_TEST : True -- INTERN_BUILD_MOBILE : -- USE_ASAN : OFF -- USE_CUDA : False -- USE_ROCM : ON -- USE_EIGEN_FOR_BLAS : ON -- USE_FBGEMM : ON -- USE_FFMPEG : OFF -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_LEVELDB : OFF -- USE_LITE_PROTO : OFF -- USE_LMDB : 1 -- LMDB version : 0.9.23 -- USE_METAL : OFF -- USE_MKL : OFF -- USE_MKLDNN : ON -- USE_MKLDNN_CBLAS : OFF -- USE_NCCL : OFF -- USE_NNPACK : ON -- USE_NUMPY : ON -- USE_OBSERVERS : ON -- USE_OPENCL : OFF -- USE_OPENCV : 1 -- OpenCV version : 3.2.0 -- 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 : ON -- USE_GLOO : ON -- USE_GLOO_IBVERBS : OFF -- BUILD_NAMEDTENSOR : OFF -- Public Dependencies : Threads::Threads;caffe2::mkldnn -- Private Dependencies : qnnpack;nnpack;cpuinfo;fbgemm;/usr/lib/x86_64-linux-gnu/liblmdb.so;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_video;fp16;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl -- Configuring done CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target FileStoreTest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:16 (c10d_add_test) CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target TCPStoreTest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:17 (c10d_add_test) CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target ProcessGroupGlooTest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:30 (c10d_add_test) CMake Warning at torch/lib/c10d/test/CMakeLists.txt:9 (add_executable): Cannot generate a safe linker search path for target ProcessGroupMPITest because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): torch/lib/c10d/test/CMakeLists.txt:36 (c10d_add_test) CMake Warning at torch/lib/libshm/CMakeLists.txt:33 (ADD_EXECUTABLE): Cannot generate a safe linker search path for target torch_shm_manager because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. CMake Warning at torch/lib/libshm/CMakeLists.txt:25 (ADD_LIBRARY): Cannot generate a safe linker search path for target shm because files in some directories may conflict with libraries in implicit directories: link library [libiomp5.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/luke/Builds/pytorch/third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/lib Some of these libraries may not be found correctly. -- Generating done -- Build files have been written to: /home/luke/Builds/pytorch/build cmake --build . --target install --config Release -- -j 8 Scanning dependencies of target gtest Scanning dependencies of target fbgemm_avx2 Scanning dependencies of target clog Scanning dependencies of target pthreadpool Scanning dependencies of target libprotobuf-lite Scanning dependencies of target benchmark Scanning dependencies of target fbgemm_generic Scanning dependencies of target libprotobuf [ 0%] Building C object confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o [ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmFP16UKernelsAvx2.cc.o /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_fatal’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_error’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_warning’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_info’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_debug’: /home/luke/Builds/pytorch/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 0%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arena.cc.o [ 0%] Linking C static library ../../lib/libclog.a [ 0%] Built target clog [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/arenastring.cc.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernel.cc.o [ 0%] Linking C static library ../../lib/libpthreadpool.a [ 0%] Built target pthreadpool [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/extension_set.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arena.cc.o Scanning dependencies of target fbgemm_avx512 [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx512.dir/src/UtilsAvx512.cc.o /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 9]’: /home/luke/Builds/pytorch/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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 27]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 1]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 2]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 3]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 4]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 5]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 10]’: /home/luke/Builds/pytorch/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] /home/luke/Builds/pytorch/third_party/fbgemm/src/FbgemmI8DepthwiseAvx2.cc: In constructor ‘fbgemm::PackedDepthWiseConvMatrix&lt;KERNEL_PROD&gt;::PackedDepthWiseConvMatrix(int, const int8_t*) [with int KERNEL_PROD = 11]’: /home/luke/Builds/pytorch/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] [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/ExecuteKernelU8S8.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/arenastring.cc.o [ 0%] Built target fbgemm_avx512 [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set.cc.o [ 0%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Fbgemm.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/generated_message_util.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_util.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/implicit_weak_message.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/coded_stream.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/implicit_weak_message.cc.o [ 0%] Linking CXX static library ../../../../lib/libgtest.a [ 0%] Built target gtest [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/coded_stream.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o Scanning dependencies of target asmjit [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o [ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/arch.cpp.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/assembler.cpp.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 0%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o [ 0%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/builder.cpp.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/message_lite.cc.o [ 0%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/repeated_field.cc.o [ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message_lite.cc.o [ 1%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/callconv.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/codeholder.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/compiler.cpp.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/repeated_field.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/bytestream.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/bytestream.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/constpool.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/cpuinfo.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/emitter.cpp.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/common.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/common.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/func.cpp.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/int128.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/int128.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/io_win32.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/status.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/io_win32.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/status.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/statusor.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/statusor.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringpiece.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/stringprintf.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/structurally_valid.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/strutil.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/strutil.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/stubs/time.cc.o [ 2%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/time.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf-lite.dir/__/src/google/protobuf/wire_format_lite.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmFP16.cc.o Scanning dependencies of target gloo [ 2%] Linking CXX static library ../../../lib/libbenchmark.a [ 2%] Built target benchmark [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format_lite.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.cc.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/globals.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/inst.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/jitallocator.cpp.o [ 2%] Linking CXX static library ../../../lib/libprotobuf-lite.a [ 2%] Built target libprotobuf-lite [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/jitruntime.cpp.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/OptimizedKernelsAvx2.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/api.pb.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/logging.cpp.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/QuantUtilsAvx2.cc.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmConv.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/operand.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/osutils.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/UtilsAvx2.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/ralocal.cpp.o /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/core/ralocal.cpp: In member function ‘asmjit::Error asmjit::RALocalAllocator::allocBranch(asmjit::InstNode*, asmjit::RABlock*, asmjit::RABlock*)’: /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/core/ralocal.cpp:833:79: warning: unused parameter ‘cont’ [-Wunused-parameter] Error RALocalAllocator::allocBranch(InstNode* node, RABlock* target, RABlock* cont) noexcept { ~~~~~~~~~^~~~ [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/rapass.cpp.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/importer.cc.o [ 2%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/compiler/parser.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/rastack.cpp.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/FbgemmI8Spmdm.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/string.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16.cc.o [ 2%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/support.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/target.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/type.cpp.o Scanning dependencies of target mkldnn [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/virtmem.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zone.cpp.o [ 2%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonehash.cpp.o [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonelist.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonestack.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonetree.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/zonevector.cpp.o [ 3%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86assembler.cpp.o [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o [ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o [ 3%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.cc.o [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o [ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution.cpp.o [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o [ 3%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/convolution_pd.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/deconvolution.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/eltwise.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/engine.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/inner_product.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/lrn.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/mpi/context.cc.o Scanning dependencies of target c10 [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o In file included from /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:16: /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc: In destructor ‘gloo::mpi::MPIScope::~MPIScope()’: /home/luke/Builds/pytorch/third_party/gloo/gloo/common/logging.h:141:58: warning: throw will always call terminate() [-Wterminate] r.get_message_and_free(MakeString(__VA_ARGS__))); \ ^ /home/luke/Builds/pytorch/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__) ^~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:43:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ(rv, MPI_SUCCESS); ^~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/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__))); \ ^ /home/luke/Builds/pytorch/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__) ^~~~~~~~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/third_party/gloo/gloo/mpi/context.cc:43:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’ GLOO_ENFORCE_EQ(rv, MPI_SUCCESS); ^~~~~~~~~~~~~~~ [ 4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC16Avx512VNNI.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/mkldnn_debug.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/pooling.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_attr.cpp.o [ 4%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_desc.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/primitive_iterator.cpp.o [ 4%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86builder.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/query.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/reorder.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/rnn.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/scratchpad.cpp.o [ 4%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor.pb.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/shuffle.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/softmax.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/stream.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/utils.cpp.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o [ 4%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/common/verbose.cpp.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o [ 5%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_barrier.cpp.o [ 5%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_batch_normalization_utils.cpp.o [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o [ 5%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86callconv.cpp.o [ 5%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512.cc.o [ 5%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86compiler.cpp.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeId.cpp.o [ 5%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GenerateKernelU8S8S32ACC32Avx512VNNI.cc.o [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorTypeIdRegistration.cpp.o [ 6%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_concat.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/descriptor_database.cc.o [ 6%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o [ 6%] Linking CXX static library ../../../lib/libgloo.a [ 6%] Built target gloo [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_engine.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Array.cpp.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_memory.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/duration.pb.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/dynamic_message.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86features.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86internal.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instdb.cpp.o [ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/GroupwiseConvAcc32Avx2.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o [ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAMatrix.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/empty.pb.cc.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/extension_set_heavy.cc.o [ 6%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithIm2Col.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/field_mask.pb.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/Type.cpp.o [ 6%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_reflection.cc.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86instapi.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86logging.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86logging.cpp: In function ‘asmjit::Error asmjit::x86::LoggingInternal::formatInstruction(asmjit::String&amp;, uint32_t, const asmjit::BaseEmitter*, uint32_t, const asmjit::BaseInst&amp;, const asmjit::Operand_*, uint32_t)’: /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86logging.cpp:677:29: warning: unused variable ‘instInfo’ [-Wunused-variable] const InstDB::InstInfo&amp; instInfo = InstDB::infoById(instId); ^~~~~~~~ [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86operand.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o /home/luke/Builds/pytorch/third_party/fbgemm/third_party/asmjit/src/asmjit/x86/x86internal.cpp:1337:13: warning: ‘void asmjit::x86::dumpAssignment(asmjit::String&amp;, const asmjit::x86::X86FuncArgsContext&amp;)’ defined but not used [-Wunused-function] static void dumpAssignment(String&amp; sb, const X86FuncArgsContext&amp; ctx) noexcept { ^~~~~~~~~~~~~~ [ 6%] Building CXX object third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/x86/x86rapass.cpp.o [ 6%] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o [ 6%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_primitive.cpp.o [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackBMatrix.cc.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/generated_message_table_driven.cc.o [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/gzip_stream.cc.o [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackMatrix.cc.o [ 7%] Linking CXX shared library ../lib/libc10.so [ 7%] Built target c10 [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithQuantRowOffset.cc.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/printer.cc.o [ 7%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/strtod.cc.o [ 7%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackAWithRowOffset.cc.o [ 7%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reducer.cpp.o [ 7%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_reorder.cpp.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/tokenizer.cc.o [ 8%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightMatrixForGConv.cc.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/io/zero_copy_stream_impl.cc.o [ 8%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/PackWeightsForConv.cc.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/map_field.cc.o [ 8%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/message.cc.o [ 8%] Linking CXX static library ../../../lib/libasmjit.a [ 8%] Built target asmjit Scanning dependencies of target python_copy_files [ 8%] Generating __init__.py [ 9%] Generating contrib/__init__.py [ 9%] Generating contrib/aten/__init__.py [ 9%] Generating contrib/aten/aten_test.py [ 9%] Generating contrib/aten/docs/__init__.py [ 9%] Generating contrib/aten/docs/sample.py [ 9%] Generating contrib/aten/gen_op.py [ 9%] Generating contrib/gloo/__init__.py [ 9%] Generating contrib/gloo/gloo_test.py [ 9%] Generating contrib/nccl/__init__.py [ 9%] Generating contrib/nccl/nccl_ops_test.py [ 9%] Generating contrib/nnpack/__init__.py [ 9%] Generating contrib/nnpack/nnpack_ops_test.py [ 9%] Generating contrib/playground/AnyExp.py [ 9%] Generating contrib/playground/AnyExpOnTerm.py [ 9%] Generating contrib/playground/ModuleRegister.py [ 9%] Generating contrib/playground/__init__.py [ 9%] Generating contrib/playground/checkpoint.py [ 9%] Generating contrib/playground/compute_loss.py [ 9%] Generating contrib/playground/compute_topk_accuracy.py [ 9%] Generating contrib/playground/meter.py [ 9%] Generating contrib/playground/module_map.py [ 9%] Generating contrib/playground/output_generator.py [ 9%] Generating contrib/playground/resnetdemo/IN1k_resnet.py [ 9%] Generating contrib/playground/resnetdemo/IN1k_resnet_no_test_model.py [ 9%] Generating contrib/playground/resnetdemo/__init__.py [ 9%] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_forward.py [ 9%] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_param_update.py [ 9%] Generating contrib/playground/resnetdemo/explicit_resnet_forward.py [ 9%] Generating contrib/playground/resnetdemo/explicit_resnet_param_update.py [ 9%] Generating contrib/playground/resnetdemo/gfs_IN1k.py [ 9%] Generating contrib/playground/resnetdemo/override_no_test_model_no_checkpoint.py [ 9%] Generating contrib/playground/resnetdemo/rendezvous_filestore.py [ 10%] Generating contrib/prof/__init__.py [ 10%] Generating contrib/prof/cuda_profile_ops_test.py [ 10%] Generating contrib/script/__init__.py [ 10%] Generating contrib/script/examples/__init__.py [ 10%] Generating contrib/tensorboard/__init__.py [ 10%] Generating contrib/tensorboard/tensorboard.py [ 10%] Generating contrib/tensorboard/tensorboard_exporter.py [ 10%] Generating contrib/tensorboard/tensorboard_exporter_test.py [ 10%] Generating contrib/tensorboard/tensorboard_test.py [ 10%] Generating contrib/warpctc/__init__.py [ 10%] Generating contrib/warpctc/ctc_ops_test.py [ 10%] Generating core/__init__.py [ 10%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/QuantUtils.cc.o [ 10%] Generating core/nomnigraph/__init__.py [ 10%] Generating core/nomnigraph/op_gen.py [ 10%] Generating distributed/__init__.py [ 10%] Generating distributed/file_store_handler_op_test.py [ 10%] Generating distributed/redis_store_handler_op_test.py [ 10%] Generating distributed/store_ops_test_util.py [ 10%] Generating experiments/__init__.py [ 10%] Generating experiments/python/SparseTransformer.py [ 10%] Generating experiments/python/__init__.py [ 10%] Generating experiments/python/convnet_benchmarks.py [ 10%] Generating experiments/python/device_reduce_sum_bench.py [ 10%] Generating experiments/python/funhash_op_test.py [ 10%] Generating experiments/python/net_construct_bench.py [ 10%] Generating experiments/python/sparse_funhash_op_test.py [ 10%] Generating experiments/python/sparse_reshape_op_test.py [ 10%] Generating experiments/python/tt_contraction_op_test.py [ 10%] Generating experiments/python/tt_pad_op_test.py [ 10%] Generating perfkernels/__init__.py [ 10%] Generating perfkernels/hp_emblookup_codegen.py [ 10%] Generating proto/__init__.py [ 11%] Generating python/__init__.py [ 11%] Generating python/_import_c_extension.py [ 11%] Generating python/allcompare_test.py [ 11%] Generating python/attention.py [ 11%] Generating python/benchmark_generator.py [ 11%] Generating python/binarysize.py [ 11%] Generating python/brew.py [ 11%] Generating python/brew_test.py [ 11%] Generating python/build.py [ 11%] Generating python/cached_reader.py [ 11%] Generating python/caffe_translator.py [ 11%] Generating python/caffe_translator_test.py [ 11%] Generating python/checkpoint.py [ 11%] Generating python/checkpoint_test.py [ 11%] Generating python/cnn.py [ 11%] Generating python/compatibility.py [ 11%] Generating python/context.py [ 11%] Generating python/context_test.py [ 11%] Generating python/control.py [ 11%] Generating python/control_ops_grad.py [ 11%] Generating python/control_ops_grad_test.py [ 11%] Generating python/control_ops_util.py [ 11%] Generating python/control_test.py [ 11%] Generating python/convert.py [ 11%] Generating python/convert_test.py [ 11%] Generating python/convnet_benchmarks.py [ 11%] Generating python/convnet_benchmarks_test.py [ 11%] Generating python/core.py [ 11%] Generating python/core_gradients_test.py [ 11%] Generating python/core_test.py [ 11%] Generating python/crf.py [ 11%] Generating python/crf_predict.py [ 12%] Generating python/crf_viterbi_test.py [ 12%] Generating python/data_parallel_model.py [ 12%] Generating python/data_parallel_model_test.py [ 12%] Generating python/data_workers.py [ 12%] Generating python/data_workers_test.py [ 12%] Generating python/dataio.py [ 12%] Generating python/dataio_test.py [ 12%] Generating python/dataset.py [ 12%] Generating python/db_file_reader.py [ 12%] Generating python/db_test.py [ 12%] Generating python/device_checker.py [ 12%] Generating python/docs/__init__.py [ 12%] Generating python/docs/formatter.py [ 12%] Generating python/docs/generator.py [ 12%] Generating python/docs/github.py [ 12%] Generating python/docs/parser.py [ 12%] Generating python/dyndep.py [ 12%] Generating python/embedding_generation_benchmark.py [ 12%] Generating python/examples/__init__.py [ 12%] Generating python/examples/char_rnn.py [ 12%] Generating python/examples/imagenet_trainer.py [ 12%] Generating python/examples/lmdb_create_example.py [ 12%] Generating python/examples/resnet50_trainer.py [ 12%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/RefImplementations.cc.o [ 12%] Generating python/experiment_util.py [ 12%] Generating python/extension_loader.py [ 12%] Generating python/filler_test.py [ 12%] Generating python/functional.py [ 12%] Generating python/functional_test.py [ 12%] Generating python/fused_8bit_rowwise_conversion_ops_test.py [ 12%] Generating python/gradient_check_test.py [ 12%] Generating python/gradient_checker.py [ 12%] Generating python/gru_cell.py [ 13%] Generating python/helpers/__init__.py [ 13%] Generating python/helpers/algebra.py [ 13%] Generating python/helpers/arg_scope.py [ 13%] Generating python/helpers/array_helpers.py [ 13%] Generating python/helpers/control_ops.py [ 13%] Generating python/helpers/conv.py [ 13%] Generating python/helpers/db_input.py [ 13%] Generating python/helpers/dropout.py [ 13%] Generating python/helpers/elementwise_linear.py [ 13%] Generating python/helpers/fc.py [ 13%] Generating python/helpers/nonlinearity.py [ 13%] Generating python/helpers/normalization.py [ 13%] Generating python/helpers/pooling.py [ 13%] Generating python/helpers/tools.py [ 13%] Generating python/helpers/train.py [ 13%] Generating python/hip_test_util.py [ 13%] Generating python/hsm_util.py [ 13%] Generating python/hypothesis_test.py [ 13%] Generating python/hypothesis_test_util.py [ 13%] Generating python/ideep/LRN_op_test.py [ 13%] Generating python/ideep/__init__.py [ 13%] Generating python/ideep/adam_op_test.py [ 13%] Generating python/ideep/blobs_queue_db_test.py [ 13%] Generating python/ideep/channel_shuffle_op_test.py [ 13%] Generating python/ideep/concat_split_op_test.py [ 13%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/reflection_ops.cc.o [ 13%] Generating python/ideep/conv_op_test.py [ 13%] Generating python/ideep/conv_transpose_test.py [ 13%] Generating python/ideep/convfusion_op_test.py [ 13%] Generating python/ideep/copy_op_test.py [ 13%] Generating python/ideep/dropout_op_test.py [ 13%] Generating python/ideep/elementwise_sum_op_test.py [ 14%] Generating python/ideep/expanddims_squeeze_op_test.py [ 14%] Generating python/ideep/fc_op_test.py [ 14%] Generating python/ideep/leaky_relu_op_test.py [ 14%] Generating python/ideep/moment_sgd_op_test.py [ 14%] Generating python/ideep/operator_fallback_op_test.py [ 14%] Generating python/ideep/order_switch_op_test.py [ 14%] Generating python/ideep/pool_op_test.py [ 14%] Generating python/ideep/pre_convert_test.py [ 14%] Generating python/ideep/relu_op_test.py [ 14%] Generating python/ideep/reshape_op_test.py [ 14%] Generating python/ideep/shape_op_test.py [ 14%] Generating python/ideep/sigmoid_op_test.py [ 14%] Generating python/ideep/softmax_op_test.py [ 14%] Generating python/ideep/spatial_bn_op_test.py [ 14%] Generating python/ideep/test_ideep_net.py [ 14%] Generating python/ideep/transform_ideep_net.py [ 14%] Generating python/ideep/transpose_op_test.py [ 14%] Generating python/ideep/weightedsum_op_test.py [ 14%] Generating python/ideep_test_util.py [ 14%] Generating python/layer_model_helper.py [ 14%] Generating python/layer_model_instantiator.py [ 14%] Generating python/layer_parameter_sharing_test.py [ 14%] Generating python/layer_test_util.py [ 14%] Generating python/layers/__init__.py [ 14%] Generating python/layers/adaptive_weight.py [ 14%] Generating python/layers/add_bias.py [ 14%] Generating python/layers/arc_cosine_feature_map.py [ 14%] Generating python/layers/batch_huber_loss.py [ 14%] Generating python/layers/batch_lr_loss.py [ 14%] Generating python/layers/batch_mse_loss.py [ 14%] Generating python/layers/batch_normalization.py [ 14%] Generating python/layers/batch_sigmoid_cross_entropy_loss.py [ 15%] Generating python/layers/batch_softmax_loss.py [ 15%] Generating python/layers/blob_weighted_sum.py [ 15%] Generating python/layers/bpr_loss.py [ 15%] Generating python/layers/bucket_weighted.py [ 15%] Generating python/layers/build_index.py [ 15%] Generating python/layers/concat.py [ 15%] Generating python/layers/constant_weight.py [ 15%] Generating python/layers/conv.py [ 15%] Generating python/layers/dropout.py [ 15%] Generating python/layers/fc.py [ 15%] Generating python/layers/fc_without_bias.py [ 15%] Generating python/layers/feature_sparse_to_dense.py [ 15%] Generating python/layers/functional.py [ 15%] Generating python/layers/gather_record.py [ 15%] Generating python/layers/homotopy_weight.py [ 15%] Generating python/layers/label_smooth.py [ 15%] Generating python/layers/last_n_window_collector.py [ 15%] Generating python/layers/layer_normalization.py [ 15%] Generating python/layers/layers.py [ 15%] Generating python/layers/margin_rank_loss.py [ 15%] Generating python/layers/merge_id_lists.py [ 15%] Generating python/layers/pairwise_similarity.py [ 15%] Generating python/layers/position_weighted.py [ 15%] Generating python/layers/random_fourier_features.py [ 15%] Generating python/layers/reservoir_sampling.py [ 15%] Generating python/layers/sampling_train.py [ 15%] Generating python/layers/sampling_trainable_mixin.py [ 15%] Generating python/layers/select_record_by_context.py [ 15%] Generating python/layers/semi_random_features.py [ 15%] Generating python/layers/sparse_dropout_with_replacement.py [ 15%] Generating python/layers/sparse_feature_hash.py [ 15%] Generating python/layers/sparse_lookup.py [ 16%] Generating python/layers/split.py [ 16%] Generating python/layers/tags.py [ 16%] Generating python/layers/uniform_sampling.py [ 16%] Generating python/layers_test.py [ 16%] Generating python/lengths_reducer_fused_8bit_rowwise_ops_test.py [ 16%] Generating python/lengths_reducer_rowwise_8bit_ops_test.py [ 16%] Generating python/lstm_benchmark.py [ 16%] Generating python/memonger.py [ 16%] Generating python/memonger_test.py [ 16%] Generating python/mint/__init__.py [ 16%] Generating python/mint/app.py [ 16%] Generating python/mkl/__init__.py [ 16%] Generating python/mkl/mkl_LRN_op_test.py [ 16%] Generating python/mkl/mkl_LRN_speed_test.py [ 16%] Generating python/mkl/mkl_concat_op_test.py [ 16%] Generating python/mkl/mkl_conv_op_test.py [ 16%] Generating python/mkl/mkl_copy_op_test.py [ 16%] Generating python/mkl/mkl_elementwise_add_op_test.py [ 16%] Generating python/mkl/mkl_elementwise_sum_op_test.py [ 16%] Generating python/mkl/mkl_fc_op_test.py [ 16%] Generating python/mkl/mkl_fc_speed_test.py [ 16%] Generating python/mkl/mkl_fill_op_test.py [ 16%] Generating python/mkl/mkl_pool_op_test.py [ 16%] Generating python/mkl/mkl_pool_speed_test.py [ 16%] Generating python/mkl/mkl_relu_op_test.py [ 16%] Generating python/mkl/mkl_sbn_op_test.py [ 16%] Generating python/mkl/mkl_sbn_speed_test.py [ 16%] Generating python/mkl/mkl_sigmoid_op_test.py [ 16%] Generating python/mkl/mkl_speed_test.py [ 16%] Generating python/mkl/mkl_squeeze_op_test.py [ 16%] Generating python/mkl/rewrite_graph.py [ 16%] Generating python/mkl/rewrite_graph_test.py [ 17%] Generating python/mkl_test_util.py [ 17%] Generating python/model_device_test.py [ 17%] Generating python/model_helper.py [ 17%] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_generic.dir/src/Utils.cc.o [ 17%] Generating python/model_helper_test.py [ 17%] Generating python/modeling/__init__.py [ 17%] Generating python/modeling/compute_histogram_for_blobs.py [ 17%] Generating python/modeling/compute_histogram_for_blobs_test.py [ 17%] Generating python/modeling/compute_norm_for_blobs.py [ 17%] Generating python/modeling/compute_norm_for_blobs_test.py [ 17%] Generating python/modeling/compute_statistics_for_blobs.py [ 17%] Generating python/modeling/compute_statistics_for_blobs_test.py [ 17%] Generating python/modeling/get_entry_from_blobs.py [ 17%] Generating python/modeling/get_entry_from_blobs_test.py [ 17%] Generating python/modeling/gradient_clipping.py [ 17%] Generating python/modeling/gradient_clipping_test.py [ 17%] Generating python/modeling/initializers.py [ 17%] Generating python/modeling/initializers_test.py [ 17%] Generating python/modeling/net_modifier.py [ 17%] Generating python/modeling/parameter_info.py [ 17%] Generating python/modeling/parameter_sharing.py [ 17%] Generating python/modeling/parameter_sharing_test.py [ 17%] Generating python/models/__init__.py [ 17%] Generating python/models/__sym_init__.py [ 17%] Generating python/models/download.py [ 17%] Generating python/models/imagenet_trainer_test_utils.py [ 17%] Generating python/models/resnet.py [ 17%] Generating python/models/resnet_test.py [ 17%] Generating python/models/seq2seq/__init__.py [ 17%] Generating python/models/seq2seq/beam_search.py [ 17%] Generating python/models/seq2seq/seq2seq_beam_search_test.py [ 17%] Generating python/models/seq2seq/seq2seq_model_helper.py [ 17%] Generating python/models/seq2seq/seq2seq_model_helper_test.py [ 18%] Generating python/models/seq2seq/seq2seq_util.py [ 18%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/cpu_sum.cpp.o [ 18%] Generating python/models/seq2seq/train.py [ 18%] Generating python/models/seq2seq/translate.py [ 18%] Generating python/models/shufflenet.py [ 18%] Generating python/models/shufflenet_test.py [ 18%] Generating python/modifier_context.py [ 18%] Generating python/muji.py [ 18%] Generating python/muji_test.py [ 18%] Generating python/net_builder.py [ 18%] Generating python/net_builder_test.py [ 18%] Generating python/net_drawer.py [ 18%] Generating python/net_printer.py [ 18%] Generating python/net_printer_test.py [ 18%] Generating python/nomnigraph.py [ 18%] Generating python/nomnigraph_test.py [ 18%] Generating python/nomnigraph_transformations.py [ 18%] Generating python/nomnigraph_transformations_test.py [ 18%] Generating python/normalizer.py [ 18%] Generating python/normalizer_context.py [ 18%] Generating python/normalizer_test.py [ 18%] Generating python/numa_benchmark.py [ 18%] Generating python/numa_test.py [ 18%] Generating python/observer_test.py [ 18%] Generating python/onnx/__init__.py [ 18%] Generating python/onnx/backend.py [ 18%] Generating python/onnx/backend_cpp_rep.py [ 18%] Generating python/onnx/backend_rep.py [ 18%] Generating python/onnx/bin/__init__.py [ 18%] Generating python/onnx/bin/conversion.py [ 18%] Generating python/onnx/error.py [ 18%] Generating python/onnx/frontend.py [ 18%] Generating python/onnx/helper.py [ 19%] Generating python/onnx/onnxifi.py [ 19%] Generating python/onnx/test_onnxifi.py [ 19%] Generating python/onnx/tests/__init__.py [ 19%] Generating python/onnx/tests/c2_ref_test.py [ 19%] Generating python/onnx/tests/conversion_test.py [ 19%] Generating python/onnx/tests/helper_test.py [ 19%] Generating python/onnx/tests/onnx_backend_test.py [ 19%] Generating python/onnx/tests/ssa_test.py [ 19%] Generating python/onnx/tests/test_utils.py [ 19%] Generating python/onnx/workspace.py [ 19%] Generating python/operator_fp_exceptions_test.py [ 19%] Generating python/operator_test/__init__.py [ 19%] Generating python/operator_test/activation_ops_test.py [ 19%] Generating python/operator_test/adadelta_test.py [ 19%] Generating python/operator_test/adagrad_test.py [ 19%] Generating python/operator_test/adagrad_test_helper.py [ 19%] Generating python/operator_test/adam_test.py [ 19%] Generating python/operator_test/affine_channel_op_test.py [ 19%] Generating python/operator_test/apmeter_test.py [ 19%] Generating python/operator_test/arg_ops_test.py [ 19%] Generating python/operator_test/assert_test.py [ 19%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/service.cc.o [ 19%] Generating python/operator_test/atomic_ops_test.py [ 19%] Built target fbgemm_generic [ 19%] Generating python/operator_test/basic_rnn_test.py [ 19%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/gemm_utils_f32.cpp.o [ 19%] Generating python/operator_test/batch_box_cox_test.py [ 19%] Generating python/operator_test/batch_bucketize_op_test.py [ 19%] Generating python/operator_test/batch_moments_op_test.py [ 19%] Generating python/operator_test/batch_sparse_to_dense_op_test.py [ 19%] Generating python/operator_test/bbox_transform_test.py [ 19%] Generating python/operator_test/bisect_percentile_op_test.py [ 19%] Generating python/operator_test/blobs_queue_db_test.py [ 19%] Generating python/operator_test/boolean_mask_test.py [ 19%] Generating python/operator_test/boolean_unmask_test.py [ 20%] Generating python/operator_test/box_with_nms_limit_op_test.py [ 20%] Generating python/operator_test/bucketize_op_test.py [ 20%] Generating python/operator_test/cast_op_test.py [ 20%] Generating python/operator_test/ceil_op_test.py [ 20%] Generating python/operator_test/channel_backprop_stats_op_test.py [ 20%] Generating python/operator_test/channel_shuffle_test.py [ 20%] Generating python/operator_test/channel_stats_op_test.py [ 20%] Generating python/operator_test/checkpoint_test.py [ 20%] Generating python/operator_test/clip_op_test.py [ 20%] Generating python/operator_test/clip_tensor_op_test.py [ 20%] Generating python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py [ 20%] Generating python/operator_test/concat_split_op_test.py [ 20%] Generating python/operator_test/conditional_test.py [ 20%] Generating python/operator_test/conftest.py [ 20%] Generating python/operator_test/conv_test.py [ 20%] Generating python/operator_test/conv_transpose_test.py [ 20%] Generating python/operator_test/copy_ops_test.py [ 20%] Generating python/operator_test/copy_rows_to_tensor_op_test.py [ 20%] Generating python/operator_test/cosine_embedding_criterion_op_test.py [ 20%] Generating python/operator_test/counter_ops_test.py [ 20%] Generating python/operator_test/crf_test.py [ 20%] Generating python/operator_test/cross_entropy_ops_test.py [ 21%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx512_common_gemm_f32.cpp.o [ 21%] Generating python/operator_test/ctc_beam_search_decoder_op_test.py [ 21%] Generating python/operator_test/ctc_greedy_decoder_op_test.py [ 21%] Generating python/operator_test/cudnn_recurrent_test.py [ 21%] Generating python/operator_test/data_couple_op_test.py [ 21%] Generating python/operator_test/dataset_ops_test.py [ 21%] Generating python/operator_test/deform_conv_test.py [ 21%] Generating python/operator_test/dense_vector_to_id_list_op_test.py [ 21%] Generating python/operator_test/depthwise_3x3_conv_test.py [ 21%] Generating python/operator_test/detectron_keypoints.py [ 22%] Generating python/operator_test/distance_op_test.py [ 22%] Generating python/operator_test/dropout_op_test.py [ 22%] Generating python/operator_test/duplicate_operands_test.py [ 22%] Generating python/operator_test/elementwise_linear_op_test.py [ 22%] Generating python/operator_test/elementwise_logical_ops_test.py [ 22%] Generating python/operator_test/elementwise_op_broadcast_test.py [ 22%] Generating python/operator_test/elementwise_ops_test.py [ 22%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/source_context.pb.cc.o [ 22%] Generating python/operator_test/emptysample_ops_test.py [ 22%] Generating python/operator_test/enforce_finite_op_test.py [ 22%] Generating python/operator_test/ensure_clipped_test.py [ 22%] Generating python/operator_test/ensure_cpu_output_op_test.py [ 22%] Generating python/operator_test/erf_op_test.py [ 22%] Generating python/operator_test/expand_op_test.py [ 22%] Generating python/operator_test/fc_operator_test.py [ 22%] Generating python/operator_test/feature_maps_ops_test.py [ 22%] Generating python/operator_test/filler_ops_test.py [ 22%] Generating python/operator_test/find_op_test.py [ 22%] Generating python/operator_test/flatten_op_test.py [ 22%] Generating python/operator_test/flexible_top_k_test.py [ 22%] Generating python/operator_test/floor_op_test.py [ 22%] Generating python/operator_test/gather_ops_test.py [ 22%] Generating python/operator_test/gather_ranges_op_test.py [ 22%] Generating python/operator_test/given_tensor_byte_string_to_uint8_fill_op_test.py [ 22%] Generating python/operator_test/given_tensor_fill_op_test.py [ 22%] Generating python/operator_test/glu_op_test.py [ 22%] Generating python/operator_test/group_conv_test.py [ 22%] Generating python/operator_test/group_norm_op_test.py [ 22%] Generating python/operator_test/gru_test.py [ 22%] Generating python/operator_test/heatmap_max_keypoint_op_test.py [ 22%] Generating python/operator_test/hsm_test.py [ 22%] Generating python/operator_test/hyperbolic_ops_test.py [ 22%] Generating python/operator_test/im2col_col2im_test.py [ 23%] Generating python/operator_test/image_input_op_test.py [ 23%] Generating python/operator_test/index_hash_ops_test.py [ 23%] Generating python/operator_test/index_ops_test.py [ 23%] Generating python/operator_test/instance_norm_test.py [ 23%] Generating python/operator_test/integral_image_ops_test.py [ 23%] Generating python/operator_test/jsd_ops_test.py [ 23%] Generating python/operator_test/key_split_ops_test.py [ 23%] Generating python/operator_test/lars_test.py [ 23%] Generating python/operator_test/layer_norm_op_test.py [ 23%] Generating python/operator_test/leaky_relu_test.py [ 23%] Generating python/operator_test/learning_rate_adaption_op_test.py [ 23%] Generating python/operator_test/learning_rate_op_test.py [ 23%] Generating python/operator_test/length_split_op_test.py [ 23%] Generating python/operator_test/lengths_pad_op_test.py [ 23%] Generating python/operator_test/lengths_tile_op_test.py [ 23%] Generating python/operator_test/lengths_top_k_ops_test.py [ 23%] Generating python/operator_test/listwise_l2r_operator_test.py [ 23%] Generating python/operator_test/load_save_test.py [ 23%] Generating python/operator_test/locally_connected_op_test.py [ 23%] Generating python/operator_test/loss_ops_test.py [ 23%] Generating python/operator_test/lpnorm_op_test.py [ 23%] Generating python/operator_test/map_ops_test.py [ 23%] Generating python/operator_test/margin_ranking_criterion_op_test.py [ 23%] Generating python/operator_test/math_ops_test.py [ 23%] Generating python/operator_test/matmul_op_test.py [ 23%] Generating python/operator_test/mean_op_test.py [ 23%] Generating python/operator_test/merge_id_lists_op_test.py [ 23%] Generating python/operator_test/mkl_conv_op_test.py [ 23%] Generating python/operator_test/mkl_packed_fc_op_test.py [ 23%] Generating python/operator_test/mkl_speed_test.py [ 23%] Generating python/operator_test/mod_op_test.py [ 23%] Generating python/operator_test/moments_op_test.py [ 24%] Generating python/operator_test/momentum_sgd_test.py [ 24%] Generating python/operator_test/mpi_test.py [ 24%] Generating python/operator_test/negate_gradient_op_test.py [ 24%] Generating python/operator_test/ngram_ops_test.py [ 24%] Generating python/operator_test/normalize_op_test.py [ 24%] Generating python/operator_test/numpy_tile_op_test.py [ 24%] Generating python/operator_test/one_hot_ops_test.py [ 24%] Generating python/operator_test/onnx_while_test.py [ 24%] Generating python/operator_test/order_switch_test.py [ 24%] Generating python/operator_test/pack_ops_test.py [ 24%] Generating python/operator_test/pack_rnn_sequence_op_test.py [ 24%] Generating python/operator_test/pad_test.py [ 24%] Generating python/operator_test/partition_ops_test.py [ 24%] Generating python/operator_test/percentile_op_test.py [ 24%] Generating python/operator_test/piecewise_linear_transform_test.py [ 24%] Generating python/operator_test/pooling_test.py [ 24%] Generating python/operator_test/prepend_dim_test.py [ 24%] Generating python/operator_test/python_op_test.py [ 24%] Generating python/operator_test/rand_quantization_op_speed_test.py [ 24%] Generating python/operator_test/rand_quantization_op_test.py [ 24%] Generating python/operator_test/rank_loss_operator_test.py [ 24%] Generating python/operator_test/rebatching_queue_test.py [ 24%] Generating python/operator_test/record_queue_test.py [ 24%] Generating python/operator_test/recurrent_net_executor_test.py [ 24%] Generating python/operator_test/recurrent_network_test.py [ 24%] Generating python/operator_test/reduce_ops_test.py [ 24%] Generating python/operator_test/reduction_ops_test.py [ 24%] Generating python/operator_test/reshape_ops_test.py [ 24%] Generating python/operator_test/resize_op_test.py [ 24%] Generating python/operator_test/rmac_regions_op_test.py [ 24%] Generating python/operator_test/rnn_cell_test.py [ 24%] Generating python/operator_test/roi_align_rotated_op_test.py [ 25%] Generating python/operator_test/scale_op_test.py [ 25%] Generating python/operator_test/segment_ops_test.py [ 25%] Generating python/operator_test/selu_op_test.py [ 25%] Generating python/operator_test/sequence_ops_test.py [ 25%] Generating python/operator_test/shape_inference_test.py [ 25%] Generating python/operator_test/sinusoid_position_encoding_op_test.py [ 25%] Generating python/operator_test/softmax_ops_test.py [ 25%] Generating python/operator_test/softplus_op_test.py [ 25%] Generating python/operator_test/sparse_dropout_with_replacement_op_test.py [ 25%] Generating python/operator_test/sparse_gradient_checker_test.py [ 25%] Generating python/operator_test/sparse_lengths_sum_benchmark.py [ 25%] Generating python/operator_test/sparse_normalize_test.py [ 25%] Generating python/operator_test/sparse_ops_test.py [ 25%] Generating python/operator_test/sparse_to_dense_mask_op_test.py [ 25%] Generating python/operator_test/spatial_bn_op_test.py [ 25%] Generating python/operator_test/specialized_segment_ops_test.py [ 25%] Generating python/operator_test/square_root_divide_op_test.py [ 25%] Generating python/operator_test/stats_ops_test.py [ 25%] Generating python/operator_test/stats_put_ops_test.py [ 25%] Generating python/operator_test/string_ops_test.py [ 25%] Generating python/operator_test/text_file_reader_test.py [ 25%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/struct.pb.cc.o [ 25%] Generating python/operator_test/thresholded_relu_op_test.py [ 25%] Generating python/operator_test/tile_op_test.py [ 25%] Generating python/operator_test/top_k_test.py [ 25%] Generating python/operator_test/torch_integration_test.py [ 25%] Generating python/operator_test/transpose_op_test.py [ 25%] Generating python/operator_test/trigonometric_op_test.py [ 25%] Generating python/operator_test/unique_ops_test.py [ 25%] Generating python/operator_test/unique_uniform_fill_op_test.py [ 25%] Generating python/operator_test/upsample_op_test.py [ 25%] Generating python/operator_test/utility_ops_test.py [ 25%] Generating python/operator_test/video_input_op_test.py [ 26%] Generating python/operator_test/weighted_multi_sample_test.py [ 26%] Generating python/operator_test/weighted_sample_test.py [ 26%] Generating python/operator_test/weighted_sum_test.py [ 26%] Generating python/operator_test/wngrad_test.py [ 26%] Generating python/optimizer.py [ 26%] Generating python/optimizer_context.py [ 26%] Generating python/optimizer_test.py [ 26%] Generating python/optimizer_test_util.py [ 26%] Generating python/parallel_workers.py [ 26%] Generating python/parallel_workers_test.py [ 26%] Generating python/parallelize_bmuf_distributed_test.py [ 26%] Generating python/pipeline.py [ 26%] Generating python/pipeline_test.py [ 26%] Generating python/predictor/__init__.py [ 26%] Generating python/predictor/mobile_exporter.py [ 26%] Generating python/predictor/mobile_exporter_test.py [ 26%] Generating python/predictor/predictor_exporter.py [ 26%] Generating python/predictor/predictor_exporter_test.py [ 26%] Generating python/predictor/predictor_py_utils.py [ 26%] Generating python/predictor/predictor_test.py [ 26%] Generating python/predictor/serde.py [ 26%] Generating python/predictor_constants.py [ 26%] Generating python/python_op_test.py [ 26%] Generating python/queue_util.py [ 26%] Generating python/record_queue.py [ 26%] Generating python/recurrent.py [ 26%] Generating python/regularizer.py Scanning dependencies of target foxi_loader [ 26%] Generating python/regularizer_context.py [ 26%] Generating python/regularizer_test.py [ 26%] Building C object third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o [ 26%] Generating python/rnn/__init__.py [ 26%] Generating python/rnn/lstm_comparison.py [ 26%] Generating python/rnn/rnn_cell_test_util.py [ 27%] Generating python/rnn_cell.py [ 27%] Generating python/schema.py [ 27%] Generating python/schema_test.py [ 27%] Generating python/scope.py [ 27%] Generating python/scope_test.py [ 27%] Linking C static library ../../lib/libfoxi_loader.a [ 27%] Generating python/serialized_test/__init__.py [ 27%] Generating python/serialized_test/coverage.py [ 27%] Built target foxi_loader [ 27%] Generating python/session.py [ 27%] Generating python/serialized_test/serialized_test_util.py [ 27%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/jit_avx_gemm_f32.cpp.o [ 27%] Generating python/session_test.py [ 27%] Generating python/sparse_to_dense_mask_test.py [ 27%] Generating python/sparse_to_dense_test.py [ 27%] Generating python/task.py [ 27%] Generating python/task_test.py [ 27%] Generating python/test/__init__.py [ 27%] Generating python/test/blob_deallocation_test.py [ 27%] Generating python/test/do_op_test.py [ 27%] Generating python/test/executor_test.py [ 27%] Generating python/test/executor_test_util.py [ 27%] Generating python/test/inference_lstm_op_test.py [ 27%] Generating python/test/python_protobuf_test.py [ 27%] Generating python/test_util.py [ 27%] Generating python/text_file_reader.py [ 27%] Generating python/timeout_guard.py [ 27%] Generating python/toy_regression_test.py [ 27%] Generating python/transformations.py [ 27%] Generating python/transformations_test.py [ 27%] Generating python/trt/__init__.py [ 27%] Generating python/trt/test_trt.py [ 27%] Generating python/trt/transform.py [ 27%] Generating python/tt_core.py [ 27%] Generating python/tt_core_test.py [ 28%] Generating python/utils.py [ 28%] Generating python/utils_test.py [ 28%] Generating python/visualize.py [ 28%] Generating python/workspace.py [ 28%] Generating python/workspace_test.py [ 28%] Generating quantization/__init__.py [ 28%] Generating quantization/server/__init__.py [ 28%] Generating quantization/server/batch_matmul_dnnlowp_op_test.py [ 28%] Generating quantization/server/batch_permutation_dnnlowp_op_test.py [ 28%] Generating quantization/server/channel_shuffle_dnnlowp_op_test.py [ 28%] Generating quantization/server/concat_dnnlowp_op_test.py [ 28%] Generating quantization/server/conv_depthwise_dnnlowp_op_test.py [ 28%] Generating quantization/server/conv_dnnlowp_acc16_op_test.py [ 28%] Generating quantization/server/conv_dnnlowp_op_test.py [ 28%] Generating quantization/server/conv_groupwise_dnnlowp_acc16_op_test.py [ 28%] Generating quantization/server/conv_groupwise_dnnlowp_op_test.py [ 28%] Generating quantization/server/dequantize_dnnlowp_op_test.py [ 28%] Generating quantization/server/dnnlowp_test_utils.py [ 28%] Generating quantization/server/elementwise_add_dnnlowp_op_test.py [ 28%] Generating quantization/server/elementwise_linear_dnnlowp_op_test.py [ 28%] Generating quantization/server/elementwise_mul_dnnlowp_op_test.py [ 28%] Generating quantization/server/elementwise_sum_dnnlowp_op_test.py [ 28%] Generating quantization/server/fully_connected_dnnlowp_acc16_op_test.py [ 28%] Generating quantization/server/fully_connected_dnnlowp_op_test.py [ 28%] Generating quantization/server/fully_connected_fp16_test.py [ 28%] Generating quantization/server/fully_connected_rowwise_dnnlowp_op_test.py [ 28%] Generating quantization/server/gather_dnnlowp_op_test.py [ 28%] Generating quantization/server/group_norm_dnnlowp_op_test.py [ 28%] Generating quantization/server/lstm_unit_dnnlowp_op_test.py [ 28%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/f32/ref_gemm_f32.cpp.o [ 28%] Generating quantization/server/observer_test.py [ 28%] Generating quantization/server/pool_dnnlowp_op_test.py [ 29%] Generating quantization/server/quantize_dnnlowp_op_test.py [ 29%] Generating quantization/server/relu_dnnlowp_op_test.py [ 29%] Generating quantization/server/resize_nearest_dnnlowp_op_test.py [ 29%] Generating quantization/server/sigmoid_dnnlowp_op_test.py [ 29%] Generating quantization/server/spatial_batch_norm_dnnlowp_op_test.py [ 29%] Generating quantization/server/tanh_dnnlowp_op_test.py [ 29%] Generating quantization/server/utils.py [ 29%] Built target python_copy_files [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/gemm.cpp.o [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8s8s32.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/mathlimits.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/stubs/substitute.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/text_format.cc.o Scanning dependencies of target ATEN_CUDA_FILES_GEN_TARGET [ 29%] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.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/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 Scanning dependencies of target ATEN_CPU_FILES_GEN_TARGET [ 29%] Generating ../aten/src/ATen/CPUType.cpp, ../aten/src/ATen/CPUType.h, ../aten/src/ATen/Declarations.yaml, ../aten/src/ATen/Functions.h, ../aten/src/ATen/LegacyTHFunctionsCPU.cpp, ../aten/src/ATen/LegacyTHFunctionsCPU.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/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 [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/timestamp.pb.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/type.pb.cc.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/unknown_field_set.cc.o Scanning dependencies of target common [ 29%] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o Scanning dependencies of target mkrename [ 29%] Building C object sleef/src/libm/CMakeFiles/mkrename.dir/mkrename.c.o [ 29%] Built target common [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32_kern.cpp.o [ 29%] Linking C executable ../../bin/mkrename [ 29%] Built target mkrename [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_gemv_s8u8s32.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/delimited_message_util.cc.o Scanning dependencies of target mkalias [ 29%] Building C object sleef/src/libm/CMakeFiles/mkalias.dir/mkalias.c.o [ 29%] Linking C executable ../../bin/mkalias [ 29%] Built target mkalias [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_kernel_gemv_s8u8s32_kern.cpp.o Scanning dependencies of target renameAVX512F.h_generated [ 29%] Generating include/renameavx512f.h Generating renameavx512f.h: mkrename 8 16 avx512f [ 29%] Built target renameAVX512F.h_generated Scanning dependencies of target mkdisp [ 29%] Building C object sleef/src/libm/CMakeFiles/mkdisp.dir/mkdisp.c.o [ 29%] Linking C executable ../../bin/mkdisp [ 29%] Built target mkdisp [ 29%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_an_kern.cpp.o [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_comparator.cc.o [ 29%] Built target ATEN_CUDA_FILES_GEN_TARGET [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/field_mask_util.cc.o [ 29%] Built target ATEN_CPU_FILES_GEN_TARGET [ 29%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/datapiece.cc.o Scanning dependencies of target headers [ 29%] 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 [ 29%] Generating include/renameavx2.h Generating renameavx2.h: mkrename 4 8 avx2 [ 29%] Generating include/renameavx2128.h Generating renameavx2128.h: mkrename 2 4 avx2128 [ 29%] Generating include/renamefma4.h Generating renamefma4.h: mkrename 4 8 fma4 [ 30%] Generating include/renameavx.h Generating renameavx.h: mkrename 4 8 avx [ 30%] Generating include/renamesse4.h Generating renamesse4.h: mkrename 2 4 sse4 [ 30%] Generating include/renamesse2.h Generating renamesse2.h: mkrename 2 4 sse2 [ 30%] Built target headers [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_at_kern.cpp.o [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bn_kern.cpp.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/error_listener.cc.o Scanning dependencies of target renamedsp128.h_generated [ 30%] Generating renamedsp128.h [ 30%] Built target renamedsp128.h_generated [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_bt_kern.cpp.o [ 30%] 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 [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/field_mask_utility.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_escaping.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_objectwriter.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/json_stream_parser.cc.o [ 30%] 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 [ 30%] 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 [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/object_writer.cc.o Scanning dependencies of target renamedsp256.h_generated [ 30%] Generating renamedsp256.h [ 30%] Built target renamedsp256.h_generated [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/proto_writer.cc.o Scanning dependencies of target dispavx.c_generated [ 30%] Generating dispavx.c [ 30%] Built target dispavx.c_generated [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectsource.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [ 30%] 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 [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/ref_gemm_s8x8s32.cpp.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info_test_helper.cc.o [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/utility.cc.o Scanning dependencies of target renameSSE2.h_generated [ 30%] Built target renameSSE2.h_generated [ 30%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/json_util.cc.o Scanning dependencies of target renameFMA4.h_generated [ 30%] Built target renameFMA4.h_generated [ 30%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution.cpp.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/message_differencer.cc.o Scanning dependencies of target renameAVX2.h_generated [ 31%] Built target renameAVX2.h_generated [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_convolution_utils.cpp.o Scanning dependencies of target renameAVX2128.h_generated [ 31%] Built target renameAVX2128.h_generated [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_inner_product.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_convolution.cpp.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/time_util.cc.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/type_resolver_util.cc.o [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format.cc.o Scanning dependencies of target renameSSE4.h_generated [ 31%] Built target renameSSE4.h_generated [ 31%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wrappers.pb.cc.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm_x8s8s32x_inner_product.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_conv_kernel_f32.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_1x1_convolution.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_conv_kernel_f32.cpp.o [ 31%] Linking CXX static library ../../../lib/libprotobuf.a [ 31%] Built target libprotobuf Scanning dependencies of target caffe2_nvrtc [ 31%] Building CXX object caffe2/CMakeFiles/caffe2_nvrtc.dir/__/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp.o In file included from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:82:39: note: in definition of macro ‘CREATE_MEMBER’ #define CREATE_MEMBER(name) decltype(&amp;name) name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:83:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_MEMBER) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ In file included from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:82:39: note: in definition of macro ‘CREATE_MEMBER’ #define CREATE_MEMBER(name) decltype(&amp;name) name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:83:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_MEMBER) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ Scanning dependencies of target mkrename_gnuabi [ 31%] Building C object sleef/src/libm/CMakeFiles/mkrename_gnuabi.dir/mkrename_gnuabi.c.o /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp: In function ‘at::cuda::NVRTC* at::cuda::load_nvrtc()’: /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:8:42: note: in definition of macro ‘CREATE_ASSIGN’ #define CREATE_ASSIGN(name) self-&gt;name = name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:9:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_ASSIGN) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:75:5: warning: ‘hipError_t hipCtxGetCurrent(ihipCtx_t**)’ is deprecated: This API is marked as deprecated and may not be supported in future releases.For more details please refer https://github.com/ROCm-Developer-Tools/HIP/tree/master/docs/markdown/hip_deprecated_api_list [-Wdeprecated-declarations] _(hipCtxGetCurrent) \ ^~~~~~~~~~~~~~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:8:42: note: in definition of macro ‘CREATE_ASSIGN’ #define CREATE_ASSIGN(name) self-&gt;name = name; ^~~~ /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:9:3: note: in expansion of macro ‘AT_FORALL_NVRTC’ AT_FORALL_NVRTC(CREATE_ASSIGN) ^~~~~~~~~~~~~~~ In file included from /opt/rocm/hip/include/hip/hip_runtime_api.h:323, from /opt/rocm/hip/include/hip/hip_runtime.h:64, from /home/luke/Builds/pytorch/aten/src/ATen/hip/ATenHIPGeneral.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.h:3, from /home/luke/Builds/pytorch/aten/src/ATen/hip/nvrtc_stub/ATenNVRTC.cpp:1: /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:2225:12: note: declared here hipError_t hipCtxGetCurrent(hipCtx_t* ctx); ^~~~~~~~~~~~~~~~ [ 31%] Linking CXX shared library ../lib/libcaffe2_nvrtc.so [ 31%] Linking C executable ../../bin/mkrename_gnuabi [ 31%] Built target mkrename_gnuabi Scanning dependencies of target mkmasked_gnuabi [ 31%] Building C object sleef/src/libm/CMakeFiles/mkmasked_gnuabi.dir/mkmasked_gnuabi.c.o [ 31%] Built target caffe2_nvrtc Scanning dependencies of target arraymap [ 31%] Building C object sleef/src/common/CMakeFiles/arraymap.dir/arraymap.c.o [ 31%] Linking C executable ../../bin/mkmasked_gnuabi [ 31%] Built target mkmasked_gnuabi Scanning dependencies of target generate-torch-sources [ 31%] 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 [ 31%] Built target arraymap [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_convolution.cpp.o Skipped writing torch/csrc/nn/THNN.cpp Skipped writing torch/csrc/nn/THCUNN.cpp [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_conv_kernel.cpp.o [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_1x1_convolution.cpp.o Skipped writing torch/csrc/autograd/generated/python_functions.h Skipped writing torch/csrc/autograd/generated/python_functions.cpp [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_kernel.cpp.o Skipped writing torch/csrc/autograd/generated/python_variable_methods.cpp Skipped writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_conv_winograd_kernel_f32.cpp.o Skipped writing torch/csrc/autograd/generated/python_torch_functions.cpp Skipped writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h Skipped writing torch/csrc/autograd/generated/python_nn_functions.cpp Skipped writing torch/csrc/autograd/generated/python_nn_functions.h Skipped writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h Scanning dependencies of target torch_python_stubs [ 31%] Generating ../../../torch/__init__.pyi, ../../../torch/nn/functional.pyi [ 31%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution.cpp.o Skipped writing torch/csrc/autograd/generated/VariableType.h Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp Skipped writing torch/csrc/autograd/generated/VariableType_1.cpp Skipped writing torch/csrc/autograd/generated/VariableType_2.cpp Skipped writing ./torch/__init__.pyi Skipped writing ./torch/nn/functional.pyi Skipped writing torch/csrc/autograd/generated/VariableType_3.cpp [ 31%] Built target torch_python_stubs [ 32%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_convolution_winograd.cpp.o Skipped writing torch/csrc/autograd/generated/VariableType_4.cpp Scanning dependencies of target libprotoc [ 32%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_common_lrn.cpp.o [ 32%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/code_generator.cc.o Skipped writing torch/csrc/autograd/generated/VariableTypeEverything.cpp Skipped writing torch/csrc/autograd/generated/Functions.h Skipped writing torch/csrc/autograd/generated/Functions.cpp Skipped writing torch/csrc/autograd/generated/variable_factories.h [ 32%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/command_line_interface.cc.o Skipped writing torch/csrc/jit/generated/register_aten_ops_0.cpp Skipped writing torch/csrc/jit/generated/register_aten_ops_1.cpp Skipped writing torch/csrc/jit/generated/register_aten_ops_2.cpp [ 32%] Built target generate-torch-sources [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum.cc.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_enum_field.cc.o [ 33%] Built target fbgemm_avx2 Scanning dependencies of target cpuinfo [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/api.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/info.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/vendor.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/uarch.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/name.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/topology.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/isa.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/descriptor.c.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_extension.cc.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/deterministic.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/cpuinfo.c.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_field.cc.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/smallfile.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/multiline.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/current.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/cpulist.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/processors.c.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_file.cc.o [ 33%] Linking C static library ../../lib/libcpuinfo.a [ 33%] Built target cpuinfo [ 33%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_2x3.cpp.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_generator.cc.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_helpers.cc.o [ 33%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3.cpp.o [ 33%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_map_field.cc.o Scanning dependencies of target cpuinfo_internals [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/api.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/init.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/info.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/vendor.c.o [ 33%] Generating src/x86_64-fma/2d-fourier-8x8.py.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/uarch.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/name.c.o [ 33%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/topology.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/isa.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/init.c.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_fp32_wino_conv_4x3_kernel.cpp.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/descriptor.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/cache/deterministic.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/init.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/linux/cpuinfo.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/smallfile.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/multiline.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/current.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/cpulist.c.o [ 34%] Building C object confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/processors.c.o [ 34%] Linking C static library ../../lib/libcpuinfo_internals.a [ 34%] Built target cpuinfo_internals [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_u8s8s32x_wino_convolution.cpp.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_conv_kernel.cpp.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_1x1_convolution.cpp.o [ 34%] Generating src/x86_64-fma/2d-fourier-16x16.py.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_message_field.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_conv_kernel.cpp.o Scanning dependencies of target nnpack_reference_layers [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-input-gradient.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/convolution-kernel.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/fully-connected-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/max-pooling-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/softmax-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack_reference_layers.dir/src/ref/relu-input-gradient.c.o [ 34%] Linking C static library ../../lib/libnnpack_reference_layers.a [ 34%] Built target nnpack_reference_layers [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_convolution.cpp.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_avx512_core_x8s8s32x_deconvolution.cpp.o Scanning dependencies of target gmock [ 34%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_service.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/cpp/cpp_string_field.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc.o Scanning dependencies of target gtest_main [ 34%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o Scanning dependencies of target benchmark_main [ 34%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o [ 34%] Linking CXX static library ../../../../lib/libgtest_main.a [ 34%] Built target gtest_main Scanning dependencies of target fbgemm [ 34%] Linking CXX static library ../../lib/libfbgemm.a [ 34%] Built target fbgemm [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/nccl/gloo_hip_generated_nccl.hip.o [ 34%] Linking CXX static library ../../../lib/libbenchmark_main.a [ 34%] Built target benchmark_main [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip.hip.o [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_bcube.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum_field.cc.o [ 34%] Linking CXX static library ../../../lib/libgmock.a [ 34%] Built target gmock [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_field_base.cc.o [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_halving_doubling.cc.o [ 34%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_local.cc.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_conv_kernel_f32.cpp.o [ 34%] Generating src/x86_64-fma/2d-winograd-8x8-3x3.py.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_generator.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_helpers.cc.o [ 34%] Generating src/x86_64-fma/blas/s8gemm.py.o [ 34%] Generating src/x86_64-fma/blas/c8gemm.py.o [ 34%] Generating src/x86_64-fma/blas/s4c6gemm.py.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_1x1_convolution.cpp.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_map_field.cc.o [ 34%] Generating src/x86_64-fma/blas/conv1x1.py.o [ 34%] Generating src/x86_64-fma/blas/sgemm.py.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_conv_kernel_f32.cpp.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message.cc.o [ 34%] Generating src/x86_64-fma/max-pooling.py.o [ 34%] Generating src/x86_64-fma/relu.py.o [ 34%] Generating src/x86_64-fma/softmax.py.o [ 34%] Generating src/x86_64-fma/blas/sdotxf.py.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_message_field.cc.o [ 34%] Generating src/x86_64-fma/blas/shdotxf.py.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_sse42_convolution.cpp.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc.o [ 34%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_transpose_src_utils.cpp.o Scanning dependencies of target nnpack [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/init.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-inference.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-inference.c.o [ 34%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/pooling-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/softmax-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/fully-connected-output.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/relu-input-gradient.c.o [ 34%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-input-gradient.c.o [ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-kernel-gradient.c.o [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc.o [ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/convolution-output.c.o [ 35%] Building C object confu-deps/NNPACK/CMakeFiles/nnpack.dir/src/x86_64-fma/softmax.c.o [ 35%] Linking C static library ../../lib/libnnpack.a [ 35%] Built target nnpack [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc.o [ 35%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_batch_normalization.cpp.o Scanning dependencies of target c10_hip [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc.o [ 35%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/HIPCachingAllocator.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc.o [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_context.cc.o cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 35%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/HIPStream.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ [ 35%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_doc_comment.cc.o cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 36%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum.cc.o [ 36%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/impl/HIPGuardImpl.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 36%] Building CXX object c10/hip/CMakeFiles/c10_hip.dir/impl/HIPTest.cpp.o cc1plus: warning: command line option ‘-Wno-duplicate-decl-specifier’ is valid for C/ObjC but not for C++ [ 36%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field.cc.o [ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_conv_kernel_f32.cpp.o cc1plus: warning: unrecognized command line option ‘-Wno-unused-command-line-argument’ cc1plus: warning: unrecognized command line option ‘-Wno-exceptions’ cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’ cc1plus: warning: unrecognized command line option ‘-Wno-macro-redefined’ [ 36%] Linking CXX shared library ../../lib/libc10_hip.so [ 36%] Built target c10_hip [ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_dw_convolution.cpp.o Scanning dependencies of target __aten_op_header_gen [ 37%] Generating contrib/aten/aten_op.h [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_field_lite.cc.o 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_per_channel_affine_quantized_like 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) [ 37%] Built target __aten_op_header_gen [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_eltwise.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_enum_lite.cc.o Scanning dependencies of target renameAVX.h_generated [ 37%] Built target renameAVX.h_generated [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_i8i8_pooling.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_extension_lite.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_field.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn.cpp.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_lrn_kernel_f32.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_file.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator.cc.o [ 37%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_ring.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pool_kernel_f32.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_generator_factory.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_helpers.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_pooling.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_map_field_lite.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message.cc.o Scanning dependencies of target alias_avx512f.h_generated [ 37%] Generating alias_avx512f.h [ 37%] Built target alias_avx512f.h_generated [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder.cc.o Scanning dependencies of target dispsse.c_generated [ 37%] Generating dispsse.c [ 37%] Built target dispsse.c_generated [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_builder_lite.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/jit_uni_reorder_utils.cpp.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nchw_pooling.cpp.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ncsp_batch_normalization.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nhwc_pooling.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_field_lite.cc.o Scanning dependencies of target dispavx_obj [ 37%] Building C object sleef/src/libm/CMakeFiles/dispavx_obj.dir/dispavx.c.o Scanning dependencies of target sleefsse2 [ 37%] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimdsp.c.o [ 37%] Built target dispavx_obj [ 37%] Building C object sleef/src/libm/CMakeFiles/sleefsse2.dir/sleefsimddp.c.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/nspc_batch_normalization.cpp.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_message_lite.cc.o [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_name_resolver.cc.o [ 37%] Built target sleefsse2 [ 37%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field.cc.o [ 37%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_batch_normalization.cpp.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_convolution.cpp.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_deconvolution.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_primitive_field_lite.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_service.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_shared_code_generator.cc.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_eltwise.cpp.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_inner_product.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/java/java_string_field_lite.cc.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/js_generator.cc.o [ 38%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_allreduce_ring_chunked.cc.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_lrn.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/js/well_known_types_embed.cc.o [ 38%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_pooling.cpp.o [ 38%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_shuffle.cpp.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/ref_softmax.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_extension.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_field.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_file.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_common.cpp.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru.cpp.o [ 39%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_broadcast_one_to_all.cc.o [ 39%] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_private.hip.o Scanning dependencies of target sleeffma4 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimdsp.c.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_gru_lbr.cpp.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleeffma4.dir/sleefsimddp.c.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_lstm.cpp.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/cell_rnn.cpp.o [ 39%] Built target sleeffma4 [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/ref_rnn.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/rnn/rnn_utils.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_concat.cpp.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc.o Scanning dependencies of target sleefavx2 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimdsp.c.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2.dir/sleefsimddp.c.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/php/php_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.cc.o Scanning dependencies of target sleefavx2128 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimdsp.c.o [ 39%] Built target sleefavx2 [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.pb.cc.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefavx2128.dir/sleefsimddp.c.o [ 39%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/simple_sum.cpp.o Scanning dependencies of target sleefsse4 [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimdsp.c.o [ 39%] Building C object sleef/src/libm/CMakeFiles/sleefsse4.dir/sleefsimddp.c.o [ 39%] Built target sleefavx2128 [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/python/python_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/ruby/ruby_generator.cc.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/subprocess.cc.o Scanning dependencies of target qnnpack [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/init.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/add.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/average-pooling.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/clamp.c.o [ 39%] Linking CXX static library ../../../../lib/libmkldnn.a [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/convolution.c.o [ 39%] Built target sleefsse4 [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/deconvolution.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/fully-connected.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o Scanning dependencies of target gmock_main [ 39%] Built target mkldnn [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/leaky-relu.c.o [ 39%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/zip_writer.cc.o [ 39%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/max-pooling.c.o Scanning dependencies of target c10_TypeList_test [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sigmoid.c.o [ 39%] Building CXX object c10/test/CMakeFiles/c10_TypeList_test.dir/util/TypeList_test.cpp.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/softargmax.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-delete.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/indirection.c.o Scanning dependencies of target c10_TensorTypeId_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_TensorTypeId_test.dir/core/TensorTypeId_test.cpp.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-run.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o Scanning dependencies of target c10_flags_test [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o [ 39%] Building CXX object c10/test/CMakeFiles/c10_flags_test.dir/util/flags_test.cpp.o [ 39%] Linking CXX static library ../../../lib/libgmock_main.a [ 39%] Built target gmock_main [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o Scanning dependencies of target c10_LeftRight_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_LeftRight_test.dir/util/LeftRight_test.cpp.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o [ 39%] Linking CXX executable ../../bin/c10_TypeList_test [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o [ 39%] Built target c10_TypeList_test Scanning dependencies of target c10_registry_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_registry_test.dir/util/registry_test.cpp.o [ 39%] Linking CXX executable ../../bin/c10_TensorTypeId_test [ 39%] Linking CXX static library ../../../lib/libprotoc.a [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o [ 39%] Built target libprotoc [ 39%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o [ 39%] Built target c10_TensorTypeId_test Scanning dependencies of target c10_Half_test [ 39%] Building CXX object c10/test/CMakeFiles/c10_Half_test.dir/util/Half_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_flags_test Scanning dependencies of target c10_Array_test [ 40%] Built target c10_flags_test Scanning dependencies of target c10_tempfile_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_Array_test.dir/util/Array_test.cpp.o [ 40%] Building CXX object c10/test/CMakeFiles/c10_tempfile_test.dir/util/tempfile_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_Half_test [ 40%] Built target c10_Half_test Scanning dependencies of target c10_StreamGuard_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_StreamGuard_test.dir/core/StreamGuard_test.cpp.o [ 40%] Linking CXX executable ../../bin/c10_Array_test [ 40%] Built target c10_Array_test Scanning dependencies of target c10_TypeTraits_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_TypeTraits_test.dir/util/TypeTraits_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_registry_test [ 40%] Linking CXX executable ../../bin/c10_LeftRight_test [ 40%] Built target c10_registry_test Scanning dependencies of target c10_Metaprogramming_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_Metaprogramming_test.dir/util/Metaprogramming_test.cpp.o [ 40%] Linking CXX executable ../../bin/c10_StreamGuard_test [ 40%] Built target c10_LeftRight_test Scanning dependencies of target c10_DeviceGuard_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o [ 40%] Building CXX object c10/test/CMakeFiles/c10_DeviceGuard_test.dir/core/DeviceGuard_test.cpp.o [ 40%] Built target c10_StreamGuard_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_tempfile_test Scanning dependencies of target c10_InlineDeviceGuard_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o [ 40%] Built target c10_tempfile_test Scanning dependencies of target c10_InlineStreamGuard_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_InlineDeviceGuard_test.dir/core/impl/InlineDeviceGuard_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o [ 40%] Building CXX object c10/test/CMakeFiles/c10_InlineStreamGuard_test.dir/core/impl/InlineStreamGuard_test.cpp.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o [ 40%] Linking CXX executable ../../bin/c10_TypeTraits_test [ 40%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o [ 40%] Built target c10_TypeTraits_test [ 40%] Linking C static library ../../lib/libqnnpack.a Scanning dependencies of target c10_bfloat16_test [ 40%] Built target qnnpack Scanning dependencies of target c10_intrusive_ptr_test [ 40%] Building CXX object c10/test/CMakeFiles/c10_bfloat16_test.dir/util/bfloat16_test.cpp.o [ 41%] Building CXX object c10/test/CMakeFiles/c10_intrusive_ptr_test.dir/util/intrusive_ptr_test.cpp.o [ 41%] Linking CXX executable ../../bin/c10_Metaprogramming_test [ 41%] Linking CXX executable ../../bin/c10_bfloat16_test [ 41%] Built target c10_Metaprogramming_test Scanning dependencies of target c10_either_test [ 41%] Building CXX object c10/test/CMakeFiles/c10_either_test.dir/util/either_test.cpp.o [ 41%] Built target c10_bfloat16_test Scanning dependencies of target c10_logging_test [ 42%] Linking CXX executable ../../bin/c10_DeviceGuard_test [ 42%] Building CXX object c10/test/CMakeFiles/c10_logging_test.dir/util/logging_test.cpp.o [ 42%] Built target c10_DeviceGuard_test Scanning dependencies of target c10_typeid_test [ 42%] Building CXX object c10/test/CMakeFiles/c10_typeid_test.dir/util/typeid_test.cpp.o [ 42%] Linking CXX executable ../../bin/c10_InlineDeviceGuard_test [ 42%] Linking CXX executable ../../bin/c10_InlineStreamGuard_test [ 42%] Built target c10_InlineDeviceGuard_test Scanning dependencies of target c10_hip_HIPTest [ 42%] Building CXX object c10/hip/test/CMakeFiles/c10_hip_HIPTest.dir/impl/HIPTest.cpp.o [ 42%] Built target c10_InlineStreamGuard_test Scanning dependencies of target sleefavx [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimdsp.c.o [ 42%] Linking CXX executable ../../../bin/c10_hip_HIPTest [ 42%] Built target c10_hip_HIPTest [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx.dir/sleefsimddp.c.o [ 42%] Linking CXX executable ../../bin/c10_logging_test [ 42%] Built target c10_logging_test Scanning dependencies of target sleefavx512f [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimdsp.c.o [ 42%] Building C object sleef/src/libm/CMakeFiles/sleefavx512f.dir/sleefsimddp.c.o [ 42%] Linking CXX executable ../../bin/c10_typeid_test [ 42%] Built target c10_typeid_test Scanning dependencies of target dispsse_obj [ 42%] Building C object sleef/src/libm/CMakeFiles/dispsse_obj.dir/dispsse.c.o [ 42%] Built target sleefavx Scanning dependencies of target protoc [ 42%] Building CXX object third_party/protobuf/cmake/CMakeFiles/protoc.dir/__/src/google/protobuf/compiler/main.cc.o [ 42%] Built target sleefavx512f [ 42%] Linking CXX executable ../../../bin/protoc [ 42%] Built target protoc [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/torch.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/caffe2.proto Scanning dependencies of target gen_onnx_proto [ 42%] Running gen_proto.py on onnx/onnx.in.proto Processing /home/luke/Builds/pytorch/third_party/onnx/onnx/onnx.in.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto3 Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-ml.pb.h generating /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_pb.py [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/caffe2_legacy.proto [ 42%] Running C++ protocol buffer compiler on /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/metanet.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/hsm.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/predictor_consts.proto [ 42%] Running C++/Python protocol buffer compiler on /home/luke/Builds/pytorch/caffe2/proto/prof_dag.proto Scanning dependencies of target Caffe2_PROTO [ 42%] Built target dispsse_obj Scanning dependencies of target sleef [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefsp.c.o [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefdp.c.o [ 42%] Built target gen_onnx_proto [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefld.c.o [ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o [ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o [ 42%] Building C object sleef/src/libm/CMakeFiles/sleef.dir/sleefqp.c.o [ 42%] Running gen_proto.py on onnx/onnx-operators.in.proto Processing /home/luke/Builds/pytorch/third_party/onnx/onnx/onnx-operators.in.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto3 Writing /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators-ml.pb.h generating /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx_operators_pb.py [ 42%] Running C++ protocol buffer compiler on /home/luke/Builds/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto [ 42%] Linking C static library ../../lib/libsleef.a [ 42%] Built target sleef [ 42%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o Scanning dependencies of target onnx_proto [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch-ml.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch-ml.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o [ 43%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o [ 43%] Linking CXX executable ../../bin/c10_either_test [ 43%] Built target c10_either_test [ 43%] Linking CXX static library ../../lib/libonnx_proto.a [ 43%] Built target onnx_proto Scanning dependencies of target onnx [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o [ 43%] Built target Caffe2_PROTO [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o Scanning dependencies of target gloo_hip [ 43%] Linking CXX static library ../../../lib/libgloo_hip.a [ 43%] Built target gloo_hip [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o [ 43%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o Scanning dependencies of target caffe2_dnnlowp_avx2_ops [ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/elementwise_sum_dnnlowp_op_avx2.cc.o [ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/fully_connected_fake_lowp_op_avx2.cc.o [ 43%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/group_norm_dnnlowp_op_avx2.cc.o Scanning dependencies of target caffe2_protos [ 43%] Linking CXX static library ../lib/libcaffe2_protos.a Scanning dependencies of target Caffe2_perfkernels_avx512 [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o [ 44%] Built target caffe2_protos [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/pool_dnnlowp_op_avx2.cc.o [ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o [ 44%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx512.a [ 44%] Built target Caffe2_perfkernels_avx512 [ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o Scanning dependencies of target Caffe2_perfkernels_avx [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/adagrad_avx.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/relu_dnnlowp_op_avx2.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/spatial_batch_norm_dnnlowp_op_avx2.cc.o Scanning dependencies of target Caffe2_perfkernels_avx2 [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o [ 44%] Linking CXX executable ../../bin/c10_intrusive_ptr_test [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/transpose.cc.o [ 44%] Built target c10_intrusive_ptr_test [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o [ 44%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o [ 44%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o [ 44%] Building CXX object caffe2/quantization/server/CMakeFiles/caffe2_dnnlowp_avx2_ops.dir/norm_minimization_avx2.cc.o [ 44%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx.a [ 44%] Built target Caffe2_perfkernels_avx [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o [ 45%] Built target caffe2_dnnlowp_avx2_ops [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o [ 45%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx2.a [ 45%] Built target Caffe2_perfkernels_avx2 [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/onnxifi_utils.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/optimize.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_manager.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/optimizer/pass_registry.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o [ 45%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o [ 45%] Linking CXX static library ../../lib/libonnx.a [ 45%] Built target onnx [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHBlas.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorageCopy.hip.o [ 45%] 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 [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHSleep.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorage.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHReduceApplyUtils.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensor.hip.o [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorCopy.hip.o Skipped writing torch/csrc/nn/THNN.cpp Skipped writing torch/csrc/nn/THCUNN.cpp Skipped writing torch/csrc/autograd/generated/python_functions.h Skipped writing torch/csrc/autograd/generated/python_functions.cpp Skipped writing torch/csrc/autograd/generated/python_variable_methods.cpp Skipped writing torch/csrc/autograd/generated/python_variable_methods_dispatch.h Skipped writing torch/csrc/autograd/generated/python_torch_functions.cpp Skipped writing torch/csrc/autograd/generated/python_torch_functions_dispatch.h Skipped writing torch/csrc/autograd/generated/python_nn_functions.cpp Skipped writing torch/csrc/autograd/generated/python_nn_functions.h Skipped writing torch/csrc/autograd/generated/python_nn_functions_dispatch.h /home/luke/Builds/pytorch/aten/src/THH/THHBlas.hip:257:17: warning: rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored [-W#pragma-messages] THCublasCheck(rocblas_gemm_strided_batched_ex(handle, opa, opb, (int)m, (int)n, (int)k, ^ /opt/rocm/rocblas/include/rocblas-functions.h:2231:41: note: expanded from macro 'rocblas_gemm_strided_batched_ex' ROCBLAS_VA_OPT_PRAGMA(GCC warning "rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored", __VA_ARGS__) \ ^ /opt/rocm/rocblas/include/rocblas-functions.h:50:5: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA' ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, ROCBLAS_VA_OPT_COUNT(__VA_ARGS__)) ^ /opt/rocm/rocblas/include/rocblas-functions.h:48:51: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL' #define ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, count) ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ^ /opt/rocm/rocblas/include/rocblas-functions.h:47:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL2' #define ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ROCBLAS_VA_OPT_PRAGMA_SELECT##count(pragma) ^ &lt;scratch space&gt;:51:1: note: expanded from here ROCBLAS_VA_OPT_PRAGMA_SELECTN ^ /opt/rocm/rocblas/include/rocblas-functions.h:46:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_SELECTN' #define ROCBLAS_VA_OPT_PRAGMA_SELECTN(pragma, ...) _Pragma(#pragma) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H-&gt;D: failed"); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 1 warning generated. Skipped writing torch/csrc/autograd/generated/VariableType.h Skipped writing torch/csrc/autograd/generated/VariableType_0.cpp Skipped writing torch/csrc/autograd/generated/VariableType_1.cpp Skipped writing torch/csrc/autograd/generated/VariableType_2.cpp Skipped writing torch/csrc/autograd/generated/VariableType_3.cpp Skipped writing torch/csrc/autograd/generated/VariableType_4.cpp Skipped writing torch/csrc/autograd/generated/VariableTypeEverything.cpp Skipped writing torch/csrc/autograd/generated/Functions.h Skipped writing torch/csrc/autograd/generated/Functions.cpp Skipped writing torch/csrc/autograd/generated/variable_factories.h /home/luke/Builds/pytorch/aten/src/THH/THHBlas.hip:257:17: warning: rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored [-W#pragma-messages] THCublasCheck(rocblas_gemm_strided_batched_ex(handle, opa, opb, (int)m, (int)n, (int)k, ^ /opt/rocm/rocblas/include/rocblas-functions.h:2231:41: note: expanded from macro 'rocblas_gemm_strided_batched_ex' ROCBLAS_VA_OPT_PRAGMA(GCC warning "rocblas_gemm_strided_batched_ex: The workspace_size and workspace arguments are obsolete, and will be ignored", __VA_ARGS__) \ ^ /opt/rocm/rocblas/include/rocblas-functions.h:50:5: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA' ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, ROCBLAS_VA_OPT_COUNT(__VA_ARGS__)) ^ /opt/rocm/rocblas/include/rocblas-functions.h:48:51: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL' #define ROCBLAS_VA_OPT_PRAGMA_IMPL(pragma, count) ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ^ /opt/rocm/rocblas/include/rocblas-functions.h:47:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_IMPL2' #define ROCBLAS_VA_OPT_PRAGMA_IMPL2(pragma, count) ROCBLAS_VA_OPT_PRAGMA_SELECT##count(pragma) ^ &lt;scratch space&gt;:51:1: note: expanded from here ROCBLAS_VA_OPT_PRAGMA_SELECTN ^ /opt/rocm/rocblas/include/rocblas-functions.h:46:52: note: expanded from macro 'ROCBLAS_VA_OPT_PRAGMA_SELECTN' #define ROCBLAS_VA_OPT_PRAGMA_SELECTN(pragma, ...) _Pragma(#pragma) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ [ 45%] Building HIPCC object caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorMath.hip.o /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHStorage.hip:7: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H-&gt;D: failed"); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ Skipped writing torch/csrc/jit/generated/register_aten_ops_0.cpp Skipped writing torch/csrc/jit/generated/register_aten_ops_1.cpp fatal error: too many errors emitted, stopping now [-ferror-limit=] Skipped writing torch/csrc/jit/generated/register_aten_ops_2.cpp 20 errors generated. CMake Error at torch_generated_THHStorage.hip.o.cmake:174 (message): Error generating file /home/luke/Builds/pytorch/build/caffe2/CMakeFiles/torch.dir/__/aten/src/THH/./torch_generated_THHStorage.hip.o make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:86: caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHStorage.hip.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 1 warning generated. In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H-&gt;D: failed"); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:37:28: error: unknown type name 'cudaStream_t' __host__ __device__ inline cudaStream_t default_stream() ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:39:10: error: use of undeclared identifier 'cudaStreamLegacy' return cudaStreamLegacy; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:43:1: error: unknown type name 'cudaStream_t' cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:50:1: error: unknown type name 'cudaError_t' cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:53:3: error: use of undeclared identifier 'cudaDeviceSynchronize'; did you mean 'hipDeviceSynchronize'? cudaDeviceSynchronize(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:334:12: note: 'hipDeviceSynchronize' declared here hipError_t hipDeviceSynchronize(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:54:10: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:62:3: error: unknown type name 'cudaStream_t' cudaStream_t stream; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:66:26: error: unknown type name 'cudaStream_t' execute_on_stream_base(cudaStream_t stream_ = default_stream()) ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:71:10: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;s) const ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:79:10: error: unknown type name 'cudaStream_t' friend cudaStream_t __host__ __device__ ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:85:10: error: unknown type name 'cudaError_t' friend cudaError_t THRUST_RUNTIME_FUNCTION ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:96:12: error: use of undeclared identifier 'cudaGetLastError'; did you mean 'hipGetLastError'? return cudaGetLastError(); ^ /opt/rocm/hip/include/hip/hcc_detail/hip_runtime_api.h:592:12: note: 'hipGetLastError' declared here hipError_t hipGetLastError(void); ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:34: /opt/rocm/include/thrust/system/cuda/detail/par.h:107:21: error: unknown type name 'cudaStream_t' execute_on_stream(cudaStream_t stream) : base_t(stream){}; ^ /opt/rocm/include/thrust/system/cuda/detail/par.h:105:25: error: type 'thrust::cuda_cub::execute_on_stream::base_t' (aka 'execute_on_stream_base&lt;thrust::cuda_cub::execute_on_stream&gt;') is not a direct or virtual base of 'thrust::cuda_cub::execute_on_stream' execute_on_stream() : base_t(){}; ^~~~~~ /opt/rocm/include/thrust/system/cuda/detail/par.h:138:6: error: unknown type name 'cudaStream_t' on(cudaStream_t const &amp;stream) const ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:60:5: error: unknown type name 'cudaError' cudaError status; ^ /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:61:14: error: no member named 'trivial_copy_to_device' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::trivial_copy_from_device'? status = cuda_cub::trivial_copy_to_device(dst, ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:62:1: note: 'hip_rocprim::trivial_copy_from_device' declared here trivial_copy_from_device(Type* dst, Type const* src, size_t count, hipStream_t stream) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:64:47: error: no member named 'stream' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::stream'? cuda_cub::stream(device_s)); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:55:33: note: 'hip_rocprim::stream' declared here __host__ __device__ hipStream_t stream(execution_policy&lt;Derived&gt;&amp; policy) ^ In file included from /home/luke/Builds/pytorch/aten/src/THH/THHTensorMath.hip:21: In file included from /opt/rocm/include/thrust/system/cuda/execution_policy.h:39: In file included from /opt/rocm/include/thrust/system/cuda/detail/copy.h:99: /opt/rocm/include/thrust/system/cuda/detail/internal/copy_cross_system.h:65:5: error: no member named 'throw_on_error' in namespace 'thrust::cuda_cub'; did you mean 'hip_rocprim::throw_on_error'? cuda_cub::throw_on_error(status, "__copy::trivial_device_copy H-&gt;D: failed"); ^~~~~~~~~~ /opt/rocm/include/thrust/system/hip/detail/util.h:113:33: note: 'hip_rocprim::throw_on_error' declared here static void __host__ __device__ throw_on_error(hipError_t status, char const* msg) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. CMake Error at torch_generated_THHTensorMath.hip.o.cmake:174 (message): Error generating file /home/luke/Builds/pytorch/build/caffe2/CMakeFiles/torch.dir/__/aten/src/THH/./torch_generated_THHTensorMath.hip.o make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:114: caffe2/CMakeFiles/torch.dir/__/aten/src/THH/torch_generated_THHTensorMath.hip.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:4459: caffe2/CMakeFiles/torch.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Traceback (most recent call last): File "setup.py", line 759, in &lt;module&gt; build_deps() File "setup.py", line 321, in build_deps cmake=cmake) File "/home/luke/Builds/pytorch/tools/build_pytorch_libs.py", line 63, in build_caffe2 cmake.build(my_env) File "/home/luke/Builds/pytorch/tools/setup_helpers/cmake.py", line 330, in build self.run(build_args, my_env) File "/home/luke/Builds/pytorch/tools/setup_helpers/cmake.py", line 143, in run check_call(command, cwd=self.build_dir, env=env) File "/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '8']' returned non-zero exit status 2. </code></pre></div> <p dir="auto">I'm not sure if this belongs here or the ROCm fork of this repository, but I see the same errors on each.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>Have a supported AMD card and install ROCm.</li> <li>"hipify" the source with <code class="notranslate">python3 tools/amd_build/build_amd.py</code></li> <li>Try to build with <code class="notranslate">USE_ROCM=1 USE_LMDB=1 USE_OPENCV=1 MAX_JOBS=8 python3 setup.py install --user</code></li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">I expect it to build.</p> <h2 dir="auto">Environment</h2> <p dir="auto">PyTorch version: N/A<br> Is debug build: N/A<br> CUDA used to build PyTorch: N/A</p> <p dir="auto">OS: Ubuntu 19.04<br> GCC version: (Ubuntu 8.3.0-6ubuntu1) 8.3.0<br> CMake version: version 3.15.2</p> <p dir="auto">Python version: 3.7<br> Is CUDA available: N/A<br> CUDA runtime version: Could not collect<br> GPU models and configuration: Could not collect<br> Nvidia driver version: Could not collect<br> cuDNN version: Could not collect</p> <p dir="auto">Versions of relevant libraries:<br> [pip3] numpy==1.17.0<br> [conda] Could not collect</p> <ul dir="auto"> <li>PyTorch Version: master</li> <li>OS: Ubuntu 19.04</li> <li>How you installed PyTorch: source</li> <li>Build command you used: <code class="notranslate">USE_ROCM=1 USE_LMDB=1 USE_OPENCV=1 MAX_JOBS=8 python3 setup.py install --user</code></li> <li>Python version: 3.7.3</li> <li>CUDA/cuDNN version: ROCm 2.7.22</li> <li>GPU models and configuration: Radeon VII</li> </ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto"><code class="notranslate">Tensor.expand</code> does not detach when called inside <code class="notranslate">torch.no_grad()</code>.</p> <h2 dir="auto">To Reproduce</h2> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="x = torch.tensor(0., requires_grad=True) with torch.no_grad(): y = x.expand(1) assert not y.requires_grad # fails"><pre class="notranslate"><span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">tensor</span>(<span class="pl-c1">0.</span>, <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-k">with</span> <span class="pl-s1">torch</span>.<span class="pl-en">no_grad</span>(): <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">expand</span>(<span class="pl-c1">1</span>) <span class="pl-k">assert</span> <span class="pl-c1">not</span> <span class="pl-s1">y</span>.<span class="pl-s1">requires_grad</span> <span class="pl-c"># fails</span></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Like all other torch operations, <code class="notranslate">.expand()</code> should respect <code class="notranslate">torch.no_grad()</code>.</p> <h2 dir="auto">Environment</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python ~/pytorch/torch/utils/collect_env.py Collecting environment information... PyTorch version: 1.2.0 Is debug build: No CUDA used to build PyTorch: None OS: Mac OSX 10.14.5 GCC version: Could not collect CMake version: version 3.12.0 Python version: 3.7 Is CUDA available: No CUDA runtime version: No CUDA GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA Versions of relevant libraries: [pip] numpy==1.17.1 [pip] torch==1.2.0 [pip] torchfile==0.1.0 [pip] torchvision==0.4.0 [conda] torch 1.2.0 pypi_0 pypi [conda] torchfile 0.1.0 pypi_0 pypi [conda] torchvision 0.4.0 pypi_0 pypi"><pre class="notranslate"><code class="notranslate">$ python ~/pytorch/torch/utils/collect_env.py Collecting environment information... PyTorch version: 1.2.0 Is debug build: No CUDA used to build PyTorch: None OS: Mac OSX 10.14.5 GCC version: Could not collect CMake version: version 3.12.0 Python version: 3.7 Is CUDA available: No CUDA runtime version: No CUDA GPU models and configuration: No CUDA Nvidia driver version: No CUDA cuDNN version: No CUDA Versions of relevant libraries: [pip] numpy==1.17.1 [pip] torch==1.2.0 [pip] torchfile==0.1.0 [pip] torchvision==0.4.0 [conda] torch 1.2.0 pypi_0 pypi [conda] torchfile 0.1.0 pypi_0 pypi [conda] torchvision 0.4.0 pypi_0 pypi </code></pre></div> <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/ssnl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ssnl">@ssnl</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/albanD/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/albanD">@albanD</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>
0
<h3 dir="auto">Which version of ShardingSphere did you use? shardingsphere-proxy 4.1.1,it also happens at 5.0.0-alpha version.</h3> <p dir="auto">myApp(jdbc) --&gt; shardingsphere-proxy --&gt; PostgreSQL 12.5, compiled by Visual C++ build 1914, 64-bit</p> <p dir="auto"><code class="notranslate">&lt;dependency&gt;</code><br> <code class="notranslate"> &lt;groupId&gt;org.postgresql&lt;/groupId&gt;</code><br> <code class="notranslate"> &lt;artifactId&gt;postgresql&lt;/artifactId&gt;</code><br> <code class="notranslate"> &lt;version&gt;42.2.18&lt;/version&gt;</code><br> <code class="notranslate"> &lt;/dependency&gt;</code></p> <p dir="auto">java code</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1. Connection connection=getConn(); 2. Statement stmt=null; 3. connection.setAutoCommit(false); 4. stmt=connection.createStatement(); 5. stmt.execute(&quot;update adm_tenant set law_name='xxxx' where tenant_code='XX'&quot;); 6. connection.commit();"><pre class="notranslate"><code class="notranslate">1. Connection connection=getConn(); 2. Statement stmt=null; 3. connection.setAutoCommit(false); 4. stmt=connection.createStatement(); 5. stmt.execute("update adm_tenant set law_name='xxxx' where tenant_code='XX'"); 6. connection.commit(); </code></pre></div> <p dir="auto">shardingsphere-proxy<br> server.yaml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="props: max.connections.size.per.query: 1 acceptor.size: 16 # The default value is available processors count * 2. executor.size: 16 # Infinite by default. proxy.frontend.flush.threshold: 128 # The default value is 128. proxy.transaction.type: LOCAL proxy.hint.enabled: true sql.show: true"><pre class="notranslate"><code class="notranslate">props: max.connections.size.per.query: 1 acceptor.size: 16 # The default value is available processors count * 2. executor.size: 16 # Infinite by default. proxy.frontend.flush.threshold: 128 # The default value is 128. proxy.transaction.type: LOCAL proxy.hint.enabled: true sql.show: true </code></pre></div> <p dir="auto">config-sharding.yaml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dataSources: ds_0: url: jdbc:postgresql://127.0.0.1:5432/postgres?serverTimezone=UTC&amp;useSSL=false username: xxx password: xxx connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 shardingRule: tables: t_order: actualDataNodes: ds_0.XXX_${2016..2100} tableStrategy: standard: shardingColumn: d_date preciseAlgorithmClassName: xxx rangeAlgorithmClassName: xxx bindingTables: - XXX defaultDatabaseStrategy: none: defaultTableStrategy: none: "><pre class="notranslate"><code class="notranslate">dataSources: ds_0: url: jdbc:postgresql://127.0.0.1:5432/postgres?serverTimezone=UTC&amp;useSSL=false username: xxx password: xxx connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 shardingRule: tables: t_order: actualDataNodes: ds_0.XXX_${2016..2100} tableStrategy: standard: shardingColumn: d_date preciseAlgorithmClassName: xxx rangeAlgorithmClassName: xxx bindingTables: - XXX defaultDatabaseStrategy: none: defaultTableStrategy: none: </code></pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">update success!</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">myApp throw the PSQLException at No5 : stmt.execute("update adm_tenant set law_name='xxxx' where tenant_code='XX'");</p> <p dir="auto"><code class="notranslate">org.postgresql.util.PSQLException: Expected command status BEGIN, got null 0. at org.postgresql.core.v3.QueryExecutorImpl$1.handleCommandStatus(QueryExecutorImpl.java:582) at org.postgresql.core.v3.QueryExecutorImpl.interpretCommandStatus(QueryExecutorImpl.java:2598) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2233) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:323) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:473) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:393) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:322) at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:308) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:284) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:279)</code><br> <strong>at TestClass.main(TestClass.java:5)</strong></p> <p dir="auto">Shardingsphere-proxy don't print any expcetion log</p>
<p dir="auto">For English only, other languages we will close it directly.</p> <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <p dir="auto">Before submit a new issue, please check existed issue first, to make sure your issue is not a duplicated one.</p> <h3 dir="auto">Which version of Sharding-Sphere do you using?</h3> <h3 dir="auto">Which project do you using? Sharding-JDBC or Sharding-Proxy?</h3> <h3 dir="auto">Expected behavior</h3> <h3 dir="auto">Actual behavior</h3> <h3 dir="auto">Reason analyze</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">For bug report, please <em>MUST</em> provide the reproduce example codes (such as a github link).</h3>
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>Current behavior</strong><br> When accessing modules lazily, RouteConfigLoadEnd gets fired once the factory gets loaded, but before routes are loaded and assigned to <code class="notranslate">route._loadedConfig</code>.</p> <p dir="auto"><strong>Expected behavior</strong><br> RouteConfigLoadEnd should be fired after <code class="notranslate">_loadedConfig</code> is assigned, or return routes as a parameter if it's fired from <code class="notranslate">RouterConfigLoader</code>.</p> <p dir="auto">Change proposal:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="return map.call(moduleFactory$, (factory: NgModuleFactory&lt;any&gt;) =&gt; { const module = factory.create(parentInjector); const routes = flatten(module.injector.get(ROUTES)); if (this.onLoadEndListener) { this.onLoadEndListener(route, routes); } return new LoadedRouterConfig(routes, module); });"><pre class="notranslate"><span class="pl-k">return</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-s1">moduleFactory$</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">factory</span>: <span class="pl-smi">NgModuleFactory</span><span class="pl-kos">&lt;</span><span class="pl-smi">any</span><span class="pl-kos">&gt;</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-smi">module</span> <span class="pl-c1">=</span> <span class="pl-s1">factory</span><span class="pl-kos">.</span><span class="pl-en">create</span><span class="pl-kos">(</span><span class="pl-s1">parentInjector</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">routes</span> <span class="pl-c1">=</span> <span class="pl-en">flatten</span><span class="pl-kos">(</span><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">injector</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-smi">ROUTES</span><span class="pl-kos">)</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-c1">onLoadEndListener</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-en">onLoadEndListener</span><span class="pl-kos">(</span><span class="pl-s1">route</span><span class="pl-kos">,</span> <span class="pl-s1">routes</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-k">new</span> <span class="pl-smi">LoadedRouterConfig</span><span class="pl-kos">(</span><span class="pl-s1">routes</span><span class="pl-kos">,</span> <span class="pl-smi">module</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"><strong>What is the motivation / use case for changing the behavior?</strong><br> Most common use case of <code class="notranslate">RouteConfigLoadEnd</code> is to react once lazy loaded routes are loaded. In <a href="https://github.com/Greentube/localize-router">localize-router</a> we can use this information for routes localization. However if even is fired before routes are de facto available in <code class="notranslate">_loadedConfig</code> and/or it doesn't provide this information it makes the entire event unusable as it's not that different from RouteConfigLoadStart.</p> <p dir="auto">Issue is already mentioned here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="202153216" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/14036" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/14036/hovercard" href="https://github.com/angular/angular/issues/14036">#14036</a></p> <ul dir="auto"> <li><strong>Angular version:</strong> 4.0.X</li> </ul> <ul dir="auto"> <li> <p dir="auto"><strong>Browser:</strong> all</p> </li> <li> <p dir="auto"><strong>Language:</strong> all</p> </li> </ul>
<h1 dir="auto">🚀 feature request</h1> <h3 dir="auto">Relevant Package</h3> <p dir="auto">This feature request is for @angular/router</p> <h3 dir="auto">Description</h3> <p dir="auto">Consider populating the router.config…children array the same for static and lazy loaded routes.</p> <h3 dir="auto">Describe the solution you'd like</h3> <p dir="auto">Some developers including myself like to create navigation elements, say for a header component, directly from the router.confg. Everything is already populated in the router config (including custom data and access via a RouteGuard). When using static routes I would normally do something like the following.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" this.items = this.router.config .find((route: Route) =&gt; { return route.path === this.routePath }) ?.children .filter((route: Route) =&gt; { return route.data != null }) .map((route: Route, index) =&gt; { return { path: &quot;/&quot; + this.routePath + &quot;/&quot; + route.path, icon: route.data.icon, label: route.data.label } });"><pre class="notranslate"><code class="notranslate"> this.items = this.router.config .find((route: Route) =&gt; { return route.path === this.routePath }) ?.children .filter((route: Route) =&gt; { return route.data != null }) .map((route: Route, index) =&gt; { return { path: "/" + this.routePath + "/" + route.path, icon: route.data.icon, label: route.data.label } }); </code></pre></div> <p dir="auto">The code above simply creates an object array called items for the children of a specific route. I am not showing all the detail but just focusing on the children array because these are static routes. The object returned can be anything the developer needs.</p> <p dir="auto">Now when using lazy loaded routes the children array is not available because the routing data is stored in lazy loaded modules that have not been loaded yet. Several people have tried to use the private _loadedConfig property on a route but it gets ugly and you end up with something like this.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" this.buttons = (this.router.config .find((route: Route) =&gt; { return route.path === this.routePath }) as any) ?._loadedConfig ?.routes[0] ?.children .filter((route: Route) =&gt; { return route.data != null }) .map((route: Route, index: number) =&gt; { return { path: &quot;/&quot; + this.routePath + &quot;/&quot; + route.path, icon: route.data.icon, label: route.data.label, } })"><pre class="notranslate"><code class="notranslate"> this.buttons = (this.router.config .find((route: Route) =&gt; { return route.path === this.routePath }) as any) ?._loadedConfig ?.routes[0] ?.children .filter((route: Route) =&gt; { return route.data != null }) .map((route: Route, index: number) =&gt; { return { path: "/" + this.routePath + "/" + route.path, icon: route.data.icon, label: route.data.label, } }) </code></pre></div> <p dir="auto">While this works its not ideal. The obvious issue is that the private _loadedConfig is subject to change without warning in the future because its not part of the public API and this object is not available until some point in the lifecycle that I have not been able to determine yet.</p> <p dir="auto">Now the data that is eventually available in the _loadedConfig is exactly what developers are interested in (path, data, etc.) and it seems to be available even before the lazy modules are loaded. Given this would it be possible to present this information using the normal children array regardless if it’s a static route or a lazy loaded route? In most scenarios developers only care to have access to the route children and its less important that it’s from a static route vs. a lazy loaded route. A Boolean or enumeration could be added that would let the developer know the route static vs lazy if that is important.</p> <p dir="auto">This would mean any code designed to work with the router, config, and children would work with static or lazy loaded routes. The project could start with standard static routes and then later be reconfigured to use lazy routes and any code already in place that leverages the router config would continue to work.</p> <p dir="auto">One additional thought would be at webpack/compile time Angular would have access to all the routes regardless if they are static or lazy. Maybe some metadata can be derived from this and used to populate the routes children information at runtime.</p> <p dir="auto">I know it’s a long shot, but I wanted to suggest the general idea.</p> <p dir="auto">Thanks,<br> Eric</p>
1
<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>Current behavior</strong></p> <p dir="auto"><code class="notranslate">AbstractControl.get</code> allows a flexible <code class="notranslate">path</code> parameter, for specifying the required descendent <code class="notranslate">AbstractControl</code> to return.</p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto"><code class="notranslate">AbstractControl.getChild&lt;T&gt;(key: keyof T)</code> would allow additional type safety, in the case where the required <code class="notranslate">AbstractControl</code> is a direct child of the instance <code class="notranslate">AbstractControl</code>-derived parent.</p> <p dir="auto"><em>Here, <code class="notranslate">T</code> refers to the type of the data model, i.e. the type of <code class="notranslate">AbstractControl.value</code>.</em></p> <p dir="auto"><em>In fact, this method is probably only suitable for <code class="notranslate">FormGroup</code>.</em></p> <p dir="auto">Further, the following signature:<br> <code class="notranslate">AbstractControl.getChild&lt;T, C extends AbstractControl&gt;(key: keyof T): C | null</code><br> would allow the caller to indicate the expected sub-type of <code class="notranslate">AbstractControl</code> to be returned.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto">Reduce the risk of typos in the string value passed to the proposed <code class="notranslate">getChild</code> method.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <ul dir="auto"> <li><strong>Angular version:</strong> 4.1.3</li> </ul> <ul dir="auto"> <li><strong>Browser:</strong> [ all ]</li> </ul> <ul dir="auto"> <li> <p dir="auto"><strong>Language:</strong> [ TypeScript 2.X ]</p> </li> <li> <p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p> </li> </ul>
<p dir="auto">As far as I can tell there is no good way to make a decorator conditionally applied. My experience is with Angular 2 in Dart, for an internal app (zny@). This is a feature request for some template syntax or something similar (maybe an automatically generated input for all directives like applyDirectiveName?) to allow for a decorator to be conditionally applied to an element.</p> <p dir="auto">There are several possible workarounds in lieu of this feature, all of which are significantly bad:</p> <ul dir="auto"> <li>Duplicate the code in the template, and have one version with the decorator, one without. This is bad because it requires duplication, and if there's content inside the decorated element it could be a lot of duplication.</li> </ul> <p dir="auto"><code class="notranslate">&lt;div *ngIf="condition" decorator&gt;lots-of-content-goes-here&lt;/div&gt;</code><br> <code class="notranslate">&lt;div *ngIf="!condition"&gt;lots-of-content-goes-here&lt;/div&gt;</code></p> <ul dir="auto"> <li>Add an input to the decorator that turns it on or off. This is bad because it requires an extraneous input just to say "don't do anything at all" and can be confused with similar inputs (e.g. a button decorator that has a disabled input). Also bad because you may be using a decorator from a library or some such where you cannot easily add this yourself.</li> </ul> <p dir="auto"><code class="notranslate">&lt;div decorator decorator-input="condition"&gt;content&lt;/div&gt;</code></p> <ul dir="auto"> <li>Create a base class for the decorator and have it share most stuff, where one impl takes a conditional input and the other doesn't, this is impossible to do well because you cannot share the properties passed to the decorator: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="127573159" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/6575" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/6575/hovercard" href="https://github.com/angular/angular/issues/6575">#6575</a></li> <li>Create a component that wraps the content twice, once with decorator and once without, and then ngIf between the two based on the conditional. This is impossible because you cannot project the same content twice into an ng-content (see e.g. this comment for some discussion, I didn't open an issue because this appears to be by design: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="110664199" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/4631" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/4631/hovercard?comment_id=147007261&amp;comment_type=issue_comment" href="https://github.com/angular/angular/issues/4631#issuecomment-147007261">#4631 (comment)</a> )</li> </ul> <p dir="auto">`@Component(selector: 'conditional-decorator-wrapper',<br> directives: const [ExampleDecorator],<br> template: '&lt;div *ngIf="condition" exampleDecorator&gt;</p> <div dir="auto"></div>')` `class ConditionalDecoratorWrapperComponent {}`
0
<h1 dir="auto">Bug report</h1> <p dir="auto">(This is a continuation of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="326079746" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/7381" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/7381/hovercard" href="https://github.com/webpack/webpack/issues/7381">#7381</a>, which solved part but not all of the issue. I <em>think</em> this is a bug. It's possible it's a feature I don't yet understand. Apologies in advance for the verbose bug report...)</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">When using the split chunks plugin, the resulting compilation chunks sometimes have duplicate ids. For example, I added this debugging hook to my webpack config:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" compiler.hooks.afterEmit.tap(&quot;log-dupe-chunks&quot;, function(compilation) { let chunks = compilation.chunks; let chunkIds = chunks.map(c =&gt; c.id); let dupeChunks = chunks .filter(c =&gt; chunkIds.filter(i =&gt; i === c.id).length &gt; 1) .map(c =&gt; pick(c, [&quot;id&quot;, &quot;ids&quot;, &quot;debugId&quot;, &quot;name&quot;, &quot;entryModule&quot;, &quot;files&quot;, &quot;rendered&quot;, &quot;hash&quot;, &quot;contentHash&quot;, &quot;renderedHash&quot;, &quot;chunkReason&quot;, &quot;extraAsync&quot;]) ); if (dupeChunks.length) { console.log(dupeChunks); } }); "><pre class="notranslate"> <span class="pl-s1">compiler</span><span class="pl-kos">.</span><span class="pl-c1">hooks</span><span class="pl-kos">.</span><span class="pl-c1">afterEmit</span><span class="pl-kos">.</span><span class="pl-en">tap</span><span class="pl-kos">(</span><span class="pl-s">"log-dupe-chunks"</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">compilation</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">chunks</span> <span class="pl-c1">=</span> <span class="pl-s1">compilation</span><span class="pl-kos">.</span><span class="pl-c1">chunks</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">chunkIds</span> <span class="pl-c1">=</span> <span class="pl-s1">chunks</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">c</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">c</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-k">let</span> <span class="pl-s1">dupeChunks</span> <span class="pl-c1">=</span> <span class="pl-s1">chunks</span> <span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">c</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">chunkIds</span><span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">i</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">i</span> <span class="pl-c1">===</span> <span class="pl-s1">c</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-c1">length</span> <span class="pl-c1">&gt;</span> <span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">c</span> <span class="pl-c1">=&gt;</span> <span class="pl-en">pick</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"id"</span><span class="pl-kos">,</span> <span class="pl-s">"ids"</span><span class="pl-kos">,</span> <span class="pl-s">"debugId"</span><span class="pl-kos">,</span> <span class="pl-s">"name"</span><span class="pl-kos">,</span> <span class="pl-s">"entryModule"</span><span class="pl-kos">,</span> <span class="pl-s">"files"</span><span class="pl-kos">,</span> <span class="pl-s">"rendered"</span><span class="pl-kos">,</span> <span class="pl-s">"hash"</span><span class="pl-kos">,</span> <span class="pl-s">"contentHash"</span><span class="pl-kos">,</span> <span class="pl-s">"renderedHash"</span><span class="pl-kos">,</span> <span class="pl-s">"chunkReason"</span><span class="pl-kos">,</span> <span class="pl-s">"extraAsync"</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">if</span> <span class="pl-kos">(</span><span class="pl-s1">dupeChunks</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">)</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-s1">dupeChunks</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></pre></div> <p dir="auto">Resulting in this output:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[ { id: 11, ids: [ 11 ], debugId: 1021, name: 'highcharts', entryModule: undefined, files: [ 'split.672955a005ca955ca723.js', 'split.672955a005ca955ca723.js.map' ], rendered: true, hash: '672955a005ca955ca7232db2b80f1b7f', contentHash: { javascript: '0a19d1f296fc806aaf2e' }, renderedHash: '672955a005ca955ca723', chunkReason: undefined, extraAsync: false }, { id: 11, ids: [ 11 ], debugId: 1015, name: 'channel_dashboard', entryModule: undefined, files: [ 'split.ad76a221da40a498edfb.js', 'split.ad76a221da40a498edfb.js.map' ], rendered: true, hash: 'ad76a221da40a498edfb84f74889fc48', contentHash: { javascript: 'eb2bbec49673375a4d25' }, renderedHash: 'ad76a221da40a498edfb', chunkReason: undefined, extraAsync: false } ]"><pre class="notranslate"><span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">id</span>: <span class="pl-c1">11</span><span class="pl-kos">,</span> <span class="pl-c1">ids</span>: <span class="pl-kos">[</span> <span class="pl-c1">11</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">debugId</span>: <span class="pl-c1">1021</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">'highcharts'</span><span class="pl-kos">,</span> <span class="pl-c1">entryModule</span>: <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c1">files</span>: <span class="pl-kos">[</span> <span class="pl-s">'split.672955a005ca955ca723.js'</span><span class="pl-kos">,</span> <span class="pl-s">'split.672955a005ca955ca723.js.map'</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">rendered</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">hash</span>: <span class="pl-s">'672955a005ca955ca7232db2b80f1b7f'</span><span class="pl-kos">,</span> <span class="pl-c1">contentHash</span>: <span class="pl-kos">{</span> <span class="pl-c1">javascript</span>: <span class="pl-s">'0a19d1f296fc806aaf2e'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">renderedHash</span>: <span class="pl-s">'672955a005ca955ca723'</span><span class="pl-kos">,</span> <span class="pl-c1">chunkReason</span>: <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c1">extraAsync</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-c1">id</span>: <span class="pl-c1">11</span><span class="pl-kos">,</span> <span class="pl-c1">ids</span>: <span class="pl-kos">[</span> <span class="pl-c1">11</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">debugId</span>: <span class="pl-c1">1015</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">'channel_dashboard'</span><span class="pl-kos">,</span> <span class="pl-c1">entryModule</span>: <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c1">files</span>: <span class="pl-kos">[</span> <span class="pl-s">'split.ad76a221da40a498edfb.js'</span><span class="pl-kos">,</span> <span class="pl-s">'split.ad76a221da40a498edfb.js.map'</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">rendered</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">hash</span>: <span class="pl-s">'ad76a221da40a498edfb84f74889fc48'</span><span class="pl-kos">,</span> <span class="pl-c1">contentHash</span>: <span class="pl-kos">{</span> <span class="pl-c1">javascript</span>: <span class="pl-s">'eb2bbec49673375a4d25'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">renderedHash</span>: <span class="pl-s">'ad76a221da40a498edfb'</span><span class="pl-kos">,</span> <span class="pl-c1">chunkReason</span>: <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c1">extraAsync</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span></pre></div> <hr> <p dir="auto">I've only seen this happen when using recordsPath. If I delete my webpack records &amp; re-build, all the chunk ids are unique.</p> <p dir="auto">The most recent time I've seen this, my webpack records started like this:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &quot;chunks&quot;: { &quot;byName&quot;: { &quot;vendors~polyfills&quot;: 1, &quot;polyfills&quot;: 2, &quot;vendors~backend~highcharts&quot;: 5, &quot;vendors~markdownediting~uploader&quot;: 19, &quot;vendors~t_store&quot;: 20, &quot;vendors~uploader&quot;: 21, &quot;v4player&quot;: 10, &quot;highcharts&quot;: 11, &quot;channel_dashboard&quot;: 16, &quot;motherchannel&quot;: 17, &quot;embedediting&quot;: 18, &quot;markdownediting&quot;: 19, &quot;t_store&quot;: 20, &quot;uploader&quot;: 21, &quot;backend&quot;: 22, &quot;qrcodes&quot;: 23, &quot;recommended-follows&quot;: 24, &quot;auth-modal&quot;: 25, &quot;preload&quot;: 26, &quot;vendors~application~embed_player~embed_player_square_ad&quot;: 27, &quot;vendors~application~embed_player_square_ad&quot;: 28, &quot;embed_player_square_ad&quot;: 29, &quot;embed_player&quot;: 30, &quot;application&quot;: 31, &quot;vendors~embed_player_square_ad~v4player&quot;: 10, &quot;channel_dashboard~highcharts&quot;: 11 },"><pre class="notranslate"> <span class="pl-ent">"chunks"</span>: { <span class="pl-ent">"byName"</span>: { <span class="pl-ent">"vendors~polyfills"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"polyfills"</span>: <span class="pl-c1">2</span>, <span class="pl-ent">"vendors~backend~highcharts"</span>: <span class="pl-c1">5</span>, <span class="pl-ent">"vendors~markdownediting~uploader"</span>: <span class="pl-c1">19</span>, <span class="pl-ent">"vendors~t_store"</span>: <span class="pl-c1">20</span>, <span class="pl-ent">"vendors~uploader"</span>: <span class="pl-c1">21</span>, <span class="pl-ent">"v4player"</span>: <span class="pl-c1">10</span>, <span class="pl-ent">"highcharts"</span>: <span class="pl-c1">11</span>, <span class="pl-ent">"channel_dashboard"</span>: <span class="pl-c1">16</span>, <span class="pl-ent">"motherchannel"</span>: <span class="pl-c1">17</span>, <span class="pl-ent">"embedediting"</span>: <span class="pl-c1">18</span>, <span class="pl-ent">"markdownediting"</span>: <span class="pl-c1">19</span>, <span class="pl-ent">"t_store"</span>: <span class="pl-c1">20</span>, <span class="pl-ent">"uploader"</span>: <span class="pl-c1">21</span>, <span class="pl-ent">"backend"</span>: <span class="pl-c1">22</span>, <span class="pl-ent">"qrcodes"</span>: <span class="pl-c1">23</span>, <span class="pl-ent">"recommended-follows"</span>: <span class="pl-c1">24</span>, <span class="pl-ent">"auth-modal"</span>: <span class="pl-c1">25</span>, <span class="pl-ent">"preload"</span>: <span class="pl-c1">26</span>, <span class="pl-ent">"vendors~application~embed_player~embed_player_square_ad"</span>: <span class="pl-c1">27</span>, <span class="pl-ent">"vendors~application~embed_player_square_ad"</span>: <span class="pl-c1">28</span>, <span class="pl-ent">"embed_player_square_ad"</span>: <span class="pl-c1">29</span>, <span class="pl-ent">"embed_player"</span>: <span class="pl-c1">30</span>, <span class="pl-ent">"application"</span>: <span class="pl-c1">31</span>, <span class="pl-ent">"vendors~embed_player_square_ad~v4player"</span>: <span class="pl-c1">10</span>, <span class="pl-ent">"channel_dashboard~highcharts"</span>: <span class="pl-c1">11</span> },</pre></div> <p dir="auto">and ended like this:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &quot;byName&quot;: { &quot;vendors~polyfills&quot;: 1, &quot;polyfills&quot;: 2, &quot;vendors~backend~highcharts&quot;: 5, &quot;vendors~markdownediting~uploader&quot;: 8, &quot;vendors~teepublic_store&quot;: 9, &quot;vendors~uploader&quot;: 13, &quot;v4player&quot;: 10, &quot;highcharts&quot;: 11, &quot;channel_dashboard&quot;: 11, &quot;motherchannel&quot;: 15, &quot;embedediting&quot;: 18, &quot;markdownediting&quot;: 19, &quot;teepublic_store&quot;: 20, &quot;uploader&quot;: 21, &quot;backend&quot;: 14, &quot;qrcodes&quot;: 23, &quot;recommended-follows&quot;: 24, &quot;auth-modal&quot;: 25, &quot;preload&quot;: 26, &quot;vendors~application~embed_player~embed_player_square_ad&quot;: 27, &quot;vendors~application~embed_player_square_ad&quot;: 28, &quot;embed_player_square_ad&quot;: 29, &quot;embed_player&quot;: 30, &quot;application&quot;: 31, &quot;vendors~embed_player_square_ad~v4player&quot;: 10, &quot;channel_dashboard~highcharts&quot;: 11 },"><pre class="notranslate"> <span class="pl-ent">"byName"</span>: { <span class="pl-ent">"vendors~polyfills"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"polyfills"</span>: <span class="pl-c1">2</span>, <span class="pl-ent">"vendors~backend~highcharts"</span>: <span class="pl-c1">5</span>, <span class="pl-ent">"vendors~markdownediting~uploader"</span>: <span class="pl-c1">8</span>, <span class="pl-ent">"vendors~teepublic_store"</span>: <span class="pl-c1">9</span>, <span class="pl-ent">"vendors~uploader"</span>: <span class="pl-c1">13</span>, <span class="pl-ent">"v4player"</span>: <span class="pl-c1">10</span>, <span class="pl-ent">"highcharts"</span>: <span class="pl-c1">11</span>, <span class="pl-ent">"channel_dashboard"</span>: <span class="pl-c1">11</span>, <span class="pl-ent">"motherchannel"</span>: <span class="pl-c1">15</span>, <span class="pl-ent">"embedediting"</span>: <span class="pl-c1">18</span>, <span class="pl-ent">"markdownediting"</span>: <span class="pl-c1">19</span>, <span class="pl-ent">"teepublic_store"</span>: <span class="pl-c1">20</span>, <span class="pl-ent">"uploader"</span>: <span class="pl-c1">21</span>, <span class="pl-ent">"backend"</span>: <span class="pl-c1">14</span>, <span class="pl-ent">"qrcodes"</span>: <span class="pl-c1">23</span>, <span class="pl-ent">"recommended-follows"</span>: <span class="pl-c1">24</span>, <span class="pl-ent">"auth-modal"</span>: <span class="pl-c1">25</span>, <span class="pl-ent">"preload"</span>: <span class="pl-c1">26</span>, <span class="pl-ent">"vendors~application~embed_player~embed_player_square_ad"</span>: <span class="pl-c1">27</span>, <span class="pl-ent">"vendors~application~embed_player_square_ad"</span>: <span class="pl-c1">28</span>, <span class="pl-ent">"embed_player_square_ad"</span>: <span class="pl-c1">29</span>, <span class="pl-ent">"embed_player"</span>: <span class="pl-c1">30</span>, <span class="pl-ent">"application"</span>: <span class="pl-c1">31</span>, <span class="pl-ent">"vendors~embed_player_square_ad~v4player"</span>: <span class="pl-c1">10</span>, <span class="pl-ent">"channel_dashboard~highcharts"</span>: <span class="pl-c1">11</span> },</pre></div> <p dir="auto">Note the multiple chunks with an id of 11.</p> <hr> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto">Sorry, I'm really struggling to narrow this down. It seems to come and go at the whim of whatever heuristics drive SplitChunksPlugin. If someone can confirm this is a bug and it's not immediately obvious why it happens, I'll try harder.</p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">Presumably all compilation chunks should have unique ids?</p> <p dir="auto"><strong>Other relevant information:</strong><br> webpack version: 4.11.0<br> Node.js version: 8.11.1<br> Operating System: Docker with node:8.11-alpine</p> <p dir="auto">I'm using <a href="https://github.com/GProst/webpack-clean-obsolete-chunks">https://github.com/GProst/webpack-clean-obsolete-chunks</a>, which expects chunks to have unique ids, and ends up accidentally deleting files when they don't. If it turns out that chunks are allowed to have duplicate ids, I'll submit a fix to that.</p>
<p dir="auto">webpack 2.1.0-beta.21</p> <p dir="auto">Sorry if it is a duplicate bug report but at least I failed to find one in so many opened issues.</p> <p dir="auto">ExtractTextPlugin is not enabled, CommonsChunkPlugin is not enabled, happypack is not enabled.. it just broke, sometimes.</p> <p dir="auto">Config: <a href="https://github.com/vijos/vj4/blob/6c06305e9481c0f13c8c3faa3198c58b2f686505/webpack.config.babel.js">https://github.com/vijos/vj4/blob/6c06305e9481c0f13c8c3faa3198c58b2f686505/webpack.config.babel.js</a><br> Command line: <code class="notranslate">webpack --progress --color --display-error-details --env.watch -d --watch</code>.</p> <p dir="auto">Although extractTextPlugin, commonsChunkPlugin and happypack is mentioned in the configuration, they are not enabled because we passed <code class="notranslate">env.watch</code>.</p> <p dir="auto">We only generate one entry <code class="notranslate">vj4.js</code> in watch mode. And after changing some file (for example, <code class="notranslate">vj4/ui/misc/sad_twd2.svg</code>), <code class="notranslate">vj4.js</code> becomes:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="webpackJsonp([15],[ /* 0 */, /* 1 */ /***/ function(module, exports, __webpack_require__) { &quot;use strict&quot;; 'use strict';"><pre class="notranslate"><span class="pl-s1">webpackJsonp</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">15</span><span class="pl-kos">]</span><span class="pl-kos">,</span><span class="pl-kos">[</span> <span class="pl-c">/* 0 */</span><span class="pl-kos">,</span> <span class="pl-c">/* 1 */</span> <span class="pl-c">/***/</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">exports</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-s">'use strict'</span><span class="pl-kos">;</span></pre></div> <p dir="auto">It fails because <code class="notranslate">webpackJsonp</code> is undefined.</p> <h3 dir="auto">Reproduce</h3> <ol dir="auto"> <li>watch</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone https://github.com/vijos/vj4.git cd vj4 git checkout 6c06305e9481c0f13c8c3faa3198c58b2f686505 node scripts/fix_abroad_shrinkwrap.js # we use a China mirror which is slow for you so that you need this line npm install npm run watch"><pre class="notranslate">git clone https://github.com/vijos/vj4.git <span class="pl-c1">cd</span> vj4 git checkout 6c06305e9481c0f13c8c3faa3198c58b2f686505 node scripts/fix_abroad_shrinkwrap.js <span class="pl-c"><span class="pl-c">#</span> we use a China mirror which is slow for you so that you need this line</span> npm install npm run watch</pre></div> <ol start="2" dir="auto"> <li>verify correctness</li> </ol> <p dir="auto">check <code class="notranslate">vj4/.uibuild/vj4.js</code> to see a correct build:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="head -n 5 vj4/.uibuild/vj4.js"><pre class="notranslate">head -n 5 vj4/.uibuild/vj4.js</pre></div> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/******/ (function(modules) { // webpackBootstrap /******/ // install a JSONP callback for chunk loading /******/ var parentJsonpFunction = window[&quot;webpackJsonp&quot;]; /******/ window[&quot;webpackJsonp&quot;] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { /******/ // add &quot;moreModules&quot; to the modules object,"><pre class="notranslate"><span class="pl-c">/******/</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">modules</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// webpackBootstrap</span> <span class="pl-c">/******/</span> <span class="pl-c">// install a JSONP callback for chunk loading</span> <span class="pl-c">/******/</span> <span class="pl-k">var</span> <span class="pl-s1">parentJsonpFunction</span> <span class="pl-c1">=</span> <span class="pl-smi">window</span><span class="pl-kos">[</span><span class="pl-s">"webpackJsonp"</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-c">/******/</span> <span class="pl-smi">window</span><span class="pl-kos">[</span><span class="pl-s">"webpackJsonp"</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-s1">webpackJsonpCallback</span><span class="pl-kos">(</span><span class="pl-s1">chunkIds</span><span class="pl-kos">,</span> <span class="pl-s1">moreModules</span><span class="pl-kos">,</span> <span class="pl-s1">executeModules</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">/******/</span> <span class="pl-c">// add "moreModules" to the modules object,</span></pre></div> <ol start="3" dir="auto"> <li>change some file</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="echo &quot;&lt;!-- foo --&gt;&quot; &gt;&gt; vj4/ui/misc/sad_twd2.svg"><pre class="notranslate"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">"</span>&lt;!-- foo --&gt;<span class="pl-pds">"</span></span> <span class="pl-k">&gt;&gt;</span> vj4/ui/misc/sad_twd2.svg</pre></div> <ol start="4" dir="auto"> <li>let's change again!</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="echo &quot;&lt;!-- foo --&gt;&quot; &gt;&gt; vj4/ui/misc/sad_twd2.svg"><pre class="notranslate"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">"</span>&lt;!-- foo --&gt;<span class="pl-pds">"</span></span> <span class="pl-k">&gt;&gt;</span> vj4/ui/misc/sad_twd2.svg</pre></div> <ol start="5" dir="auto"> <li>bang!</li> </ol> <p dir="auto">check <code class="notranslate">vj4/.uibuild/vj4.js</code> to see a corrupted build:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="head -n 5 vj4/.uibuild/vj4.js"><pre class="notranslate">head -n 5 vj4/.uibuild/vj4.js</pre></div> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="webpackJsonp([15],[ /* 0 */, /* 1 */ /***/ function(module, exports, __webpack_require__) { "><pre class="notranslate"><span class="pl-s1">webpackJsonp</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">15</span><span class="pl-kos">]</span><span class="pl-kos">,</span><span class="pl-kos">[</span> <span class="pl-c">/* 0 */</span><span class="pl-kos">,</span> <span class="pl-c">/* 1 */</span> <span class="pl-c">/***/</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">exports</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">)</span> <span class="pl-kos">{</span></pre></div>
0
<h3 dir="auto">Version</h3> <p dir="auto">2.6.11</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/sqh8jL65/4/" rel="nofollow">https://jsfiddle.net/sqh8jL65/4/</a></p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Add the bindings <code class="notranslate">:selected="'selected'"</code> and <code class="notranslate">:random="'random'"</code> to an <code class="notranslate">option</code> element.</li> </ol> <h3 dir="auto">What is expected?</h3> <p dir="auto">The <code class="notranslate">option</code> element is rendered in the DOM with both the <code class="notranslate">selected="selected"</code> and <code class="notranslate">random="random"</code> attributes present.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">The <code class="notranslate">option</code> element is rendered in the DOM with only the <code class="notranslate">random="random"</code> attribute present.</p> <hr> <p dir="auto">When writing a template with a <code class="notranslate">select</code> element which is using <code class="notranslate">@change</code> and <code class="notranslate">:selected</code> bindings on its <code class="notranslate">option</code> elements, I expect the resulting DOM to contain the <code class="notranslate">selected</code> attribute. I need this because that’s how native HTML behaves and because it would allow me to select the selected option using vue-test-utils and <code class="notranslate">wrapper.find('option[selected]')</code> which is currently impossible (<strong>Update</strong>: one can use <code class="notranslate">wrapper.find('option:checked')</code> as a workaround).</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.5.13</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/50wL7mdz/165238/" rel="nofollow">https://jsfiddle.net/50wL7mdz/165238/</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Create a component property that has <code class="notranslate">[Boolean, String]</code> types. The HTML5-like attribute doesn't behave like a normal Boolean value anymore, instead it gets discarded as empty string.</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">I would expect both the HTML5 attribute and the v-bind attribute to have the same output.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">When adding String as a prop type as well, the HTML5 attribute version is not working.</p>
0
<p dir="auto"><a href="http://stackoverflow.com/questions/18646668/pandas-hdfstore-duplicate-items-error/18668217#18668217" rel="nofollow">http://stackoverflow.com/questions/18646668/pandas-hdfstore-duplicate-items-error/18668217#18668217</a></p>
<p dir="auto">from <a href="http://stackoverflow.com/questions/11991627/selecting-a-subset-of-a-pandas-dataframe-indexed-by-datetimeindex-with-a-list-of" rel="nofollow">stackoverflow</a></p> <p dir="auto">The original frame can not be shared, but following code reproduces the issue.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas import numpy as np import datetime # create large list of non periodic datetime dates = [] sec = datetime.timedelta(seconds=1) half_sec = sec / 2 d = datetime.datetime(2011, 12, 5, 20, 30) n = 100000 for i in range(n): dates.append(d) dates.append(d + sec) dates.append(d + sec + half_sec) dates.append(d + sec + sec + half_sec) d += 3 * sec # duplicate some values in the list duplicate_positions = np.random.randint(0, len(dates) - 1, 20) for p in duplicate_positions: dates[p + 1] = dates[p] print &quot;duplicated values at %s&quot; % str(duplicate_positions) df = pandas.DataFrame(np.random.randn(len(dates), 4), index=dates, columns=list('ABCD')) pos = n * 3 timestamp = df.index[pos] print &quot;timestamp = df.index[%d] = %s&quot; % (pos, str(timestamp)) print &quot;timestamp in index? %s&quot; % str(timestamp in df.index) print &quot;df.ix[timestamp] = \n%s&quot; % str(df.ix[timestamp]) print &quot;df.ix[[timestamp]] = \n%s&quot; % str(df.ix[[timestamp]])"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <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">datetime</span> <span class="pl-c"># create large list of non periodic datetime</span> <span class="pl-s1">dates</span> <span class="pl-c1">=</span> [] <span class="pl-s1">sec</span> <span class="pl-c1">=</span> <span class="pl-s1">datetime</span>.<span class="pl-en">timedelta</span>(<span class="pl-s1">seconds</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-s1">half_sec</span> <span class="pl-c1">=</span> <span class="pl-s1">sec</span> <span class="pl-c1">/</span> <span class="pl-c1">2</span> <span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-s1">datetime</span>.<span class="pl-en">datetime</span>(<span class="pl-c1">2011</span>, <span class="pl-c1">12</span>, <span class="pl-c1">5</span>, <span class="pl-c1">20</span>, <span class="pl-c1">30</span>) <span class="pl-s1">n</span> <span class="pl-c1">=</span> <span class="pl-c1">100000</span> <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">n</span>): <span class="pl-s1">dates</span>.<span class="pl-en">append</span>(<span class="pl-s1">d</span>) <span class="pl-s1">dates</span>.<span class="pl-en">append</span>(<span class="pl-s1">d</span> <span class="pl-c1">+</span> <span class="pl-s1">sec</span>) <span class="pl-s1">dates</span>.<span class="pl-en">append</span>(<span class="pl-s1">d</span> <span class="pl-c1">+</span> <span class="pl-s1">sec</span> <span class="pl-c1">+</span> <span class="pl-s1">half_sec</span>) <span class="pl-s1">dates</span>.<span class="pl-en">append</span>(<span class="pl-s1">d</span> <span class="pl-c1">+</span> <span class="pl-s1">sec</span> <span class="pl-c1">+</span> <span class="pl-s1">sec</span> <span class="pl-c1">+</span> <span class="pl-s1">half_sec</span>) <span class="pl-s1">d</span> <span class="pl-c1">+=</span> <span class="pl-c1">3</span> <span class="pl-c1">*</span> <span class="pl-s1">sec</span> <span class="pl-c"># duplicate some values in the list</span> <span class="pl-s1">duplicate_positions</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">0</span>, <span class="pl-en">len</span>(<span class="pl-s1">dates</span>) <span class="pl-c1">-</span> <span class="pl-c1">1</span>, <span class="pl-c1">20</span>) <span class="pl-k">for</span> <span class="pl-s1">p</span> <span class="pl-c1">in</span> <span class="pl-s1">duplicate_positions</span>: <span class="pl-s1">dates</span>[<span class="pl-s1">p</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>] <span class="pl-c1">=</span> <span class="pl-s1">dates</span>[<span class="pl-s1">p</span>] <span class="pl-k">print</span> <span class="pl-s">"duplicated values at %s"</span> <span class="pl-c1">%</span> <span class="pl-en">str</span>(<span class="pl-s1">duplicate_positions</span>) <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-en">len</span>(<span class="pl-s1">dates</span>), <span class="pl-c1">4</span>), <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">dates</span>, <span class="pl-s1">columns</span><span class="pl-c1">=</span><span class="pl-en">list</span>(<span class="pl-s">'ABCD'</span>)) <span class="pl-s1">pos</span> <span class="pl-c1">=</span> <span class="pl-s1">n</span> <span class="pl-c1">*</span> <span class="pl-c1">3</span> <span class="pl-s1">timestamp</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-s1">index</span>[<span class="pl-s1">pos</span>] <span class="pl-k">print</span> <span class="pl-s">"timestamp = df.index[%d] = %s"</span> <span class="pl-c1">%</span> (<span class="pl-s1">pos</span>, <span class="pl-en">str</span>(<span class="pl-s1">timestamp</span>)) <span class="pl-k">print</span> <span class="pl-s">"timestamp in index? %s"</span> <span class="pl-c1">%</span> <span class="pl-en">str</span>(<span class="pl-s1">timestamp</span> <span class="pl-c1">in</span> <span class="pl-s1">df</span>.<span class="pl-s1">index</span>) <span class="pl-k">print</span> <span class="pl-s">"df.ix[timestamp] = <span class="pl-cce">\n</span>%s"</span> <span class="pl-c1">%</span> <span class="pl-en">str</span>(<span class="pl-s1">df</span>.<span class="pl-s1">ix</span>[<span class="pl-s1">timestamp</span>]) <span class="pl-k">print</span> <span class="pl-s">"df.ix[[timestamp]] = <span class="pl-cce">\n</span>%s"</span> <span class="pl-c1">%</span> <span class="pl-en">str</span>(<span class="pl-s1">df</span>.<span class="pl-s1">ix</span>[[<span class="pl-s1">timestamp</span>]])</pre></div> <p dir="auto">running this script outputs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="duplicated values at [143779 365504 338898 192427 63827 333772 366805 378282 375136 77760 59843 215934 173395 185449 310734 184004 48594 221298 348967 86615] timestamp = df.index[300000] = 2011-12-08 11:00:00 timestamp in index? True df.ix[timestamp] = A 0.959639 B 0.651874 C 1.059355 D -1.296393 Name: 2011-12-08 11:00:00 df.ix[[timestamp]] = Empty DataFrame Columns: array([A, B, C, D], dtype=object) Index: &lt;class 'pandas.tseries.index.DatetimeIndex'&gt; Length: 0, Freq: None, Timezone: None"><pre class="notranslate"><code class="notranslate">duplicated values at [143779 365504 338898 192427 63827 333772 366805 378282 375136 77760 59843 215934 173395 185449 310734 184004 48594 221298 348967 86615] timestamp = df.index[300000] = 2011-12-08 11:00:00 timestamp in index? True df.ix[timestamp] = A 0.959639 B 0.651874 C 1.059355 D -1.296393 Name: 2011-12-08 11:00:00 df.ix[[timestamp]] = Empty DataFrame Columns: array([A, B, C, D], dtype=object) Index: &lt;class 'pandas.tseries.index.DatetimeIndex'&gt; Length: 0, Freq: None, Timezone: None </code></pre></div> <p dir="auto">for n = 1000000 it gets worse</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="duplicated values at [ 686452 3862593 3747433 63099 2422495 2191536 486238 1632442 2373460 3266942 3127937 2538658 1405505 739509 1519644 2817907 1005119 755410 1784244 86211] timestamp = df.index[3000000] = 2011-12-31 21:30:00 timestamp in index? False --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ... TypeError: Cannot compare Timestamp with 1326116999500000000"><pre class="notranslate"><span class="pl-s1">duplicated</span> <span class="pl-s1">values</span> <span class="pl-s1">at</span> [ <span class="pl-c1">686452</span> <span class="pl-c1">3862593</span> <span class="pl-c1">3747433</span> <span class="pl-c1">63099</span> <span class="pl-c1">2422495</span> <span class="pl-c1">2191536</span> <span class="pl-c1">486238</span> <span class="pl-c1">1632442</span> <span class="pl-c1">2373460</span> <span class="pl-c1">3266942</span> <span class="pl-c1">3127937</span> <span class="pl-c1">2538658</span> <span class="pl-c1">1405505</span> <span class="pl-c1">739509</span> <span class="pl-c1">1519644</span> <span class="pl-c1">2817907</span> <span class="pl-c1">1005119</span> <span class="pl-c1">755410</span> <span class="pl-c1">1784244</span> <span class="pl-c1">86211</span>] <span class="pl-s1">timestamp</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-s1">index</span>[<span class="pl-c1">3000000</span>] <span class="pl-c1">=</span> <span class="pl-c1">2011</span><span class="pl-c1">-</span><span class="pl-c1">12</span><span class="pl-c1">-</span><span class="pl-c1">31</span> <span class="pl-c1">21</span>:<span class="pl-c1">30</span>:<span class="pl-c1">00</span> <span class="pl-s1">timestamp</span> <span class="pl-c1">in</span> <span class="pl-s1">index</span>? <span class="pl-c1">False</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-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-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>) ... <span class="pl-v">TypeError</span>: <span class="pl-v">Cannot</span> <span class="pl-s1">compare</span> <span class="pl-v">Timestamp</span> <span class="pl-s1">with</span> <span class="pl-c1">1326116999500000000</span></pre></div>
0
<p dir="auto">We can improve the searchability of our challenges by including additional text and links in the descriptions of these challenges.</p> <p dir="auto">We could add the following to the top of a challenge lesson description.</p> <p dir="auto">(these breadcrumbs would be clickable and lead to cert/topic landing pages)<br> Responsive Web Design &gt; HTML5 and CSS &gt; Say Hello to HTML Elements</p> <p dir="auto">Then: "Learn to Code with HTML and Say Hello to HTML Elements"</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.org/challenges/waypoint-add-borders-around-your-elements" rel="nofollow">http://www.freecodecamp.org/challenges/waypoint-add-borders-around-your-elements</a> has an issue. Please describe how to reproduce it, and include links to screen shots if possible.</p> <p dir="auto">I think the test for this is wrong, but I didn't spend much time than looking at it except to note it was doing a global &amp; ignore case search. Which should probably be swapped to checking the img's style I'd assume.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3256176/8266193/b85049f4-16d4-11e5-9c25-b459617eac56.png"><img src="https://cloud.githubusercontent.com/assets/3256176/8266193/b85049f4-16d4-11e5-9c25-b459617eac56.png" alt="waypoint-add-borders-around-your-elements" style="max-width: 100%;"></a></p>
0