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 when combining asm_const and const_refs_to_static #129462

Closed
folkertdev opened this issue Aug 23, 2024 · 1 comment · Fixed by #129472
Closed

ICE when combining asm_const and const_refs_to_static #129462

folkertdev opened this issue Aug 23, 2024 · 1 comment · Fixed by #129472
Labels
C-bug Category: This is a bug. 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.

Comments

@folkertdev
Copy link
Contributor

folkertdev commented Aug 23, 2024

I suspect the compiler continues in an inconsistent state for too long after emitting the (correct) error message.

related issues

Code

Note that this code should not compile today. Pointer types are not allowed in the asm! const expression, only integer types are.

#![feature(const_refs_to_static)]
use std::arch::asm;
use std::ptr::addr_of;

extern "C" {
    static FOO: usize;
}

#[no_mangle]
fn my_asm_wrapper() {
    unsafe { asm!("mov {},eax", const addr_of!(FOO)) };
}

https://godbolt.org/z/3fv5E6E4v,

Meta

rustc --version --verbose:

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

specifically commit b5723af

Error output

error: invalid type for `const` operand
  --> src/lib.rs:11:33
   |
11 |     unsafe { asm!("mov {},eax", const addr_of!(FOO)) };
   |                                 ^^^^^^-------------
   |                                       |
   |                                       is a `*const usize`
   |
   = help: `const` operands must be of an integer type
Backtrace

thread 'rustc' panicked at compiler/rustc_borrowck/src/type_check/mod.rs:388:75:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:     0x75b6b631ac8a - trace
                               at /home/folkertdev/rust/rust/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:     0x75b6b631ac8a - trace_unsynchronized<std::backtrace::{impl#4}::create::{closure_env#0}>
                               at /home/folkertdev/rust/rust/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x75b6b631ac8a - create
                               at /home/folkertdev/rust/rust/library/std/src/backtrace.rs:331:13
   3:     0x75b6b631abe5 - std::backtrace::Backtrace::force_capture::h55f1d030995ccfbc
                               at /home/folkertdev/rust/rust/library/std/src/backtrace.rs:312:9
   4:     0x75b6b6d7b22b - {closure#0}
                               at /home/folkertdev/rust/rust/compiler/rustc_driver_impl/src/lib.rs:1435:25
   5:     0x75b6b6d7b22b - call<(&(dyn core::ops::function::Fn<(&std::panic::PanicHookInfo), Output=()> + core::marker::Send + core::marker::Sync), &std::panic::PanicHookInfo), rustc_driver_impl::install_ice_hook::{closure_env#0}, alloc::alloc::Global>
                               at /home/folkertdev/rust/rust/library/alloc/src/boxed.rs:2164:9
   6:     0x75b6b62e78ec - rust_panic_with_hook
                               at /home/folkertdev/rust/rust/library/std/src/panicking.rs:805:13
   7:     0x75b6b6316a60 - {closure#0}
                               at /home/folkertdev/rust/rust/library/std/src/panicking.rs:664:13
   8:     0x75b6b63169e9 - std::sys::backtrace::__rust_end_short_backtrace::hacdcf7d91e673461
                               at /home/folkertdev/rust/rust/library/std/src/sys/backtrace.rs:170:18
   9:     0x75b6b62e735b - begin_panic_handler
                               at /home/folkertdev/rust/rust/library/std/src/panicking.rs:662:5
  10:     0x75b6b62e3f73 - panic_fmt
                               at /home/folkertdev/rust/rust/library/core/src/panicking.rs:74:14
  11:     0x75b6b62e3ffc - panic
                               at /home/folkertdev/rust/rust/library/core/src/panicking.rs:148:5
  12:     0x75b6b62e3d89 - core::option::unwrap_failed::h093eca03bc597622
                               at /home/folkertdev/rust/rust/library/core/src/option.rs:2015:5
  13:     0x75b6b7d766cb - unwrap<rustc_middle::ty::Ty>
                               at /home/folkertdev/rust/rust/library/core/src/option.rs:965:21
  14:     0x75b6b7d766cb - visit_const_operand
                               at /home/folkertdev/rust/rust/compiler/rustc_borrowck/src/type_check/mod.rs:388:34
  15:     0x75b6b7ec5e0f - super_terminator<rustc_borrowck::type_check::TypeVerifier>
  16:     0x75b6b7ec5e0f - visit_terminator<rustc_borrowck::type_check::TypeVerifier>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/mir/visit.rs:120:17
  17:     0x75b6b7ec5e0f - super_basic_block_data<rustc_borrowck::type_check::TypeVerifier>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/mir/visit.rs:313:21
  18:     0x75b6b7ec5e0f - visit_basic_block_data<rustc_borrowck::type_check::TypeVerifier>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/mir/visit.rs:88:17
  19:     0x75b6b7ec5e0f - super_body<rustc_borrowck::type_check::TypeVerifier>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/mir/visit.rs:1035:13
  20:     0x75b6b7d74176 - visit_body
                               at /home/folkertdev/rust/rust/compiler/rustc_borrowck/src/type_check/mod.rs:470:9
  21:     0x75b6b7d74176 - type_check
                               at /home/folkertdev/rust/rust/compiler/rustc_borrowck/src/type_check/mod.rs:180:5
  22:     0x75b6b7f153f9 - compute_regions
                               at /home/folkertdev/rust/rust/compiler/rustc_borrowck/src/nll.rs:102:9
  23:     0x75b6b7eb8309 - do_mir_borrowck
                               at /home/folkertdev/rust/rust/compiler/rustc_borrowck/src/lib.rs:215:9
  24:     0x75b6b7ea3872 - mir_borrowck
                               at /home/folkertdev/rust/rust/compiler/rustc_borrowck/src/lib.rs:125:27
  25:     0x75b6b86b2897 - {closure#0}
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/lib.rs:223:1
  26:     0x75b6b86b2897 - __rust_begin_short_backtrace<rustc_query_impl::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure_env#0}, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:548:18
  27:     0x75b6b86e335c - {closure#2}
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:620:25
  28:     0x75b6b86e335c - call_once<rustc_query_impl::query_impl::mir_borrowck::dynamic_query::{closure_env#2}, (rustc_middle::ty::context::TyCtxt, rustc_span::def_id::LocalDefId)>
                               at /home/folkertdev/rust/rust/library/core/src/ops/function.rs:250:5
  29:     0x75b6b8850f6f - {closure#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64
  30:     0x75b6b8850f6f - {closure#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  31:     0x75b6b8850f6f - try_with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:283:12
  32:     0x75b6b8850f6f - with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:260:9
  33:     0x75b6b8947535 - enter_context<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:79:5
  34:     0x75b6b8947535 - {closure#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/dep_graph/mod.rs:33:13
  35:     0x75b6b8947535 - {closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:36
  36:     0x75b6b8947535 - with_context_opt<rustc_middle::ty::context::tls::with_context::{closure_env#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:101:18
  37:     0x75b6b8947535 - with_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:5
  38:     0x75b6b8947535 - with_deps<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/dep_graph/mod.rs:30:9
  39:     0x75b6b88415c9 - {closure#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37
  40:     0x75b6b88415c9 - with_task<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>), rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/dep_graph/graph.rs:371:14
  41:     0x75b6b88415c9 - {closure#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:537:13
  42:     0x75b6b88415c9 - {closure#0}<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  43:     0x75b6b88415c9 - try_with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:283:12
  44:     0x75b6b88415c9 - with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:260:9
  45:     0x75b6b8924691 - enter_context<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:79:5
  46:     0x75b6b8924691 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:151:13
  47:     0x75b6b8924691 - {closure#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:134:9
  48:     0x75b6b8924691 - {closure#0}<rustc_middle::ty::context::tls::with_related_context::{closure_env#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:36
  49:     0x75b6b8924691 - with_context_opt<rustc_middle::ty::context::tls::with_context::{closure_env#0}<rustc_middle::ty::context::tls::with_related_context::{closure_env#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:101:18
  50:     0x75b6b8924691 - with_context<rustc_middle::ty::context::tls::with_related_context::{closure_env#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:5
  51:     0x75b6b8924691 - with_related_context<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:125:5
  52:     0x75b6b8924691 - start_query<(rustc_middle::query::erase::Erased<[u8; 8]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:136:9
  53:     0x75b6b8924691 - execute_job_incr<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:526:9
  54:     0x75b6b8924691 - execute_job<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:405:9
  55:     0x75b6b8924691 - try_execute_query<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:357:13
  56:     0x75b6b8632dfc - {closure#0}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:837:9
  57:     0x75b6b8632dfc - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 8]>, core::option::Option<rustc_query_system::dep_graph::graph::DepNodeIndex>), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
  58:     0x75b6b8632dfc - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 8]>, core::option::Option<rustc_query_system::dep_graph::graph::DepNodeIndex>), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/stack.rs:17:5
  59:     0x75b6b8632dfc - get_query_incr<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:836:36
  60:     0x75b6b8632dfc - __rust_end_short_backtrace
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:578:21
  61:     0x75b6b6f7ef7a - query_ensure<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/query/plumbing.rs:159:9
  62:     0x75b6b6f7ef7a - mir_borrowck<rustc_span::def_id::LocalDefId>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/query/plumbing.rs:194:9
  63:     0x75b6b6f7ef7a - {closure#0}
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/passes.rs:793:13
  64:     0x75b6b6f7ef7a - {closure#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/hir/map/mod.rs:352:82
  65:     0x75b6b6f7da8e - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/sync/parallel.rs:183:34
  66:     0x75b6b6f7da8e - call_once<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>>
                               at /home/folkertdev/rust/rust/library/core/src/panic/unwind_safe.rs:272:9
  67:     0x75b6b6f7da8e - do_call<core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>>, ()>
                               at /home/folkertdev/rust/rust/library/std/src/panicking.rs:554:40
  68:     0x75b6b6f7da8e - try<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>>>
                               at /home/folkertdev/rust/rust/library/std/src/panicking.rs:518:19
  69:     0x75b6b6f7da8e - catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>>, ()>
                               at /home/folkertdev/rust/rust/library/std/src/panic.rs:345:14
  70:     0x75b6b6f7993c - run<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#1}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/sync/parallel.rs:29:9
  71:     0x75b6b6f7800e - {closure#1}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/sync/parallel.rs:187:21
  72:     0x75b6b6f7800e - for_each<rustc_span::def_id::LocalDefId, rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure_env#1}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>>
                               at /home/folkertdev/rust/rust/library/core/src/slice/iter/macros.rs:254:21
  73:     0x75b6b6f7800e - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/sync/parallel.rs:186:17
  74:     0x75b6b6f7800e - parallel_guard<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/sync/parallel.rs:45:15
  75:     0x75b6b6f7800e - par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/sync/parallel.rs:179:9
  76:     0x75b6b6fd52d3 - par_body_owners<rustc_interface::passes::run_required_analyses::{closure#1}::{closure_env#0}>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/hir/map/mod.rs:352:9
  77:     0x75b6b6fd52d3 - {closure#1}
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/passes.rs:789:9
  78:     0x75b6b6fd52d3 - run<(), rustc_interface::passes::run_required_analyses::{closure_env#1}>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/profiling.rs:753:9
  79:     0x75b6b6fd52d3 - time<(), rustc_interface::passes::run_required_analyses::{closure_env#1}>
                               at /home/folkertdev/rust/rust/compiler/rustc_session/src/utils.rs:16:9
  80:     0x75b6b6f76ac3 - run_required_analyses
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/passes.rs:788:5
  81:     0x75b6b6f76ac3 - analysis
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/passes.rs:839:5
  82:     0x75b6b86cf9a5 - {closure#0}
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/lib.rs:223:1
  83:     0x75b6b86cf9a5 - __rust_begin_short_backtrace<rustc_query_impl::query_impl::analysis::dynamic_query::{closure#2}::{closure_env#0}, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:548:18
  84:     0x75b6b85f7b49 - {closure#2}
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:620:25
  85:     0x75b6b85f7b49 - call_once<rustc_query_impl::query_impl::analysis::dynamic_query::{closure_env#2}, (rustc_middle::ty::context::TyCtxt, ())>
                               at /home/folkertdev/rust/rust/library/core/src/ops/function.rs:250:5
  86:     0x75b6b884e269 - {closure#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64
  87:     0x75b6b884e269 - {closure#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:82:9
  88:     0x75b6b884e269 - try_with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:283:12
  89:     0x75b6b884e269 - with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:260:9
  90:     0x75b6b8944950 - enter_context<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:79:5
  91:     0x75b6b8944950 - {closure#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/dep_graph/mod.rs:33:13
  92:     0x75b6b8944950 - {closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:36
  93:     0x75b6b8944950 - with_context_opt<rustc_middle::ty::context::tls::with_context::{closure_env#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:101:18
  94:     0x75b6b8944950 - with_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure_env#0}<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:5
  95:     0x75b6b8944950 - with_deps<rustc_query_system::dep_graph::graph::{impl#4}::with_task::{closure#0}::{closure_env#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/dep_graph/mod.rs:30:9
  96:     0x75b6b881cd3c - {closure#0}<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37
  97:     0x75b6b881cd3c - with_task<rustc_middle::dep_graph::DepsType, (rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/dep_graph/graph.rs:362:14
  98:     0x75b6b881cd3c - {closure#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:537:13
  99:     0x75b6b881cd3c - {closure#0}<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:82:9
 100:     0x75b6b881cd3c - try_with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:283:12
 101:     0x75b6b881cd3c - with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:260:9
 102:     0x75b6b88c6a00 - enter_context<rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:79:5
 103:     0x75b6b88c6a00 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:151:13
 104:     0x75b6b88c6a00 - {closure#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:134:9
 105:     0x75b6b88c6a00 - {closure#0}<rustc_middle::ty::context::tls::with_related_context::{closure_env#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:36
 106:     0x75b6b88c6a00 - with_context_opt<rustc_middle::ty::context::tls::with_context::{closure_env#0}<rustc_middle::ty::context::tls::with_related_context::{closure_env#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:101:18
 107:     0x75b6b88c6a00 - with_context<rustc_middle::ty::context::tls::with_related_context::{closure_env#0}<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:112:5
 108:     0x75b6b88c6a00 - with_related_context<rustc_query_impl::plumbing::{impl#3}::start_query::{closure_env#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:125:5
 109:     0x75b6b88c6a00 - start_query<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:136:9
 110:     0x75b6b88c6a00 - execute_job_incr<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:526:9
 111:     0x75b6b88c6a00 - execute_job<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:405:9
 112:     0x75b6b88c6a00 - try_execute_query<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:357:13
 113:     0x75b6b85f7e14 - {closure#0}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:837:9
 114:     0x75b6b85f7e14 - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option<rustc_query_system::dep_graph::graph::DepNodeIndex>), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
 115:     0x75b6b85f7e14 - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option<rustc_query_system::dep_graph::graph::DepNodeIndex>), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>
                               at /home/folkertdev/rust/rust/compiler/rustc_data_structures/src/stack.rs:17:5
 116:     0x75b6b85f7e14 - get_query_incr<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>
                               at /home/folkertdev/rust/rust/compiler/rustc_query_system/src/query/plumbing.rs:836:36
 117:     0x75b6b85f7e14 - __rust_end_short_backtrace
                               at /home/folkertdev/rust/rust/compiler/rustc_query_impl/src/plumbing.rs:578:21
 118:     0x75b6b6dbb350 - query_get_at<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/query/plumbing.rs:143:17
 119:     0x75b6b6dbb350 - analysis
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/query/plumbing.rs:421:31
 120:     0x75b6b6dbb350 - analysis
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/query/plumbing.rs:412:17
 121:     0x75b6b6dbb350 - {closure#5}
                               at /home/folkertdev/rust/rust/compiler/rustc_driver_impl/src/lib.rs:448:48
 122:     0x75b6b6dbb350 - {closure#1}<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}::{closure_env#5}, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context.rs:1322:37
 123:     0x75b6b6dbb350 - {closure#0}<rustc_middle::ty::context::{impl#19}::enter::{closure_env#1}<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}::{closure_env#5}, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:82:9
 124:     0x75b6b6dbb350 - try_with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_middle::ty::context::{impl#19}::enter::{closure_env#1}<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}::{closure_env#5}, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:283:12
 125:     0x75b6b6dbb350 - with<core::cell::Cell<*const ()>, rustc_middle::ty::context::tls::enter_context::{closure_env#0}<rustc_middle::ty::context::{impl#19}::enter::{closure_env#1}<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}::{closure_env#5}, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/local.rs:260:9
 126:     0x75b6b6dbc876 - enter_context<rustc_middle::ty::context::{impl#19}::enter::{closure_env#1}<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}::{closure_env#5}, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context/tls.rs:79:5
 127:     0x75b6b6dbc876 - enter<rustc_driver_impl::run_compiler::{closure#0}::{closure#1}::{closure_env#5}, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_middle/src/ty/context.rs:1322:9
 128:     0x75b6b6d899cc - {closure#1}
                               at /home/folkertdev/rust/rust/compiler/rustc_driver_impl/src/lib.rs:448:13
 129:     0x75b6b6d899cc - enter<rustc_driver_impl::run_compiler::{closure#0}::{closure_env#1}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/queries.rs:210:19
 130:     0x75b6b6dbef3b - {closure#0}
                               at /home/folkertdev/rust/rust/compiler/rustc_driver_impl/src/lib.rs:392:22
 131:     0x75b6b6dbef3b - {closure#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/interface.rs:502:27
 132:     0x75b6b6dbef3b - {closure#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/util.rs:157:13
 133:     0x75b6b6dbef3b - {closure#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/util.rs:107:21
 134:     0x75b6b6dbef3b - set<rustc_span::SessionGlobals, rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9
 135:     0x75b6b6d977c5 - create_session_globals_then<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>
                               at /home/folkertdev/rust/rust/compiler/rustc_span/src/lib.rs:135:5
 136:     0x75b6b6daf216 - {closure#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/compiler/rustc_interface/src/util.rs:106:17
 137:     0x75b6b6daf216 - __rust_begin_short_backtrace<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/library/std/src/sys/backtrace.rs:154:18
 138:     0x75b6b6db5f90 - {closure#0}<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/mod.rs:522:17
 139:     0x75b6b6db5f90 - call_once<core::result::Result<(), rustc_span::ErrorGuaranteed>, std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>
                               at /home/folkertdev/rust/rust/library/core/src/panic/unwind_safe.rs:272:9
 140:     0x75b6b6db5f90 - do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/library/std/src/panicking.rs:554:40
 141:     0x75b6b6db5f90 - try<core::result::Result<(), rustc_span::ErrorGuaranteed>, core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>>
                               at /home/folkertdev/rust/rust/library/std/src/panicking.rs:518:19
 142:     0x75b6b6db5f90 - catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/library/std/src/panic.rs:345:14
 143:     0x75b6b6db5f90 - {closure#1}<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>
                               at /home/folkertdev/rust/rust/library/std/src/thread/mod.rs:521:30
 144:     0x75b6b6db5f90 - call_once<std::thread::{impl#0}::spawn_unchecked_::{closure_env#1}<rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure_env#0}<rustc_interface::util::run_in_thread_pool_with_globals::{closure_env#0}<rustc_interface::interface::run_compiler::{closure_env#1}<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, ()>
                               at /home/folkertdev/rust/rust/library/core/src/ops/function.rs:250:5
 145:     0x75b6b63049cd - call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>
                               at /home/folkertdev/rust/rust/library/alloc/src/boxed.rs:2150:9
 146:     0x75b6b63049cd - call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global>
                               at /home/folkertdev/rust/rust/library/alloc/src/boxed.rs:2150:9
 147:     0x75b6b62f085a - std::sys::pal::unix::thread::Thread::new::thread_start::hf5af2c4982942030
                               at /home/folkertdev/rust/rust/library/std/src/sys/pal/unix/thread.rs:105:17
 148:     0x75b6b609ca94 - start_thread
                               at ./nptl/pthread_create.c:447:8
 149:     0x75b6b6129c3c - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
 150:                0x0 - <unknown>


rustc version: 1.82.0-dev
platform: x86_64-unknown-linux-gnu

query stack during panic:
#0 [mir_borrowck] borrow-checking `my_asm_wrapper`
#1 [analysis] running analysis passes on this crate
end of query stack

@folkertdev folkertdev added C-bug Category: This is a bug. 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. labels Aug 23, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 23, 2024
@folkertdev
Copy link
Contributor Author

looks like here

} else if let Some(static_def_id) = constant.check_static_ptr(tcx) {
let unnormalized_ty = tcx.type_of(static_def_id).instantiate_identity();
let normalized_ty = self.cx.normalize(unnormalized_ty, locations);
let literal_ty = constant.const_.ty().builtin_deref(true).unwrap();

the case of the const_.ty() being a type error is not handled. I don't know that it should be, or that this indicates some bug in an earlier pass.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Sep 5, 2024
…m-const, r=lcnr

fix ICE when `asm_const` and `const_refs_to_static` are combined

fixes rust-lang#129462
fixes rust-lang#126896
fixes rust-lang#124164

I think this is a case that was missed in the fix for rust-lang#125558, which inserts a type error in the case of an invalid (that is, non-integer) type being passed to an asm `const` operand.

I'm not 100% sure that `span_mirbug_and_err` is the right macro here, but it is used earlier with `builtin_deref` and seems to do the trick.

r? `@lcnr`
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Sep 6, 2024
…m-const, r=lcnr

fix ICE when `asm_const` and `const_refs_to_static` are combined

fixes rust-lang#129462
fixes rust-lang#126896
fixes rust-lang#124164

I think this is a case that was missed in the fix for rust-lang#125558, which inserts a type error in the case of an invalid (that is, non-integer) type being passed to an asm `const` operand.

I'm not 100% sure that `span_mirbug_and_err` is the right macro here, but it is used earlier with `builtin_deref` and seems to do the trick.

r? ```@lcnr```
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Sep 6, 2024
…m-const, r=lcnr

fix ICE when `asm_const` and `const_refs_to_static` are combined

fixes rust-lang#129462
fixes rust-lang#126896
fixes rust-lang#124164

I think this is a case that was missed in the fix for rust-lang#125558, which inserts a type error in the case of an invalid (that is, non-integer) type being passed to an asm `const` operand.

I'm not 100% sure that `span_mirbug_and_err` is the right macro here, but it is used earlier with `builtin_deref` and seems to do the trick.

r? ````@lcnr````
@bors bors closed this as completed in 3daa015 Sep 6, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Sep 6, 2024
Rollup merge of rust-lang#129472 - folkertdev:const-refs-to-static-asm-const, r=lcnr

fix ICE when `asm_const` and `const_refs_to_static` are combined

fixes rust-lang#129462
fixes rust-lang#126896
fixes rust-lang#124164

I think this is a case that was missed in the fix for rust-lang#125558, which inserts a type error in the case of an invalid (that is, non-integer) type being passed to an asm `const` operand.

I'm not 100% sure that `span_mirbug_and_err` is the right macro here, but it is used earlier with `builtin_deref` and seems to do the trick.

r? ``@lcnr``
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 7, 2024
lnicola pushed a commit to lnicola/rust-analyzer that referenced this issue Sep 25, 2024
…r=lcnr

fix ICE when `asm_const` and `const_refs_to_static` are combined

fixes rust-lang/rust#129462
fixes #126896
fixes #124164

I think this is a case that was missed in the fix for rust-lang/rust#125558, which inserts a type error in the case of an invalid (that is, non-integer) type being passed to an asm `const` operand.

I'm not 100% sure that `span_mirbug_and_err` is the right macro here, but it is used earlier with `builtin_deref` and seems to do the trick.

r? ``@lcnr``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. 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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants