{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/21975","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/21975/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/21975/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/21975/events","html_url":"https://github.com/rust-lang/rust/issues/21975","id":56722618,"number":21975,"title":"ICE: Index out of bounds: librlibc","user":{"login":"mattico","id":853158,"avatar_url":"https://avatars.githubusercontent.com/u/853158?v=3","gravatar_id":"","url":"https://api.github.com/users/mattico","html_url":"https://github.com/mattico","followers_url":"https://api.github.com/users/mattico/followers","following_url":"https://api.github.com/users/mattico/following{/other_user}","gists_url":"https://api.github.com/users/mattico/gists{/gist_id}","starred_url":"https://api.github.com/users/mattico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattico/subscriptions","organizations_url":"https://api.github.com/users/mattico/orgs","repos_url":"https://api.github.com/users/mattico/repos","events_url":"https://api.github.com/users/mattico/events{/privacy}","received_events_url":"https://api.github.com/users/mattico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-05T20:12:09Z","updated_at":"2015-02-05T20:12:09Z","closed_at":null,"body":"When compiling librlibc b06bed7 as part of mvdnes/element76:\r\n\r\n```\r\n14:03:09-vagrant/vagrant/Desktop/element76 ((138acee...))$ uname -a\r\nLinux vagrant-ubuntu-trusty-64 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux\r\n14:03:29-vagrant/vagrant/Desktop/element76 ((138acee...))$ rustc -v -V\r\nrustc 1.0.0-nightly (ba2f13ef0 2015-02-04 20:03:55 +0000)\r\nbinary: rustc\r\ncommit-hash: ba2f13ef0667ce90f55ab0f1506bf5ee7b852d96\r\ncommit-date: 2015-02-04 20:03:55 +0000\r\nhost: x86_64-unknown-linux-gnu\r\nrelease: 1.0.0-nightly\r\n14:03:33-vagrant/vagrant/Desktop/element76 ((138acee...))$ make\r\nrustc -g -L rustlibdir --out-dir=bin --crate-type=rlib --crate-name=rlibc --target i686-unknown-linux-gnu rlibc/src/lib.rs\r\nerror: internal compiler error: unexpected panic\r\nnote: the compiler unexpectedly panicked. 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\nthread 'rustc' panicked at 'index out of bounds: the len is 55 but the index is 55', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/lib.rs:1\r\n\r\nstack backtrace:\r\n   1:     0x2ac04735bd60 - sys::backtrace::write::h932393543d112c054sy\r\n   2:     0x2ac04737f460 - failure::on_fail::h4947072b7f324f9aVWF\r\n   3:     0x2ac0472e0800 - rt::unwind::begin_unwind_inner::had7a395ab2928a1fsBF\r\n   4:     0x2ac0472e1310 - rt::unwind::begin_unwind_fmt::had7aaeeb99919a22YzF\r\n   5:     0x2ac04737f2c0 - rust_begin_unwind\r\n   6:     0x2ac0473c8e20 - panicking::panic_fmt::ha5c2aa5052803f0ayow\r\n   7:     0x2ac0473d1c80 - panicking::panic_bounds_check::hf63197afd6e4f95eznw\r\n   8:     0x2ac0491b6c80 - middle::lang_items::LanguageItemCollector<'a>::collect_item::hef3b211a375a7115dGC\r\n   9:     0x2ac0491b98d0 - middle::lang_items::collect_language_items::h93a233b2e1baeb083JC\r\n  10:     0x2ac046f2d4e0 - driver::phase_3_run_analysis_passes::hdbd51c532175b9f1pGa\r\n  11:     0x2ac046f13a30 - driver::compile_input::h3abd4b23cefb4912Cba\r\n  12:     0x2ac046fe4f80 - run_compiler::hf6c7680d20cecff97ac\r\n  13:     0x2ac046fe3610 - thunk::F.Invoke<A, R>::invoke::h12458147831130807544\r\n  14:     0x2ac046fe2540 - rt::unwind::try::try_fn::h13767943623378092967\r\n  15:     0x2ac0473eb3b0 - rust_try_inner\r\n  16:     0x2ac0473eb3a0 - rust_try\r\n  17:     0x2ac046fe27f0 - thunk::F.Invoke<A, R>::invoke::h15079797001481760000\r\n  18:     0x2ac04736b950 - sys::thread::thread_start::h426dd27d44093655UCB\r\n  19:     0x2ac04d5690c0 - start_thread\r\n  20:     0x2ac047a19fd9 - __clone\r\n  21:                0x0 - <unknown>\r\n\r\nmake: *** [bin/librlibc.rlib] Error 101\r\n```\r\n\r\nThis happened due to compiling using rust libs from an earlier version of the compiler (2-2-2015 I believe), so not something that we should necessarily care about supporting, but ICE are bad nonetheless."}}