Repository: rust
Issue: ICE compiling internal project
Labels: I-ICE,T-compiler,A-incr-comp,C-bug,S-needs-repro

> [!NOTE]
>
> Clearing out the incremental folder for the `replicatord` crate resolves the issue.

<!--
Thank you for finding an Internal Compiler Error! 🧊  If possible, try to provide
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
how to create smaller examples.
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
-->

### Code

Unfortunately, the code is closed source


### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
binary: rustc
commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23
commit-date: 2024-08-06
host: aarch64-apple-darwin
release: 1.80.1
LLVM version: 18.1.7
```

### Error output

```
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.80.1 (3f5fd8dd4 2024-08-06) running on aarch64-apple-darwin

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C linker=clang -C incremental=[REDACTED]

note: some of the compiler flags provided by cargo are hidden
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary><strong>Backtrace</strong></summary>
<p>

```
thread 'rustc' panicked at compiler/rustc_hir/src/definitions.rs:389:13:
("Failed to extract DefId", def_kind, PackedFingerprint(Fingerprint(5450134108200939692, 10911451897743993807)))
stack backtrace:
   0:        0x105544c1c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h41035ce174e31160
   1:        0x10558987c - core::fmt::write::h7e946826fce7616b
   2:        0x10553b088 - std::io::Write::write_fmt::he3645adfefb23e4a
   3:        0x105544a74 - std::sys_common::backtrace::print::h2efe9ae66fda73dc
   4:        0x105547080 - std::panicking::default_hook::{{closure}}::hd27200b4fbd3bf40
   5:        0x105546d4c - std::panicking::default_hook::hb8656334461229c8
   6:        0x10ebcb380 - <alloc[9bfd1da98798fc47]::boxed::Box<rustc_driver_impl[1ef2360f78401c14]::install_ice_hook::{closure#0}> as core[cec0bd9d2fc86fa9]::ops::function::Fn<(&dyn for<'a, 'b> core[cec0bd9d2fc86fa9]::ops::function::Fn<(&'a core[cec0bd9d2fc86fa9]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[cec0bd9d2fc86fa9]::marker::Sync + core[cec0bd9d2fc86fa9]::marker::Send, &core[cec0bd9d2fc86fa9]::panic::panic_info::PanicInfo)>>::call
   7:        0x105547a6c - std::panicking::rust_panic_with_hook::h10171cf76e1aed15
   8:        0x105547480 - std::panicking::begin_panic_handler::{{closure}}::h9344de43a47cae21
   9:        0x1055450a0 - std::sys_common::backtrace::__rust_end_short_backtrace::h55013ada3ab9c4e8
  10:        0x1055471f0 - _rust_begin_unwind
  11:        0x1055a5128 - core::panicking::panic_fmt::h0b16bb09366e1f01
  12:        0x112cd06b0 - <rustc_hir[370215242720f464]::definitions::Definitions>::local_def_path_hash_to_def_id::err
  13:        0x10f608008 - <rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10fe36fb0 - <rustc_query_impl[9b9172b7a4c3de5d]::plumbing::query_callback<rustc_query_impl[9b9172b7a4c3de5d]::query_impl::def_kind::QueryType>::{closure#0} as core[cec0bd9d2fc86fa9]::ops::function::FnOnce<(rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt, rustc_query_system[a56a14b00b0e8ff6]::dep_graph::dep_node::DepNode)>>::call_once
  15:        0x10ff62ac8 - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  16:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  17:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  18:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  19:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  20:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  21:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  22:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  23:        0x10ff6288c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  24:        0x10fdd8774 - rustc_query_system[a56a14b00b0e8ff6]::query::plumbing::try_execute_query::<rustc_query_impl[9b9172b7a4c3de5d]::DynamicConfig<rustc_query_system[a56a14b00b0e8ff6]::query::caches::DefaultCache<rustc_type_ir[24e377033abc0aab]::canonical::Canonical<rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt, rustc_middle[2867706b5eb6f7f9]::ty::ParamEnvAnd<rustc_middle[2867706b5eb6f7f9]::ty::predicate::Predicate>>, rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt, true>
  25:        0x10fff4124 - rustc_query_impl[9b9172b7a4c3de5d]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  26:        0x110470030 - <rustc_infer[12dda32e7c8ea680]::infer::InferCtxt as rustc_trait_selection[7e0d0f6886399ce9]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  27:        0x110470520 - <rustc_infer[12dda32e7c8ea680]::infer::InferCtxt as rustc_trait_selection[7e0d0f6886399ce9]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  28:        0x1103eb66c - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  29:        0x1103eac30 - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillProcessor as rustc_data_structures[961a954d878499e9]::obligation_forest::ObligationProcessor>::process_obligation
  30:        0x1103d4c48 - <rustc_data_structures[961a954d878499e9]::obligation_forest::ObligationForest<rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillProcessor>
  31:        0x1103e10f0 - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillmentContext<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError> as rustc_infer[12dda32e7c8ea680]::traits::engine::TraitEngine<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError>>::select_where_possible
  32:        0x1103dde88 - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillmentContext<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError> as rustc_infer[12dda32e7c8ea680]::traits::engine::TraitEngine<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError>>::select_all_or_error
  33:        0x11055e1cc - rustc_traits[c51852ea9da8a5f1]::codegen::codegen_select_candidate
  34:        0x10fe63ba0 - rustc_query_impl[9b9172b7a4c3de5d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9b9172b7a4c3de5d]::query_impl::codegen_select_candidate::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 16usize]>>
  35:        0x10ff85770 - <rustc_query_impl[9b9172b7a4c3de5d]::query_impl::codegen_select_candidate::dynamic_query::{closure#2} as core[cec0bd9d2fc86fa9]::ops::function::FnOnce<(rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt, (rustc_middle[2867706b5eb6f7f9]::ty::ParamEnv, rustc_type_ir[24e377033abc0aab]::predicate::TraitRef<rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt>))>>::call_once
  36:        0x10fe05f04 - rustc_query_system[a56a14b00b0e8ff6]::query::plumbing::try_execute_query::<rustc_query_impl[9b9172b7a4c3de5d]::DynamicConfig<rustc_query_system[a56a14b00b0e8ff6]::query::caches::DefaultCache<(rustc_middle[2867706b5eb6f7f9]::ty::ParamEnv, rustc_type_ir[24e377033abc0aab]::predicate::TraitRef<rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt>), rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt, true>
  37:        0x10ffe2908 - rustc_query_impl[9b9172b7a4c3de5d]::query_impl::codegen_select_candidate::get_query_incr::__rust_end_short_backtrace
  38:        0x10fad4308 - rustc_monomorphize[dd171e748c5e8d3]::custom_coerce_unsize_info
  39:        0x10faa53c8 - rustc_monomorphize[dd171e748c5e8d3]::collector::find_vtable_types_for_unsizing
  40:        0x10faa367c - <rustc_monomorphize[dd171e748c5e8d3]::collector::MirUsedCollector as rustc_middle[2867706b5eb6f7f9]::mir::visit::Visitor>::visit_rvalue
  41:        0x10faa764c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_of_instance
  42:        0x10faa66fc - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  43:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  44:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  45:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  46:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  47:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  48:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  49:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  50:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  51:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  52:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  53:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  54:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  55:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  56:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  57:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  58:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  59:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  60:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  61:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  62:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  63:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  64:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  65:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  66:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  67:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  68:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  69:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  70:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  71:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  72:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  73:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  74:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  75:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  76:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  77:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  78:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  79:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  80:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  81:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  82:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  83:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  84:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  85:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  86:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  87:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  88:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  89:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  90:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  91:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  92:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  93:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  94:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  95:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  96:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  97:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  98:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  99:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 100:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 101:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 102:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 103:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 104:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 105:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 106:        0x10fac8f24 - std[4ec0ba9e3c6d748b]::panicking::try::<(), core[cec0bd9d2fc86fa9]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[961a954d878499e9]::sync::parallel::disabled::par_for_each_in<alloc[9bfd1da98798fc47]::vec::Vec<rustc_middle[2867706b5eb6f7f9]::mir::mono::MonoItem>, rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
 107:        0x10fac3dc8 - <rustc_data_structures[961a954d878499e9]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[961a954d878499e9]::sync::parallel::disabled::par_for_each_in<alloc[9bfd1da98798fc47]::vec::Vec<rustc_middle[2867706b5eb6f7f9]::mir::mono::MonoItem>, rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
 108:        0x10fac99ac - rustc_data_structures[961a954d878499e9]::sync::parallel::disabled::par_for_each_in::<alloc[9bfd1da98798fc47]::vec::Vec<rustc_middle[2867706b5eb6f7f9]::mir::mono::MonoItem>, rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>
 109:        0x10fac3b58 - <rustc_session[6e72d4e14abb7feb]::session::Session>::time::<(), rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}>
 110:        0x10faa924c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items
 111:        0x10faaeb88 - rustc_monomorphize[dd171e748c5e8d3]::partitioning::collect_and_partition_mono_items
 112:        0x10fe645d8 - rustc_query_impl[9b9172b7a4c3de5d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9b9172b7a4c3de5d]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 24usize]>>
 113:        0x10ff769b8 - <rustc_query_impl[9b9172b7a4c3de5d]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[cec0bd9d2fc86fa9]::ops::function::FnOnce<(rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt, ())>>::call_once
 114:        0x10fdca410 - rustc_query_system[a56a14b00b0e8ff6]::query::plumbing::try_execute_query::<rustc_query_impl[9b9172b7a4c3de5d]::DynamicConfig<rustc_query_system[a56a14b00b0e8ff6]::query::caches::SingleCache<rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt, true>
 115:        0x10fff1ce4 - rustc_query_impl[9b9172b7a4c3de5d]::query_impl::collect_and_partition_mono_items::get_query_incr::__rust_end_short_backtrace
 116:        0x10e8b8fa0 - rustc_codegen_ssa[b68336f3a887532b]::base::codegen_crate::<rustc_codegen_llvm[df3168b963d74ead]::LlvmCodegenBackend>
 117:        0x10e856fac - <rustc_codegen_llvm[df3168b963d74ead]::LlvmCodegenBackend as rustc_codegen_ssa[b68336f3a887532b]::traits::backend::CodegenBackend>::codegen_crate
 118:        0x10f35ad4c - <rustc_session[6e72d4e14abb7feb]::session::Session>::time::<alloc[9bfd1da98798fc47]::boxed::Box<dyn core[cec0bd9d2fc86fa9]::any::Any>, rustc_interface[6917c625c882dc9d]::passes::start_codegen::{closure#0}>
 119:        0x10f333ac0 - rustc_interface[6917c625c882dc9d]::passes::start_codegen
 120:        0x10f35df60 - <rustc_middle[2867706b5eb6f7f9]::ty::context::GlobalCtxt>::enter::<<rustc_interface[6917c625c882dc9d]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<rustc_interface[6917c625c882dc9d]::queries::Linker, rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 121:        0x10f39c014 - <rustc_interface[6917c625c882dc9d]::queries::Queries>::codegen_and_build_linker
 122:        0x10ebd35d8 - <rustc_interface[6917c625c882dc9d]::interface::Compiler>::enter::<rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<core[cec0bd9d2fc86fa9]::option::Option<rustc_interface[6917c625c882dc9d]::queries::Linker>, rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 123:        0x10eb956b8 - <scoped_tls[1950327f1bf28942]::ScopedKey<rustc_span[22cad54eabbc67cf]::SessionGlobals>>::set::<rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 124:        0x10ebd2f18 - rustc_span[22cad54eabbc67cf]::create_session_globals_then::<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
 125:        0x10ebc9d58 - std[4ec0ba9e3c6d748b]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 126:        0x10eba059c - <<std[4ec0ba9e3c6d748b]::thread::Builder>::spawn_unchecked_<rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#2} as core[cec0bd9d2fc86fa9]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
 127:        0x105550588 - std::sys::pal::unix::thread::Thread::new::thread_start::hb184f2abd415aef7
 128:        0x186cb32e4 - __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.80.1 (3f5fd8dd4 2024-08-06) running on aarch64-apple-darwin

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C linker=clang -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 `{coroutine witness@ractor::actor::ActorRuntime<control::primary::node_manager::node::NodeActor>::start::{closure#0}}: core::marker::Send`
#1 [codegen_select_candidate] computing candidate for `<core::pin::Pin<alloc::boxed::Box<{async block@<control::primary::node_manager::node::NodeActor as ractor::actor::Actor>::spawn_linked<'_>::{closure#0}}>> as core::ops::unsize::CoerceUnsized<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<(ractor::actor::actor_ref::ActorRef<control::primary::node_manager::node::Message>, tokio::runtime::task::join::JoinHandle<()>), ractor::errors::SpawnErr>> + core::marker::Send>>>>`
#2 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 type_of(thread 'rustc' panicked at compiler/rustc_hir/src/definitions.rs:389:13:
("Failed to extract DefId", type_of, PackedFingerprint(Fingerprint(5450134108200939692, 10911451897743993807)))
stack backtrace:
   0:        0x105544c1c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h41035ce174e31160
   1:        0x10558987c - core::fmt::write::h7e946826fce7616b
   2:        0x10553b088 - std::io::Write::write_fmt::he3645adfefb23e4a
   3:        0x105544a74 - std::sys_common::backtrace::print::h2efe9ae66fda73dc
   4:        0x105547080 - std::panicking::default_hook::{{closure}}::hd27200b4fbd3bf40
   5:        0x105546d4c - std::panicking::default_hook::hb8656334461229c8
   6:        0x10ebcb380 - <alloc[9bfd1da98798fc47]::boxed::Box<rustc_driver_impl[1ef2360f78401c14]::install_ice_hook::{closure#0}> as core[cec0bd9d2fc86fa9]::ops::function::Fn<(&dyn for<'a, 'b> core[cec0bd9d2fc86fa9]::ops::function::Fn<(&'a core[cec0bd9d2fc86fa9]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[cec0bd9d2fc86fa9]::marker::Sync + core[cec0bd9d2fc86fa9]::marker::Send, &core[cec0bd9d2fc86fa9]::panic::panic_info::PanicInfo)>>::call
   7:        0x105547a6c - std::panicking::rust_panic_with_hook::h10171cf76e1aed15
   8:        0x105547480 - std::panicking::begin_panic_handler::{{closure}}::h9344de43a47cae21
   9:        0x1055450a0 - std::sys_common::backtrace::__rust_end_short_backtrace::h55013ada3ab9c4e8
  10:        0x1055471f0 - _rust_begin_unwind
  11:        0x1055a5128 - core::panicking::panic_fmt::h0b16bb09366e1f01
  12:        0x112cd06b0 - <rustc_hir[370215242720f464]::definitions::Definitions>::local_def_path_hash_to_def_id::err
  13:        0x10f608008 - <rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10f3660ac - rustc_interface[6917c625c882dc9d]::callbacks::dep_node_debug
  15:        0x110036228 - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::dep_node::DepNode as core[cec0bd9d2fc86fa9]::fmt::Debug>::fmt
  16:        0x10558987c - core::fmt::write::h7e946826fce7616b
  17:        0x1055392d4 - <&std::io::stdio::Stderr as std::io::Write>::write_fmt::h106b890cac40debb
  18:        0x105539cd4 - std::io::stdio::_eprint::hf58134ec6abaf37d
  19:        0x112df38ac - rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::print_markframe_trace::<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>
  20:        0x10ff62b7c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  21:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  22:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  23:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  24:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  25:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  26:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  27:        0x10ff62b0c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  28:        0x10ff6288c - <rustc_query_system[a56a14b00b0e8ff6]::dep_graph::graph::DepGraphData<rustc_middle[2867706b5eb6f7f9]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt>
  29:        0x10fdd8774 - rustc_query_system[a56a14b00b0e8ff6]::query::plumbing::try_execute_query::<rustc_query_impl[9b9172b7a4c3de5d]::DynamicConfig<rustc_query_system[a56a14b00b0e8ff6]::query::caches::DefaultCache<rustc_type_ir[24e377033abc0aab]::canonical::Canonical<rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt, rustc_middle[2867706b5eb6f7f9]::ty::ParamEnvAnd<rustc_middle[2867706b5eb6f7f9]::ty::predicate::Predicate>>, rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt, true>
  30:        0x10fff4124 - rustc_query_impl[9b9172b7a4c3de5d]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  31:        0x110470030 - <rustc_infer[12dda32e7c8ea680]::infer::InferCtxt as rustc_trait_selection[7e0d0f6886399ce9]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  32:        0x110470520 - <rustc_infer[12dda32e7c8ea680]::infer::InferCtxt as rustc_trait_selection[7e0d0f6886399ce9]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  33:        0x1103eb66c - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  34:        0x1103eac30 - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillProcessor as rustc_data_structures[961a954d878499e9]::obligation_forest::ObligationProcessor>::process_obligation
  35:        0x1103d4c48 - <rustc_data_structures[961a954d878499e9]::obligation_forest::ObligationForest<rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillProcessor>
  36:        0x1103e10f0 - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillmentContext<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError> as rustc_infer[12dda32e7c8ea680]::traits::engine::TraitEngine<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError>>::select_where_possible
  37:        0x1103dde88 - <rustc_trait_selection[7e0d0f6886399ce9]::traits::fulfill::FulfillmentContext<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError> as rustc_infer[12dda32e7c8ea680]::traits::engine::TraitEngine<rustc_infer[12dda32e7c8ea680]::traits::engine::ScrubbedTraitError>>::select_all_or_error
  38:        0x11055e1cc - rustc_traits[c51852ea9da8a5f1]::codegen::codegen_select_candidate
  39:        0x10fe63ba0 - rustc_query_impl[9b9172b7a4c3de5d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9b9172b7a4c3de5d]::query_impl::codegen_select_candidate::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 16usize]>>
  40:        0x10ff85770 - <rustc_query_impl[9b9172b7a4c3de5d]::query_impl::codegen_select_candidate::dynamic_query::{closure#2} as core[cec0bd9d2fc86fa9]::ops::function::FnOnce<(rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt, (rustc_middle[2867706b5eb6f7f9]::ty::ParamEnv, rustc_type_ir[24e377033abc0aab]::predicate::TraitRef<rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt>))>>::call_once
  41:        0x10fe05f04 - rustc_query_system[a56a14b00b0e8ff6]::query::plumbing::try_execute_query::<rustc_query_impl[9b9172b7a4c3de5d]::DynamicConfig<rustc_query_system[a56a14b00b0e8ff6]::query::caches::DefaultCache<(rustc_middle[2867706b5eb6f7f9]::ty::ParamEnv, rustc_type_ir[24e377033abc0aab]::predicate::TraitRef<rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt>), rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt, true>
  42:        0x10ffe2908 - rustc_query_impl[9b9172b7a4c3de5d]::query_impl::codegen_select_candidate::get_query_incr::__rust_end_short_backtrace
  43:        0x10fad4308 - rustc_monomorphize[dd171e748c5e8d3]::custom_coerce_unsize_info
  44:        0x10faa53c8 - rustc_monomorphize[dd171e748c5e8d3]::collector::find_vtable_types_for_unsizing
  45:        0x10faa367c - <rustc_monomorphize[dd171e748c5e8d3]::collector::MirUsedCollector as rustc_middle[2867706b5eb6f7f9]::mir::visit::Visitor>::visit_rvalue
  46:        0x10faa764c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_of_instance
  47:        0x10faa66fc - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  48:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  49:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  50:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  51:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  52:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  53:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  54:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  55:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  56:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  57:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  58:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  59:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  60:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  61:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  62:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  63:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  64:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  65:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  66:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  67:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  68:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  69:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  70:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  71:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  72:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  73:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  74:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  75:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  76:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  77:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  78:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  79:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  80:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  81:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  82:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  83:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  84:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  85:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  86:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  87:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  88:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  89:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  90:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  91:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  92:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  93:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  94:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  95:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  96:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  97:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  98:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
  99:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 100:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 101:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 102:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 103:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 104:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 105:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 106:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 107:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 108:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 109:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 110:        0x10faa6c9c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_items_rec
 111:        0x10fac8f24 - std[4ec0ba9e3c6d748b]::panicking::try::<(), core[cec0bd9d2fc86fa9]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[961a954d878499e9]::sync::parallel::disabled::par_for_each_in<alloc[9bfd1da98798fc47]::vec::Vec<rustc_middle[2867706b5eb6f7f9]::mir::mono::MonoItem>, rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
 112:        0x10fac3dc8 - <rustc_data_structures[961a954d878499e9]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[961a954d878499e9]::sync::parallel::disabled::par_for_each_in<alloc[9bfd1da98798fc47]::vec::Vec<rustc_middle[2867706b5eb6f7f9]::mir::mono::MonoItem>, rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
 113:        0x10fac99ac - rustc_data_structures[961a954d878499e9]::sync::parallel::disabled::par_for_each_in::<alloc[9bfd1da98798fc47]::vec::Vec<rustc_middle[2867706b5eb6f7f9]::mir::mono::MonoItem>, rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>
 114:        0x10fac3b58 - <rustc_session[6e72d4e14abb7feb]::session::Session>::time::<(), rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items::{closure#1}>
 115:        0x10faa924c - rustc_monomorphize[dd171e748c5e8d3]::collector::collect_crate_mono_items
 116:        0x10faaeb88 - rustc_monomorphize[dd171e748c5e8d3]::partitioning::collect_and_partition_mono_items
 117:        0x10fe645d8 - rustc_query_impl[9b9172b7a4c3de5d]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[9b9172b7a4c3de5d]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 24usize]>>
 118:        0x10ff769b8 - <rustc_query_impl[9b9172b7a4c3de5d]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[cec0bd9d2fc86fa9]::ops::function::FnOnce<(rustc_middle[2867706b5eb6f7f9]::ty::context::TyCtxt, ())>>::call_once
 119:        0x10fdca410 - rustc_query_system[a56a14b00b0e8ff6]::query::plumbing::try_execute_query::<rustc_query_impl[9b9172b7a4c3de5d]::DynamicConfig<rustc_query_system[a56a14b00b0e8ff6]::query::caches::SingleCache<rustc_middle[2867706b5eb6f7f9]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[9b9172b7a4c3de5d]::plumbing::QueryCtxt, true>
 120:        0x10fff1ce4 - rustc_query_impl[9b9172b7a4c3de5d]::query_impl::collect_and_partition_mono_items::get_query_incr::__rust_end_short_backtrace
 121:        0x10e8b8fa0 - rustc_codegen_ssa[b68336f3a887532b]::base::codegen_crate::<rustc_codegen_llvm[df3168b963d74ead]::LlvmCodegenBackend>
 122:        0x10e856fac - <rustc_codegen_llvm[df3168b963d74ead]::LlvmCodegenBackend as rustc_codegen_ssa[b68336f3a887532b]::traits::backend::CodegenBackend>::codegen_crate
 123:        0x10f35ad4c - <rustc_session[6e72d4e14abb7feb]::session::Session>::time::<alloc[9bfd1da98798fc47]::boxed::Box<dyn core[cec0bd9d2fc86fa9]::any::Any>, rustc_interface[6917c625c882dc9d]::passes::start_codegen::{closure#0}>
 124:        0x10f333ac0 - rustc_interface[6917c625c882dc9d]::passes::start_codegen
 125:        0x10f35df60 - <rustc_middle[2867706b5eb6f7f9]::ty::context::GlobalCtxt>::enter::<<rustc_interface[6917c625c882dc9d]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<rustc_interface[6917c625c882dc9d]::queries::Linker, rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 126:        0x10f39c014 - <rustc_interface[6917c625c882dc9d]::queries::Queries>::codegen_and_build_linker
 127:        0x10ebd35d8 - <rustc_interface[6917c625c882dc9d]::interface::Compiler>::enter::<rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<core[cec0bd9d2fc86fa9]::option::Option<rustc_interface[6917c625c882dc9d]::queries::Linker>, rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 128:        0x10eb956b8 - <scoped_tls[1950327f1bf28942]::ScopedKey<rustc_span[22cad54eabbc67cf]::SessionGlobals>>::set::<rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 129:        0x10ebd2f18 - rustc_span[22cad54eabbc67cf]::create_session_globals_then::<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
 130:        0x10ebc9d58 - std[4ec0ba9e3c6d748b]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>
 131:        0x10eba059c - <<std[4ec0ba9e3c6d748b]::thread::Builder>::spawn_unchecked_<rustc_interface[6917c625c882dc9d]::util::run_in_thread_with_globals<rustc_interface[6917c625c882dc9d]::interface::run_compiler<core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>, rustc_driver_impl[1ef2360f78401c14]::run_compiler::{closure#0}>::{closure#1}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[cec0bd9d2fc86fa9]::result::Result<(), rustc_span[22cad54eabbc67cf]::ErrorGuaranteed>>::{closure#2} as core[cec0bd9d2fc86fa9]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
 132:        0x105550588 - std::sys::pal::unix::thread::Thread::new::thread_start::hb184f2abd415aef7
 133:        0x186cb32e4 - __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.80.1 (3f5fd8dd4 2024-08-06) running on aarch64-apple-darwin

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C linker=clang -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 `{coroutine witness@ractor::actor::ActorRuntime<control::primary::node_manager::node::NodeActor>::start::{closure#0}}: core::marker::Send`
#1 [codegen_select_candidate] computing candidate for `<core::pin::Pin<alloc::boxed::Box<{async block@<control::primary::node_manager::node::NodeActor as ractor::actor::Actor>::spawn_linked<'_>::{closure#0}}>> as core::ops::unsize::CoerceUnsized<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<(ractor::actor::actor_ref::ActorRef<control::primary::node_manager::node::Message>, tokio::runtime::task::join::JoinHandle<()>), ractor::errors::SpawnErr>> + core::marker::Send>>>>`
#2 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
warning: `replicatord` (lib test) generated 4 warnings (run `cargo fix --lib -p replicatord --tests` to apply 1 suggestion)
error: could not compile `replicatord` (lib test); 4 warnings emitted
```

</p>
</details>