<p dir="auto">Ubuntu 14.04, x86_64</p>
<p dir="auto">ICE when compiling github.com/dckc/rust-sqlite3:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~/projects/rust-sqlite3 (master) ± RUST_BACKTRACE=1 cargo build
   Compiling rust-sqlite v0.0.1 (file:///home/paul/projects/rust-sqlite3)
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'no entry found for key', /home/paul/ports/rust/git/rust/src/libstd/collections/hashmap/map.rs:1093

stack backtrace:
   1:     0x7fad2be3b230 - rt::backtrace::imp::write::h51b7cc4da6cb358bGGq
   2:     0x7fad2be3e3c0 - failure::on_fail::h54c059b6a242ad2d81q
   3:     0x7fad3032edf0 - unwind::begin_unwind_inner::hecad3d9c5035e6ecSUd
   4:     0x7fad30976a70 - unwind::begin_unwind::h16056064934429851846
   5:     0x7fad30b55ce0 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_captures::closure.113323
   6:     0x7fad30b55bc0 - middle::ty::with_freevars::h13425465799695563341
   7:     0x7fad30b69c00 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_expr::h15550668441967595159
   8:     0x7fad30b6dc80 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::consume_expr::h7816059880247249862
   9:     0x7fad30b69c00 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_expr::h15550668441967595159
  10:     0x7fad30b6dc80 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::consume_expr::h7816059880247249862
  11:     0x7fad30b698e0 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_block::h5730431003444878316
  12:     0x7fad30b63ca0 - middle::borrowck::gather_loans::gather_loans_in_fn::h1243cab742ef2780S3h
  13:     0x7fad30b8a560 - middle::borrowck::build_borrowck_dataflow_data::h97f4fee4fe926ca50Qj
  14:     0x7fad30b879d0 - middle::borrowck::borrowck_fn::h1b6dd2a12831852caOj
  15:     0x7fad30b89800 - visit::walk_item::h1313192010194563600
  16:     0x7fad30b89800 - visit::walk_item::h1313192010194563600
  17:     0x7fad30b88180 - middle::borrowck::check_crate::h28b3f8e2391eadabYGj
  18:     0x7fad30994300 - util::common::time::h11452737636243986235
  19:     0x7fad311dbfa0 - driver::driver::phase_3_run_analysis_passes::h4f7a372acd04a218P8w
  20:     0x7fad311d77b0 - driver::driver::compile_input::hdd50396124697349BPw
  21:     0x7fad31259b50 - driver::run_compiler::he9d78add3a7dda7dYFA
  22:     0x7fad31259a30 - driver::main_args::closure.146664
  23:     0x7fad309ad290 - task::TaskBuilder&lt;S&gt;::try_future::closure.101503
  24:     0x7fad309ad080 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.101474
  25:     0x7fad3067e700 - task::spawn_opts::closure.8474
  26:     0x7fad303848b0 - rust_try_inner
  27:     0x7fad303848a0 - rust_try
  28:     0x7fad3032bf80 - unwind::try::h9ddc2f51ae67c44fAJd
  29:     0x7fad3032be10 - task::Task::run::h7187bda252687131UYc
  30:     0x7fad3067e470 - task::spawn_opts::closure.8414
  31:     0x7fad3032de90 - thread::thread_start::h6fee847b77d95e74pjd
  32:     0x7fad2b1e80c0 - start_thread
  33:     0x7fad2fff3f89 - __clone
  34:                0x0 - &lt;unknown&gt;

Could not compile `rust-sqlite`.

To learn more, run the command again with --verbose."><pre class="notranslate"><code class="notranslate">~/projects/rust-sqlite3 (master) ± RUST_BACKTRACE=1 cargo build
   Compiling rust-sqlite v0.0.1 (file:///home/paul/projects/rust-sqlite3)
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'no entry found for key', /home/paul/ports/rust/git/rust/src/libstd/collections/hashmap/map.rs:1093

stack backtrace:
   1:     0x7fad2be3b230 - rt::backtrace::imp::write::h51b7cc4da6cb358bGGq
   2:     0x7fad2be3e3c0 - failure::on_fail::h54c059b6a242ad2d81q
   3:     0x7fad3032edf0 - unwind::begin_unwind_inner::hecad3d9c5035e6ecSUd
   4:     0x7fad30976a70 - unwind::begin_unwind::h16056064934429851846
   5:     0x7fad30b55ce0 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_captures::closure.113323
   6:     0x7fad30b55bc0 - middle::ty::with_freevars::h13425465799695563341
   7:     0x7fad30b69c00 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_expr::h15550668441967595159
   8:     0x7fad30b6dc80 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::consume_expr::h7816059880247249862
   9:     0x7fad30b69c00 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_expr::h15550668441967595159
  10:     0x7fad30b6dc80 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::consume_expr::h7816059880247249862
  11:     0x7fad30b698e0 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_block::h5730431003444878316
  12:     0x7fad30b63ca0 - middle::borrowck::gather_loans::gather_loans_in_fn::h1243cab742ef2780S3h
  13:     0x7fad30b8a560 - middle::borrowck::build_borrowck_dataflow_data::h97f4fee4fe926ca50Qj
  14:     0x7fad30b879d0 - middle::borrowck::borrowck_fn::h1b6dd2a12831852caOj
  15:     0x7fad30b89800 - visit::walk_item::h1313192010194563600
  16:     0x7fad30b89800 - visit::walk_item::h1313192010194563600
  17:     0x7fad30b88180 - middle::borrowck::check_crate::h28b3f8e2391eadabYGj
  18:     0x7fad30994300 - util::common::time::h11452737636243986235
  19:     0x7fad311dbfa0 - driver::driver::phase_3_run_analysis_passes::h4f7a372acd04a218P8w
  20:     0x7fad311d77b0 - driver::driver::compile_input::hdd50396124697349BPw
  21:     0x7fad31259b50 - driver::run_compiler::he9d78add3a7dda7dYFA
  22:     0x7fad31259a30 - driver::main_args::closure.146664
  23:     0x7fad309ad290 - task::TaskBuilder&lt;S&gt;::try_future::closure.101503
  24:     0x7fad309ad080 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.101474
  25:     0x7fad3067e700 - task::spawn_opts::closure.8474
  26:     0x7fad303848b0 - rust_try_inner
  27:     0x7fad303848a0 - rust_try
  28:     0x7fad3032bf80 - unwind::try::h9ddc2f51ae67c44fAJd
  29:     0x7fad3032be10 - task::Task::run::h7187bda252687131UYc
  30:     0x7fad3067e470 - task::spawn_opts::closure.8414
  31:     0x7fad3032de90 - thread::thread_start::h6fee847b77d95e74pjd
  32:     0x7fad2b1e80c0 - start_thread
  33:     0x7fad2fff3f89 - __clone
  34:                0x0 - &lt;unknown&gt;

Could not compile `rust-sqlite`.

To learn more, run the command again with --verbose.
</code></pre></div>
<p dir="auto">Sorry if this is a duplicate, I couldn't find anything.</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![feature(unboxed_closures,overloaded_calls)]

fn main() {
  let foo = 0i8;
  let bar = |:|{ foo };
}"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>unboxed_closures<span class="pl-kos">,</span>overloaded_calls<span class="pl-kos">)</span><span class="pl-kos">]</span></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-k">let</span> foo = <span class="pl-c1">0i8</span><span class="pl-kos">;</span>
  <span class="pl-k">let</span> bar = |<span class="pl-kos">:</span>|<span class="pl-kos">{</span> foo <span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<hr>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ RUST_BACKTRACE=1 rustc foo.rs
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'no entry found for key', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libstd/collections/hashmap/map.rs:1093

stack backtrace:
   1:     0x7f93d1980740 - rt::backtrace::imp::write::ha917ced5a810f66cUVq
   2:     0x7f93d19838d0 - failure::on_fail::h35f292864ffd1035mhr
   3:     0x7f93d21399e0 - unwind::begin_unwind_inner::h7b2733ff05e8f899SUd
   4:     0x7f93d25123c0 - unwind::begin_unwind::h3837541141404774985
   5:     0x7f93d26ed130 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_captures::closure.113283
   6:     0x7f93d26ed010 - middle::ty::with_freevars::h15643820832341047709
   7:     0x7f93d2701150 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_expr::h17509852025542073980
   8:     0x7f93d2700e30 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_block::h7871336635011900049
   9:     0x7f93d26fb0e0 - middle::borrowck::gather_loans::gather_loans_in_fn::h4d158f6362a75ab3P3h
  10:     0x7f93d2721420 - middle::borrowck::build_borrowck_dataflow_data::hf1c03f8dbedd6896XQj
  11:     0x7f93d271e8d0 - middle::borrowck::borrowck_fn::h4dd4dc3f33cb9c337Nj
  12:     0x7f93d27206c0 - visit::walk_item::h977840171384247700
  13:     0x7f93d271f080 - middle::borrowck::check_crate::hc8b4d432f8d78572VGj
  14:     0x7f93d252fc50 - util::common::time::h5222882638945901854
  15:     0x7f93d2d65790 - driver::driver::phase_3_run_analysis_passes::h4c733c82d969baafkPw
  16:     0x7f93d2d60fa0 - driver::driver::compile_input::hd245ec58bbc2ac2b9vw
  17:     0x7f93d2de2da0 - driver::run_compiler::h88fa61952d453b8cdmA
  18:     0x7f93d2de2c80 - driver::main_args::closure.146353
  19:     0x7f93d2548be0 - task::TaskBuilder&lt;S&gt;::try_future::closure.101568
  20:     0x7f93d25489d0 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.101539
  21:     0x7f93d36f1fa0 - task::spawn_opts::closure.8494
  22:     0x7f93d218eb20 - rust_try_inner
  23:     0x7f93d218eb10 - rust_try
  24:     0x7f93d2136b70 - unwind::try::hef24d636384aaae6AJd
  25:     0x7f93d2136a00 - task::Task::run::hbcbabe3609aa7293UYc
  26:     0x7f93d36f1d10 - task::spawn_opts::closure.8434
  27:     0x7f93d2138a80 - thread::thread_start::h86947667e5e1368fpjd
  28:     0x7f93d144a250 - start_thread
  29:     0x7f93d1e0f3b9 - clone
  30:                0x0 - &lt;unknown&gt;"><pre class="notranslate">$ <span class="pl-s1">RUST_BACKTRACE=1 rustc foo.rs</span>
<span class="pl-c1">error: internal compiler error: unexpected failure</span>
<span class="pl-c1">note: the compiler hit an unexpected failure path. this is a bug.</span>
<span class="pl-c1">note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html</span>
<span class="pl-c1">note: run with `RUST_BACKTRACE=1` for a backtrace</span>
<span class="pl-c1">task 'rustc' failed at 'no entry found for key', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libstd/collections/hashmap/map.rs:1093</span>

<span class="pl-c1">stack backtrace:</span>
<span class="pl-c1">   1:     0x7f93d1980740 - rt::backtrace::imp::write::ha917ced5a810f66cUVq</span>
<span class="pl-c1">   2:     0x7f93d19838d0 - failure::on_fail::h35f292864ffd1035mhr</span>
<span class="pl-c1">   3:     0x7f93d21399e0 - unwind::begin_unwind_inner::h7b2733ff05e8f899SUd</span>
<span class="pl-c1">   4:     0x7f93d25123c0 - unwind::begin_unwind::h3837541141404774985</span>
<span class="pl-c1">   5:     0x7f93d26ed130 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_captures::closure.113283</span>
<span class="pl-c1">   6:     0x7f93d26ed010 - middle::ty::with_freevars::h15643820832341047709</span>
<span class="pl-c1">   7:     0x7f93d2701150 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_expr::h17509852025542073980</span>
<span class="pl-c1">   8:     0x7f93d2700e30 - middle::expr_use_visitor::ExprUseVisitor&lt;'d, 't, TYPER&gt;::walk_block::h7871336635011900049</span>
<span class="pl-c1">   9:     0x7f93d26fb0e0 - middle::borrowck::gather_loans::gather_loans_in_fn::h4d158f6362a75ab3P3h</span>
<span class="pl-c1">  10:     0x7f93d2721420 - middle::borrowck::build_borrowck_dataflow_data::hf1c03f8dbedd6896XQj</span>
<span class="pl-c1">  11:     0x7f93d271e8d0 - middle::borrowck::borrowck_fn::h4dd4dc3f33cb9c337Nj</span>
<span class="pl-c1">  12:     0x7f93d27206c0 - visit::walk_item::h977840171384247700</span>
<span class="pl-c1">  13:     0x7f93d271f080 - middle::borrowck::check_crate::hc8b4d432f8d78572VGj</span>
<span class="pl-c1">  14:     0x7f93d252fc50 - util::common::time::h5222882638945901854</span>
<span class="pl-c1">  15:     0x7f93d2d65790 - driver::driver::phase_3_run_analysis_passes::h4c733c82d969baafkPw</span>
<span class="pl-c1">  16:     0x7f93d2d60fa0 - driver::driver::compile_input::hd245ec58bbc2ac2b9vw</span>
<span class="pl-c1">  17:     0x7f93d2de2da0 - driver::run_compiler::h88fa61952d453b8cdmA</span>
<span class="pl-c1">  18:     0x7f93d2de2c80 - driver::main_args::closure.146353</span>
<span class="pl-c1">  19:     0x7f93d2548be0 - task::TaskBuilder&lt;S&gt;::try_future::closure.101568</span>
<span class="pl-c1">  20:     0x7f93d25489d0 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.101539</span>
<span class="pl-c1">  21:     0x7f93d36f1fa0 - task::spawn_opts::closure.8494</span>
<span class="pl-c1">  22:     0x7f93d218eb20 - rust_try_inner</span>
<span class="pl-c1">  23:     0x7f93d218eb10 - rust_try</span>
<span class="pl-c1">  24:     0x7f93d2136b70 - unwind::try::hef24d636384aaae6AJd</span>
<span class="pl-c1">  25:     0x7f93d2136a00 - task::Task::run::hbcbabe3609aa7293UYc</span>
<span class="pl-c1">  26:     0x7f93d36f1d10 - task::spawn_opts::closure.8434</span>
<span class="pl-c1">  27:     0x7f93d2138a80 - thread::thread_start::h86947667e5e1368fpjd</span>
<span class="pl-c1">  28:     0x7f93d144a250 - start_thread</span>
<span class="pl-c1">  29:     0x7f93d1e0f3b9 - clone</span>
<span class="pl-c1">  30:                0x0 - &lt;unknown&gt;</span></pre></div>