{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/47309","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/47309/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/47309/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/47309/events","html_url":"https://github.com/rust-lang/rust/issues/47309","id":287310655,"number":47309,"title":"ICE: Region parameter out of range when substituting in region","user":{"login":"ipetkov","id":1638690,"avatar_url":"https://avatars2.githubusercontent.com/u/1638690?v=4","gravatar_id":"","url":"https://api.github.com/users/ipetkov","html_url":"https://github.com/ipetkov","followers_url":"https://api.github.com/users/ipetkov/followers","following_url":"https://api.github.com/users/ipetkov/following{/other_user}","gists_url":"https://api.github.com/users/ipetkov/gists{/gist_id}","starred_url":"https://api.github.com/users/ipetkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipetkov/subscriptions","organizations_url":"https://api.github.com/users/ipetkov/orgs","repos_url":"https://api.github.com/users/ipetkov/repos","events_url":"https://api.github.com/users/ipetkov/events{/privacy}","received_events_url":"https://api.github.com/users/ipetkov/received_events","type":"User","site_admin":false},"labels":[{"id":9618520,"url":"https://api.github.com/repos/rust-lang/rust/labels/I-ICE","name":"I-ICE","color":"e10c02","default":false},{"id":203429200,"url":"https://api.github.com/repos/rust-lang/rust/labels/P-high","name":"P-high","color":"eb6420","default":false},{"id":211668100,"url":"https://api.github.com/repos/rust-lang/rust/labels/T-compiler","name":"T-compiler","color":"bfd4f2","default":false},{"id":262252840,"url":"https://api.github.com/repos/rust-lang/rust/labels/regression-from-stable-to-stable","name":"regression-from-stable-to-stable","color":"e4008a","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rust-lang/rust/milestones/41","html_url":"https://github.com/rust-lang/rust/milestone/41","labels_url":"https://api.github.com/repos/rust-lang/rust/milestones/41/labels","id":2913233,"number":41,"title":"1.24","description":"","creator":{"login":"Mark-Simulacrum","id":5047365,"avatar_url":"https://avatars0.githubusercontent.com/u/5047365?v=4","gravatar_id":"","url":"https://api.github.com/users/Mark-Simulacrum","html_url":"https://github.com/Mark-Simulacrum","followers_url":"https://api.github.com/users/Mark-Simulacrum/followers","following_url":"https://api.github.com/users/Mark-Simulacrum/following{/other_user}","gists_url":"https://api.github.com/users/Mark-Simulacrum/gists{/gist_id}","starred_url":"https://api.github.com/users/Mark-Simulacrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mark-Simulacrum/subscriptions","organizations_url":"https://api.github.com/users/Mark-Simulacrum/orgs","repos_url":"https://api.github.com/users/Mark-Simulacrum/repos","events_url":"https://api.github.com/users/Mark-Simulacrum/events{/privacy}","received_events_url":"https://api.github.com/users/Mark-Simulacrum/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":15,"state":"closed","created_at":"2017-11-15T01:41:05Z","updated_at":"2018-02-22T18:46:41Z","due_on":"2018-02-15T08:00:00Z","closed_at":"2018-02-19T01:32:45Z"},"comments":11,"created_at":"2018-01-10T04:17:45Z","updated_at":"2018-02-24T20:28:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"ICE: librustc/ty/subst.rs:424: Region parameter out of range when substituting in region 'a (root type=None) (index=2)\r\n\r\nStarted getting an ICE on nightly linux builds in travis for [my crate](https://github.com/ipetkov/conch-runtime) while building various integration tests (I've seen builds fail on different integration tests each time). The ICE has reliably occurred on travis during each restart, however, I've been unable to reproduce it locally via travis docker image (so I can't even begin to attempt to minify my source to something that triggers the error). As far as I can tell, this started with rustc 1.24.0-nightly (8e7a609e6 2018-01-04).\r\n\r\nSample build log can be found [here](https://gist.github.com/ipetkov/d82454cffcdb594955d987aec4465bd2).\r\n\r\nHappy to provide more logs build info as needed!\r\n\r\n## Meta\r\n\r\nrustc 1.25.0-nightly (61452e506 2018-01-09)\r\n\r\nBacktrace:\r\n\r\n```\r\nthread 'rustc' panicked at 'Box<Any>', librustc_errors/lib.rs:455:9\r\nnote: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.\r\nstack backtrace:\r\n   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace\r\n             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49\r\n   1: std::sys_common::backtrace::print\r\n             at libstd/sys_common/backtrace.rs:68\r\n             at libstd/sys_common/backtrace.rs:57\r\n   2: std::panicking::default_hook::{{closure}}\r\n             at libstd/panicking.rs:381\r\n   3: std::panicking::default_hook\r\n             at libstd/panicking.rs:391\r\n   4: std::panicking::rust_panic_with_hook\r\n             at libstd/panicking.rs:577\r\n   5: std::panicking::begin_panic\r\n   6: rustc_errors::Handler::span_bug\r\n   7: <std::thread::local::LocalKey<T>>::with\r\n   8: rustc::ty::context::tls::with_opt\r\n   9: rustc::session::opt_span_bug_fmt\r\n  10: rustc::session::span_bug_fmt\r\n  11: <rustc::ty::subst::SubstFolder<'a, 'gcx, 'tcx> as rustc::ty::fold::TypeFolder<'gcx, 'tcx>>::fold_region\r\n  12: rustc::ty::fold::TypeFoldable::fold_with\r\n  13: rustc::ty::fold::TypeFoldable::fold_with\r\n  14: rustc::traits::substitute_normalize_and_test_predicates\r\n  15: rustc::ty::maps::<impl rustc::ty::maps::queries::substitute_normalize_and_test_predicates<'tcx>>::compute_result\r\n  16: rustc::dep_graph::graph::DepGraph::with_task_impl\r\n  17: rustc_errors::Handler::track_diagnostics\r\n  18: rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::cycle_check\r\n  19: rustc::ty::maps::<impl rustc::ty::maps::queries::substitute_normalize_and_test_predicates<'tcx>>::force\r\n  20: rustc::ty::maps::<impl rustc::ty::maps::queries::substitute_normalize_and_test_predicates<'tcx>>::try_get\r\n  21: rustc::ty::maps::TyCtxtAt::substitute_normalize_and_test_predicates\r\n  22: rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::substitute_normalize_and_test_predicates\r\n  23: <rustc_mir::monomorphize::collector::RootCollector<'b, 'a, 'v> as rustc::hir::itemlikevisit::ItemLikeVisitor<'v>>::visit_item\r\n  24: rustc::hir::Crate::visit_all_item_likes\r\n  25: rustc_mir::monomorphize::collector::collect_crate_mono_items\r\n  26: rustc::util::common::time\r\n  27: rustc_trans::base::collect_and_partition_translation_items\r\n  28: rustc::dep_graph::graph::DepGraph::with_task_impl\r\n  29: rustc_errors::Handler::track_diagnostics\r\n  30: rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::cycle_check\r\n  31: rustc::ty::maps::<impl rustc::ty::maps::queries::collect_and_partition_translation_items<'tcx>>::force\r\n  32: rustc::ty::maps::<impl rustc::ty::maps::queries::collect_and_partition_translation_items<'tcx>>::try_get\r\n  33: rustc::ty::maps::TyCtxtAt::collect_and_partition_translation_items\r\n  34: rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::collect_and_partition_translation_items\r\n  35: rustc_trans::base::trans_crate\r\n  36: <rustc_trans::LlvmTransCrate as rustc_trans_utils::trans_crate::TransCrate>::trans_crate\r\n  37: rustc::util::common::time\r\n  38: rustc_driver::driver::phase_4_translate_to_llvm\r\n  39: rustc_driver::driver::compile_input::{{closure}}\r\n  40: <std::thread::local::LocalKey<T>>::with\r\n  41: <std::thread::local::LocalKey<T>>::with\r\n  42: rustc::ty::context::TyCtxt::create_and_enter\r\n  43: rustc_driver::driver::compile_input\r\n  44: rustc_driver::run_compiler\r\n  ```"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/368257681","html_url":"https://github.com/rust-lang/rust/issues/47309#issuecomment-368257681","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/47309","id":368257681,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T20:28:48Z","updated_at":"2018-02-24T20:28:48Z","author_association":"OWNER","body":"I've confirmed @pnkfelix's suspicion for sure in that this ICE is caused by https://github.com/rust-lang/rust/pull/46916"}}
{"actor":{"display_login":"alexcrichton"}}