rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
99.06k stars 12.8k forks source link

ICE: jump threading: 2 != 1 #131451

Open matthiaskrgr opened 1 month ago

matthiaskrgr commented 1 month ago

auto-reduced (treereduce-rust):

fn check_multiple_lints_3(terminate: bool) {
    while true {}

    while !terminate {}
}
original code

original: ````rust //@ check-pass #![warn(unused)] // This expect attribute should catch all lint triggers #[expect(unused_variables)] fn check_multiple_lints_1() { let value_i = 0xff00ff; let value_ii = 0xff00ff; let value_iii = 0xff00ff; let value_iiii = 0xff00ff; let value_iiiii = 0xff00ff; } // This expect attribute should catch all lint triggers #[expect(unused_mut)] fn check_multiple_lints_2() { let mut a = 0xa; let mut b = 0xb; let mut c = 0xc; println!( unused_mut, //~^ WARNING this lint expectation is unfulfilled [unfulfilled_lint_expectations] //~| NOTE `#[warn(unfulfilled_lint_expectations)]` on by default //~| NOTE this `expect` is overridden by a `allow` attribute before the `unused_mut` lint is triggered reason = "this `expect` is overridden by a `allow` attribute before the `unused_mut` lint is triggered" ); } // This expect attribute should catch all lint triggers #[warn( unused_mut, //~^ NOTE the lint level is defined here reason = "this overrides the previous `expect` lint level and warns about the `unused_mut` lint here" )] fn check_multiple_lints_3(terminate: bool) { // `while_true` is an early lint while true {} while true {} while true { println!("I never stop") } while !terminate { println!("Do you know what a spin lock is?") } while true {} } fn main() { check_multiple_lints_1(); check_multiple_lints_2(); check_multiple_lints_3(); } ````

Version information

rustc 1.83.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.83.0-dev
LLVM version: 19.1.1

Command: /home/gh-matthiaskrgr/.rustup/toolchains/local-debug-assertions/bin/rustc -Zmir-opt-level=5 -Zvalidate-mir

matthiaskrgr commented 1 month ago
Program output

``` warning: denote infinite loops with `loop { ... }` --> /tmp/icemaker_global_tempdir.aFoZ42mi4yBx/rustc_testrunner_tmpdir_reporting.rWKlJmu4GRYT/mvce.rs:2:5 | 2 | while true {} | ^^^^^^^^^^ help: use `loop` | = note: `#[warn(while_true)]` on by default error[E0601]: `main` function not found in crate `mvce` --> /tmp/icemaker_global_tempdir.aFoZ42mi4yBx/rustc_testrunner_tmpdir_reporting.rWKlJmu4GRYT/mvce.rs:5:2 | 5 | } | ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.aFoZ42mi4yBx/rustc_testrunner_tmpdir_reporting.rWKlJmu4GRYT/mvce.rs` thread 'rustc' panicked at compiler/rustc_mir_transform/src/jump_threading.rs:741:9: assertion `left == right` failed left: 2 right: 1 stack backtrace: 0: 0x7f56c56fd921 - std::backtrace_rs::backtrace::libunwind::trace::h639a5cad6c57f7ee at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 1: 0x7f56c56fd921 - std::backtrace_rs::backtrace::trace_unsynchronized::hf8c45b3224ec87e3 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x7f56c56fd921 - std::sys::backtrace::_print_fmt::h387df6ff1b4891d7 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:66:9 3: 0x7f56c56fd921 - ::fmt::h78473895b9ac26ee at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:39:26 4: 0x7f56c064d1d0 - core::fmt::rt::Argument::fmt::h488395045e616c96 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:177:76 5: 0x7f56c064d1d0 - core::fmt::write::ha0e83bdf96f049b8 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1186:21 6: 0x7f56c570c149 - std::io::Write::write_fmt::hd9d604e7552421a0 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1839:15 7: 0x7f56c56fd7c3 - std::sys::backtrace::BacktraceLock::print::h2f46afb76017300a at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:42:9 8: 0x7f56c56c4ede - std::panicking::default_hook::{{closure}}::h83f62e8b569a169e at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:268:22 9: 0x7f56c56c4c8f - std::panicking::default_hook::h65262747f01dcf61 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:295:9 10: 0x7f56c1bd98ae - rustc_driver_impl[2df5fcfeee3fac93]::install_ice_hook::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1420:17 11: 0x7f56c1bd98ae - as core[e7969a33fde5fecb]::ops::function::Fn<(&dyn for<'a, 'b> core[e7969a33fde5fecb]::ops::function::Fn<(&'a std[7bb4667a5604419a]::panic::PanicHookInfo<'b>,), Output = ()> + core[e7969a33fde5fecb]::marker::Send + core[e7969a33fde5fecb]::marker::Sync, &std[7bb4667a5604419a]::panic::PanicHookInfo)>>::call at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2468:9 12: 0x7f56c56c551f - as core::ops::function::Fn>::call::h48bb374a1a46a607 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2468:9 13: 0x7f56c56c551f - std::panicking::rust_panic_with_hook::hb1cbf5dd141780cf at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:809:13 14: 0x7f56c56fe0ba - std::panicking::begin_panic_handler::{{closure}}::hfd59aee159920495 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:674:13 15: 0x7f56c56fdc39 - std::sys::backtrace::__rust_end_short_backtrace::h3de9fa19d14961d0 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:170:18 16: 0x7f56c56c4fde - rust_begin_unwind at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:665:5 17: 0x7f56c0664f30 - core::panicking::panic_fmt::hd05bc19f58f853cb at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:74:14 18: 0x7f56c0665452 - core::panicking::assert_failed_inner::h706ee5e0f7e28a70 19: 0x7f56c3b583d2 - core[e7969a33fde5fecb]::panicking::assert_failed:: at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:367:5 20: 0x7f56c3a3eb5a - ::apply_once at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/jump_threading.rs:741:9 21: 0x7f56c3a3eb5a - ::apply at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/jump_threading.rs:724:13 22: 0x7f56c3a3eb5a - ::run_pass at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/jump_threading.rs:108:9 23: 0x7f56c38907b8 - rustc_mir_transform[abb460777901d0b7]::pass_manager::run_passes_inner at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/pass_manager.rs:226:17 24: 0x7f56c38a84ff - rustc_mir_transform[abb460777901d0b7]::pass_manager::run_passes at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/pass_manager.rs:169:5 25: 0x7f56c38a84ff - rustc_mir_transform[abb460777901d0b7]::run_optimization_passes at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:573:5 26: 0x7f56c38a84ff - rustc_mir_transform[abb460777901d0b7]::inner_optimized_mir at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:687:5 27: 0x7f56c38a84ff - rustc_mir_transform[abb460777901d0b7]::optimized_mir at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:645:21 28: 0x7f56c42c6f78 - rustc_query_impl[207552d0dacf038f]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:287:13 29: 0x7f56c42c6f78 - rustc_query_impl[207552d0dacf038f]::plumbing::__rust_begin_short_backtrace::> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:548:18 30: 0x7f56c462198f - rustc_query_impl[207552d0dacf038f]::query_impl::optimized_mir::dynamic_query::{closure#2} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:622:25 31: 0x7f56c462198f - >::call_once at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5 32: 0x7f56c419c90a - >, false, false, false> as rustc_query_system[d94a6f38e630312f]::query::config::QueryConfig>::compute at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:110:9 33: 0x7f56c419c90a - rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:478:72 34: 0x7f56c419c90a - rustc_middle[358f364228c769b1]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9 35: 0x7f56c419c90a - >>::try_with::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:283:12 36: 0x7f56c419c90a - >>::with::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9 37: 0x7f56c419c90a - rustc_middle[358f364228c769b1]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9 38: 0x7f56c419c90a - ::start_query::, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13 39: 0x7f56c419c90a - rustc_middle[358f364228c769b1]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:134:9 40: 0x7f56c419c90a - rustc_middle[358f364228c769b1]::ty::context::tls::with_context::::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:36 41: 0x7f56c419c90a - rustc_middle[358f364228c769b1]::ty::context::tls::with_context_opt::::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:101:18 42: 0x7f56c419c90a - rustc_middle[358f364228c769b1]::ty::context::tls::with_context::::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:5 43: 0x7f56c419c90a - rustc_middle[358f364228c769b1]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 8usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:125:5 44: 0x7f56c419c90a - ::start_query::, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:136:9 45: 0x7f56c419c90a - rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:478:18 46: 0x7f56c419c90a - rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt, false> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:414:9 47: 0x7f56c419c90a - rustc_query_system[d94a6f38e630312f]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt, false> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:357:13 48: 0x7f56c454d24b - rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:809:32 49: 0x7f56c454d24b - stacker[471aeffdd5d812a]::maybe_grow::, rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}> at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 50: 0x7f56c454d24b - rustc_data_structures[2a17454f20a32e5a]::stack::ensure_sufficient_stack::, rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5 51: 0x7f56c454d24b - rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:809:5 52: 0x7f56c454d24b - rustc_query_impl[207552d0dacf038f]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:598:26 53: 0x7f56c324854e - rustc_middle[358f364228c769b1]::query::plumbing::query_get_at::>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:143:17 54: 0x7f56c32563dc - ::instance_mir 55: 0x7f56c2cb0865 - rustc_interface[cebae5dfd678fb8d]::passes::run_required_analyses::{closure#7}::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:921:17 56: 0x7f56c2cb0865 - ::par_body_owners::::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:352:82 57: 0x7f56c2cb0865 - rustc_data_structures[2a17454f20a32e5a]::sync::parallel::enabled::par_for_each_in::<&rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId, &[rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:183:34 58: 0x7f56c2cb0865 - ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> as core[e7969a33fde5fecb]::ops::function::FnOnce<()>>::call_once at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9 59: 0x7f56c2cb0865 - std[7bb4667a5604419a]::panicking::try::do_call::::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>, ()> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:557:40 60: 0x7f56c2cb0865 - std[7bb4667a5604419a]::panicking::try::<(), core[e7969a33fde5fecb]::panic::unwind_safe::AssertUnwindSafe::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:520:19 61: 0x7f56c2cb0865 - std[7bb4667a5604419a]::panic::catch_unwind::::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>, ()> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:358:14 62: 0x7f56c2cb0865 - ::run::<(), rustc_data_structures[2a17454f20a32e5a]::sync::parallel::enabled::par_for_each_in<&rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId, &[rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:29:9 63: 0x7f56c2b8e2ce - rustc_data_structures[2a17454f20a32e5a]::sync::parallel::enabled::par_for_each_in::<&rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId, &[rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#1} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:187:21 64: 0x7f56c2b8e2ce - as core[e7969a33fde5fecb]::iter::traits::iterator::Iterator>::for_each::::par_body_owners::{closure#0}>::{closure#0}::{closure#1}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/slice/iter/macros.rs:254:21 65: 0x7f56c2b8e2ce - rustc_data_structures[2a17454f20a32e5a]::sync::parallel::enabled::par_for_each_in::<&rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId, &[rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:186:17 66: 0x7f56c2b8e2ce - rustc_data_structures[2a17454f20a32e5a]::sync::parallel::parallel_guard::<(), rustc_data_structures[2a17454f20a32e5a]::sync::parallel::enabled::par_for_each_in<&rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId, &[rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:45:15 67: 0x7f56c2b8e2ce - rustc_data_structures[2a17454f20a32e5a]::sync::parallel::enabled::par_for_each_in::<&rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId, &[rustc_span[2c8183a7fb0e658c]::def_id::LocalDefId], ::par_body_owners::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:179:9 68: 0x7f56c2b8e2ce - ::par_body_owners:: at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:352:9 69: 0x7f56c2b8e2ce - rustc_interface[cebae5dfd678fb8d]::passes::run_required_analyses::{closure#7} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:920:13 70: 0x7f56c2b8e2ce - ::run::<(), rustc_interface[cebae5dfd678fb8d]::passes::run_required_analyses::{closure#7}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:753:9 71: 0x7f56c2b8e2ce - ::time::<(), rustc_interface[cebae5dfd678fb8d]::passes::run_required_analyses::{closure#7}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:16:9 72: 0x7f56c2aff984 - rustc_interface[cebae5dfd678fb8d]::passes::run_required_analyses at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:919:9 73: 0x7f56c2aff984 - rustc_interface[cebae5dfd678fb8d]::passes::analysis at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:930:5 74: 0x7f56c42e97d4 - rustc_query_impl[207552d0dacf038f]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:283:9 75: 0x7f56c42e97d4 - rustc_query_impl[207552d0dacf038f]::plumbing::__rust_begin_short_backtrace::> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:548:18 76: 0x7f56c45a9097 - rustc_query_impl[207552d0dacf038f]::query_impl::analysis::dynamic_query::{closure#2} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:622:25 77: 0x7f56c45a9097 - >::call_once at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5 78: 0x7f56c41a830a - >, false, false, false> as rustc_query_system[d94a6f38e630312f]::query::config::QueryConfig>::compute at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:110:9 79: 0x7f56c41a830a - rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:478:72 80: 0x7f56c41a830a - rustc_middle[358f364228c769b1]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9 81: 0x7f56c41a830a - >>::try_with::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:283:12 82: 0x7f56c41a830a - >>::with::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9 83: 0x7f56c41a830a - rustc_middle[358f364228c769b1]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9 84: 0x7f56c41a830a - ::start_query::, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13 85: 0x7f56c41a830a - rustc_middle[358f364228c769b1]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:134:9 86: 0x7f56c41a830a - rustc_middle[358f364228c769b1]::ty::context::tls::with_context::::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:36 87: 0x7f56c41a830a - rustc_middle[358f364228c769b1]::ty::context::tls::with_context_opt::::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:101:18 88: 0x7f56c41a830a - rustc_middle[358f364228c769b1]::ty::context::tls::with_context::::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:5 89: 0x7f56c41a830a - rustc_middle[358f364228c769b1]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[358f364228c769b1]::query::erase::Erased<[u8; 1usize]>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:125:5 90: 0x7f56c41a830a - ::start_query::, rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:136:9 91: 0x7f56c41a830a - rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:478:18 92: 0x7f56c41a830a - rustc_query_system[d94a6f38e630312f]::query::plumbing::execute_job::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt, false> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:414:9 93: 0x7f56c41a830a - rustc_query_system[d94a6f38e630312f]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt, false> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:357:13 94: 0x7f56c4693c3f - rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:809:32 95: 0x7f56c4693c3f - stacker[471aeffdd5d812a]::maybe_grow::, rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}> at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 96: 0x7f56c4693c3f - rustc_data_structures[2a17454f20a32e5a]::stack::ensure_sufficient_stack::, rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt>::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5 97: 0x7f56c4693c3f - rustc_query_system[d94a6f38e630312f]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[207552d0dacf038f]::plumbing::QueryCtxt> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:809:5 98: 0x7f56c4693c3f - rustc_query_impl[207552d0dacf038f]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:598:26 99: 0x7f56c1b42db7 - rustc_middle[358f364228c769b1]::query::plumbing::query_get_at::>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:143:17 100: 0x7f56c1b42db7 - ::analysis at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:422:31 101: 0x7f56c1b42db7 - ::analysis at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:413:35 102: 0x7f56c1b42db7 - rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}::{closure#1}::{closure#5} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:449:52 103: 0x7f56c1b42db7 - ::enter::>::{closure#1} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1326:37 104: 0x7f56c1b42db7 - rustc_middle[358f364228c769b1]::ty::context::tls::enter_context::<::enter>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9 105: 0x7f56c1b42db7 - >>::try_with::::enter>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:283:12 106: 0x7f56c1b42db7 - >>::with::::enter>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9 107: 0x7f56c1b42db7 - rustc_middle[358f364228c769b1]::ty::context::tls::enter_context::<::enter>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9 108: 0x7f56c1b42db7 - ::enter::> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1326:9 109: 0x7f56c1ac12c7 - rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}::{closure#1} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:449:13 110: 0x7f56c1ac12c7 - ::enter::, rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:210:19 111: 0x7f56c1b83b19 - rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:391:22 112: 0x7f56c1b83b19 - rustc_interface[cebae5dfd678fb8d]::interface::run_compiler::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:505:27 113: 0x7f56c1b83b19 - rustc_interface[cebae5dfd678fb8d]::util::run_in_thread_pool_with_globals::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:157:13 114: 0x7f56c1b83b19 - rustc_interface[cebae5dfd678fb8d]::util::run_in_thread_with_globals::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:107:21 115: 0x7f56c1b83b19 - >::set::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9 116: 0x7f56c1ba1ef3 - rustc_span[2c8183a7fb0e658c]::create_session_globals_then::, rustc_interface[cebae5dfd678fb8d]::util::run_in_thread_with_globals, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:137:5 117: 0x7f56c1b2b561 - rustc_interface[cebae5dfd678fb8d]::util::run_in_thread_with_globals::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:106:17 118: 0x7f56c1b2b561 - std[7bb4667a5604419a]::sys::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:154:18 119: 0x7f56c1b94c11 - ::spawn_unchecked_::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#1}::{closure#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:533:17 120: 0x7f56c1b94c11 - ::spawn_unchecked_, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[e7969a33fde5fecb]::ops::function::FnOnce<()>>::call_once at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9 121: 0x7f56c1b94c11 - std[7bb4667a5604419a]::panicking::try::do_call::::spawn_unchecked_, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:557:40 122: 0x7f56c1b94c11 - std[7bb4667a5604419a]::panicking::try::, core[e7969a33fde5fecb]::panic::unwind_safe::AssertUnwindSafe<::spawn_unchecked_, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#1}::{closure#0}>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:520:19 123: 0x7f56c1b94c11 - std[7bb4667a5604419a]::panic::catch_unwind::::spawn_unchecked_, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>> at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:358:14 124: 0x7f56c1b94c11 - ::spawn_unchecked_::, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#1} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:532:30 125: 0x7f56c1b94c11 - <::spawn_unchecked_, rustc_driver_impl[2df5fcfeee3fac93]::run_compiler::{closure#0}>::{closure#1}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e7969a33fde5fecb]::result::Result<(), rustc_span[2c8183a7fb0e658c]::ErrorGuaranteed>>::{closure#1} as core[e7969a33fde5fecb]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5 126: 0x7f56c5702f94 - as core::ops::function::FnOnce>::call_once::h9ce6a8b3ea2cbcd7 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2454:9 127: 0x7f56c5702f94 - as core::ops::function::FnOnce>::call_once::h6437f7aaee23d844 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2454:9 128: 0x7f56c5702f94 - std::sys::pal::unix::thread::Thread::new::thread_start::h460aa5606994b0b5 at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/pal/unix/thread.rs:105:17 129: 0x7f56bd09ca94 - start_thread at ./nptl/pthread_create.c:447:8 130: 0x7f56bd129c3c - clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 131: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: rustc 1.83.0-dev running on x86_64-unknown-linux-gnu note: compiler flags: -Z mir-opt-level=5 -Z validate-mir -Z dump-mir-dir=dir query stack during panic: #0 [optimized_mir] optimizing MIR for `check_multiple_lints_3` #1 [analysis] running analysis passes on this crate end of query stack error: aborting due to 1 previous error; 1 warning emitted For more information about this error, try `rustc --explain E0601`. ```

clubby789 commented 1 month ago

The MIR pre-opt is:

fn check_multiple_lints_3(_1: bool) -> () {
    debug terminate => _1;
    let mut _0: ();

    bb0: {
        goto -> bb1;
    }

    bb1: {
        goto -> bb1;
    }

    bb2: {
        switchInt(copy _1) -> [0: bb2, otherwise: bb3];
    }

    bb3: {
        return;
    }
}

In apply_once, the debug assertion fails because op.chain contains [bb2, bb2]

This doesn't reproduce if loop {} is used instead as the unreachable second loop is removed from the MIR