Skip to content

ICE: compiler paniced and panicked while processing panic, program terminated with signal: SIGSEGV #148809

@bushilushan

Description

@bushilushan

I’ve encountered an interesting internal compiler error, and I’m not sure if it’s a new issue.

Code

trait OpaqueTrait {}
type OpaqueType = &dyn OpaqueTrait;
impl<T: std::mem::TransmuteFrom<(), ()>> OpaqueTrait for T {}
impl<T> OpaqueTrait for &T where T: OpaqueTrait {}
pub fn main() {}

Meta

rustc --version --verbose:

rustc 1.93.0-nightly (6647be936 2025-11-09)
binary: rustc
commit-hash: 6647be93640686a2a443a49f15c3390b68c8b5dd
commit-date: 2025-11-09
host: x86_64-unknown-linux-gnu
release: 1.93.0-nightly
LLVM version: 21.1.3
Program Output

error[E0106]: missing lifetime specifier
 --> <source>:2:19
  |
2 | type OpaqueType = &dyn OpaqueTrait;
  |                   ^ expected named lifetime parameter
  |
help: consider introducing a named lifetime parameter
  |
2 | type OpaqueType<'a> = &'a dyn OpaqueTrait;
  |                ++++    ++

error[E0658]: use of unstable library feature `transmutability`
 --> <source>:3:9
  |
3 | impl<T: std::mem::TransmuteFrom<(), ()>> OpaqueTrait for T {}
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #99571 <https://github.com/rust-lang/rust/issues/99571> for more information
  = help: add `#![feature(transmutability)]` to the crate attributes to enable
  = note: this compiler was built on 2025-11-09; consider upgrading it if it is out of date

error[E0747]: type provided when a constant was expected
 --> <source>:3:37
  |
3 | impl<T: std::mem::TransmuteFrom<(), ()>> OpaqueTrait for T {}
  |                                     ^^


thread 'rustc' (3) panicked at /rust/deps/ena-0.14.3/src/snapshot_vec.rs:199:10:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
   0:     0x75c1cc275243 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h275e909084b1a684
   1:     0x75c1cca01afc - core::fmt::write::hf760d67cf9b2da55
   2:     0x75c1cc229e33 - std::io::Write::write_fmt::h46e65fbc1f072ebd
   3:     0x75c1cc23b442 - std::sys::backtrace::BacktraceLock::print::heeffa864a4cc6853
   4:     0x75c1cc2415d9 - std::panicking::default_hook::{{closure}}::ha1187c52840bb77a
   5:     0x75c1cc241103 - std::panicking::default_hook::h3597edaf39d86724
   6:     0x75c1cb231341 - std[c0ce55412202fb59]::panicking::update_hook::<alloc[4123f12742ba7419]::boxed::Box<rustc_driver_impl[5cfea032dd4e7986]::install_ice_hook::{closure#1}>>::{closure#0}
   7:     0x75c1cc2419fb - std::panicking::panic_with_hook::h0e9397ed55f9ce63
   8:     0x75c1cc2417ba - std::panicking::panic_handler::{{closure}}::h047060a714057723
   9:     0x75c1cc23b579 - std::sys::backtrace::__rust_end_short_backtrace::h8057a932be1ba9ec
  10:     0x75c1cc21c16d - __rustc[459dbf790511d39a]::rust_begin_unwind
  11:     0x75c1c92ce4c0 - core::panicking::panic_fmt::h84c50daa2269b357
  12:     0x75c1c8e11a6d - core::panicking::panic_bounds_check::hc2dcd07fa2cc71d7
  13:     0x75c1ce1f33d3 - <ena[d73120e43a90c89f]::unify::UnificationTable<ena[d73120e43a90c89f]::unify::backing_vec::InPlace<rustc_infer[4b5f464aad270e1e]::infer::type_variable::TyVidEqKey, &mut alloc[4123f12742ba7419]::vec::Vec<ena[d73120e43a90c89f]::unify::VarValue<rustc_infer[4b5f464aad270e1e]::infer::type_variable::TyVidEqKey>>, &mut rustc_infer[4b5f464aad270e1e]::infer::snapshot::undo_log::InferCtxtUndoLogs>>>::uninlined_get_root_key.cold
  14:     0x75c1cd1c2786 - <rustc_infer[4b5f464aad270e1e]::infer::canonical::canonicalizer::Canonicalizer as rustc_type_ir[b166037d307f5304]::fold::TypeFolder<rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt>>::fold_ty
  15:     0x75c1cd1c1577 - <rustc_infer[4b5f464aad270e1e]::infer::canonical::canonicalizer::Canonicalizer as rustc_type_ir[b166037d307f5304]::fold::TypeFolder<rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt>>::fold_predicate
  16:     0x75c1cd0af118 - rustc_trait_selection[bd4e1d09d5f17bc7]::traits::type_known_to_meet_bound_modulo_regions
  17:     0x75c1cd41a7a6 - rustc_ty_utils[8d1db5aa1e79968e]::common_traits::is_item_raw
  18:     0x75c1cd41a472 - rustc_query_impl[322b07c669eb3743]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[322b07c669eb3743]::query_impl::is_sized_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>>
  19:     0x75c1ccdd9b7c - rustc_query_system[b561d73868fa1e34]::query::plumbing::try_execute_query::<rustc_query_impl[322b07c669eb3743]::DynamicConfig<rustc_query_system[b561d73868fa1e34]::query::caches::DefaultCache<rustc_middle[a62e1c9468295d17]::ty::PseudoCanonicalInput<rustc_middle[a62e1c9468295d17]::ty::Ty>, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[322b07c669eb3743]::plumbing::QueryCtxt, false>
  20:     0x75c1ccdd964c - rustc_query_impl[322b07c669eb3743]::query_impl::is_sized_raw::get_query_non_incr::__rust_end_short_backtrace
  21:     0x75c1cd37cf23 - rustc_ty_utils[8d1db5aa1e79968e]::layout::layout_of_uncached
  22:     0x75c1cd373a09 - rustc_ty_utils[8d1db5aa1e79968e]::layout::layout_of
  23:     0x75c1cd37396a - rustc_query_impl[322b07c669eb3743]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[322b07c669eb3743]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 16usize]>>
  24:     0x75c1cd371726 - rustc_query_system[b561d73868fa1e34]::query::plumbing::try_execute_query::<rustc_query_impl[322b07c669eb3743]::DynamicConfig<rustc_query_system[b561d73868fa1e34]::query::caches::DefaultCache<rustc_middle[a62e1c9468295d17]::ty::PseudoCanonicalInput<rustc_middle[a62e1c9468295d17]::ty::Ty>, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[322b07c669eb3743]::plumbing::QueryCtxt, false>
  25:     0x75c1cd37135a - rustc_query_impl[322b07c669eb3743]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace
  26:     0x75c1cc185a68 - rustc_transmute[1b2aaacf20ade276]::layout::rustc::layout_of
  27:     0x75c1cc1836f2 - <rustc_transmute[1b2aaacf20ade276]::layout::tree::Tree<rustc_transmute[1b2aaacf20ade276]::layout::rustc::Def, rustc_middle[a62e1c9468295d17]::ty::region::Region, rustc_middle[a62e1c9468295d17]::ty::Ty>>::from_ty
  28:     0x75c1cc17df74 - <rustc_transmute[1b2aaacf20ade276]::rustc::TransmuteTypeEnv>::is_transmutable
  29:     0x75c1cc0b7875 - <rustc_trait_selection[bd4e1d09d5f17bc7]::solve::delegate::SolverDelegate as rustc_next_trait_solver[787473424fb28063]::delegate::SolverDelegate>::is_transmutable
  30:     0x75c1cc0ad13f - <rustc_type_ir[b166037d307f5304]::predicate::TraitPredicate<rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt> as rustc_next_trait_solver[787473424fb28063]::solve::assembly::GoalKind<rustc_trait_selection[bd4e1d09d5f17bc7]::solve::delegate::SolverDelegate, rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt>>::consider_builtin_transmute_candidate
  31:     0x75c1cd842f53 - <rustc_next_trait_solver[787473424fb28063]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[bd4e1d09d5f17bc7]::solve::delegate::SolverDelegate, rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt>>::assemble_builtin_impl_candidates::<rustc_type_ir[b166037d307f5304]::predicate::TraitPredicate<rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt>>
  32:     0x75c1cd834c8d - <rustc_next_trait_solver[787473424fb28063]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[bd4e1d09d5f17bc7]::solve::delegate::SolverDelegate, rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt>>::compute_trait_goal
  33:     0x75c1cd5b6fcb - <rustc_next_trait_solver[787473424fb28063]::solve::search_graph::SearchGraphDelegate<rustc_trait_selection[bd4e1d09d5f17bc7]::solve::delegate::SolverDelegate> as rustc_type_ir[b166037d307f5304]::search_graph::Delegate>::compute_goal::{closure#0}
  34:     0x75c1cd5aab91 - <rustc_next_trait_solver[787473424fb28063]::solve::eval_ctxt::EvalCtxt<rustc_trait_selection[bd4e1d09d5f17bc7]::solve::delegate::SolverDelegate, rustc_middle[a62e1c9468295d17]::ty::context::TyCtxt>>::evaluate_goal_raw
  35:     0x75c1cd5c3743 - <rustc_trait_selection[bd4e1d09d5f17bc7]::solve::fulfill::FulfillmentCtxt<rustc_infer[4b5f464aad270e1e]::traits::engine::ScrubbedTraitError> as rustc_infer[4b5f464aad270e1e]::traits::engine::TraitEngine<rustc_infer[4b5f464aad270e1e]::traits::engine::ScrubbedTraitError>>::evaluate_obligations_error_on_ambiguity
  36:     0x75c1cd1b42cd - <rustc_infer[4b5f464aad270e1e]::infer::InferCtxt as rustc_trait_selection[bd4e1d09d5f17bc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  37:     0x75c1cdb3789a - <rustc_infer[4b5f464aad270e1e]::infer::InferCtxt>::probe::<(), <rustc_trait_selection[bd4e1d09d5f17bc7]::traits::coherence::AmbiguityCausesVisitor as rustc_trait_selection[bd4e1d09d5f17bc7]::solve::inspect::analyse::ProofTreeVisitor>::visit_goal::{closure#2}>
  38:     0x75c1cdb39d08 - <rustc_trait_selection[bd4e1d09d5f17bc7]::traits::coherence::AmbiguityCausesVisitor as rustc_trait_selection[bd4e1d09d5f17bc7]::solve::inspect::analyse::ProofTreeVisitor>::visit_goal
  39:     0x75c1cd5a8138 - rustc_trait_selection[bd4e1d09d5f17bc7]::traits::coherence::overlap
  40:     0x75c1c9849ad1 - <rustc_middle[a62e1c9468295d17]::traits::specialization_graph::Children as rustc_trait_selection[bd4e1d09d5f17bc7]::traits::specialize::specialization_graph::ChildrenExt>::insert
  41:     0x75c1ccb072c8 - <rustc_middle[a62e1c9468295d17]::traits::specialization_graph::Graph as rustc_trait_selection[bd4e1d09d5f17bc7]::traits::specialize::specialization_graph::GraphExt>::insert
  42:     0x75c1ccb087a5 - rustc_trait_selection[bd4e1d09d5f17bc7]::traits::specialize::specialization_graph_provider
  43:     0x75c1ccb081cd - rustc_query_impl[322b07c669eb3743]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[322b07c669eb3743]::query_impl::specialization_graph_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 8usize]>>
  44:     0x75c1cca1c406 - rustc_query_system[b561d73868fa1e34]::query::plumbing::try_execute_query::<rustc_query_impl[322b07c669eb3743]::DynamicConfig<rustc_query_system[b561d73868fa1e34]::query::caches::DefIdCache<rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[322b07c669eb3743]::plumbing::QueryCtxt, false>
  45:     0x75c1cd209b37 - rustc_query_impl[322b07c669eb3743]::query_impl::specialization_graph_of::get_query_non_incr::__rust_end_short_backtrace
  46:     0x75c1cd209e90 - rustc_hir_analysis[d944390d0cee60e9]::coherence::coherent_trait
  47:     0x75c1cd209b5f - rustc_query_impl[322b07c669eb3743]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[322b07c669eb3743]::query_impl::coherent_trait::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>>
  48:     0x75c1cd201d66 - rustc_query_system[b561d73868fa1e34]::query::plumbing::try_execute_query::<rustc_query_impl[322b07c669eb3743]::DynamicConfig<rustc_query_system[b561d73868fa1e34]::query::caches::DefIdCache<rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[322b07c669eb3743]::plumbing::QueryCtxt, false>
  49:     0x75c1cd200de4 - rustc_query_impl[322b07c669eb3743]::query_impl::coherent_trait::get_query_non_incr::__rust_end_short_backtrace
  50:     0x75c1cd218996 - rustc_hir_analysis[d944390d0cee60e9]::check::check::check_item_type
  51:     0x75c1cd213b5c - rustc_hir_analysis[d944390d0cee60e9]::check::wfcheck::check_well_formed
  52:     0x75c1cd213b35 - rustc_query_impl[322b07c669eb3743]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[322b07c669eb3743]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>>
  53:     0x75c1cd2133ac - rustc_query_system[b561d73868fa1e34]::query::plumbing::try_execute_query::<rustc_query_impl[322b07c669eb3743]::DynamicConfig<rustc_data_structures[469c5225820d4653]::vec_cache::VecCache<rustc_span[73a658099c4f6b66]::def_id::LocalDefId, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[b561d73868fa1e34]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[322b07c669eb3743]::plumbing::QueryCtxt, false>
  54:     0x75c1cd212ec2 - rustc_query_impl[322b07c669eb3743]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
  55:     0x75c1cd210430 - rustc_hir_analysis[d944390d0cee60e9]::check::wfcheck::check_type_wf
  56:     0x75c1cd210339 - rustc_query_impl[322b07c669eb3743]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[322b07c669eb3743]::query_impl::check_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>>
  57:     0x75c1cda9afd4 - rustc_query_system[b561d73868fa1e34]::query::plumbing::try_execute_query::<rustc_query_impl[322b07c669eb3743]::DynamicConfig<rustc_query_system[b561d73868fa1e34]::query::caches::SingleCache<rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[322b07c669eb3743]::plumbing::QueryCtxt, false>
  58:     0x75c1cda9adb6 - rustc_query_impl[322b07c669eb3743]::query_impl::check_type_wf::get_query_non_incr::__rust_end_short_backtrace
  59:     0x75c1cd552b9c - rustc_hir_analysis[d944390d0cee60e9]::check_crate
  60:     0x75c1cccf1470 - rustc_interface[575b60d3cd400129]::passes::analysis
  61:     0x75c1cccf1125 - rustc_query_impl[322b07c669eb3743]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[322b07c669eb3743]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 0usize]>>
  62:     0x75c1cdaa1894 - rustc_query_system[b561d73868fa1e34]::query::plumbing::try_execute_query::<rustc_query_impl[322b07c669eb3743]::DynamicConfig<rustc_query_system[b561d73868fa1e34]::query::caches::SingleCache<rustc_middle[a62e1c9468295d17]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[322b07c669eb3743]::plumbing::QueryCtxt, false>
  63:     0x75c1cdaa14ca - rustc_query_impl[322b07c669eb3743]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  64:     0x75c1cdcac74a - <rustc_interface[575b60d3cd400129]::passes::create_and_enter_global_ctxt<core[968b6d0815caf745]::option::Option<rustc_interface[575b60d3cd400129]::queries::Linker>, rustc_driver_impl[5cfea032dd4e7986]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[968b6d0815caf745]::ops::function::FnOnce<(&rustc_session[9f27a80b0604bb89]::session::Session, rustc_middle[a62e1c9468295d17]::ty::context::CurrentGcx, alloc[4123f12742ba7419]::sync::Arc<rustc_data_structures[469c5225820d4653]::jobserver::Proxy>, &std[c0ce55412202fb59]::sync::once_lock::OnceLock<rustc_middle[a62e1c9468295d17]::ty::context::GlobalCtxt>, &rustc_data_structures[469c5225820d4653]::sync::worker_local::WorkerLocal<rustc_middle[a62e1c9468295d17]::arena::Arena>, &rustc_data_structures[469c5225820d4653]::sync::worker_local::WorkerLocal<rustc_hir[5ffaccac72648272]::Arena>, rustc_driver_impl[5cfea032dd4e7986]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  65:     0x75c1cdbb32e9 - rustc_interface[575b60d3cd400129]::interface::run_compiler::<(), rustc_driver_impl[5cfea032dd4e7986]::run_compiler::{closure#0}>::{closure#1}
  66:     0x75c1cdb0e807 - std[c0ce55412202fb59]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[575b60d3cd400129]::util::run_in_thread_with_globals<rustc_interface[575b60d3cd400129]::util::run_in_thread_pool_with_globals<rustc_interface[575b60d3cd400129]::interface::run_compiler<(), rustc_driver_impl[5cfea032dd4e7986]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  67:     0x75c1cdb0e4e8 - <<std[c0ce55412202fb59]::thread::Builder>::spawn_unchecked_<rustc_interface[575b60d3cd400129]::util::run_in_thread_with_globals<rustc_interface[575b60d3cd400129]::util::run_in_thread_pool_with_globals<rustc_interface[575b60d3cd400129]::interface::run_compiler<(), rustc_driver_impl[5cfea032dd4e7986]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[968b6d0815caf745]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  68:     0x75c1cdb146af - std::sys::thread::unix::Thread::new::thread_start::h897ae72f919a9cf9
  69:     0x75c1c7294ac3 - <unknown>
  70:     0x75c1c7326850 - <unknown>
  71:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please make sure that you have updated to the latest nightly

note: please attach the file at `/app/rustc-ice-2025-11-11T02_27_42-1.txt` to your bug report

note: compiler flags: -C debuginfo=2 --crate-type bin -C linker=/opt/compiler-explorer/gcc-15.2.0/bin/gcc

query stack during panic:
panicked at /rustc-dev/6647be93640686a2a443a49f15c3390b68c8b5dd/compiler/rustc_type_ir/src/ty_kind.rs:676:17:

thread panicked while processing panic. aborting.
error: rustc interrupted by SIGSEGV, printing backtrace

/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x3c3875f)[0x75c1cb23875f]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x75c1c7242520]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x178)[0x75c1c7228898]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4c3471a)[0x75c1cc23471a]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x317b1b9)[0x75c1ca77b1b9]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_ZN3std9panicking15panic_with_hook17h0e9397ed55f9ce63E+0x24a)[0x75c1cc241b70]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4c417ba)[0x75c1cc2417ba]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4c3b579)[0x75c1cc23b579]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4c1c16d)[0x75c1cc21c16d]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x1cce4c0)[0x75c1c92ce4c0]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x46ef2ad)[0x75c1cbcef2ad]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x54baf57)[0x75c1ccabaf57]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x460cd95)[0x75c1cbc0cd95]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4707a80)[0x75c1cbd07a80]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x46087eb)[0x75c1cbc087eb]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4679e11)[0x75c1cbc79e11]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXs1_NtCs4j2HpEyN3Zn_16rustc_query_impl8plumbingNtB5_9QueryCtxtNtNtCsfzuzDGpp79w_18rustc_query_system5query12QueryContext19collect_active_jobs+0x45)[0x75c1cbcdd295]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvNtCs7uZW3GAWrEr_15rustc_interface9interface21try_print_query_stack+0xe1)[0x75c1cb67f6c1]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x3c312e6)[0x75c1cb2312e6]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_ZN3std9panicking15panic_with_hook17h0e9397ed55f9ce63E+0xd5)[0x75c1cc2419fb]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4c417ba)[0x75c1cc2417ba]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4c3b579)[0x75c1cc23b579]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4c1c16d)[0x75c1cc21c16d]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x1cce4c0)[0x75c1c92ce4c0]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x1811a6d)[0x75c1c8e11a6d]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x6bf33d3)[0x75c1ce1f33d3]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXs3_NtNtNtCs6tcFdTWVsZK_11rustc_infer5infer9canonical13canonicalizerNtB5_13CanonicalizerINtNtCsfehR5j7hwpI_13rustc_type_ir4fold10TypeFolderNtNtNtCsegzwdKa0VgN_12rustc_middle2ty7context6TyCtxtE7fold_ty+0x4ae)[0x75c1cd1c2786]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXs3_NtNtNtCs6tcFdTWVsZK_11rustc_infer5infer9canonical13canonicalizerNtB5_13CanonicalizerINtNtCsfehR5j7hwpI_13rustc_type_ir4fold10TypeFolderNtNtNtCsegzwdKa0VgN_12rustc_middle2ty7context6TyCtxtE14fold_predicate+0xb7)[0x75c1cd1c1577]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvNtCsgfFl3vkVdjv_21rustc_trait_selection6traits39type_known_to_meet_bound_modulo_regions+0xbd8)[0x75c1cd0af118]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5e1a7a6)[0x75c1cd41a7a6]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5e1a472)[0x75c1cd41a472]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RINvNtNtCsfzuzDGpp79w_18rustc_query_system5query8plumbing17try_execute_queryINtCs4j2HpEyN3Zn_16rustc_query_impl13DynamicConfigINtNtB4_6caches12DefaultCacheINtNtCsegzwdKa0VgN_12rustc_middle2ty20PseudoCanonicalInputNtB2w_2TyEINtNtNtB2y_5query5erase6ErasedAhj1_EEKb0_KB4b_KB4b_ENtNtB1f_8plumbing9QueryCtxtKB4b_EB1f_+0x37c)[0x75c1ccdd9b7c]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x57d964c)[0x75c1ccdd964c]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5d7cf23)[0x75c1cd37cf23]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvNtCsc79Lcnc3R5W_14rustc_ty_utils6layout9layout_of+0x89)[0x75c1cd373a09]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5d7396a)[0x75c1cd37396a]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RINvNtNtCsfzuzDGpp79w_18rustc_query_system5query8plumbing17try_execute_queryINtCs4j2HpEyN3Zn_16rustc_query_impl13DynamicConfigINtNtB4_6caches12DefaultCacheINtNtCsegzwdKa0VgN_12rustc_middle2ty20PseudoCanonicalInputNtB2w_2TyEINtNtNtB2y_5query5erase6ErasedAhj10_EEKb0_Kb1_KB4c_ENtNtB1f_8plumbing9QueryCtxtKB4c_EB1f_+0x3a0)[0x75c1cd371726]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5d7135a)[0x75c1cd37135a]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4b85a68)[0x75c1cc185a68]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4b836f2)[0x75c1cc1836f2]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvMNtCs2kBFnYx2Ngg_15rustc_transmute5rustcNtB2_16TransmuteTypeEnv15is_transmutable+0x84)[0x75c1cc17df74]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXs0_NtNtCsgfFl3vkVdjv_21rustc_trait_selection5solve8delegateNtB5_14SolverDelegateNtNtCsalb4eczcQQF_23rustc_next_trait_solver8delegate14SolverDelegate15is_transmutable+0x85)[0x75c1cc0b7875]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x4aad13f)[0x75c1cc0ad13f]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x6242f53)[0x75c1cd842f53]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x6234c8d)[0x75c1cd834c8d]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5fb6fcb)[0x75c1cd5b6fcb]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5faab91)[0x75c1cd5aab91]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5fc3743)[0x75c1cd5c3743]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXNtNtNtCsgfFl3vkVdjv_21rustc_trait_selection6traits5query19evaluate_obligationNtNtCs6tcFdTWVsZK_11rustc_infer5infer9InferCtxtNtB2_12InferCtxtExt31evaluate_obligation_no_overflow+0xc75)[0x75c1cd1b42cd]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x653789a)[0x75c1cdb3789a]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXs_NtNtCsgfFl3vkVdjv_21rustc_trait_selection6traits9coherenceNtB4_22AmbiguityCausesVisitorNtNtNtNtB8_5solve7inspect7analyse16ProofTreeVisitor10visit_goal+0x688)[0x75c1cdb39d08]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5fa8138)[0x75c1cd5a8138]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXs4_NtNtNtCsgfFl3vkVdjv_21rustc_trait_selection6traits10specialize20specialization_graphNtNtNtCsegzwdKa0VgN_12rustc_middle6traits20specialization_graph8ChildrenNtB5_11ChildrenExt6insert+0xfb1)[0x75c1c9849ad1]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvXs5_NtNtNtCsgfFl3vkVdjv_21rustc_trait_selection6traits10specialize20specialization_graphNtNtNtCsegzwdKa0VgN_12rustc_middle6traits20specialization_graph5GraphNtB5_8GraphExt6insert+0x1fe)[0x75c1ccb072c8]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvNtNtCsgfFl3vkVdjv_21rustc_trait_selection6traits10specialize29specialization_graph_provider+0x5d5)[0x75c1ccb087a5]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x55081cd)[0x75c1ccb081cd]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RINvNtNtCsfzuzDGpp79w_18rustc_query_system5query8plumbing17try_execute_queryINtCs4j2HpEyN3Zn_16rustc_query_impl13DynamicConfigINtNtB4_6caches10DefIdCacheINtNtNtCsegzwdKa0VgN_12rustc_middle5query5erase6ErasedAhj8_EEKb0_KB3r_KB3r_ENtNtB1f_8plumbing9QueryCtxtKB3r_EB1f_+0x2ba)[0x75c1cca1c406]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c09b37)[0x75c1cd209b37]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c09e90)[0x75c1cd209e90]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c09b5f)[0x75c1cd209b5f]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RINvNtNtCsfzuzDGpp79w_18rustc_query_system5query8plumbing17try_execute_queryINtCs4j2HpEyN3Zn_16rustc_query_impl13DynamicConfigINtNtB4_6caches10DefIdCacheINtNtNtCsegzwdKa0VgN_12rustc_middle5query5erase6ErasedAhj1_EEKb0_KB3r_KB3r_ENtNtB1f_8plumbing9QueryCtxtKB3r_EB1f_+0x2a6)[0x75c1cd201d66]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c00de4)[0x75c1cd200de4]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c18996)[0x75c1cd218996]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c13b5c)[0x75c1cd213b5c]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c13b35)[0x75c1cd213b35]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RINvNtNtCsfzuzDGpp79w_18rustc_query_system5query8plumbing17try_execute_queryINtCs4j2HpEyN3Zn_16rustc_query_impl13DynamicConfigINtNtCs63ReUDwr6kp_21rustc_data_structures9vec_cache8VecCacheNtNtCs9VBgvKarbPm_10rustc_span6def_id10LocalDefIdINtNtNtCsegzwdKa0VgN_12rustc_middle5query5erase6ErasedAhj1_ENtNtNtB6_9dep_graph5graph12DepNodeIndexEKb0_KB5p_KB5p_ENtNtB1f_8plumbing9QueryCtxtKB5p_EB1f_+0x4d2)[0x75c1cd2133ac]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c12ec2)[0x75c1cd212ec2]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c10430)[0x75c1cd210430]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x5c10339)[0x75c1cd210339]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RINvNtNtCsfzuzDGpp79w_18rustc_query_system5query8plumbing17try_execute_queryINtCs4j2HpEyN3Zn_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsegzwdKa0VgN_12rustc_middle5query5erase6ErasedAhj1_EEKb0_KB3s_KB3s_ENtNtB1f_8plumbing9QueryCtxtKB3s_EB1f_+0x208)[0x75c1cda9afd4]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x649adb6)[0x75c1cda9adb6]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvCsiEvh8m6UkxV_18rustc_hir_analysis11check_crate+0x9c)[0x75c1cd552b9c]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RNvNtCs7uZW3GAWrEr_15rustc_interface6passes8analysis+0x330)[0x75c1cccf1470]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x56f1125)[0x75c1cccf1125]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(_RINvNtNtCsfzuzDGpp79w_18rustc_query_system5query8plumbing17try_execute_queryINtCs4j2HpEyN3Zn_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCsegzwdKa0VgN_12rustc_middle5query5erase6ErasedAhj0_EEKb0_KB3s_KB3s_ENtNtB1f_8plumbing9QueryCtxtKB3s_EB1f_+0x208)[0x75c1cdaa1894]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x64a14ca)[0x75c1cdaa14ca]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x66ac74a)[0x75c1cdcac74a]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x65b32e9)[0x75c1cdbb32e9]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x650e807)[0x75c1cdb0e807]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x650e4e8)[0x75c1cdb0e4e8]
/opt/compiler-explorer/rust-nightly/lib/librustc_driver-9aba94f6a52e37df.so(+0x65146af)[0x75c1cdb146af]
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3)[0x75c1c7294ac3]
/lib/x86_64-linux-gnu/libc.so.6(+0x126850)[0x75c1c7326850]

note: we would appreciate a report at https://github.com/rust-lang/rust
help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216
note: backtrace dumped due to SIGSEGV! resuming signal
Program terminated with signal: SIGSEGV

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-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.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions