Skip to content

ICE: layout.ty.discriminant_for_variant(tcx, idx).unwrap().val != u128::from(idx.as_u32() #144501

@matthiaskrgr

Description

@matthiaskrgr

snippet:

enum E {
    S0 {
        s: String,
    },
    Bar = {
        let x = 1;
        3
    },
}

static C: E = E::S1 { u: 23 };

Version information

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

Possibly related line of code:

// Ensure all inhabited variants are accounted for.
if !variant.is_uninhabited() {
assert!(idx == *untagged_variant || niche_variants.contains(&idx));
}
// Ensure that for niche encoded tags the discriminant coincides with the variant index.
assert_eq!(
layout.ty.discriminant_for_variant(tcx, idx).unwrap().val,
u128::from(idx.as_u32()),
);
}
}
for variant in variants.iter() {

Command:
/home/gh-matthiaskrgr/.rustup/toolchains/local-debug-assertions/bin/rustc

Program output

error[E0601]: `main` function not found in crate `mvce`
  --> /tmp/icemaker_global_tempdir.21libD7dwMJ7/rustc_testrunner_tmpdir_reporting.vRJs2bsCSS6t/mvce.rs:11:31
   |
11 | static C: E = E::S1 { u: 23 };
   |                               ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.21libD7dwMJ7/rustc_testrunner_tmpdir_reporting.vRJs2bsCSS6t/mvce.rs`

warning: unused variable: `x`
 --> /tmp/icemaker_global_tempdir.21libD7dwMJ7/rustc_testrunner_tmpdir_reporting.vRJs2bsCSS6t/mvce.rs:6:13
  |
6 |         let x = 1;
  |             ^ help: if this is intentional, prefix it with an underscore: `_x`
  |
  = note: `#[warn(unused_variables)]` on by default

error[E0732]: `#[repr(inttype)]` must be specified for enums with explicit discriminants and non-unit variants
 --> /tmp/icemaker_global_tempdir.21libD7dwMJ7/rustc_testrunner_tmpdir_reporting.vRJs2bsCSS6t/mvce.rs:1:1
  |
1 |   enum E {
  |   ^^^^^^
2 |       S0 {
  |       -- non-unit discriminant declared here
...
5 |       Bar = {
  |  ___________-
6 | |         let x = 1;
7 | |         3
8 | |     },
  | |_____- explicit discriminant specified here


thread 'rustc' panicked at compiler/rustc_ty_utils/src/layout/invariant.rs:282:21:
assertion `left == right` failed
  left: 3
 right: 1
stack backtrace:
   0:     0x7b3ad7f0d9ef - std::backtrace_rs::backtrace::libunwind::trace::h5b8c747f77ac707a
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1:     0x7b3ad7f0d9ef - std::backtrace_rs::backtrace::trace_unsynchronized::h9b33bb3aae4c9c1a
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2:     0x7b3ad7f0d9ef - std::sys::backtrace::_print_fmt::h5061dc391f27cdbc
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:66:9
   3:     0x7b3ad7f0d9ef - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h4cc2a9d90ac54071
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:39:26
   4:     0x7b3ad2703f73 - core::fmt::rt::Argument::fmt::hf7325075b5e23ef0
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:173:76
   5:     0x7b3ad2703f73 - core::fmt::write::he68fd2dea2152aa6
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1468:25
   6:     0x7b3ad7eae83f - std::io::default_write_fmt::h696b8386299f2a7c
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:639:11
   7:     0x7b3ad7eae83f - std::io::Write::write_fmt::hccbd68607561ed1c
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1954:13
   8:     0x7b3ad7f0e54d - std::sys::backtrace::BacktraceLock::print::he08424adb15ea5b5
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:42:9
   9:     0x7b3ad7f0e54d - std::panicking::default_hook::{{closure}}::hb4e00f2b52918190
  10:     0x7b3ad7f0e34f - std::panicking::default_hook::he52edc7afde5c300
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:327:9
  11:     0x7b3ad3efb9d7 - rustc_driver_impl[f3a4d4a6d9fc4234]::install_ice_hook::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1422:17
  12:     0x7b3ad3efb9d7 - <alloc[10846b1f06a81eec]::boxed::Box<rustc_driver_impl[f3a4d4a6d9fc4234]::install_ice_hook::{closure#1}> as core[3f73f8d490aa9b09]::ops::function::Fn<(&dyn for<'a, 'b> core[3f73f8d490aa9b09]::ops::function::Fn<(&'a std[e5731c54f60efa67]::panic::PanicHookInfo<'b>,), Output = ()> + core[3f73f8d490aa9b09]::marker::Send + core[3f73f8d490aa9b09]::marker::Sync, &std[e5731c54f60efa67]::panic::PanicHookInfo)>>::call
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1985:9
  13:     0x7b3ad7f0ee30 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcdf6bbad67d55ab4
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1985:9
  14:     0x7b3ad7f0ee30 - std::panicking::rust_panic_with_hook::hb55b64190b67c31e
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:841:13
  15:     0x7b3ad7f0ea4c - std::panicking::begin_panic_handler::{{closure}}::had143f4d57382ea1
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:706:13
  16:     0x7b3ad7f0dc49 - std::sys::backtrace::__rust_end_short_backtrace::he3664194f31b5a2e
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/backtrace.rs:174:18
  17:     0x7b3ad7f0e6ed - __rustc[b6f6af4e11d2f413]::rust_begin_unwind
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:697:5
  18:     0x7b3ad26fe240 - core::panicking::panic_fmt::hb88429f4ec746cc2
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:75:14
  19:     0x7b3ad26fe765 - core::panicking::assert_failed_inner::h660e56a3253c9075
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:448:17
  20:     0x7b3ad7e6ebd2 - core[3f73f8d490aa9b09]::panicking::assert_failed::<u128, u128>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:403:5
  21:     0x7b3ad7da8bee - rustc_ty_utils[2712104070627929]::layout::invariant::layout_sanity_check
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_ty_utils/src/layout/invariant.rs:282:21
  22:     0x7b3ad7d173b6 - rustc_ty_utils[2712104070627929]::layout::layout_of
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_ty_utils/src/layout.rs:76:5
  23:     0x7b3ad6ab71bf - rustc_query_impl[fa18120455539428]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:294:9
  24:     0x7b3ad6ab71bf - rustc_query_impl[fa18120455539428]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[fa18120455539428]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:578:18
  25:     0x7b3ad69d937a - rustc_query_impl[fa18120455539428]::query_impl::layout_of::dynamic_query::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:655:25
  26:     0x7b3ad69d937a - <rustc_query_impl[fa18120455539428]::query_impl::layout_of::dynamic_query::{closure#2} as core[3f73f8d490aa9b09]::ops::function::FnOnce<(rustc_middle[9f5312bcef468649]::ty::context::TyCtxt, rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>)>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:253:5
  27:     0x7b3ad68b5b7e - <rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false> as rustc_query_system[9238f4c84ab42928]::query::config::QueryConfig<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>>::compute
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:122:9
  28:     0x7b3ad68b5b7e - rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:493:72
  29:     0x7b3ad68b5b7e - rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context::<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:60:9
  30:     0x7b3ad68b5b7e - <std[e5731c54f60efa67]::thread::local::LocalKey<core[3f73f8d490aa9b09]::cell::Cell<*const ()>>>::try_with::<rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:315:12
  31:     0x7b3ad68b5b7e - <std[e5731c54f60efa67]::thread::local::LocalKey<core[3f73f8d490aa9b09]::cell::Cell<*const ()>>>::with::<rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:279:20
  32:     0x7b3ad68b5b7e - rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context::<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:57:9
  33:     0x7b3ad68b5b7e - <rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:161:13
  34:     0x7b3ad68b5b7e - rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context::<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:9
  35:     0x7b3ad68b5b7e - rustc_middle[9f5312bcef468649]::ty::context::tls::with_context::<rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:90:36
  36:     0x7b3ad68b5b7e - rustc_middle[9f5312bcef468649]::ty::context::tls::with_context_opt::<rustc_middle[9f5312bcef468649]::ty::context::tls::with_context<rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:18
  37:     0x7b3ad68b5b7e - rustc_middle[9f5312bcef468649]::ty::context::tls::with_context::<rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:90:5
  38:     0x7b3ad68b5b7e - rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context::<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:103:5
  39:     0x7b3ad68b5b7e - <rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:147:9
  40:     0x7b3ad68b5b7e - rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:493:22
  41:     0x7b3ad68b5b7e - rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt, false>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:429:9
  42:     0x7b3ad68b5b7e - rustc_query_system[9238f4c84ab42928]::query::plumbing::try_execute_query::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt, false>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:372:13
  43:     0x7b3ad6e719de - rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:814:32
  44:     0x7b3ad6e719de - stacker[2910510742f7fb41]::maybe_grow::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  45:     0x7b3ad6e719de - rustc_data_structures[b4ddd2ee93272c1a]::stack::ensure_sufficient_stack::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5
  46:     0x7b3ad6e719de - rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:814:5
  47:     0x7b3ad6e719de - rustc_query_impl[fa18120455539428]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:631:26
  48:     0x7b3ad45def96 - rustc_middle[9f5312bcef468649]::query::plumbing::query_get_at::<rustc_query_system[9238f4c84ab42928]::query::caches::DefaultCache<rustc_middle[9f5312bcef468649]::ty::PseudoCanonicalInput<rustc_middle[9f5312bcef468649]::ty::Ty>, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 16usize]>>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:182:17
  49:     0x7b3ad45def96 - <rustc_middle[9f5312bcef468649]::query::plumbing::TyCtxtAt>::layout_of
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:475:31
  50:     0x7b3ad45def96 - <rustc_middle[9f5312bcef468649]::ty::context::TyCtxt>::layout_of
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:466:35
  51:     0x7b3ad45def96 - rustc_hir_analysis[f4ec9601a84aa5bf]::check::check::check_static_inhabited
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/check/check.rs:185:28
  52:     0x7b3ad45def96 - rustc_hir_analysis[f4ec9601a84aa5bf]::check::check::check_item_type
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/check/check.rs:768:21
  53:     0x7b3ad4640acc - rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_well_formed
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/check/wfcheck.rs:195:19
  54:     0x7b3ad6a9dc16 - rustc_query_impl[fa18120455539428]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:294:9
  55:     0x7b3ad6a9dc16 - rustc_query_impl[fa18120455539428]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[fa18120455539428]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:578:18
  56:     0x7b3ad699fce3 - rustc_query_impl[fa18120455539428]::query_impl::check_well_formed::dynamic_query::{closure#2}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:655:25
  57:     0x7b3ad699fce3 - <rustc_query_impl[fa18120455539428]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[3f73f8d490aa9b09]::ops::function::FnOnce<(rustc_middle[9f5312bcef468649]::ty::context::TyCtxt, rustc_span[6407c948e9f7746]::def_id::LocalDefId)>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:253:5
  58:     0x7b3ad69134bf - <rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false> as rustc_query_system[9238f4c84ab42928]::query::config::QueryConfig<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>>::compute
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:122:9
  59:     0x7b3ad69134bf - rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:493:72
  60:     0x7b3ad69134bf - rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context::<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:60:9
  61:     0x7b3ad69134bf - <std[e5731c54f60efa67]::thread::local::LocalKey<core[3f73f8d490aa9b09]::cell::Cell<*const ()>>>::try_with::<rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:315:12
  62:     0x7b3ad69134bf - <std[e5731c54f60efa67]::thread::local::LocalKey<core[3f73f8d490aa9b09]::cell::Cell<*const ()>>>::with::<rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:279:20
  63:     0x7b3ad69134bf - rustc_middle[9f5312bcef468649]::ty::context::tls::enter_context::<rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:57:9
  64:     0x7b3ad69134bf - <rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:161:13
  65:     0x7b3ad69134bf - rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context::<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::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:9
  66:     0x7b3ad69134bf - rustc_middle[9f5312bcef468649]::ty::context::tls::with_context::<rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:90:36
  67:     0x7b3ad69134bf - rustc_middle[9f5312bcef468649]::ty::context::tls::with_context_opt::<rustc_middle[9f5312bcef468649]::ty::context::tls::with_context<rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:18
  68:     0x7b3ad69134bf - rustc_middle[9f5312bcef468649]::ty::context::tls::with_context::<rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:90:5
  69:     0x7b3ad69134bf - rustc_middle[9f5312bcef468649]::ty::context::tls::with_related_context::<<rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:103:5
  70:     0x7b3ad69134bf - <rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt as rustc_query_system[9238f4c84ab42928]::query::QueryContext>::start_query::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:147:9
  71:     0x7b3ad69134bf - rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:493:22
  72:     0x7b3ad69134bf - rustc_query_system[9238f4c84ab42928]::query::plumbing::execute_job::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt, false>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:429:9
  73:     0x7b3ad69134bf - rustc_query_system[9238f4c84ab42928]::query::plumbing::try_execute_query::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt, false>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:372:13
  74:     0x7b3ad6d361e0 - rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:814:32
  75:     0x7b3ad6d361e0 - stacker[2910510742f7fb41]::maybe_grow::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  76:     0x7b3ad6d361e0 - rustc_data_structures[b4ddd2ee93272c1a]::stack::ensure_sufficient_stack::<rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:21:5
  77:     0x7b3ad6d361e0 - rustc_query_system[9238f4c84ab42928]::query::plumbing::get_query_non_incr::<rustc_query_impl[fa18120455539428]::DynamicConfig<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[fa18120455539428]::plumbing::QueryCtxt>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:814:5
  78:     0x7b3ad6d361e0 - rustc_query_impl[fa18120455539428]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:631:26
  79:     0x7b3ad472cccb - rustc_middle[9f5312bcef468649]::query::plumbing::query_ensure_error_guaranteed::<rustc_data_structures[b4ddd2ee93272c1a]::vec_cache::VecCache<rustc_span[6407c948e9f7746]::def_id::LocalDefId, rustc_middle[9f5312bcef468649]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9238f4c84ab42928]::dep_graph::graph::DepNodeIndex>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:218:9
  80:     0x7b3ad471f0bf - <rustc_middle[9f5312bcef468649]::query::plumbing::TyCtxtEnsureOk>::check_well_formed::<rustc_span[6407c948e9f7746]::def_id::LocalDefId>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:236:9
  81:     0x7b3ad471f0bf - rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/check/wfcheck.rs:2259:43
  82:     0x7b3ad471f0bf - <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items::<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/mod.rs:106:58
  83:     0x7b3ad471f0bf - rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in::<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:212:55
  84:     0x7b3ad471f0bf - <core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}> as core[3f73f8d490aa9b09]::ops::function::FnOnce<()>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
  85:     0x7b3ad471f0bf - std[e5731c54f60efa67]::panicking::catch_unwind::do_call::<core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:589:40
  86:     0x7b3ad471f0bf - std[e5731c54f60efa67]::panicking::catch_unwind::<core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>, core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:552:19
  87:     0x7b3ad471f0bf - std[e5731c54f60efa67]::panic::catch_unwind::<core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:359:14
  88:     0x7b3ad471f0bf - <rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::ParallelGuard>::run::<core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>, rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:23:9
  89:     0x7b3ad471f0bf - rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in::<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:212:48
  90:     0x7b3ad471f0bf - core[3f73f8d490aa9b09]::iter::adapters::filter_map::filter_map_fold::<&rustc_hir[b42bdf266103fca1]::hir::ItemId, core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>, core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>, rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}, <core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>>::and<()>>::{closure#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/iter/adapters/filter_map.rs:39:28
  91:     0x7b3ad471f0bf - <core[3f73f8d490aa9b09]::slice::iter::Iter<rustc_hir[b42bdf266103fca1]::hir::ItemId> as core[3f73f8d490aa9b09]::iter::traits::iterator::Iterator>::fold::<core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>, core[3f73f8d490aa9b09]::iter::adapters::filter_map::filter_map_fold<&rustc_hir[b42bdf266103fca1]::hir::ItemId, core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>, core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>, rustc_data_structures[b4ddd2ee93272c1a]::sync::parallel::try_par_for_each_in<&[rustc_hir[b42bdf266103fca1]::hir::ItemId], rustc_span[6407c948e9f7746]::ErrorGuaranteed, <rustc_middle[9f5312bcef468649]::hir::ModuleItems>::par_items<rustc_hir_analysis[f4ec9601a84aa5bf]::check::wfcheck::check_type_wf::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}, <core[3f73f8d490aa9b09]::result::Result<(), rustc_span[6407c948e9f7746]::ErrorGuaranteed>>::and<()>>::{closure#0}>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/slice/iter/macros.rs:255:27


< snip > 

 185:     0x7b3ad3ec5e57 - <core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<<std[e5731c54f60efa67]::thread::Builder>::spawn_unchecked_<rustc_interface[664a88873f5082ce]::util::run_in_thread_with_globals<rustc_interface[664a88873f5082ce]::util::run_in_thread_pool_with_globals<rustc_interface[664a88873f5082ce]::interface::run_compiler<(), rustc_driver_impl[f3a4d4a6d9fc4234]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}> as core[3f73f8d490aa9b09]::ops::function::FnOnce<()>>::call_once
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
 186:     0x7b3ad3ec5e57 - std[e5731c54f60efa67]::panicking::catch_unwind::do_call::<core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<<std[e5731c54f60efa67]::thread::Builder>::spawn_unchecked_<rustc_interface[664a88873f5082ce]::util::run_in_thread_with_globals<rustc_interface[664a88873f5082ce]::util::run_in_thread_pool_with_globals<rustc_interface[664a88873f5082ce]::interface::run_compiler<(), rustc_driver_impl[f3a4d4a6d9fc4234]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:589:40
 187:     0x7b3ad3ec5e57 - std[e5731c54f60efa67]::panicking::catch_unwind::<(), core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<<std[e5731c54f60efa67]::thread::Builder>::spawn_unchecked_<rustc_interface[664a88873f5082ce]::util::run_in_thread_with_globals<rustc_interface[664a88873f5082ce]::util::run_in_thread_pool_with_globals<rustc_interface[664a88873f5082ce]::interface::run_compiler<(), rustc_driver_impl[f3a4d4a6d9fc4234]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:552:19
 188:     0x7b3ad3ec5e57 - std[e5731c54f60efa67]::panic::catch_unwind::<core[3f73f8d490aa9b09]::panic::unwind_safe::AssertUnwindSafe<<std[e5731c54f60efa67]::thread::Builder>::spawn_unchecked_<rustc_interface[664a88873f5082ce]::util::run_in_thread_with_globals<rustc_interface[664a88873f5082ce]::util::run_in_thread_pool_with_globals<rustc_interface[664a88873f5082ce]::interface::run_compiler<(), rustc_driver_impl[f3a4d4a6d9fc4234]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}::{closure#0}>, ()>
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/panic.rs:359:14
 189:     0x7b3ad3ec5e57 - <std[e5731c54f60efa67]::thread::Builder>::spawn_unchecked_::<rustc_interface[664a88873f5082ce]::util::run_in_thread_with_globals<rustc_interface[664a88873f5082ce]::util::run_in_thread_pool_with_globals<rustc_interface[664a88873f5082ce]::interface::run_compiler<(), rustc_driver_impl[f3a4d4a6d9fc4234]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:557:30
 190:     0x7b3ad3ec5e57 - <<std[e5731c54f60efa67]::thread::Builder>::spawn_unchecked_<rustc_interface[664a88873f5082ce]::util::run_in_thread_with_globals<rustc_interface[664a88873f5082ce]::util::run_in_thread_pool_with_globals<rustc_interface[664a88873f5082ce]::interface::run_compiler<(), rustc_driver_impl[f3a4d4a6d9fc4234]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[3f73f8d490aa9b09]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:253:5
 191:     0x7b3ad7ec1900 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hbff8a86eae5619c2
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1971:9
 192:     0x7b3ad7ec1900 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h54ef384e1bff33e0
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1971:9
 193:     0x7b3ad7ede2d5 - std::sys::pal::unix::thread::Thread::new::thread_start::hfbc4fdd72b951f81
                               at /home/gh-matthiaskrgr/vcs/github/rust_debug_assertions/library/std/src/sys/pal/unix/thread.rs:97:17
 194:     0x7b3acec9caa4 - start_thread
                               at ./nptl/pthread_create.c:447:8
 195:     0x7b3aced29c3c - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
 196:                0x0 - <unknown>

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.90.0-dev running on x86_64-unknown-linux-gnu

query stack during panic:
#0 [layout_of] computing layout of `E`
#1 [check_well_formed] checking that `C` is well-formed
#2 [check_type_wf] checking that types are well-formed
#3 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 2 previous errors; 1 warning emitted

Some errors have detailed explanations: E0601, E0732.
For more information about an error, try `rustc --explain E0601`.

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.requires-debug-assertionsThis issue requires a build of rustc or tooling with debug-assertions in some way

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions