{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/49113","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/49113/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/49113/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/49113/events","html_url":"https://github.com/rust-lang/rust/issues/49113","id":306161045,"number":49113,"title":"the compiler unexpectedly panicked. this is a bug.","user":{"login":"sagiegurari","id":8112599,"avatar_url":"https://avatars0.githubusercontent.com/u/8112599?v=4","gravatar_id":"","url":"https://api.github.com/users/sagiegurari","html_url":"https://github.com/sagiegurari","followers_url":"https://api.github.com/users/sagiegurari/followers","following_url":"https://api.github.com/users/sagiegurari/following{/other_user}","gists_url":"https://api.github.com/users/sagiegurari/gists{/gist_id}","starred_url":"https://api.github.com/users/sagiegurari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagiegurari/subscriptions","organizations_url":"https://api.github.com/users/sagiegurari/orgs","repos_url":"https://api.github.com/users/sagiegurari/repos","events_url":"https://api.github.com/users/sagiegurari/events{/privacy}","received_events_url":"https://api.github.com/users/sagiegurari/received_events","type":"User","site_admin":false},"labels":[{"id":650731663,"url":"https://api.github.com/repos/rust-lang/rust/labels/C-bug","name":"C-bug","color":"f5f1fd","default":false},{"id":9618520,"url":"https://api.github.com/repos/rust-lang/rust/labels/I-ICE","name":"I-ICE","color":"e10c02","default":false},{"id":55301954,"url":"https://api.github.com/repos/rust-lang/rust/labels/O-ARM","name":"O-ARM","color":"6e6ec0","default":false},{"id":147085028,"url":"https://api.github.com/repos/rust-lang/rust/labels/regression-from-stable-to-nightly","name":"regression-from-stable-to-nightly","color":"e4008a","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-17T14:33:31Z","updated_at":"2018-03-19T16:46:18Z","closed_at":null,"author_association":"NONE","body":"I upgraded to a new rust nightly and now it seems the compiler crashes during build.\r\n\r\n* I'm using raspberry pi 3\r\n```console\r\n> uname -a\r\nLinux pidesk 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux\r\n``` \r\n\r\n* rust version:\r\n```console\r\n> rustc --version\r\nrustc 1.26.0-nightly (55c984ee5 2018-03-16)\r\n```\r\n\r\n* code example which causes issue: https://github.com/sagiegurari/misc-test/tree/rust2\r\n* error:\r\n```console\r\n> cargo check\r\nCompiling test v0.0.1 (file:///media/projects/misc-test)\r\nFinished dev [unoptimized + debuginfo] target(s) in 0.70 secs\r\n\r\n> cargo build --verbose                                                                                                                                                     \r\n   Compiling utf8-ranges v1.0.0\r\n     Running `rustc --crate-name utf8_ranges /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0d901130be5be452 -C extra-filename=-0d901130be5be452 --out-dir /media/projects/misc-test/target/debug/deps -L dependency=/media/projects/misc-test/target/debug/deps --cap-lints allow`\r\nthread 'rustc' panicked at 'index out of bounds: the len is 21696714 but the index is 21696714', /checkout/src/libserialize/opaque.rs:259:21\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\nerror: internal compiler error: unexpected panic\r\n\r\nnote: the compiler unexpectedly panicked. this is a bug.\r\n\r\nnote: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports\r\n\r\nnote: rustc 1.26.0-nightly (55c984ee5 2018-03-16) running on armv7-unknown-linux-gnueabihf\r\n\r\nnote: compiler flags: -C debuginfo=2 --crate-type lib\r\n\r\nnote: some of the compiler flags provided by cargo are hidden\r\n\r\nerror: Could not compile `utf8-ranges`.\r\n\r\nCaused by:\r\n  process didn't exit successfully: `rustc --crate-name utf8_ranges /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0d901130be5be452 -C extra-filename=-0d901130be5be452 --out-dir /media/projects/misc-test/target/debug/deps -L dependency=/media/projects/misc-test/target/debug/deps --cap-lints allow` (exit code: 101)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/374281793","html_url":"https://github.com/rust-lang/rust/issues/49113#issuecomment-374281793","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/49113","id":374281793,"user":{"login":"bjorn3","id":17426603,"avatar_url":"https://avatars1.githubusercontent.com/u/17426603?v=4","gravatar_id":"","url":"https://api.github.com/users/bjorn3","html_url":"https://github.com/bjorn3","followers_url":"https://api.github.com/users/bjorn3/followers","following_url":"https://api.github.com/users/bjorn3/following{/other_user}","gists_url":"https://api.github.com/users/bjorn3/gists{/gist_id}","starred_url":"https://api.github.com/users/bjorn3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjorn3/subscriptions","organizations_url":"https://api.github.com/users/bjorn3/orgs","repos_url":"https://api.github.com/users/bjorn3/repos","events_url":"https://api.github.com/users/bjorn3/events{/privacy}","received_events_url":"https://api.github.com/users/bjorn3/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T16:46:18Z","updated_at":"2018-03-19T16:46:18Z","author_association":"CONTRIBUTOR","body":"Cargo uses incremental builds by default now (rust-lang/cargo#4817)"}}
{"actor":{"display_login":"bjorn3"}}