Skip to content

1.64 stable: no errors encountered even though delay_span_bug issued #102206

Closed
@rsalmei

Description

@rsalmei

Hello,
Unfortunately, I can't provide a minimal verifiable example.
All I know is my organization project broke with this after updating Rust to 1.64 stable.
I'll have to get 1.63 back.

Meta

rustc --version --verbose:

❯ rustc --version --verbose
rustc 1.64.0 (a55dd71d5 2022-09-19)
binary: rustc
commit-hash: a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52
commit-date: 2022-09-19
host: aarch64-apple-darwin
release: 1.64.0
LLVM version: 14.0.6

Error output

thread 'rustc' panicked at 'index out of bounds: the len is 208 but the index is 209', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ena-0.14.0/src/snapshot_vec.rs:199:10
error: internal compiler error: unexpected panic

note: 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.64.0 (a55dd71d5 2022-09-19) running on aarch64-apple-darwin

note: compiler flags: --crate-type bin -C panic=abort -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental -C target-cpu=native

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

query stack during panic:
#0 [typeck] type-checking `cjdns::<impl at src/cjdns.rs:187:1: 187:17>::update_exceptions`
#1 [mir_built] building MIR for `cjdns::<impl at src/cjdns.rs:187:1: 187:17>::update_exceptions`
#2 [unsafety_check_result] unsafety-checking `cjdns::<impl at src/cjdns.rs:187:1: 187:17>::update_exceptions`
#3 [mir_const] processing MIR for `cjdns::<impl at src/cjdns.rs:187:1: 187:17>::update_exceptions`
#4 [mir_promoted] processing `cjdns::<impl at src/cjdns.rs:187:1: 187:17>::update_exceptions`
#5 [mir_borrowck] borrow-checking `cjdns::<impl at src/cjdns.rs:187:1: 187:17>::update_exceptions`
#6 [type_of] computing type of `cjdns::<impl at src/cjdns.rs:187:1: 187:17>::update_exceptions::{opaque#0}`
#7 [check_mod_item_types] checking item types in module `cjdns`
#8 [analysis] running analysis passes on this crate
end of query stack
error: internal compiler error: no errors encountered even though `delay_span_bug` issued

error: internal compiler error: VecMap([(OpaqueTypeKey { def_id: DefId(0:249 ~ pkteer_device[5670]::cjdns::{impl#1}::update_exceptions::{opaque#0}), substs: [ReFree(DefId(0:248 ~ pkteer_device[5670]::cjdns::{impl#1}::update_exceptions), BrNamed(DefId(0:6178 ~ pkteer_device[5670]::cjdns::{impl#1}::update_exceptions::'_), '_)), ReFree(DefId(0:248 ~ pkteer_device[5670]::cjdns::{impl#1}::update_exceptions), BrNamed(DefId(0:6179 ~ pkteer_device[5670]::cjdns::{impl#1}::update_exceptions::'_#1), '_))] }, OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: src/cjdns.rs:257:84: 257:94 (#3295), ty: _ }, origin: AsyncFn(DefId(0:248 ~ pkteer_device[5670]::cjdns::{impl#1}::update_exceptions)) })])
  |
  = note: delayed at compiler/rustc_infer/src/infer/opaque_types/table.rs:50:26

thread 'rustc' panicked at 'Box<dyn Any>', compiler/rustc_errors/src/lib.rs:1426:13
stack backtrace:
   0:        0x103263978 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1543c132bc4e188c
   1:        0x1032b0828 - core::fmt::write::hda8e8eb84b49cbfc
   2:        0x103256c74 - std::io::Write::write_fmt::hb84c8996aec7120c
   3:        0x1032665d0 - std::panicking::default_hook::{{closure}}::hdf06011cb093de6a
   4:        0x103266334 - std::panicking::default_hook::hd7ceb942fff7b170
   5:        0x10a8b0d9c - rustc_driver[8f8caae8abf9e6c7]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x103266ba4 - std::panicking::rust_panic_with_hook::h053d4067a63a6fcb
   7:        0x10e60fe64 - std[dfd41530add96b74]::panicking::begin_panic::<rustc_errors[b30f6c19c09b5d30]::ExplicitBug>::{closure#0}
   8:        0x10e60fc40 - std[dfd41530add96b74]::sys_common::backtrace::__rust_end_short_backtrace::<std[dfd41530add96b74]::panicking::begin_panic<rustc_errors[b30f6c19c09b5d30]::ExplicitBug>::{closure#0}, !>
   9:        0x10e92164c - std[dfd41530add96b74]::panicking::begin_panic::<rustc_errors[b30f6c19c09b5d30]::ExplicitBug>
  10:        0x10e6402c8 - std[dfd41530add96b74]::panic::panic_any::<rustc_errors[b30f6c19c09b5d30]::ExplicitBug>
  11:        0x10e64307c - <rustc_errors[b30f6c19c09b5d30]::HandlerInner as core[470b050f2b764c47]::ops::drop::Drop>::drop
  12:        0x10a8412dc - core[470b050f2b764c47]::ptr::drop_in_place::<rustc_session[6283a40eea3c7aa9]::parse::ParseSess>
  13:        0x10a847f68 - <alloc[e1afe643157cdf10]::rc::Rc<rustc_session[6283a40eea3c7aa9]::session::Session> as core[470b050f2b764c47]::ops::drop::Drop>::drop
  14:        0x10a89d8a8 - core[470b050f2b764c47]::ptr::drop_in_place::<rustc_interface[efe2b5ffa23206d6]::interface::Compiler>
  15:        0x10a89b67c - rustc_span[a44dd0315ec95fe3]::with_source_map::<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_interface[efe2b5ffa23206d6]::interface::create_compiler_and_run<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#1}>
  16:        0x10a84efd0 - <scoped_tls[438d350ce76b615a]::ScopedKey<rustc_span[a44dd0315ec95fe3]::SessionGlobals>>::set::<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  17:        0x10a86e43c - std[dfd41530add96b74]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  18:        0x10a86eaf8 - <<std[dfd41530add96b74]::thread::Builder>::spawn_unchecked_<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#1} as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  19:        0x10326f3dc - std::sys::unix::thread::Thread::new::thread_start::h403ab16d5f453cd4
  20:        0x18e23c26c - __pthread_deallocate

note: 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.64.0 (a55dd71d5 2022-09-19) running on aarch64-apple-darwin

note: compiler flags: --crate-type bin -C panic=abort -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental -C target-cpu=native

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

query stack during panic:
end of query stack
thread panicked while panicking. aborting.
error: could not compile `pkteer-device`

Caused by:
  process didn't exit successfully: `rustc --crate-name pkteer_device --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C panic=abort -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=2d27bdd9507c8c68 -C extra-filename=-2d27bdd9507c8c68 --out-dir /project/target/debug/deps -C incremental=/project/target/debug/incremental -L dependency=/project/target/debug/deps --extern anyhow=/project/target/debug/deps/libanyhow-79fb8381c3a7e0eb.rlib --extern base64=/project/target/debug/deps/libbase64-2abdd1e5fbf53822.rlib --extern bech32=/project/target/debug/deps/libbech32-be44b38faf2f1ca0.rlib --extern bs58=/project/target/debug/deps/libbs58-5285e22eb45100a9.rlib --extern cjdns_admin=/project/target/debug/deps/libcjdns_admin-391d1e46559f09b4.rlib --extern clap=/project/target/debug/deps/libclap-e13450876ff859a5.rlib --extern crossbeam_channel=/project/target/debug/deps/libcrossbeam_channel-7650995d54d2e66c.rlib --extern env_logger=/project/target/debug/deps/libenv_logger-6d0313d495a9ca8d.rlib --extern git_version=/project/target/debug/deps/libgit_version-7759dcb9597ef886.rlib --extern hex=/project/target/debug/deps/libhex-f9e88fcebe58c297.rlib --extern ipnetwork=/project/target/debug/deps/libipnetwork-1d48ca5186df8d77.rlib --extern lazy_static=/project/target/debug/deps/liblazy_static-87c9150f190e2fcc.rlib --extern pnet_datalink=/project/target/debug/deps/libpnet_datalink-be11e8441e0840a1.rlib --extern rand=/project/target/debug/deps/librand-87a3fe3c96da9521.rlib --extern regex=/project/target/debug/deps/libregex-f713daef3e14b53c.rlib --extern reqwest=/project/target/debug/deps/libreqwest-3b916e719a2f956e.rlib --extern serde=/project/target/debug/deps/libserde-bb4ecfea954c0663.rlib --extern serde_json=/project/target/debug/deps/libserde_json-b8344099639ac6bc.rlib --extern sodiumoxide=/project/target/debug/deps/libsodiumoxide-f68f0f17d51e4f2c.rlib --extern strum=/project/target/debug/deps/libstrum-4d87e74d8810f590.rlib --extern tokio=/project/target/debug/deps/libtokio-3f6c7deb5560e415.rlib --extern warp=/project/target/debug/deps/libwarp-01c3eef93b814bf6.rlib -C target-cpu=native -L native=/project/target/debug/build/libsodium-sys-8d4ce644a4b68153/out/installed/lib -L native=/project/target/debug/build/ring-c0ff3a5b5da51aba/out` (signal: 6, SIGABRT: process abort signal)
Backtrace

stack backtrace:
   0:        0x103263978 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1543c132bc4e188c
   1:        0x1032b0828 - core::fmt::write::hda8e8eb84b49cbfc
   2:        0x103256c74 - std::io::Write::write_fmt::hb84c8996aec7120c
   3:        0x1032665d0 - std::panicking::default_hook::{{closure}}::hdf06011cb093de6a
   4:        0x103266334 - std::panicking::default_hook::hd7ceb942fff7b170
   5:        0x10a8b0d9c - rustc_driver[8f8caae8abf9e6c7]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x103266ba4 - std::panicking::rust_panic_with_hook::h053d4067a63a6fcb
   7:        0x103266a3c - std::panicking::begin_panic_handler::{{closure}}::hea9e6c546a23e8ff
   8:        0x103263e54 - std::sys_common::backtrace::__rust_end_short_backtrace::hd64e012cf32134c6
   9:        0x103266794 - _rust_begin_unwind
  10:        0x1032db808 - core::panicking::panic_fmt::hbfde5533e1c0592e
  11:        0x1032db778 - core::panicking::panic_bounds_check::h54a3444ed599ccd1
  12:        0x10e2fd098 - <rustc_infer[7b400c282ed9aa06]::infer::type_variable::TypeVariableTable>::probe
  13:        0x10e28dfac - <rustc_infer[7b400c282ed9aa06]::infer::ShallowResolver as rustc_middle[dc659c3191ae8a04]::ty::fold::TypeFolder>::fold_ty
  14:        0x10e2cae5c - <&rustc_middle[dc659c3191ae8a04]::ty::list::List<rustc_middle[dc659c3191ae8a04]::ty::subst::GenericArg> as rustc_middle[dc659c3191ae8a04]::ty::fold::TypeFoldable>::try_fold_with::<rustc_infer[7b400c282ed9aa06]::infer::resolve::OpportunisticVarResolver>
  15:        0x10e320b94 - <rustc_middle[dc659c3191ae8a04]::ty::Ty as rustc_middle[dc659c3191ae8a04]::ty::fold::TypeSuperFoldable>::super_fold_with::<rustc_infer[7b400c282ed9aa06]::infer::resolve::OpportunisticVarResolver>
  16:        0x10e2876f8 - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt>::same_type_modulo_infer
  17:        0x10e290764 - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt>::note_type_err
  18:        0x10e284ba4 - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt>::report_and_explain_type_error
  19:        0x10e28d29c - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt>::report_mismatched_types
  20:        0x10cef9ebc - <rustc_typeck[6bc4720aa0c05052]::check::coercion::CoerceMany<&rustc_hir[3f4ec4895a8669e5]::hir::Expr>>::report_return_mismatched_types
  21:        0x10cf08f50 - <rustc_typeck[6bc4720aa0c05052]::check::coercion::CoerceMany<&rustc_hir[3f4ec4895a8669e5]::hir::Expr>>::coerce_inner
  22:        0x10cd16784 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_return_expr
  23:        0x10cdb993c - rustc_typeck[6bc4720aa0c05052]::check::check::check_fn
  24:        0x10cd4ecfc - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_closure
  25:        0x10cd513f0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_kind
  26:        0x10cd158b0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  27:        0x10cd22918 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_argument_types
  28:        0x10cd21d90 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_method_argument_types
  29:        0x10cd533f8 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_kind
  30:        0x10cd158b0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  31:        0x10cd28434 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_block_with_expected
  32:        0x10cd51b88 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_kind
  33:        0x10cd158b0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  34:        0x10cd51434 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_kind
  35:        0x10cd158b0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  36:        0x10cd28434 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_block_with_expected
  37:        0x10cd51b88 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_kind
  38:        0x10cd158b0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  39:        0x10cd166e0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_return_expr
  40:        0x10cdb993c - rustc_typeck[6bc4720aa0c05052]::check::check::check_fn
  41:        0x10cd4ecfc - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_closure
  42:        0x10cd513f0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_kind
  43:        0x10cd158b0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  44:        0x10cd22918 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_argument_types
  45:        0x10cd0657c - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::confirm_builtin_call
  46:        0x10cd04758 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_call
  47:        0x10cd5198c - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_kind
  48:        0x10cd158b0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  49:        0x10cd166e0 - <rustc_typeck[6bc4720aa0c05052]::check::fn_ctxt::FnCtxt>::check_return_expr
  50:        0x10cdb993c - rustc_typeck[6bc4720aa0c05052]::check::check::check_fn
  51:        0x10cec27f4 - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxtBuilder>::enter::<&rustc_middle[dc659c3191ae8a04]::ty::context::TypeckResults, <rustc_typeck[6bc4720aa0c05052]::check::inherited::InheritedBuilder>::enter<rustc_typeck[6bc4720aa0c05052]::check::typeck_with_fallback<rustc_typeck[6bc4720aa0c05052]::check::typeck::{closure#0}>::{closure#1}, &rustc_middle[dc659c3191ae8a04]::ty::context::TypeckResults>::{closure#0}>
  52:        0x10ce70ef4 - rustc_typeck[6bc4720aa0c05052]::check::typeck
  53:        0x10d932ea8 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, &rustc_middle[dc659c3191ae8a04]::ty::context::TypeckResults>
  54:        0x10d6f2468 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, &rustc_middle[dc659c3191ae8a04]::ty::context::TypeckResults>>
  55:        0x10d7c333c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::typeck, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  56:        0x10e3cec98 - <rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt>::typeck_opt_const_arg
  57:        0x10d17f434 - rustc_mir_build[b2f3eb4fd3e533a5]::build::mir_built
  58:        0x10d8065a8 - <rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind as rustc_query_system[6f834e4506ff6c03]::dep_graph::DepKind>::with_deps::<<rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>::{closure#0}, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>
  59:        0x10d925230 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>
  60:        0x10d6e41c0 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>>
  61:        0x10d7c56a4 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::mir_built, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  62:        0x10da1cac8 - <rustc_query_impl[8b8fa26cca04f19]::Queries as rustc_middle[dc659c3191ae8a04]::ty::query::QueryEngine>::mir_built
  63:        0x10caf3668 - rustc_mir_transform[2b0f8aacbf77c025]::check_unsafety::unsafety_check_result
  64:        0x10caeee18 - <rustc_mir_transform[2b0f8aacbf77c025]::check_unsafety::provide::{closure#0} as core[470b050f2b764c47]::ops::function::FnOnce<(rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId)>>::call_once
  65:        0x10d933c70 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, &rustc_middle[dc659c3191ae8a04]::mir::query::UnsafetyCheckResult>
  66:        0x10d6f3c00 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, &rustc_middle[dc659c3191ae8a04]::mir::query::UnsafetyCheckResult>>
  67:        0x10d79f7c0 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::unsafety_check_result, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  68:        0x10ca1fe54 - rustc_mir_transform[2b0f8aacbf77c025]::mir_const
  69:        0x10d8065a8 - <rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind as rustc_query_system[6f834e4506ff6c03]::dep_graph::DepKind>::with_deps::<<rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>::{closure#0}, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>
  70:        0x10d925230 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>
  71:        0x10d6e41c0 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>>>
  72:        0x10d7c580c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::mir_const, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  73:        0x10da1cb04 - <rustc_query_impl[8b8fa26cca04f19]::Queries as rustc_middle[dc659c3191ae8a04]::ty::query::QueryEngine>::mir_const
  74:        0x10ca20720 - rustc_mir_transform[2b0f8aacbf77c025]::mir_promoted
  75:        0x10d80667c - <rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind as rustc_query_system[6f834e4506ff6c03]::dep_graph::DepKind>::with_deps::<<rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, (&rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_index[a5266a25121ad26c]::vec::IndexVec<rustc_middle[dc659c3191ae8a04]::mir::Promoted, rustc_middle[dc659c3191ae8a04]::mir::Body>>)>::{closure#0}, (&rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_index[a5266a25121ad26c]::vec::IndexVec<rustc_middle[dc659c3191ae8a04]::mir::Promoted, rustc_middle[dc659c3191ae8a04]::mir::Body>>)>
  76:        0x10d92567c - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_middle[dc659c3191ae8a04]::ty::WithOptConstParam<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId>, (&rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_middle[dc659c3191ae8a04]::mir::Body>, &rustc_data_structures[30e623ab5ac4e192]::steal::Steal<rustc_index[a5266a25121ad26c]::vec::IndexVec<rustc_middle[dc659c3191ae8a04]::mir::Promoted, rustc_middle[dc659c3191ae8a04]::mir::Body>>)>
  77:        0x10d78190c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::mir_promoted, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  78:        0x10da1cc5c - <rustc_query_impl[8b8fa26cca04f19]::Queries as rustc_middle[dc659c3191ae8a04]::ty::query::QueryEngine>::mir_promoted
  79:        0x10d374080 - rustc_borrowck[af5d7d8467a98ff0]::mir_borrowck
  80:        0x10d353eb8 - <rustc_borrowck[af5d7d8467a98ff0]::provide::{closure#0} as core[470b050f2b764c47]::ops::function::FnOnce<(rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId)>>::call_once
  81:        0x10d9337d8 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, &rustc_middle[dc659c3191ae8a04]::mir::query::BorrowCheckResult>
  82:        0x10d6f3034 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, &rustc_middle[dc659c3191ae8a04]::mir::query::BorrowCheckResult>>
  83:        0x10d780f48 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::mir_borrowck, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  84:        0x10cf000ac - rustc_typeck[6bc4720aa0c05052]::collect::type_of::find_opaque_ty_constraints_for_rpit
  85:        0x10ceff548 - rustc_typeck[6bc4720aa0c05052]::collect::type_of::type_of
  86:        0x10d93b7c0 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_span[a44dd0315ec95fe3]::def_id::DefId, rustc_middle[dc659c3191ae8a04]::ty::Ty>
  87:        0x10d707cd4 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<rustc_span[a44dd0315ec95fe3]::def_id::DefId, rustc_middle[dc659c3191ae8a04]::ty::Ty>>
  88:        0x10d7c3658 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::type_of, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  89:        0x10cdab70c - rustc_typeck[6bc4720aa0c05052]::check::check::check_opaque
  90:        0x10cdacedc - rustc_typeck[6bc4720aa0c05052]::check::check::check_item_type
  91:        0x10cdb34bc - rustc_typeck[6bc4720aa0c05052]::check::check::check_mod_item_types
  92:        0x10d9345a8 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, ()>
  93:        0x10d6f5388 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<rustc_span[a44dd0315ec95fe3]::def_id::LocalDefId, ()>>
  94:        0x10d799c64 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::check_mod_item_types, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  95:        0x10cf0b5a4 - <rustc_session[6283a40eea3c7aa9]::session::Session>::time::<(), rustc_typeck[6bc4720aa0c05052]::check_crate::{closure#6}>
  96:        0x10ceb5dec - rustc_typeck[6bc4720aa0c05052]::check_crate
  97:        0x10a940eb0 - rustc_interface[efe2b5ffa23206d6]::passes::analysis
  98:        0x10d955a70 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, (), core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  99:        0x10d72444c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<(), core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>>
 100:        0x10d7c37a0 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::analysis, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
 101:        0x10a86b9f4 - <rustc_interface[efe2b5ffa23206d6]::passes::QueryContext>::enter::<rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
 102:        0x10a84e7e4 - <rustc_interface[efe2b5ffa23206d6]::interface::Compiler>::enter::<rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}::{closure#2}, core[470b050f2b764c47]::result::Result<core[470b050f2b764c47]::option::Option<rustc_interface[efe2b5ffa23206d6]::queries::Linker>, rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
 103:        0x10a89b0a0 - rustc_span[a44dd0315ec95fe3]::with_source_map::<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_interface[efe2b5ffa23206d6]::interface::create_compiler_and_run<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#1}>
 104:        0x10a84efd0 - <scoped_tls[438d350ce76b615a]::ScopedKey<rustc_span[a44dd0315ec95fe3]::SessionGlobals>>::set::<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
 105:        0x10a86e43c - std[dfd41530add96b74]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
 106:        0x10a86eaf8 - <<std[dfd41530add96b74]::thread::Builder>::spawn_unchecked_<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#1} as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
 107:        0x10326f3dc - std::sys::unix::thread::Thread::new::thread_start::h403ab16d5f453cd4
 108:        0x18e23c26c - __pthread_deallocate

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions