Issue 1:
Ubuntu 14.04, x86_64

ICE when compiling github.com/dckc/rust-sqlite3:

~/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<'d, 't, TYPER>::walk_captures::closure.113323
6: 0x7fad30b55bc0 - middle::ty::with_freevars::h13425465799695563341
7: 0x7fad30b69c00 - middle::expr_use_visitor::ExprUseVisitor<'d, 't, TYPER>::walk_expr::h15550668441967595159
8: 0x7fad30b6dc80 - middle::expr_use_visitor::ExprUseVisitor<'d, 't, TYPER>::consume_expr::h7816059880247249862
9: 0x7fad30b69c00 - middle::expr_use_visitor::ExprUseVisitor<'d, 't, TYPER>::walk_expr::h15550668441967595159
10: 0x7fad30b6dc80 - middle::expr_use_visitor::ExprUseVisitor<'d, 't, TYPER>::consume_expr::h7816059880247249862
11: 0x7fad30b698e0 - middle::expr_use_visitor::ExprUseVisitor<'d, 't, TYPER>::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<S>::try_future::closure.101503
24: 0x7fad309ad080 - task::TaskBuilder<S>::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 - <unknown>

Could not compile `rust-sqlite`.

To learn more, run the command again with --verbose.

Issue 2:
Sorry if this is a duplicate, I couldn't find anything.

#![feature(unboxed_closures,overloaded_calls)]

fn main() {
let foo = 0i8;
let bar = |:|{ foo };
}

$ 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<'d, 't, TYPER>::walk_captures::closure.113283
6: 0x7f93d26ed010 - middle::ty::with_freevars::h15643820832341047709
7: 0x7f93d2701150 - middle::expr_use_visitor::ExprUseVisitor<'d, 't, TYPER>::walk_expr::h17509852025542073980
8: 0x7f93d2700e30 - middle::expr_use_visitor::ExprUseVisitor<'d, 't, TYPER>::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<S>::try_future::closure.101568
20: 0x7f93d25489d0 - task::TaskBuilder<S>::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 - <unknown>