<p dir="auto">Ref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="230647406" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/22034" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/22034/hovercard?comment_id=303506385&amp;comment_type=issue_comment" href="https://github.com/JuliaLang/julia/pull/22034#issuecomment-303506385">#22034 (comment)</a>, on 0.6 and master I can only produce one deprecation warning per julia session.</p>
<p dir="auto">master and 0.6-rc2:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; f2(x) = 2; f4(x) = 4;

julia&gt; @deprecate f1(x) f2(x);

julia&gt; @deprecate f3(x) f4(x);

julia&gt; f1(1)
WARNING: f1(x) is deprecated, use f2(x) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:64
 [2] f1(::Int64) at ./deprecated.jl:51
 [3] eval(::Module, ::Any) at ./boot.jl:235
 [4] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 [5] macro expansion at ./REPL.jl:97 [inlined]
 [6] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading no file, in expression starting on line 0
2

julia&gt; f3(1) # why does this not warn?
4"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-en">f2</span>(x) <span class="pl-k">=</span> <span class="pl-c1">2</span>; <span class="pl-en">f4</span>(x) <span class="pl-k">=</span> <span class="pl-c1">4</span>;

julia<span class="pl-k">&gt;</span> <span class="pl-c1">@deprecate</span> <span class="pl-c1">f1</span>(x) <span class="pl-c1">f2</span>(x);

julia<span class="pl-k">&gt;</span> <span class="pl-c1">@deprecate</span> <span class="pl-c1">f3</span>(x) <span class="pl-c1">f4</span>(x);

julia<span class="pl-k">&gt;</span> <span class="pl-c1">f1</span>(<span class="pl-c1">1</span>)
WARNING<span class="pl-k">:</span> <span class="pl-c1">f1</span>(x) is deprecated, use <span class="pl-c1">f2</span>(x) instead.
Stacktrace<span class="pl-k">:</span>
 [<span class="pl-c1">1</span>] <span class="pl-c1">depwarn</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Symbol</span>) at <span class="pl-k">./</span>deprecated<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">64</span>
 [<span class="pl-c1">2</span>] <span class="pl-c1">f1</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>deprecated<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">51</span>
 [<span class="pl-c1">3</span>] <span class="pl-c1">eval</span>(<span class="pl-k">::</span><span class="pl-c1">Module</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>) at <span class="pl-k">./</span>boot<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">235</span>
 [<span class="pl-c1">4</span>] <span class="pl-c1">eval_user_input</span>(<span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLBackend</span>) at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">66</span>
 [<span class="pl-c1">5</span>] <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">97</span> [inlined]
 [<span class="pl-c1">6</span>] (<span class="pl-k">::</span><span class="pl-c1">Base.REPL.</span><span class="pl-c"><span class="pl-c">#</span>#1#2{Base.REPL.REPLBackend})() at ./event.jl:73</span>
<span class="pl-k">while</span> loading no file, <span class="pl-k">in</span> expression starting on line <span class="pl-c1">0</span>
<span class="pl-c1">2</span>

julia<span class="pl-k">&gt;</span> <span class="pl-c1">f3</span>(<span class="pl-c1">1</span>) <span class="pl-c"><span class="pl-c">#</span> why does this not warn?</span>
<span class="pl-c1">4</span></pre></div>
<p dir="auto">And on 0.5.2:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; f2(x) = 2; f4(x) = 4;

julia&gt; @deprecate f1(x) f2(x);

julia&gt; @deprecate f3(x) f4(x);

julia&gt; f1(1)
WARNING: f1(x) is deprecated, use f2(x) instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in f1(::Int64) at ./deprecated.jl:50
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64
 in macro expansion at ./REPL.jl:95 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading no file, in expression starting on line 0
2

julia&gt; f3(1)
WARNING: f3(x) is deprecated, use f4(x) instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in f3(::Int64) at ./deprecated.jl:50
 in eval(::Module, ::Any) at ./boot.jl:234
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64
 in macro expansion at ./REPL.jl:95 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
while loading no file, in expression starting on line 0
4"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-en">f2</span>(x) <span class="pl-k">=</span> <span class="pl-c1">2</span>; <span class="pl-en">f4</span>(x) <span class="pl-k">=</span> <span class="pl-c1">4</span>;

julia<span class="pl-k">&gt;</span> <span class="pl-c1">@deprecate</span> <span class="pl-c1">f1</span>(x) <span class="pl-c1">f2</span>(x);

julia<span class="pl-k">&gt;</span> <span class="pl-c1">@deprecate</span> <span class="pl-c1">f3</span>(x) <span class="pl-c1">f4</span>(x);

julia<span class="pl-k">&gt;</span> <span class="pl-c1">f1</span>(<span class="pl-c1">1</span>)
WARNING<span class="pl-k">:</span> <span class="pl-c1">f1</span>(x) is deprecated, use <span class="pl-c1">f2</span>(x) instead.
 <span class="pl-k">in</span> <span class="pl-c1">depwarn</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Symbol</span>) at <span class="pl-k">./</span>deprecated<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">64</span>
 <span class="pl-k">in</span> <span class="pl-c1">f1</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>deprecated<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">50</span>
 <span class="pl-k">in</span> <span class="pl-c1">eval</span>(<span class="pl-k">::</span><span class="pl-c1">Module</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>) at <span class="pl-k">./</span>boot<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">234</span>
 <span class="pl-k">in</span> <span class="pl-c1">eval_user_input</span>(<span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLBackend</span>) at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">64</span>
 <span class="pl-k">in</span> <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">95</span> [inlined]
 <span class="pl-k">in</span> (<span class="pl-k">::</span><span class="pl-c1">Base.REPL.</span><span class="pl-c"><span class="pl-c">#</span>#3#4{Base.REPL.REPLBackend})() at ./event.jl:68</span>
<span class="pl-k">while</span> loading no file, <span class="pl-k">in</span> expression starting on line <span class="pl-c1">0</span>
<span class="pl-c1">2</span>

julia<span class="pl-k">&gt;</span> <span class="pl-c1">f3</span>(<span class="pl-c1">1</span>)
WARNING<span class="pl-k">:</span> <span class="pl-c1">f3</span>(x) is deprecated, use <span class="pl-c1">f4</span>(x) instead.
 <span class="pl-k">in</span> <span class="pl-c1">depwarn</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Symbol</span>) at <span class="pl-k">./</span>deprecated<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">64</span>
 <span class="pl-k">in</span> <span class="pl-c1">f3</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>deprecated<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">50</span>
 <span class="pl-k">in</span> <span class="pl-c1">eval</span>(<span class="pl-k">::</span><span class="pl-c1">Module</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>) at <span class="pl-k">./</span>boot<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">234</span>
 <span class="pl-k">in</span> <span class="pl-c1">eval_user_input</span>(<span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLBackend</span>) at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">64</span>
 <span class="pl-k">in</span> <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">95</span> [inlined]
 <span class="pl-k">in</span> (<span class="pl-k">::</span><span class="pl-c1">Base.REPL.</span><span class="pl-c"><span class="pl-c">#</span>#3#4{Base.REPL.REPLBackend})() at ./event.jl:68</span>
<span class="pl-k">while</span> loading no file, <span class="pl-k">in</span> expression starting on line <span class="pl-c1">0</span>
<span class="pl-c1">4</span></pre></div>
<p dir="auto">Seems like a bad bug in these days of new releases and fixing deprecation warnings.</p>
<p dir="auto">Referring to the discussion here (<a href="https://groups.google.com/forum/#!topic/julia-users/0XTidbuInbQ" rel="nofollow">https://groups.google.com/forum/#!topic/julia-users/0XTidbuInbQ</a>), launching with small number of workers and small matrix size works fine, but as workers and size of matrix is increased, the code breaks.<br>
test code :  <a href="https://github.com/kapiliitr/JuliaBenchmarks/blob/master/ptrans.jl">https://github.com/kapiliitr/JuliaBenchmarks/blob/master/ptrans.jl</a><br>
error : <a href="https://github.com/kapiliitr/JuliaBenchmarks/blob/master/error.txt">https://github.com/kapiliitr/JuliaBenchmarks/blob/master/error.txt</a></p>
<p dir="auto">This code has been run using Julia v0.3.1, 0.3.3, v0.4.0-dev+1061.</p>