Skip to content

[ICE]: rustc_middle/hir/map.rs:990 assertion fails in debug mode, when building gio #155724

@lewis-belsten-revill

Description

@lewis-belsten-revill

Code

cd gtk-rs-core/gio && cargo +upstream build

Meta

rustc --version --verbose:

rustc 1.97.0-beta.0 (827651f22 2026-04-23)
binary: rustc
commit-hash: 827651f2200cefab42dac4c2ae7f80a7149340de
commit-date: 2026-04-23
host: x86_64-unknown-linux-gnu
release: 1.97.0-beta.0
LLVM version: 22.1.2

Error output

Backtrace

info: `cargo` is unavailable for the active toolchain
info: falling back to "/home/codasip.com/lewis.belsten-revill/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo"
   Compiling gio v0.22.1 (/home/codasip.com/lewis.belsten-revill/work/codasip-cheri/gtk-rs-core/gio)

thread 'rustc' (18769) panicked at compiler/rustc_middle/src/hir/map.rs:990:9:
assertion `left == right` failed
  left: #0
 right: #33
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:689:5
   1: core::panicking::panic_fmt
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/panicking.rs:80:14
   2: core::panicking::assert_failed_inner
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/panicking.rs:439:17
   3: core::panicking::assert_failed::<rustc_span::hygiene::SyntaxContext, rustc_span::hygiene::SyntaxContext>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/panicking.rs:394:5
   4: <rustc_middle::ty::context::TyCtxt>::hir_span
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/hir/map.rs:990:9
   5: rustc_middle::hir::provide::{closure#5}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/hir/mod.rs:481:44
   6: <rustc_middle::hir::provide::{closure#5} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_span::def_id::LocalDefId)>>::call_once
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/ops/function.rs:250:5
      [... omitted 28 frames ...]
   7: rustc_middle::query::inner::query_get_at::<rustc_middle::query::caches::DefIdCache<rustc_middle::query::erase::ErasedData<[u8; 8]>>>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/inner.rs:45:17
   8: <rustc_middle::query::plumbing::TyCtxtAt>::def_span::<rustc_span::def_id::LocalDefId>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/plumbing.rs:574:46
   9: <rustc_middle::ty::context::TyCtxt>::def_span::<rustc_span::def_id::LocalDefId>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/plumbing.rs:562:39
  10: <rustc_hir_typeck::fn_ctxt::FnCtxt>::closure_sigs::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/closure.rs:1119:37
  11: <rustc_hir_typeck::fn_ctxt::FnCtxt>::closure_sigs
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/closure.rs:1110:5
  12: <rustc_hir_typeck::fn_ctxt::FnCtxt>::sig_of_closure_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/closure.rs:736:33
  13: <rustc_hir_typeck::fn_ctxt::FnCtxt>::sig_of_closure
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/closure.rs:631:18
  14: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/closure.rs:70:18
  15: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:386:48
  16: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  17: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  18: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  19: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  20: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  21: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1049:49
  22: <core::option::Option<&rustc_hir::hir::Expr>>::map::<(&rustc_hir::hir::Expr, rustc_middle::ty::Ty), <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}::{closure#0}>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/option.rs:1165:29
  23: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1049:26
  24: <rustc_hir_typeck::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}, ()>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1567:22
  25: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1041:31
  26: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:387:46
  27: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  28: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  29: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  30: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  31: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  32: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types::{closure#2}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:363:35
  33: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:460:34
  34: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_method_call
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:1485:22
  35: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:391:22
  36: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  37: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  38: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  39: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  40: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  41: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:210:14
  42: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_stmt
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:994:31
  43: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1043:22
  44: <rustc_hir_typeck::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}, ()>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1567:22
  45: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1041:31
  46: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:387:46
  47: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  48: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  49: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  50: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  51: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  52: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_if
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:1210:28
  53: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:401:22
  54: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  55: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  56: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  57: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  58: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  59: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_has_type_or_error::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_stmt::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:100:27
  60: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_stmt
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:972:22
  61: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1043:22
  62: <rustc_hir_typeck::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}, ()>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1567:22
  63: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1041:31
  64: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:387:46
  65: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  66: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  67: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  68: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  69: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  70: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_match::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/_match.rs:98:31
  71: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_match
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/_match.rs:18:5
  72: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:384:22
  73: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  74: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  75: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  76: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  77: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  78: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_has_type_or_error::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_stmt::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:100:27
  79: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_stmt
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:972:22
  80: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1043:22
  81: <rustc_hir_typeck::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}, ()>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1567:22
  82: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1041:31
  83: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_no_value
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1005:23
  84: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_loop::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:1447:18
  85: <rustc_hir_typeck::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_loop::{closure#0}, ()>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1567:22
  86: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_loop
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:1446:31
  87: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:381:22
  88: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  89: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  90: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  91: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
  92: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
  93: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_match::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/_match.rs:98:31
  94: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_match
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/_match.rs:18:5
  95: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:384:22
  96: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
  97: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
  98: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
  99: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
 100: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
 101: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
 102: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
 103: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
 104: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
 105: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
 106: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
 107: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1049:49
 108: <core::option::Option<&rustc_hir::hir::Expr>>::map::<(&rustc_hir::hir::Expr, rustc_middle::ty::Ty), <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}::{closure#0}>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/option.rs:1165:29
 109: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1049:26
 110: <rustc_hir_typeck::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block::{closure#0}, ()>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1567:22
 111: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_block
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1041:31
 112: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_kind
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:387:46
 113: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:291:23
 114: stacker::maybe_grow::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stacker-0.1.21/src/lib.rs:57:9
 115: rustc_data_structures::stack::ensure_sufficient_stack::<rustc_middle::ty::Ty, <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/stack.rs:21:5
 116: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:286:18
 117: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:231:14
 118: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_hint
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:186:14
 119: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_return_or_body_tail
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/expr.rs:968:35
 120: rustc_hir_typeck::check::check_fn
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/check.rs:129:9
 121: rustc_hir_typeck::typeck_with_inspect::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/lib.rs:178:9
 122: rustc_hir_typeck::typeck_with_inspect
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_typeck/src/lib.rs:108:1
      [... omitted 28 frames ...]
 123: rustc_middle::query::inner::query_ensure_ok_or_done::<rustc_data_structures::vec_cache::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::ErasedData<[u8; 8]>, rustc_middle::dep_graph::graph::DepNodeIndex>>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/inner.rs:63:13
 124: <rustc_middle::query::plumbing::TyCtxtEnsureOk>::typeck_root::<rustc_span::def_id::LocalDefId>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/plumbing.rs:589:21
 125: <rustc_middle::query::plumbing::TyCtxtEnsureOk>::typeck::<rustc_span::def_id::LocalDefId>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/plumbing.rs:207:14
 126: rustc_hir_analysis::check_crate::{closure#1}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_analysis/src/lib.rs:191:29
 127: <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners::<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/hir/map.rs:340:79
 128: rustc_data_structures::sync::parallel::par_for_each_in::<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/sync/parallel.rs:182:30
 129: <core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/panic/unwind_safe.rs:275:9
 130: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, ()>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:581:40
 131: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:544:19
 132: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>, ()>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panic.rs:359:14
 133: <rustc_data_structures::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures::sync::parallel::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/sync/parallel.rs:23:9
 134: rustc_data_structures::sync::parallel::par_for_each_in::<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/sync/parallel.rs:182:23
 135: <core::slice::iter::Iter<rustc_span::def_id::LocalDefId> as core::iter::traits::iterator::Iterator>::for_each::<rustc_data_structures::sync::parallel::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}::{closure#1}>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/slice/iter/macros.rs:301:21
 136: rustc_data_structures::sync::parallel::par_for_each_in::<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/sync/parallel.rs:181:27
 137: rustc_data_structures::sync::parallel::parallel_guard::<(), rustc_data_structures::sync::parallel::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/sync/parallel.rs:39:15
 138: rustc_data_structures::sync::parallel::par_for_each_in::<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners<rustc_hir_analysis::check_crate::{closure#1}>::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_data_structures/src/sync/parallel.rs:176:5
 139: <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners::<rustc_hir_analysis::check_crate::{closure#1}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/hir/map.rs:340:9
 140: rustc_hir_analysis::check_crate
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_hir_analysis/src/lib.rs:166:9
 141: rustc_interface::passes::run_required_analyses
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/passes.rs:1135:5
 142: rustc_interface::passes::analysis
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/passes.rs:1187:5
      [... omitted 28 frames ...]
 143: rustc_middle::query::inner::query_ensure_ok_or_done::<rustc_middle::query::caches::SingleCache<rustc_middle::query::erase::ErasedData<[u8; 0]>>>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/inner.rs:63:13
 144: <rustc_middle::query::plumbing::TyCtxtEnsureOk>::analysis
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/query/plumbing.rs:589:21
 145: rustc_driver_impl::run_compiler::{closure#0}::{closure#2}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_driver_impl/src/lib.rs:325:29
 146: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/passes.rs:1022:23
 147: <rustc_middle::ty::context::GlobalCtxt>::enter::<rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core::option::Option<rustc_interface::queries::Linker>>::{closure#1}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/ty/context.rs:921:37
 148: rustc_middle::ty::context::tls::enter_context::<<rustc_middle::ty::context::GlobalCtxt>::enter<rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core::option::Option<rustc_interface::queries::Linker>>::{closure#1}, core::option::Option<rustc_interface::queries::Linker>>::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/ty/context/tls.rs:56:9
 149: <std::thread::local::LocalKey<core::cell::Cell<*const ()>>>::try_with::<rustc_middle::ty::context::tls::enter_context<<rustc_middle::ty::context::GlobalCtxt>::enter<rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core::option::Option<rustc_interface::queries::Linker>>::{closure#1}, core::option::Option<rustc_interface::queries::Linker>>::{closure#0}, core::option::Option<rustc_interface::queries::Linker>>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/thread/local.rs:462:12
 150: <std::thread::local::LocalKey<core::cell::Cell<*const ()>>>::with::<rustc_middle::ty::context::tls::enter_context<<rustc_middle::ty::context::GlobalCtxt>::enter<rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core::option::Option<rustc_interface::queries::Linker>>::{closure#1}, core::option::Option<rustc_interface::queries::Linker>>::{closure#0}, core::option::Option<rustc_interface::queries::Linker>>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/thread/local.rs:426:20
 151: rustc_middle::ty::context::tls::enter_context::<<rustc_middle::ty::context::GlobalCtxt>::enter<rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core::option::Option<rustc_interface::queries::Linker>>::{closure#1}, core::option::Option<rustc_interface::queries::Linker>>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/ty/context/tls.rs:53:9
 152: <rustc_middle::ty::context::GlobalCtxt>::enter::<rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}, core::option::Option<rustc_interface::queries::Linker>>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/ty/context.rs:921:9
 153: <rustc_middle::ty::context::TyCtxt>::create_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_interface::passes::create_and_enter_global_ctxt<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_middle/src/ty/context.rs:1126:13
 154: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/passes.rs:989:5
 155: rustc_driver_impl::run_compiler::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_driver_impl/src/lib.rs:298:22
 156: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/interface.rs:500:80
 157: <core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/panic/unwind_safe.rs:275:9
 158: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:581:40
 159: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}::{closure#0}>>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:544:19
 160: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}::{closure#0}>, ()>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panic.rs:359:14
 161: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/interface.rs:500:23
 162: rustc_interface::util::run_in_thread_pool_with_globals::<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/util.rs:203:17
 163: rustc_interface::util::run_in_thread_with_globals::<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/util.rs:159:24
 164: <scoped_tls::ScopedKey<rustc_span::SessionGlobals>>::set::<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
             at /home/codasip.com/lewis.belsten-revill/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/scoped-tls-1.0.1/src/lib.rs:137:9
 165: rustc_span::create_session_globals_then::<(), rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}>
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_span/src/lib.rs:153:21
 166: rustc_interface::util::run_in_thread_with_globals::<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}
             at /home/codasip.com/lewis.belsten-revill/work/codasip-cheri/rust/compiler/rustc_interface/src/util.rs:155:17
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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.97.0-beta.0 (827651f22 2026-04-23) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED]

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [def_span] looking up span for `action_map::ActionMapExtManual::add_action_entries::{closure#0}`
#1 [typeck_root] type-checking `action_map::ActionMapExtManual::add_action_entries`
#2 [analysis] running analysis passes on crate `gio`
end of query stack

Haven't had the chance to try and reduce this to a minimal example yet. Also attaching files does not appear to work for me, otherwise I would attach the full backtrace; the above is only the first instance of the panic.

I simply built from source with debug = true and debuginfo-level = 2, then used this compiler to build the gio crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-closuresArea: Closures (`|…| { … }`)A-proc-macrosArea: Procedural macrosC-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.requires-debug-assertionsThis issue requires a build of rustc or tooling with debug-assertions in some way

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions