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

rust panic #127256

Open
justincrosbie opened this issue Jul 3, 2024 · 1 comment
Open

rust panic #127256

justincrosbie opened this issue Jul 3, 2024 · 1 comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@justincrosbie
Copy link

Code

<code>

Meta

rustc --version --verbose:

<version>

Error output

thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: opt_local_def_id_to_hir_id a6c6cd5f24c8d64f-99c3fb3ed5250720
stack backtrace:
   0:        0x105741304 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h298c9ab285ff3934
   1:        0x1057832c8 - core::fmt::write::h4e276abdb6d0c2a1
   2:        0x105737ac4 - std::io::Write::write_fmt::hd421848f5f0bf9d0
   3:        0x105741140 - std::sys_common::backtrace::print::hd8bd9ecab1f94b94
   4:        0x105743b40 - std::panicking::default_hook::{{closure}}::h520eeb743fc98fb4
   5:        0x105743888 - std::panicking::default_hook::ha6550ffe49b63df1
   6:        0x10e83d688 - <alloc[7c7540ab8626f01a]::boxed::Box<rustc_driver_impl[468d0e274936ffb9]::install_ice_hook::{closure#0}> as core[5213bbcd403abe9e]::ops::function::Fn<(&dyn for<'a, 'b> core[5213bbcd403abe9e]::ops::function::Fn<(&'a core[5213bbcd403abe9e]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[5213bbcd403abe9e]::marker::Send + core[5213bbcd403abe9e]::marker::Sync, &core[5213bbcd403abe9e]::panic::panic_info::PanicInfo)>>::call
   7:        0x1057441b8 - std::panicking::rust_panic_with_hook::hddb0e884a202de7c
   8:        0x105743f80 - std::panicking::begin_panic_handler::{{closure}}::hd2798398a2fd9077
   9:        0x10574176c - std::sys_common::backtrace::__rust_end_short_backtrace::h9201cc364dbb8a23
  10:        0x105743d1c - _rust_begin_unwind
  11:        0x10579d118 - core::panicking::panic_fmt::h4d5168028d4c43c7
  12:        0x10f2e144c - <rustc_query_system[879461235231c87d]::dep_graph::dep_node::DepNode as rustc_middle[ca6410b6d29fc80e]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
  13:        0x10f218ff8 - <rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10f95ddd8 - <rustc_query_impl[5bcaede170c3d419]::plumbing::query_callback<rustc_query_impl[5bcaede170c3d419]::query_impl::opt_local_def_id_to_hir_id::QueryType>::{closure#0} as core[5213bbcd403abe9e]::ops::function::FnOnce<(rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt, rustc_query_system[879461235231c87d]::dep_graph::dep_node::DepNode)>>::call_once
  15:        0x10fb149bc - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  16:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  17:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  18:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  19:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  20:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  21:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  22:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  23:        0x10fb14794 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  24:        0x10f8f23bc - rustc_query_system[879461235231c87d]::query::plumbing::try_execute_query::<rustc_query_impl[5bcaede170c3d419]::DynamicConfig<rustc_query_system[879461235231c87d]::query::caches::DefaultCache<rustc_type_ir[404e1d761e32a4d5]::canonical::Canonical<rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt, rustc_middle[ca6410b6d29fc80e]::ty::ParamEnvAnd<rustc_middle[ca6410b6d29fc80e]::ty::Predicate>>, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt, true>
  25:        0x10fa2b874 - rustc_query_impl[5bcaede170c3d419]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  26:        0x10ff77718 - <rustc_infer[8d4928d470692a8a]::infer::InferCtxt as rustc_trait_selection[bb66616b81e487b4]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  27:        0x10ff779b8 - <rustc_infer[8d4928d470692a8a]::infer::InferCtxt as rustc_trait_selection[bb66616b81e487b4]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  28:        0x10fe88eec - <rustc_trait_selection[bb66616b81e487b4]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  29:        0x10fe8839c - <rustc_trait_selection[bb66616b81e487b4]::traits::fulfill::FulfillProcessor as rustc_data_structures[919fbfa8d0821c7b]::obligation_forest::ObligationProcessor>::process_obligation
  30:        0x10fde97e0 - <rustc_data_structures[919fbfa8d0821c7b]::obligation_forest::ObligationForest<rustc_trait_selection[bb66616b81e487b4]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[bb66616b81e487b4]::traits::fulfill::FulfillProcessor>
  31:        0x10fe7ee98 - <rustc_trait_selection[bb66616b81e487b4]::traits::fulfill::FulfillmentContext as rustc_infer[8d4928d470692a8a]::traits::engine::TraitEngine>::select_where_possible
  32:        0x10ec47a64 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::resolve_vars_with_obligations
  33:        0x10ec49558 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::expected_inputs_for_expected_output
  34:        0x10ebff750 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_method_argument_types
  35:        0x10ec442e4 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_kind
  36:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  37:        0x10ec07294 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_block_with_expected
  38:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  39:        0x10ebebc80 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_return_expr
  40:        0x10ed1c634 - rustc_hir_typeck[67526d70d648d1bc]::check::check_fn
  41:        0x10ec3f0c4 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_closure
  42:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  43:        0x10ec00540 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_argument_types
  44:        0x10ebff794 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_method_argument_types
  45:        0x10ec442e4 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_kind
  46:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  47:        0x10ec00540 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_argument_types
  48:        0x10ebde3a0 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::confirm_builtin_call
  49:        0x10ebdd1e8 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_call
  50:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  51:        0x10ec3d198 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_match
  52:        0x10ec41c74 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_kind
  53:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  54:        0x10ec06504 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_decl_initializer
  55:        0x10ec067a0 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_decl
  56:        0x10ec06b64 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_stmt
  57:        0x10ec07264 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_block_with_expected
  58:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  59:        0x10ec3db30 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_match
  60:        0x10ec41c74 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_kind
  61:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  62:        0x10ec07294 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_block_with_expected
  63:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  64:        0x10ec3db30 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_match
  65:        0x10ec41c74 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_kind
  66:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  67:        0x10ec07294 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_block_with_expected
  68:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  69:        0x10ec3db30 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_match
  70:        0x10ec41c74 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_kind
  71:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  72:        0x10ec07294 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_block_with_expected
  73:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  74:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  75:        0x10ec07294 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_block_with_expected
  76:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  77:        0x10ebebc80 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_return_expr
  78:        0x10ed1c634 - rustc_hir_typeck[67526d70d648d1bc]::check::check_fn
  79:        0x10ec3f0c4 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_closure
  80:        0x10ebeaa54 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  81:        0x10ebebc80 - <rustc_hir_typeck[67526d70d648d1bc]::fn_ctxt::FnCtxt>::check_return_expr
  82:        0x10ed1c634 - rustc_hir_typeck[67526d70d648d1bc]::check::check_fn
  83:        0x10ec9dfe0 - rustc_hir_typeck[67526d70d648d1bc]::typeck
  84:        0x10f97b1a0 - rustc_query_impl[5bcaede170c3d419]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5bcaede170c3d419]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 8usize]>>
  85:        0x10fa6c67c - <rustc_query_impl[5bcaede170c3d419]::query_impl::typeck::dynamic_query::{closure#2} as core[5213bbcd403abe9e]::ops::function::FnOnce<(rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt, rustc_span[e10e2d7f054ef3fb]::def_id::LocalDefId)>>::call_once
  86:        0x10f943120 - rustc_query_system[879461235231c87d]::query::plumbing::try_execute_query::<rustc_query_impl[5bcaede170c3d419]::DynamicConfig<rustc_query_system[879461235231c87d]::query::caches::VecCache<rustc_span[e10e2d7f054ef3fb]::def_id::LocalDefId, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt, true>
  87:        0x10f8dd57c - rustc_query_system[879461235231c87d]::query::plumbing::force_query::<rustc_query_impl[5bcaede170c3d419]::DynamicConfig<rustc_query_system[879461235231c87d]::query::caches::VecCache<rustc_span[e10e2d7f054ef3fb]::def_id::LocalDefId, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  88:        0x10f960220 - <rustc_query_impl[5bcaede170c3d419]::plumbing::query_callback<rustc_query_impl[5bcaede170c3d419]::query_impl::typeck::QueryType>::{closure#0} as core[5213bbcd403abe9e]::ops::function::FnOnce<(rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt, rustc_query_system[879461235231c87d]::dep_graph::dep_node::DepNode)>>::call_once
  89:        0x10fb149bc - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  90:        0x10fb14a00 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  91:        0x10fb14794 - <rustc_query_system[879461235231c87d]::dep_graph::graph::DepGraphData<rustc_middle[ca6410b6d29fc80e]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt>
  92:        0x10f917b6c - rustc_query_system[879461235231c87d]::query::plumbing::try_execute_query::<rustc_query_impl[5bcaede170c3d419]::DynamicConfig<rustc_query_system[879461235231c87d]::query::caches::DefaultCache<rustc_span[e10e2d7f054ef3fb]::def_id::DefId, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt, true>
  93:        0x10fa023f4 - rustc_query_impl[5bcaede170c3d419]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace
  94:        0x10f25d218 - rustc_middle[ca6410b6d29fc80e]::query::plumbing::query_get_at::<rustc_query_system[879461235231c87d]::query::caches::DefaultCache<rustc_span[e10e2d7f054ef3fb]::def_id::DefId, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 8usize]>>>
  95:        0x10f24c754 - <rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander>::expand_opaque_ty
  96:        0x10f24c840 - <rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander as rustc_type_ir[404e1d761e32a4d5]::fold::TypeFolder<rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt>>::fold_ty
  97:        0x10f24ca78 - <rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander as rustc_type_ir[404e1d761e32a4d5]::fold::TypeFolder<rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt>>::fold_ty
  98:        0x10f24f458 - rustc_middle[ca6410b6d29fc80e]::ty::util::fold_list::<rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander, rustc_middle[ca6410b6d29fc80e]::ty::generic_args::GenericArg, <&rustc_middle[ca6410b6d29fc80e]::ty::list::List<rustc_middle[ca6410b6d29fc80e]::ty::generic_args::GenericArg> as rustc_type_ir[404e1d761e32a4d5]::fold::TypeFoldable<rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt>>::try_fold_with<rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander>::{closure#0}>
  99:        0x10f301cc0 - <rustc_middle[ca6410b6d29fc80e]::ty::Ty as rustc_type_ir[404e1d761e32a4d5]::fold::TypeSuperFoldable<rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander>
 100:        0x10f24c820 - <rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander as rustc_type_ir[404e1d761e32a4d5]::fold::TypeFolder<rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt>>::fold_ty
 101:        0x10f24c784 - <rustc_middle[ca6410b6d29fc80e]::ty::util::OpaqueTypeExpander>::expand_opaque_ty
 102:        0x10f2235b8 - <rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt>::try_expand_impl_trait_type
 103:        0x10eb6cff0 - rustc_hir_analysis[709ef6bc47d99aaa]::check::check::check_item_type
 104:        0x10eb73434 - rustc_hir_analysis[709ef6bc47d99aaa]::check::check::check_mod_item_types
 105:        0x10f978f68 - rustc_query_impl[5bcaede170c3d419]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5bcaede170c3d419]::query_impl::check_mod_item_types::dynamic_query::{closure#2}::{closure#0}, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 0usize]>>
 106:        0x10f9fdae0 - <rustc_query_impl[5bcaede170c3d419]::query_impl::check_mod_item_types::dynamic_query::{closure#2} as core[5213bbcd403abe9e]::ops::function::FnOnce<(rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt, rustc_span[e10e2d7f054ef3fb]::def_id::LocalModDefId)>>::call_once
 107:        0x10f909250 - rustc_query_system[879461235231c87d]::query::plumbing::try_execute_query::<rustc_query_impl[5bcaede170c3d419]::DynamicConfig<rustc_query_system[879461235231c87d]::query::caches::DefaultCache<rustc_span[e10e2d7f054ef3fb]::def_id::LocalModDefId, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt, true>
 108:        0x10fa10954 - rustc_query_impl[5bcaede170c3d419]::query_impl::check_mod_item_types::get_query_incr::__rust_end_short_backtrace
 109:        0x10eada028 - rustc_hir_analysis[709ef6bc47d99aaa]::check_crate
 110:        0x10ef2bac0 - rustc_interface[ea1e3d08865d7976]::passes::analysis
 111:        0x10f97b23c - rustc_query_impl[5bcaede170c3d419]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5bcaede170c3d419]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 1usize]>>
 112:        0x10fae2c04 - <rustc_query_impl[5bcaede170c3d419]::query_impl::analysis::dynamic_query::{closure#2} as core[5213bbcd403abe9e]::ops::function::FnOnce<(rustc_middle[ca6410b6d29fc80e]::ty::context::TyCtxt, ())>>::call_once
 113:        0x10f8e6754 - rustc_query_system[879461235231c87d]::query::plumbing::try_execute_query::<rustc_query_impl[5bcaede170c3d419]::DynamicConfig<rustc_query_system[879461235231c87d]::query::caches::SingleCache<rustc_middle[ca6410b6d29fc80e]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[5bcaede170c3d419]::plumbing::QueryCtxt, true>
 114:        0x10fa03374 - rustc_query_impl[5bcaede170c3d419]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
 115:        0x10e815228 - <rustc_middle[ca6410b6d29fc80e]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[468d0e274936ffb9]::run_compiler::{closure#1}::{closure#2}::{closure#6}, core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>>
 116:        0x10e8142d4 - rustc_span[e10e2d7f054ef3fb]::set_source_map::<core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>, rustc_interface[ea1e3d08865d7976]::interface::run_compiler<core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>, rustc_driver_impl[468d0e274936ffb9]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
 117:        0x10e859764 - <scoped_tls[299824ca9de1a1fb]::ScopedKey<rustc_span[e10e2d7f054ef3fb]::SessionGlobals>>::set::<rustc_interface[ea1e3d08865d7976]::interface::run_compiler<core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>, rustc_driver_impl[468d0e274936ffb9]::run_compiler::{closure#1}>::{closure#0}, core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>>
 118:        0x10e814bf8 - rustc_span[e10e2d7f054ef3fb]::create_session_globals_then::<core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>, rustc_interface[ea1e3d08865d7976]::interface::run_compiler<core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>, rustc_driver_impl[468d0e274936ffb9]::run_compiler::{closure#1}>::{closure#0}>
 119:        0x10e846d74 - std[1bb08b5702199c76]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ea1e3d08865d7976]::util::run_in_thread_with_globals<rustc_interface[ea1e3d08865d7976]::interface::run_compiler<core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>, rustc_driver_impl[468d0e274936ffb9]::run_compiler::{closure#1}>::{closure#0}, core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>>
 120:        0x10e85fbc0 - <<std[1bb08b5702199c76]::thread::Builder>::spawn_unchecked_<rustc_interface[ea1e3d08865d7976]::util::run_in_thread_with_globals<rustc_interface[ea1e3d08865d7976]::interface::run_compiler<core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>, rustc_driver_impl[468d0e274936ffb9]::run_compiler::{closure#1}>::{closure#0}, core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5213bbcd403abe9e]::result::Result<(), rustc_span[e10e2d7f054ef3fb]::ErrorGuaranteed>>::{closure#1} as core[5213bbcd403abe9e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
 121:        0x10574c3b4 - std::sys::unix::thread::Thread::new::thread_start::h9b6324e2391e6ebb
 122:        0x19dd9af94 - __pthread_joiner_wake
Backtrace

<backtrace>

@justincrosbie justincrosbie 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 Jul 3, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 3, 2024
@pacak
Copy link
Contributor

pacak commented Jul 3, 2024

I believe this was fixed by #126409

@aDotInTheVoid aDotInTheVoid added the S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. label Jul 3, 2024
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) ❄️ needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants