rust-lang / rust-lang/rust

Rust 1.81: thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: called `Option::unwrap()` on a `None` value

Open
#137,071 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-incr-comp C-bug I-ICE S-needs-repro T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Code

repo

Meta

rustc --version --verbose:

rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: aarch64-apple-darwin
release: 1.81.0
LLVM version: 18.1.7
Error output
thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:        0x104f9773c - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h243268f17d714c7f
   1:        0x104fda688 - core::fmt::write::hb3cfb8a30e72d7ff
   2:        0x104f8d720 - std::io::Write::write_fmt::hfb2314975de9ecf1
   3:        0x104f99c4c - std::panicking::default_hook::{{closure}}::h14c7718ccf39d316
   4:        0x104f99870 - std::panicking::default_hook::hc62e60da3be2f352
   5:        0x10eb905b8 - <alloc[47bc6d386d7ae45f]::boxed::Box<rustc_driver_impl[54c40c94c6cfc0b2]::install_ice_hook::{closure#0}> as core[f827f14b5e761a5d]::ops::function::Fn<(&dyn for<'a, 'b> core[f827f14b5e761a5d]::ops::function::Fn<(&'a std[4f7d7c3ef984657a]::panic::PanicHookInfo<'b>,), Output = ()> + core[f827f14b5e761a5d]::marker::Sync + core[f827f14b5e761a5d]::marker::Send, &std[4f7d7c3ef984657a]::panic::PanicHookInfo)>>::call
   6:        0x104f9a868 - std::panicking::rust_panic_with_hook::h09e8a656f11e82b2
   7:        0x104f9a150 - std::panicking::begin_panic_handler::{{closure}}::h1230eb3cc91b241c
   8:        0x104f97bc8 - std::sys::backtrace::__rust_end_short_backtrace::hc3491307aceda2c2
   9:        0x104f99e40 - _rust_begin_unwind
  10:        0x104ff4ad8 - core::panicking::panic_fmt::ha4b80a05b9fff47a
  11:        0x104ff4b44 - core::panicking::panic::h298549a7412a7069
  12:        0x104ff4a60 - core::option::unwrap_failed::hb7af631ec4f78cd6
  13:        0x10f6fbbc4 - <rustc_metadata[3bc14c5fc6c1c8e1]::rmeta::decoder::cstore_impl::provide_cstore_hooks::{closure#0} as core[f827f14b5e761a5d]::ops::function::FnOnce<(rustc_middle[5a798f9924bfd2e0]::query::plumbing::TyCtxtAt, rustc_span[ab16d476329f5d04]::def_id::DefPathHash, rustc_span[ab16d476329f5d04]::def_id::StableCrateId)>>::call_once
  14:        0x10f751358 - <rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt>::def_path_hash_to_def_id
  15:        0x10ffcdf74 - <rustc_query_impl[5e7782f17777a7c9]::plumbing::query_callback<rustc_query_impl[5e7782f17777a7c9]::query_impl::type_of::QueryType>::{closure#0} as core[f827f14b5e761a5d]::ops::function::FnOnce<(rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt, rustc_query_system[5f1672c0485b57da]::dep_graph::dep_node::DepNode)>>::call_once
  16:        0x1100c1960 - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  17:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  18:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  19:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  20:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  21:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  22:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  23:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  24:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  25:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  26:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  27:        0x1100c19ac - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  28:        0x1100c1728 - <rustc_query_system[5f1672c0485b57da]::dep_graph::graph::DepGraphData<rustc_middle[5a798f9924bfd2e0]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt>
  29:        0x10ff72d5c - rustc_query_system[5f1672c0485b57da]::query::plumbing::try_execute_query::<rustc_query_impl[5e7782f17777a7c9]::DynamicConfig<rustc_query_system[5f1672c0485b57da]::query::caches::DefaultCache<rustc_type_ir[4427c4614cfd2abb]::canonical::Canonical<rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt, rustc_middle[5a798f9924bfd2e0]::ty::ParamEnvAnd<rustc_middle[5a798f9924bfd2e0]::ty::predicate::Predicate>>, rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt, true>
  30:        0x11009d9a0 - rustc_query_impl[5e7782f17777a7c9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  31:        0x110559020 - <rustc_infer[cc84f624ea176b3]::infer::InferCtxt as rustc_trait_selection[e6df4fde4f501af3]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  32:        0x110559510 - <rustc_infer[cc84f624ea176b3]::infer::InferCtxt as rustc_trait_selection[e6df4fde4f501af3]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  33:        0x1106bdae0 - <rustc_trait_selection[e6df4fde4f501af3]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  34:        0x1106bd0a0 - <rustc_trait_selection[e6df4fde4f501af3]::traits::fulfill::FulfillProcessor as rustc_data_structures[5fa37262921da6b8]::obligation_forest::ObligationProcessor>::process_obligation
  35:        0x1106a14c4 - <rustc_data_structures[5fa37262921da6b8]::obligation_forest::ObligationForest<rustc_trait_selection[e6df4fde4f501af3]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[e6df4fde4f501af3]::traits::fulfill::FulfillProcessor>
  36:        0x1106b2c74 - <rustc_trait_selection[e6df4fde4f501af3]::traits::fulfill::FulfillmentContext<rustc_infer[cc84f624ea176b3]::traits::engine::ScrubbedTraitError> as rustc_infer[cc84f624ea176b3]::traits::engine::TraitEngine<rustc_infer[cc84f624ea176b3]::traits::engine::ScrubbedTraitError>>::select_where_possible
  37:        0x1106ae010 - <rustc_trait_selection[e6df4fde4f501af3]::traits::fulfill::FulfillmentContext<rustc_infer[cc84f624ea176b3]::traits::engine::ScrubbedTraitError> as rustc_infer[cc84f624ea176b3]::traits::engine::TraitEngine<rustc_infer[cc84f624ea176b3]::traits::engine::ScrubbedTraitError>>::select_all_or_error
  38:        0x110767684 - rustc_traits[dda88b92413daa4]::codegen::codegen_select_candidate
  39:        0x10fffd2b4 - rustc_query_impl[5e7782f17777a7c9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5e7782f17777a7c9]::query_impl::codegen_select_candidate::dynamic_query::{closure#2}::{closure#0}, rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 16usize]>>
  40:        0x1100471b0 - <rustc_query_impl[5e7782f17777a7c9]::query_impl::codegen_select_candidate::dynamic_query::{closure#2} as core[f827f14b5e761a5d]::ops::function::FnOnce<(rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt, (rustc_middle[5a798f9924bfd2e0]::ty::ParamEnv, rustc_type_ir[4427c4614cfd2abb]::predicate::TraitRef<rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt>))>>::call_once
  41:        0x10ff97af0 - rustc_query_system[5f1672c0485b57da]::query::plumbing::try_execute_query::<rustc_query_impl[5e7782f17777a7c9]::DynamicConfig<rustc_query_system[5f1672c0485b57da]::query::caches::DefaultCache<(rustc_middle[5a798f9924bfd2e0]::ty::ParamEnv, rustc_type_ir[4427c4614cfd2abb]::predicate::TraitRef<rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt>), rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt, true>
  42:        0x11008c740 - rustc_query_impl[5e7782f17777a7c9]::query_impl::codegen_select_candidate::get_query_incr::__rust_end_short_backtrace
  43:        0x10fc45428 - rustc_monomorphize[f9d35aff1ff3bd49]::custom_coerce_unsize_info
  44:        0x10fc15450 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::find_vtable_types_for_unsizing
  45:        0x10fc13520 - <rustc_monomorphize[f9d35aff1ff3bd49]::collector::MirUsedCollector as rustc_middle[5a798f9924bfd2e0]::mir::visit::Visitor>::visit_rvalue
  46:        0x10fc17670 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_of_instance
  47:        0x10fc16768 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  48:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  49:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  50:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  51:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  52:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  53:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  54:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  55:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  56:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  57:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  58:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  59:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  60:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  61:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  62:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  63:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  64:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  65:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  66:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  67:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  68:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  69:        0x10fc16da0 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_items_rec
  70:        0x10fc38644 - rustc_data_structures[5fa37262921da6b8]::sync::parallel::disabled::par_for_each_in::<alloc[47bc6d386d7ae45f]::vec::Vec<rustc_middle[5a798f9924bfd2e0]::mir::mono::MonoItem>, rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>
  71:        0x10fc47ff8 - <rustc_session[7092d2b9f61ed168]::session::Session>::time::<(), rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_crate_mono_items::{closure#1}>
  72:        0x10fc19654 - rustc_monomorphize[f9d35aff1ff3bd49]::collector::collect_crate_mono_items
  73:        0x10fc2353c - rustc_monomorphize[f9d35aff1ff3bd49]::partitioning::collect_and_partition_mono_items
  74:        0x10fffe51c - rustc_query_impl[5e7782f17777a7c9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[5e7782f17777a7c9]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 24usize]>>
  75:        0x11004b5dc - <rustc_query_impl[5e7782f17777a7c9]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[f827f14b5e761a5d]::ops::function::FnOnce<(rustc_middle[5a798f9924bfd2e0]::ty::context::TyCtxt, ())>>::call_once
  76:        0x10ff63970 - rustc_query_system[5f1672c0485b57da]::query::plumbing::try_execute_query::<rustc_query_impl[5e7782f17777a7c9]::DynamicConfig<rustc_query_system[5f1672c0485b57da]::query::caches::SingleCache<rustc_middle[5a798f9924bfd2e0]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[5e7782f17777a7c9]::plumbing::QueryCtxt, true>
  77:        0x11009b740 - rustc_query_impl[5e7782f17777a7c9]::query_impl::collect_and_partition_mono_items::get_query_incr::__rust_end_short_backtrace
  78:        0x10e81c038 - rustc_codegen_ssa[b20976fedc9b5a2b]::base::codegen_crate::<rustc_codegen_llvm[642c7aa2dd314cbe]::LlvmCodegenBackend>
  79:        0x10e8061c8 - <rustc_codegen_llvm[642c7aa2dd314cbe]::LlvmCodegenBackend as rustc_codegen_ssa[b20976fedc9b5a2b]::traits::backend::CodegenBackend>::codegen_crate
  80:        0x10f429dd4 - rustc_interface[1340bb505392beac]::passes::start_codegen
  81:        0x10f45c5a4 - <rustc_interface[1340bb505392beac]::queries::Linker>::codegen_and_build_linker
  82:        0x10eb7aec0 - <rustc_interface[1340bb505392beac]::queries::QueryResult<&rustc_middle[5a798f9924bfd2e0]::ty::context::GlobalCtxt>>::enter::<core[f827f14b5e761a5d]::result::Result<core[f827f14b5e761a5d]::option::Option<rustc_interface[1340bb505392beac]::queries::Linker>, rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}::{closure#1}::{closure#6}>
  83:        0x10eb921f8 - <rustc_interface[1340bb505392beac]::interface::Compiler>::enter::<rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}::{closure#1}, core[f827f14b5e761a5d]::result::Result<core[f827f14b5e761a5d]::option::Option<rustc_interface[1340bb505392beac]::queries::Linker>, rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>
  84:        0x10eb8698c - <scoped_tls[df49f867320abf2e]::ScopedKey<rustc_span[ab16d476329f5d04]::SessionGlobals>>::set::<rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>
  85:        0x10eb91b34 - rustc_span[ab16d476329f5d04]::create_session_globals_then::<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
  86:        0x10ebaf8fc - std[4f7d7c3ef984657a]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>
  87:        0x10eb8f7dc - <<std[4f7d7c3ef984657a]::thread::Builder>::spawn_unchecked_<rustc_interface[1340bb505392beac]::util::run_in_thread_with_globals<rustc_interface[1340bb505392beac]::interface::run_compiler<core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>, rustc_driver_impl[54c40c94c6cfc0b2]::run_compiler::{closure#0}>::{closure#1}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f827f14b5e761a5d]::result::Result<(), rustc_span[ab16d476329f5d04]::ErrorGuaranteed>>::{closure#1} as core[f827f14b5e761a5d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  88:        0x104fa2fa4 - std::sys::pal::unix::thread::Thread::new::thread_start::h1bd1b9c95010bf71
  89:        0x1807f02e4 - __pthread_deallocate

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.81.0 (eeb90cda1 2024-09-04) running on aarch64-apple-darwin

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

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

query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `alloc::sync::Arc<citrea_sequencer::mempool::CitreaMempool>: core::marker::Sync`
#1 [codegen_select_candidate] computing candidate for `<alloc::sync::Arc<{closure@jsonrpsee_core::server::rpc_module::RpcModule<citrea_sequencer::rpc::SequencerRpcServerImpl<sov_db::ledger_db::LedgerDB>>::register_async_method<jsonrpsee_core::server::method_response::ResponsePayload<'_, alloy_primitives::bits::fixed::FixedBytes<32>>, {closure@<citrea_sequencer::rpc::SequencerRpcServerImpl<sov_db::ledger_db::LedgerDB> as citrea_sequencer::rpc::SequencerRpcServer>::into_rpc::{closure#0}}, {async block@<citrea_sequencer::rpc::SequencerRpcServerImpl<sov_db::ledger_db::LedgerDB> as citrea_sequencer::rpc::SequencerRpcServer>::into_rpc::{closure#0}::{closure#0}}>::{closure#0}}> as core::ops::unsize::CoerceUnsized<alloc::sync::Arc<dyn core::ops::function::Fn(jsonrpsee_types::params::Id<'_>, jsonrpsee_types::params::Params<'_>, jsonrpsee_core::server::rpc_module::ConnectionId, usize, http::extensions::Extensions) -> core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = jsonrpsee_core::server::method_response::MethodResponse> + core::marker::Send>> + core::marker::Send + core::marker::Sync>>>`
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 TraitSelect(3602f8af992a81e9-1fd18d0ccd14a12d)
#1 TraitSelect(51aa7c4e4bef2fb1-52f05b9f51892041)
#2 TraitSelect(d141a662c2468101-aef0082394cae3ee)
#3 TraitSelect(9a445aec8b0c9af1-abc5d0efafc87df2)
#4 TraitSelect(896316e015bcef53-11313b5646417c50)
#5 TraitSelect(e2cd2b03743575b8-52f9db5d23cf8e73)
#6 TraitSelect(519843ea4e295193-f92598b91b03bfe2)
#7 TraitSelect(e5265d1eb4e6400f-5121c2e634dafdbf)
#8 TraitSelect(389b5abe38053871-1431fc4c5f3b4860)
#9 TraitSelect(f4795ce69fa793d5-943c415cfe58625c)
#10 TraitSelect(d5391e8eb63c3e80-81bec3094569cdad)
#11 evaluate_obligation(2fa7b18717d8dec0-d40481bd734ad290)
end of try_mark_green dep node stack
error: could not compile `citrea` (bin "citrea")
Backtrace

<backtrace>

Error occurred when I ran the following command.

cargo build --locked --features testing

I can not give you a reproducible example as this happened only once. If the error is not obvious, the repo requires extra steps to setup. In such case, let me know and I will provide you with a simple script or clear instructions to build the repo.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported panic in compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54 and review the rustc_metadata and def_path_hash_map context. Reproduce using the linked chainwayxyz/citrea repository and the supplied rustc 1.81.0 --version --verbose details. Done means identifying and fixing the compiler panic with a regression test, though no test or reproduction command is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.