Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE immediate Scalar(alloc1) does not fit to layout TyAndLayout #121176

Open
matthiaskrgr opened this issue Feb 16, 2024 · 2 comments
Open

ICE immediate Scalar(alloc1) does not fit to layout TyAndLayout #121176

matthiaskrgr opened this issue Feb 16, 2024 · 2 comments
Labels
A-const-eval Area: constant evaluation (mir interpretation) A-mir-opt Area: MIR optimizations A-mir-opt-inlining Area: MIR inlining C-bug Category: This is a bug. F-trivial_bounds `#![feature(trivial_bounds)]` I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires debug-assertions in some way S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@matthiaskrgr
Copy link
Member

snippet:

use std::fmt::Debug;

static STATIC_1: dyn Debug + Sync = *();

fn main() {
    println!("{:?}", &STATIC_1);
}

Version information

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

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

@matthiaskrgr matthiaskrgr added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-bug Category: This is a bug. requires-debug-assertions This issue requires debug-assertions in some way labels Feb 16, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Feb 16, 2024
@matthiaskrgr
Copy link
Member Author

Program output

error[E0277]: the size for values of type `(dyn Debug + Sync + 'static)` cannot be known at compilation time
 --> /tmp/icemaker_global_tempdir.DeGTikoAenpp/rustc_testrunner_tmpdir_reporting.slPe3eVWcNgu/mvce.rs:3:18
  |
3 | static STATIC_1: dyn Debug + Sync = *();
  |                  ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
  |
  = help: the trait `Sized` is not implemented for `(dyn Debug + Sync + 'static)`

error[E0614]: type `()` cannot be dereferenced
 --> /tmp/icemaker_global_tempdir.DeGTikoAenpp/rustc_testrunner_tmpdir_reporting.slPe3eVWcNgu/mvce.rs:3:37
  |
3 | static STATIC_1: dyn Debug + Sync = *();
  |                                     ^^^

error[E0277]: the size for values of type `(dyn Debug + Sync + 'static)` cannot be known at compilation time
 --> /tmp/icemaker_global_tempdir.DeGTikoAenpp/rustc_testrunner_tmpdir_reporting.slPe3eVWcNgu/mvce.rs:3:37
  |
3 | static STATIC_1: dyn Debug + Sync = *();
  |                                     ^^^ doesn't have a size known at compile-time
  |
  = help: the trait `Sized` is not implemented for `(dyn Debug + Sync + 'static)`
  = note: constant expressions must have a statically known size

thread 'rustc' panicked at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_const_eval/src/interpret/operand.rs:195:9:
immediate Scalar(alloc1) does not fit to layout TyAndLayout { ty: &dyn Debug + Sync, layout: Layout { size: Size(16 bytes), align: AbiAndPrefAlign { abi: Align(8 bytes), pref: Align(8 bytes) }, abi: ScalarPair(Initialized { value: Pointer(AddressSpace(0)), valid_range: 1..=18446744073709551615 }, Initialized { value: Pointer(AddressSpace(0)), valid_range: 1..=18446744073709551615 }), fields: Arbitrary { offsets: [Size(0 bytes), Size(8 bytes)], memory_index: [0, 1] }, largest_niche: Some(Niche { offset: Size(0 bytes), value: Pointer(AddressSpace(0)), valid_range: 1..=18446744073709551615 }), variants: Single { index: 0 }, max_repr_align: None, unadjusted_abi_align: Align(8 bytes) } }
stack backtrace:
   0:     0x7fed34f64e6d - std::backtrace_rs::backtrace::libunwind::trace::h71aa28bdc5089aab
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x7fed34f64e6d - std::backtrace_rs::backtrace::trace_unsynchronized::hc71f6f29c4d7cf67
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fed34f64e6d - std::sys_common::backtrace::_print_fmt::h8e1e2ea27397ed17
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7fed34f64e6d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h28aca7b36a9d50a9
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fed34fc2f82 - core::fmt::rt::Argument::fmt::h67bfbe6caf20ecda
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:142:9
   5:     0x7fed34fc2f82 - core::fmt::write::h2b3e0bd86bdfc209
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1120:17
   6:     0x7fed34f77015 - std::io::Write::write_fmt::h136db78b548c4ef6
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1854:15
   7:     0x7fed34f64c04 - std::sys_common::backtrace::_print::h5b92b1853c8de3bd
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fed34f64c04 - std::sys_common::backtrace::print::h490b617a207e3b67
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fed34f65dc3 - std::panicking::default_hook::{{closure}}::h45adea5532c8b211
  10:     0x7fed34f65aee - std::panicking::default_hook::hd02efd9905101244
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:292:9
  11:     0x7fed37bab99f - rustc_driver_impl[909e6e8fa1c11d47]::install_ice_hook::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1339:17
  12:     0x7fed37bab99f - <alloc[7d65993373035c28]::boxed::Box<rustc_driver_impl[909e6e8fa1c11d47]::install_ice_hook::{closure#0}> as core[aa444211b5f41879]::ops::function::Fn<(&dyn for<'a, 'b> core[aa444211b5f41879]::ops::function::Fn<(&'a core[aa444211b5f41879]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[aa444211b5f41879]::marker::Sync + core[aa444211b5f41879]::marker::Send, &core[aa444211b5f41879]::panic::panic_info::PanicInfo)>>::call
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9
  13:     0x7fed34f66892 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc3e26a573d0d775a
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9
  14:     0x7fed34f66892 - std::panicking::rust_panic_with_hook::h62b1349491684a47
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:785:13
  15:     0x7fed34f66562 - std::panicking::begin_panic_handler::{{closure}}::ha9ba801d79b7df26
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:659:13
  16:     0x7fed34f65136 - std::sys_common::backtrace::__rust_end_short_backtrace::h143ebb6cbd4c764e
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:171:18
  17:     0x7fed34f661a4 - rust_begin_unwind
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:647:5
  18:     0x7fed34fc98a5 - core::panicking::panic_fmt::h7cdaca6ac7987f65
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:72:14
  19:     0x7fed393afe62 - <rustc_const_eval[ab814e08342ab5a8]::interpret::operand::ImmTy>::from_immediate
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_const_eval/src/interpret/operand.rs:195:9
  20:     0x7fed393afe62 - <rustc_const_eval[ab814e08342ab5a8]::interpret::operand::OpTy>::as_mplace_or_imm
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_const_eval/src/interpret/place.rs:308:46
  21:     0x7fed393afe62 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator>::eval_constant
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:273:14
  22:     0x7fed393b22d7 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_constant
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:721:9
  23:     0x7fed393b26fb - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_operand
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:783:25
  24:     0x7fed393b26fb - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_operand
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:715:9
  25:     0x7fed393b26fb - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_rvalue
  26:     0x7fed393b26fb - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_rvalue
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:136:17
  27:     0x7fed393b26fb - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_assign
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:1216:1
  28:     0x7fed393b26fb - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_assign
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:725:14
  29:     0x7fed393b5a36 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_statement
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:380:25
  30:     0x7fed393b5a36 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_statement
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:761:9
  31:     0x7fed393b705e - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_basic_block_data
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:307:21
  32:     0x7fed393b705e - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_basic_block_data
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:826:9
  33:     0x7fed393b20c9 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_body
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:710:13
  34:     0x7fed393acb99 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropLint as rustc_mir_transform[ae807e96d5ad20c3]::pass_manager::MirLint>::run_lint
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:66:9
  35:     0x7fed3938e99a - rustc_mir_transform[ae807e96d5ad20c3]::pass_manager::run_passes_inner
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/pass_manager.rs:144:17
  36:     0x7fed391e3c76 - rustc_mir_transform[ae807e96d5ad20c3]::pass_manager::run_passes_no_validate
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/pass_manager.rs:77:5
  37:     0x7fed391e3c76 - rustc_mir_transform[ae807e96d5ad20c3]::run_runtime_lowering_passes
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:540:5
  38:     0x7fed391e3c76 - rustc_mir_transform[ae807e96d5ad20c3]::run_analysis_to_runtime_passes
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:496:5
  39:     0x7fed391e3533 - rustc_mir_transform[ae807e96d5ad20c3]::mir_drops_elaborated_and_const_checked
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:465:5
  40:     0x7fed39a4f753 - rustc_query_impl[ea1bc1adb87d5406]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:589:47
  41:     0x7fed39a4f753 - rustc_query_impl[ea1bc1adb87d5406]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ea1bc1adb87d5406]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:513:18
  42:     0x7fed39b7b14b - rustc_query_impl[ea1bc1adb87d5406]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:585:25
  43:     0x7fed39b7b14b - <rustc_query_impl[ea1bc1adb87d5406]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2} as core[aa444211b5f41879]::ops::function::FnOnce<(rustc_middle[d41a5bb2115c0833]::ty::context::TyCtxt, rustc_span[26c08e5561374bf4]::def_id::LocalDefId)>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  44:     0x7fed399be43a - <rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false> as rustc_query_system[9f9f6511c50b34e9]::query::config::QueryConfig<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>>::compute
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:112:9
  45:     0x7fed399be43a - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:471:72
  46:     0x7fed399be43a - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  47:     0x7fed399be43a - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::try_with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:286:16
  48:     0x7fed399be43a - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:262:9
  49:     0x7fed399be43a - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
  50:     0x7fed399be43a - <rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13
  51:     0x7fed399be43a - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context::<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:133:9
  52:     0x7fed399be43a - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:36
  53:     0x7fed399be43a - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context_opt::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:100:18
  54:     0x7fed399be43a - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:5
  55:     0x7fed399be43a - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context::<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:5
  56:     0x7fed399be43a - <rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:136:9
  57:     0x7fed399be43a - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:471:18
  58:     0x7fed399be43a - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:407:9
  59:     0x7fed399be43a - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::try_execute_query::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:350:13
  60:     0x7fed39ad62f6 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:802:32
  61:     0x7fed39ad62f6 - stacker[bd635a8d74548ce]::maybe_grow::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
  62:     0x7fed39ad62f6 - rustc_data_structures[e0f6edd1cfe6a31f]::stack::ensure_sufficient_stack::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  63:     0x7fed39ad62f6 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:802:5
  64:     0x7fed39ad62f6 - rustc_query_impl[ea1bc1adb87d5406]::query_impl::mir_drops_elaborated_and_const_checked::get_query_non_incr::__rust_end_short_backtrace
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:563:26
  65:     0x7fed388441ee - rustc_middle[d41a5bb2115c0833]::query::plumbing::query_ensure::<rustc_query_system[9f9f6511c50b34e9]::query::caches::VecCache<rustc_span[26c08e5561374bf4]::def_id::LocalDefId, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:172:9
  66:     0x7fed388441ee - <rustc_middle[d41a5bb2115c0833]::query::plumbing::TyCtxtEnsure>::mir_drops_elaborated_and_const_checked::<rustc_span[26c08e5561374bf4]::def_id::LocalDefId>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:207:9
  67:     0x7fed388441ee - rustc_interface[e8c82a8a4a3eab8]::passes::analysis::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:754:17
  68:     0x7fed388441ee - <rustc_data_structures[e0f6edd1cfe6a31f]::profiling::VerboseTimingGuard>::run::<(), rustc_interface[e8c82a8a4a3eab8]::passes::analysis::{closure#2}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:753:9
  69:     0x7fed388441ee - <rustc_session[565787d41b37c288]::session::Session>::time::<(), rustc_interface[e8c82a8a4a3eab8]::passes::analysis::{closure#2}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:12:9
  70:     0x7fed388b56c9 - rustc_interface[e8c82a8a4a3eab8]::passes::analysis
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:741:5
  71:     0x7fed39a51bc1 - rustc_query_impl[ea1bc1adb87d5406]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:589:47
  72:     0x7fed39a51bc1 - rustc_query_impl[ea1bc1adb87d5406]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ea1bc1adb87d5406]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:513:18
  73:     0x7fed39d25717 - rustc_query_impl[ea1bc1adb87d5406]::query_impl::analysis::dynamic_query::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:585:25
  74:     0x7fed39d25717 - <rustc_query_impl[ea1bc1adb87d5406]::query_impl::analysis::dynamic_query::{closure#2} as core[aa444211b5f41879]::ops::function::FnOnce<(rustc_middle[d41a5bb2115c0833]::ty::context::TyCtxt, ())>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  75:     0x7fed39906504 - <rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false> as rustc_query_system[9f9f6511c50b34e9]::query::config::QueryConfig<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>>::compute
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:112:9
  76:     0x7fed39906504 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:471:72
  77:     0x7fed39906504 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  78:     0x7fed39906504 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::try_with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:286:16
  79:     0x7fed39906504 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:262:9
  80:     0x7fed39906504 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
  81:     0x7fed39906504 - <rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13
  82:     0x7fed39906504 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context::<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:133:9
  83:     0x7fed39906504 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:36
  84:     0x7fed39906504 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context_opt::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:100:18
  85:     0x7fed39906504 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:5
  86:     0x7fed39906504 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context::<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:5
  87:     0x7fed39906504 - <rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:136:9
  88:     0x7fed39906504 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:471:18
  89:     0x7fed39906504 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:407:9
  90:     0x7fed39906504 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::try_execute_query::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:350:13
  91:     0x7fed39acca62 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:802:32
  92:     0x7fed39acca62 - stacker[bd635a8d74548ce]::maybe_grow::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
  93:     0x7fed39acca62 - rustc_data_structures[e0f6edd1cfe6a31f]::stack::ensure_sufficient_stack::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  94:     0x7fed39acca62 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:802:5
  95:     0x7fed39acca62 - rustc_query_impl[ea1bc1adb87d5406]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:563:26
  96:     0x7fed37bbfc44 - rustc_middle[d41a5bb2115c0833]::query::plumbing::query_get_at::<rustc_query_system[9f9f6511c50b34e9]::query::caches::SingleCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 1usize]>>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:156:17
  97:     0x7fed37bbfc44 - <rustc_middle[d41a5bb2115c0833]::query::plumbing::TyCtxtAt>::analysis
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/mod.rs:2233:1
  98:     0x7fed37bbfc44 - <rustc_middle[d41a5bb2115c0833]::ty::context::TyCtxt>::analysis
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:431:35
  99:     0x7fed37bbfc44 - rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}::{closure#3}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:441:52
 100:     0x7fed37bbfc44 - <rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:673:37
 101:     0x7fed37bbfc44 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
 102:     0x7fed37bbfc44 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::try_with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:286:16
 103:     0x7fed37bbfc44 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:262:9
 104:     0x7fed37bbfc44 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
 105:     0x7fed37bbfc44 - <rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:673:9
 106:     0x7fed37b3805a - rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:441:13
 107:     0x7fed37b3805a - <rustc_interface[e8c82a8a4a3eab8]::interface::Compiler>::enter::<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<core[aa444211b5f41879]::option::Option<rustc_interface[e8c82a8a4a3eab8]::queries::Linker>, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:313:19
 108:     0x7fed37b7c6a6 - rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:389:22
 109:     0x7fed37b7c6a6 - rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:431:21
 110:     0x7fed37b7c6a6 - rustc_span[26c08e5561374bf4]::set_source_map::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:1230:5
 111:     0x7fed37b9bbbc - rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:425:13
 112:     0x7fed37b9194a - rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals::<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:117:13
 113:     0x7fed37b9194a - <scoped_tls[af7c8664e9f149d3]::ScopedKey<rustc_span[26c08e5561374bf4]::SessionGlobals>>::set::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9
 114:     0x7fed37b7cc59 - rustc_span[26c08e5561374bf4]::create_session_globals_then::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:131:5
 115:     0x7fed37ba488e - rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:79:38
 116:     0x7fed37ba488e - std[9e45a94ab2b939d9]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:155:18
 117:     0x7fed37b8c23f - <std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:529:17
 118:     0x7fed37b8c23f - <core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[aa444211b5f41879]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
 119:     0x7fed37b8c23f - std[9e45a94ab2b939d9]::panicking::try::do_call::<core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:554:40
 120:     0x7fed37b8c23f - std[9e45a94ab2b939d9]::panicking::try::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:518:19
 121:     0x7fed37b8c23f - std[9e45a94ab2b939d9]::panic::catch_unwind::<core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:142:14
 122:     0x7fed37b8c23f - <std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:528:30
 123:     0x7fed37b8c23f - <<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1} as core[aa444211b5f41879]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
 124:     0x7fed34f4bf2c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6534edd00de45d0a
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9
 125:     0x7fed34f4bf2c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hfc923cc959abd00c
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9
 126:     0x7fed34f22a45 - std::sys::pal::unix::thread::Thread::new::thread_start::h57135b15377165e8
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/pal/unix/thread.rs:108:17
 127:     0x7fed34d149eb - <unknown>
 128:     0x7fed34d987cc - <unknown>
 129:                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: rustc 1.78.0-dev running on x86_64-unknown-linux-gnu

query stack during panic:
#0 [mir_drops_elaborated_and_const_checked] elaborating drops for `main`
#1 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 3 previous errors

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

@jieyouxu jieyouxu added A-const-eval Area: constant evaluation (mir interpretation) S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Feb 16, 2024
@matthiaskrgr
Copy link
Member Author

This also triggers on code that compiles with mir inlining:

auto-reduced (treereduce-rust):

#![feature(trivial_bounds)]

use std::fmt::Debug;

pub fn foo()
where
    Vec<str>: Debug,
    str: Copy,
{
    let x = vec![*"1"];
    println!("{:?}", x);
}

original:

//@ run-pass
// Test that inconsistent bounds are used in well-formedness checks
#![feature(trivial_bounds)]

use std::fmt::Debug;

pub fn foo() where Vec<str>: Debug, str: Copy {
    //~^ WARNING Debug does not depend on any type or lifetime
    //~| WARNING Copy does not depend on any type or lifetime
    let x = vec![*"1"];
    println!("{:?}", x);
}

fn main() {}

Version information

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

Command:
/home/matthias/.rustup/toolchains/local-debug-assertions/bin/rustc -Zinline-mir=yes --crate-type=lib

Program output

warning: trait bound Vec<str>: Debug does not depend on any type or lifetime parameters
 --> /tmp/icemaker_global_tempdir.LLCcbtko2u82/rustc_testrunner_tmpdir_reporting.jkOzphCV82Pz/mvce.rs:7:15
  |
7 |     Vec<str>: Debug,
  |               ^^^^^
  |
  = note: `#[warn(trivial_bounds)]` on by default

warning: trait bound str: Copy does not depend on any type or lifetime parameters
 --> /tmp/icemaker_global_tempdir.LLCcbtko2u82/rustc_testrunner_tmpdir_reporting.jkOzphCV82Pz/mvce.rs:8:10
  |
8 |     str: Copy,
  |          ^^^^

thread 'rustc' panicked at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_const_eval/src/interpret/operand.rs:195:9:
immediate ScalarPair(alloc1<imm>, 0x0000000000000000) does not fit to layout TyAndLayout { ty: &str, layout: Layout { size: Size(8 bytes), align: AbiAndPrefAlign { abi: Align(8 bytes), pref: Align(8 bytes) }, abi: Scalar(Initialized { value: Pointer(AddressSpace(0)), valid_range: 1..=18446744073709551615 }), fields: Primitive, largest_niche: Some(Niche { offset: Size(0 bytes), value: Pointer(AddressSpace(0)), valid_range: 1..=18446744073709551615 }), variants: Single { index: 0 }, max_repr_align: None, unadjusted_abi_align: Align(8 bytes) } }
stack backtrace:
   0:     0x7f369f20662d - std::backtrace_rs::backtrace::libunwind::trace::h71aa28bdc5089aab
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x7f369f20662d - std::backtrace_rs::backtrace::trace_unsynchronized::hc71f6f29c4d7cf67
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f369f20662d - std::sys_common::backtrace::_print_fmt::h8e1e2ea27397ed17
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7f369f20662d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h28aca7b36a9d50a9
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f369f254922 - core::fmt::rt::Argument::fmt::h67bfbe6caf20ecda
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:142:9
   5:     0x7f369f254922 - core::fmt::write::h2b3e0bd86bdfc209
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1120:17
   6:     0x7f369f1f53c5 - std::io::Write::write_fmt::h136db78b548c4ef6
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1846:15
   7:     0x7f369f2063c4 - std::sys_common::backtrace::_print::h5b92b1853c8de3bd
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f369f2063c4 - std::sys_common::backtrace::print::h490b617a207e3b67
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f369f207593 - std::panicking::default_hook::{{closure}}::h45adea5532c8b211
  10:     0x7f369f2072a9 - std::panicking::default_hook::hd02efd9905101244
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:292:9
  11:     0x7f369bda6e4f - rustc_driver_impl[909e6e8fa1c11d47]::install_ice_hook::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1339:17
  12:     0x7f369bda6e4f - <alloc[7d65993373035c28]::boxed::Box<rustc_driver_impl[909e6e8fa1c11d47]::install_ice_hook::{closure#0}> as core[aa444211b5f41879]::ops::function::Fn<(&dyn for<'a, 'b> core[aa444211b5f41879]::ops::function::Fn<(&'a core[aa444211b5f41879]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[aa444211b5f41879]::marker::Sync + core[aa444211b5f41879]::marker::Send, &core[aa444211b5f41879]::panic::panic_info::PanicInfo)>>::call
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9
  13:     0x7f369f208062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc3e26a573d0d775a
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9
  14:     0x7f369f208062 - std::panicking::rust_panic_with_hook::h62b1349491684a47
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:786:13
  15:     0x7f369f207d32 - std::panicking::begin_panic_handler::{{closure}}::ha9ba801d79b7df26
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:660:13
  16:     0x7f369f2068f6 - std::sys_common::backtrace::__rust_end_short_backtrace::h143ebb6cbd4c764e
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:171:18
  17:     0x7f369f207974 - rust_begin_unwind
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:648:5
  18:     0x7f369f2657c5 - core::panicking::panic_fmt::h7cdaca6ac7987f65
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:72:14
  19:     0x7f369d442dd2 - <rustc_const_eval[ab814e08342ab5a8]::interpret::operand::ImmTy>::from_immediate
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_const_eval/src/interpret/operand.rs:195:9
  20:     0x7f369d442dd2 - <rustc_const_eval[ab814e08342ab5a8]::interpret::operand::OpTy>::as_mplace_or_imm
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_const_eval/src/interpret/place.rs:308:46
  21:     0x7f369d442dd2 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator>::eval_constant
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:268:14
  22:     0x7f369d445247 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_constant
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:716:9
  23:     0x7f369d4455f0 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_operand
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:783:25
  24:     0x7f369d4455f0 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_operand
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:710:9
  25:     0x7f369d4455f0 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_rvalue
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:753:29
  26:     0x7f369d4455f0 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_rvalue
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:136:17
  27:     0x7f369d4455f0 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_assign
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:1216:1
  28:     0x7f369d4455f0 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_assign
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:720:14
  29:     0x7f369d4489a6 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_statement
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:380:25
  30:     0x7f369d4489a6 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_statement
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:756:9
  31:     0x7f369d449dee - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::super_basic_block_data
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/mir/visit.rs:307:21
  32:     0x7f369d449dee - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_basic_block_data
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:821:9
  33:     0x7f369d445039 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropagator as rustc_middle[d41a5bb2115c0833]::mir::visit::Visitor>::visit_body
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:705:13
  34:     0x7f369d43fc27 - <rustc_mir_transform[ae807e96d5ad20c3]::const_prop_lint::ConstPropLint as rustc_mir_transform[ae807e96d5ad20c3]::pass_manager::MirLint>::run_lint
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/const_prop_lint.rs:61:9
  35:     0x7f369d56c38a - rustc_mir_transform[ae807e96d5ad20c3]::pass_manager::run_passes_inner
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/pass_manager.rs:144:17
  36:     0x7f369d614516 - rustc_mir_transform[ae807e96d5ad20c3]::pass_manager::run_passes_no_validate
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/pass_manager.rs:77:5
  37:     0x7f369d614516 - rustc_mir_transform[ae807e96d5ad20c3]::run_runtime_lowering_passes
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:539:5
  38:     0x7f369d614516 - rustc_mir_transform[ae807e96d5ad20c3]::run_analysis_to_runtime_passes
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:495:5
  39:     0x7f369d615739 - rustc_mir_transform[ae807e96d5ad20c3]::promoted_mir
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_mir_transform/src/lib.rs:685:9
  40:     0x7f369dc67555 - rustc_query_impl[ea1bc1adb87d5406]::query_impl::promoted_mir::dynamic_query::{closure#2}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:587:47
  41:     0x7f369dc67555 - rustc_query_impl[ea1bc1adb87d5406]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ea1bc1adb87d5406]::query_impl::promoted_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:511:18
  42:     0x7f369de51acf - rustc_query_impl[ea1bc1adb87d5406]::query_impl::promoted_mir::dynamic_query::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:583:25
  43:     0x7f369de51acf - <rustc_query_impl[ea1bc1adb87d5406]::query_impl::promoted_mir::dynamic_query::{closure#2} as core[aa444211b5f41879]::ops::function::FnOnce<(rustc_middle[d41a5bb2115c0833]::ty::context::TyCtxt, rustc_span[26c08e5561374bf4]::def_id::DefId)>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  44:     0x7f369db307d8 - <rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false> as rustc_query_system[9f9f6511c50b34e9]::query::config::QueryConfig<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>>::compute
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:113:9
  45:     0x7f369db307d8 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:471:72
  46:     0x7f369db307d8 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  47:     0x7f369db307d8 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::try_with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:286:16
  48:     0x7f369db307d8 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:262:9
  49:     0x7f369db307d8 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
  50:     0x7f369db307d8 - <rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:149:13
  51:     0x7f369db307d8 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context::<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:133:9
  52:     0x7f369db307d8 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:36
  53:     0x7f369db307d8 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context_opt::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:100:18
  54:     0x7f369db307d8 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_context::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:5
  55:     0x7f369db307d8 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::with_related_context::<<rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:5
  56:     0x7f369db307d8 - <rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt as rustc_query_system[9f9f6511c50b34e9]::query::QueryContext>::start_query::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:134:9
  57:     0x7f369db307d8 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:471:18
  58:     0x7f369db307d8 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::execute_job::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:407:9
  59:     0x7f369db307d8 - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::try_execute_query::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:350:13
  60:     0x7f369df95b3a - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:802:32
  61:     0x7f369df95b3a - stacker[bd635a8d74548ce]::maybe_grow::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
  62:     0x7f369df95b3a - rustc_data_structures[e0f6edd1cfe6a31f]::stack::ensure_sufficient_stack::<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  63:     0x7f369df95b3a - rustc_query_system[9f9f6511c50b34e9]::query::plumbing::get_query_non_incr::<rustc_query_impl[ea1bc1adb87d5406]::DynamicConfig<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ea1bc1adb87d5406]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:802:5
  64:     0x7f369df95b3a - rustc_query_impl[ea1bc1adb87d5406]::query_impl::promoted_mir::get_query_non_incr::__rust_end_short_backtrace
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:561:26
  65:     0x7f369ccfbd78 - rustc_middle[d41a5bb2115c0833]::query::plumbing::query_get_at::<rustc_query_system[9f9f6511c50b34e9]::query::caches::DefIdCache<rustc_middle[d41a5bb2115c0833]::query::erase::Erased<[u8; 8usize]>>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:156:17
  66:     0x7f369cd025f0 - <rustc_middle[d41a5bb2115c0833]::query::plumbing::TyCtxtAt>::promoted_mir::<rustc_span[26c08e5561374bf4]::def_id::LocalDefId>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/mod.rs:2233:1
  67:     0x7f369cd025f0 - <rustc_middle[d41a5bb2115c0833]::ty::context::TyCtxt>::promoted_mir::<rustc_span[26c08e5561374bf4]::def_id::LocalDefId>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:431:35
  68:     0x7f369cd025f0 - <rustc_metadata[ff11f02385e095d3]::rmeta::encoder::EncodeContext>::encode_mir
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_metadata/src/rmeta/encoder.rs:1667:73
  69:     0x7f369cd025f0 - <rustc_metadata[ff11f02385e095d3]::rmeta::encoder::EncodeContext>::encode_crate_root::{closure#15}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_metadata/src/rmeta/encoder.rs:631:29
  70:     0x7f369cd025f0 - <rustc_metadata[ff11f02385e095d3]::rmeta::encoder::EncodeContext>::encode_crate_root
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_metadata/src/rmeta/encoder.rs:592:27
  71:     0x7f369cd12501 - rustc_metadata[ff11f02385e095d3]::rmeta::encoder::encode_metadata
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_metadata/src/rmeta/encoder.rs:2249:16
  72:     0x7f369ccbcb78 - rustc_metadata[ff11f02385e095d3]::fs::encode_and_write_metadata
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_metadata/src/fs.rs:65:13
  73:     0x7f369cad5aef - rustc_interface[e8c82a8a4a3eab8]::passes::start_codegen
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:924:44
  74:     0x7f369ca7c9e2 - <rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:235:35
  75:     0x7f369ca7c9e2 - <rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter::<<rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:673:37
  76:     0x7f369ca7c9e2 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<<rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  77:     0x7f369ca7c9e2 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::try_with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<<rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:286:16
  78:     0x7f369ca7c9e2 - <std[9e45a94ab2b939d9]::thread::local::LocalKey<core[aa444211b5f41879]::cell::Cell<*const ()>>>::with::<rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<<rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:262:9
  79:     0x7f369ca7c9e2 - rustc_middle[d41a5bb2115c0833]::ty::context::tls::enter_context::<<rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter<<rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
  80:     0x7f369ca7c9e2 - <rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>::enter::<<rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:673:9
  81:     0x7f369ca182a0 - <rustc_interface[e8c82a8a4a3eab8]::queries::QueryResult<&rustc_middle[d41a5bb2115c0833]::ty::context::GlobalCtxt>>::enter::<core[aa444211b5f41879]::result::Result<rustc_interface[e8c82a8a4a3eab8]::queries::Linker, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, <rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:71:9
  82:     0x7f369ca182a0 - <rustc_interface[e8c82a8a4a3eab8]::queries::Queries>::codegen_and_build_linker
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:224:9
  83:     0x7f369bd4b79d - rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:447:26
  84:     0x7f369bd4b79d - <rustc_interface[e8c82a8a4a3eab8]::interface::Compiler>::enter::<rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<core[aa444211b5f41879]::option::Option<rustc_interface[e8c82a8a4a3eab8]::queries::Linker>, rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:313:19
  85:     0x7f369bdaaaf6 - rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:389:22
  86:     0x7f369bdaaaf6 - rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:431:21
  87:     0x7f369bdaaaf6 - rustc_span[26c08e5561374bf4]::set_source_map::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:1230:5
  88:     0x7f369bd841cc - rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:425:13
  89:     0x7f369bd792ea - rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals::<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:117:13
  90:     0x7f369bd792ea - <scoped_tls[af7c8664e9f149d3]::ScopedKey<rustc_span[26c08e5561374bf4]::SessionGlobals>>::set::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9
  91:     0x7f369bdb76ad - rustc_span[26c08e5561374bf4]::create_session_globals_then::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:131:5
  92:     0x7f369bdb76ad - rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:79:38
  93:     0x7f369bdb76ad - std[9e45a94ab2b939d9]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:155:18
  94:     0x7f369bdbac1f - <std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:528:17
  95:     0x7f369bdbac1f - <core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[aa444211b5f41879]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
  96:     0x7f369bdbac1f - std[9e45a94ab2b939d9]::panicking::try::do_call::<core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:555:40
  97:     0x7f369bdbac1f - std[9e45a94ab2b939d9]::panicking::try::<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:519:19
  98:     0x7f369bdbac1f - std[9e45a94ab2b939d9]::panic::catch_unwind::<core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:142:14
  99:     0x7f369bdbac1f - <std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_::<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:527:30
 100:     0x7f369bdbac1f - <<std[9e45a94ab2b939d9]::thread::Builder>::spawn_unchecked_<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_with_globals<rustc_interface[e8c82a8a4a3eab8]::util::run_in_thread_pool_with_globals<rustc_interface[e8c82a8a4a3eab8]::interface::run_compiler<core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>, rustc_driver_impl[909e6e8fa1c11d47]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[26c08e5561374bf4]::ErrorGuaranteed>>::{closure#1} as core[aa444211b5f41879]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
 101:     0x7f369f20e52c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6534edd00de45d0a
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9
 102:     0x7f369f20e52c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hfc923cc959abd00c
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9
 103:     0x7f369f1d0375 - std::sys::pal::unix::thread::Thread::new::thread_start::h57135b15377165e8
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/pal/unix/thread.rs:108:17
 104:     0x7f36990749eb - <unknown>
 105:     0x7f36990f87cc - <unknown>
 106:                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: rustc 1.78.0-dev running on x86_64-unknown-linux-gnu

note: compiler flags: -Z inline-mir=yes --crate-type lib -Z dump-mir-dir=dir

query stack during panic:
#0 [promoted_mir] optimizing promoted MIR for `foo`
end of query stack
warning: 2 warnings emitted


@matthiaskrgr matthiaskrgr added A-mir-opt Area: MIR optimizations A-mir-opt-inlining Area: MIR inlining F-trivial_bounds `#![feature(trivial_bounds)]` labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-const-eval Area: constant evaluation (mir interpretation) A-mir-opt Area: MIR optimizations A-mir-opt-inlining Area: MIR inlining C-bug Category: This is a bug. F-trivial_bounds `#![feature(trivial_bounds)]` I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires debug-assertions in some way S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants