{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/17173","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/17173/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/17173/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/17173/events","html_url":"https://github.com/rust-lang/rust/issues/17173","id":42542399,"number":17173,"title":"ICE when casting to raw Any pointer","user":{"login":"Kingsquee","id":2876834,"avatar_url":"https://avatars.githubusercontent.com/u/2876834?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingsquee","html_url":"https://github.com/Kingsquee","followers_url":"https://api.github.com/users/Kingsquee/followers","following_url":"https://api.github.com/users/Kingsquee/following{/other_user}","gists_url":"https://api.github.com/users/Kingsquee/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingsquee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingsquee/subscriptions","organizations_url":"https://api.github.com/users/Kingsquee/orgs","repos_url":"https://api.github.com/users/Kingsquee/repos","events_url":"https://api.github.com/users/Kingsquee/events{/privacy}","received_events_url":"https://api.github.com/users/Kingsquee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-dst","name":"A-dst","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-ICE","name":"I-ICE","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-11T16:15:07Z","updated_at":"2015-03-30T04:32:53Z","closed_at":"2015-03-30T04:32:53Z","body":"Linux manjaro 3.12.27-1-MANJARO\r\nrustc 0.12.0-pre-nightly (325808a33 2014-09-08 20:51:14 +0000)\r\n\r\n```rust\r\n#![allow(unused_variable)]\r\nuse std::any::Any;\r\n\r\nfn main() {\r\n    let foo: uint = 1;\r\n    let raw_any_foo = &foo as *const Any;\r\n}\r\n```\r\n\r\n```bash\r\nerror: internal compiler error: unexpected failure\r\nnote: the compiler hit an unexpected failure path. this is a bug.\r\nnote: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html\r\nnote: run with `RUST_BACKTRACE=1` for a backtrace\r\ntask 'rustc' failed at 'no entry found for key', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libstd/collections/hashmap/map.rs:1013\r\n\r\nstack backtrace:\r\n   1:     0x7fe82b55fe00 - rt::backtrace::imp::write::h6280ef424d93578eYFq\r\n   2:     0x7fe82b562fc0 - failure::on_fail::hd9f0344ab848748bq1q\r\n   3:     0x7fe82bd2be10 - unwind::begin_unwind_inner::h1fb7b215753db772MTd\r\n   4:     0x7fe82c10c950 - unwind::begin_unwind::h6147168446418572119\r\n   5:     0x7fe82c52d070 - middle::trans::meth::vtable_ptr::hfa28addf07c9061crxi\r\n   6:     0x7fe82c540730 - middle::trans::meth::trans_trait_cast::h91f8e32f2fbbbac10yi\r\n   7:     0x7fe82c528ad0 - middle::trans::expr::trans_rvalue_dps_unadjusted::h6f3e5f682115e6e82C1\r\n   8:     0x7fe82c4e3880 - middle::trans::expr::trans_into::h189e77733ddb8ae0ak0\r\n   9:     0x7fe82c5eb720 - middle::trans::_match::store_local::closure.128150\r\n  10:     0x7fe82c5eb4d0 - middle::trans::_match::mk_binding_alloca::h13872208220537533959\r\n  11:     0x7fe82c58ca20 - middle::trans::_match::store_local::hdd0e201833f9f25bqPf\r\n  12:     0x7fe82c4e2e80 - middle::trans::base::init_local::hfecdec6f8f648e2blwb\r\n  13:     0x7fe82c4e2360 - middle::trans::controlflow::trans_stmt::hfedf90656ce4ebc39hW\r\n  14:     0x7fe82c4e3d60 - middle::trans::controlflow::trans_block::h48512cde150faaaf5mW\r\n  15:     0x7fe82c594ed0 - middle::trans::base::trans_closure::h7f15c7421b917d26xnc\r\n  16:     0x7fe82c4d3650 - middle::trans::base::trans_fn::h066eb4979c084ae2Kyc\r\n  17:     0x7fe82c4ceac0 - middle::trans::base::trans_item::h4ace1070ca37a3e5RRc\r\n  18:     0x7fe82c5a0dc0 - middle::trans::base::trans_crate::ha6fe73d9d24c5b73IPd\r\n  19:     0x7fe82c9d9c70 - driver::driver::phase_4_translate_to_llvm::h7fcc0fd66e514be7mBu\r\n  20:     0x7fe82c9d1120 - driver::driver::compile_input::hedd627f3d43731bf0bu\r\n  21:     0x7fe82ca665d0 - driver::run_compiler::h0a619ce5355f057e0Xx\r\n  22:     0x7fe82ca664b0 - driver::main_args::closure.148441\r\n  23:     0x7fe82c143140 - task::TaskBuilder<S>::try_future::closure.100227\r\n  24:     0x7fe82c142f30 - task::TaskBuilder<S>::spawn_internal::closure.100198\r\n  25:     0x7fe82d3c3710 - task::spawn_opts::closure.8418\r\n  26:     0x7fe82bd843f0 - rust_try_inner\r\n  27:     0x7fe82bd843e0 - rust_try\r\n  28:     0x7fe82bd293f0 - unwind::try::h69140ac3a4141faauId\r\n  29:     0x7fe82bd29250 - task::Task::run::h449c8493a0d61f09fYc\r\n  30:     0x7fe82d3c3480 - task::spawn_opts::closure.8358\r\n  31:     0x7fe82bd2ae40 - thread::thread_start::h71dd1e21d4d03408rid\r\n  32:     0x7fe82b020060 - start_thread\r\n  33:     0x7fe82b9fa489 - __clone\r\n  34:                0x0 - <unknown>\r\n```"}}