Repository: rust
Issue: Rust ICE when incremental compiling
Labels: I-ICE,T-compiler,C-bug,S-needs-repro

<!--
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 repo is pretty big and I am not sure about the cause of the ICE
```Rust
<code>
```


### 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.74.0-nightly (030e4d382 2023-09-10)
```

### Error output

```
thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:227:17:
Failed to extract DefId: opt_local_def_id_to_hir_id c494cac7fb33286d-298faa4c30e7b59d
stack backtrace:
   0:        0x1011230b4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9e70493e00515c00
   1:        0x101176cd0 - core::fmt::write::h229cb4d6b3d2a6bd
   2:        0x101118a30 - std::io::Write::write_fmt::hda23eebd0b7a531a
   3:        0x101122ef4 - std::sys_common::backtrace::print::hea7e437064ccbd1e
   4:        0x101125c68 - std::panicking::panic_hook_with_disk_dump::{{closure}}::h0cf47aa45d4c9225
   5:        0x101125968 - std::panicking::panic_hook_with_disk_dump::h23fcdb5f5a5f14f3
   6:        0x109648d5c - rustc_driver_impl[1fb85230815b138b]::install_ice_hook::{closure#0}
   7:        0x101126478 - std::panicking::rust_panic_with_hook::hb5128aa884d7ab09
   8:        0x101126240 - std::panicking::begin_panic_handler::{{closure}}::h3d4da6dd627f9aef
   9:        0x101123540 - std::sys_common::backtrace::__rust_end_short_backtrace::h86b1c8c47a9f509e
  10:        0x101125f9c - _rust_begin_unwind
  11:        0x1011a1e70 - core::panicking::panic_fmt::h755cd8227e0e2b34
  12:        0x10d5c76e8 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::dep_node::DepNode<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind> as rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
  13:        0x10d4fcc70 - <rustc_middle[ad7db2ceb583560a]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10d5c7678 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::dep_node::DepNode<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind> as rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepNodeExt>::extract_def_id
  15:        0x10c926eac - <rustc_query_impl[e5b869bf6e92b8a1]::plumbing::query_callback<rustc_query_impl[e5b869bf6e92b8a1]::query_impl::opt_local_def_id_to_hir_id::QueryType>::{closure#0} as core[b6f4679d6a7791a5]::ops::function::FnOnce<(rustc_middle[ad7db2ceb583560a]::ty::context::TyCtxt, rustc_query_system[b4129cf8fbeaf65]::dep_graph::dep_node::DepNode<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>)>>::call_once
  16:        0x10c986864 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  17:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  18:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  19:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  20:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  21:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  22:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  23:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  24:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  25:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  26:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  27:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  28:        0x10c986680 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  29:        0x10c8c3150 - rustc_query_system[b4129cf8fbeaf65]::query::plumbing::try_execute_query::<rustc_query_impl[e5b869bf6e92b8a1]::DynamicConfig<rustc_query_system[b4129cf8fbeaf65]::query::caches::DefaultCache<rustc_middle[ad7db2ceb583560a]::ty::ParamEnvAnd<(rustc_middle[ad7db2ceb583560a]::ty::instance::Instance, &rustc_middle[ad7db2ceb583560a]::ty::list::List<rustc_middle[ad7db2ceb583560a]::ty::Ty>)>, rustc_middle[ad7db2ceb583560a]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt, true>
  30:        0x10caa461c - rustc_query_impl[e5b869bf6e92b8a1]::query_impl::fn_abi_of_instance::get_query_incr::__rust_end_short_backtrace
  31:        0x1098151ec - <rustc_codegen_llvm[bbd6229c52d40d92]::context::CodegenCx as rustc_codegen_ssa[54f2564d48432d3a]::traits::declare::PreDefineMethods>::predefine_fn
  32:        0x1097fb520 - rustc_codegen_llvm[bbd6229c52d40d92]::base::compile_codegen_unit::module_codegen
  33:        0x109865f30 - <rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind as rustc_query_system[b4129cf8fbeaf65]::dep_graph::DepKind>::with_deps::<<rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::with_task<rustc_middle[ad7db2ceb583560a]::ty::context::TyCtxt, rustc_span[9580204c48e9c387]::symbol::Symbol, rustc_codegen_ssa[54f2564d48432d3a]::ModuleCodegen<rustc_codegen_llvm[bbd6229c52d40d92]::ModuleLlvm>>::{closure#0}::{closure#0}, rustc_codegen_ssa[54f2564d48432d3a]::ModuleCodegen<rustc_codegen_llvm[bbd6229c52d40d92]::ModuleLlvm>>
  34:        0x1097fb260 - rustc_codegen_llvm[bbd6229c52d40d92]::base::compile_codegen_unit
  35:        0x1098c1050 - rustc_codegen_ssa[54f2564d48432d3a]::base::codegen_crate::<rustc_codegen_llvm[bbd6229c52d40d92]::LlvmCodegenBackend>
  36:        0x1098a93d0 - <rustc_codegen_llvm[bbd6229c52d40d92]::LlvmCodegenBackend as rustc_codegen_ssa[54f2564d48432d3a]::traits::backend::CodegenBackend>::codegen_crate
  37:        0x10978f774 - <rustc_session[c461d98a58c99d52]::session::Session>::time::<alloc[3398c629c1cccf1d]::boxed::Box<dyn core[b6f4679d6a7791a5]::any::Any>, rustc_interface[1aa8b0ad91ca6a93]::passes::start_codegen::{closure#0}>
  38:        0x1097c17fc - rustc_interface[1aa8b0ad91ca6a93]::passes::start_codegen
  39:        0x1097b4e80 - <rustc_middle[ad7db2ceb583560a]::ty::context::GlobalCtxt>::enter::<<rustc_interface[1aa8b0ad91ca6a93]::queries::Queries>::ongoing_codegen::{closure#0}, core[b6f4679d6a7791a5]::result::Result<alloc[3398c629c1cccf1d]::boxed::Box<dyn core[b6f4679d6a7791a5]::any::Any>, rustc_span[9580204c48e9c387]::ErrorGuaranteed>>
  40:        0x1097d19f8 - <rustc_interface[1aa8b0ad91ca6a93]::queries::Queries>::ongoing_codegen
  41:        0x109670ae4 - <rustc_interface[1aa8b0ad91ca6a93]::interface::Compiler>::enter::<rustc_driver_impl[1fb85230815b138b]::run_compiler::{closure#1}::{closure#2}, core[b6f4679d6a7791a5]::result::Result<core[b6f4679d6a7791a5]::option::Option<rustc_interface[1aa8b0ad91ca6a93]::queries::Linker>, rustc_span[9580204c48e9c387]::ErrorGuaranteed>>
  42:        0x10968b570 - std[2c9ac6c49dee64f1]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1aa8b0ad91ca6a93]::util::run_in_thread_with_globals<rustc_interface[1aa8b0ad91ca6a93]::interface::run_compiler<core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>, rustc_driver_impl[1fb85230815b138b]::run_compiler::{closure#1}>::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>
  43:        0x10968d318 - <<std[2c9ac6c49dee64f1]::thread::Builder>::spawn_unchecked_<rustc_interface[1aa8b0ad91ca6a93]::util::run_in_thread_with_globals<rustc_interface[1aa8b0ad91ca6a93]::interface::run_compiler<core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>, rustc_driver_impl[1fb85230815b138b]::run_compiler::{closure#1}>::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>::{closure#1} as core[b6f4679d6a7791a5]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:        0x10112f1f4 - std::sys::unix::thread::Thread::new::thread_start::he2501b39e7294638
  45:        0x18a737034 - __pthread_joiner_wake

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 attach the file at `/Users/dvtkrlbs/DEV/work/armaera/academy-portal/monocad/rustc-ice-2023-10-03T08:10:09.225971Z-7743.txt` to your bug report

note: compiler flags: --crate-type lib -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 [fn_abi_of_instance] computing call ABI of `core::ptr::drop_in_place::<async_graphql::dataloader::ResSender<uuid::Uuid, system_constant::service::MaterialTypeLoader>> - shim(Some(async_graphql::dataloader::ResSender<uuid::Uuid, system_constant::service::MaterialTypeLoader>))`
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 opt_def_kind(thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:227:17:
Failed to extract DefId: opt_def_kind c494cac7fb33286d-298faa4c30e7b59d
stack backtrace:
   0:        0x1011230b4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9e70493e00515c00
   1:        0x101176cd0 - core::fmt::write::h229cb4d6b3d2a6bd
   2:        0x101118a30 - std::io::Write::write_fmt::hda23eebd0b7a531a
   3:        0x101122ef4 - std::sys_common::backtrace::print::hea7e437064ccbd1e
   4:        0x101125c68 - std::panicking::panic_hook_with_disk_dump::{{closure}}::h0cf47aa45d4c9225
   5:        0x101125968 - std::panicking::panic_hook_with_disk_dump::h23fcdb5f5a5f14f3
   6:        0x109648d5c - rustc_driver_impl[1fb85230815b138b]::install_ice_hook::{closure#0}
   7:        0x101126478 - std::panicking::rust_panic_with_hook::hb5128aa884d7ab09
   8:        0x101126240 - std::panicking::begin_panic_handler::{{closure}}::h3d4da6dd627f9aef
   9:        0x101123540 - std::sys_common::backtrace::__rust_end_short_backtrace::h86b1c8c47a9f509e
  10:        0x101125f9c - _rust_begin_unwind
  11:        0x1011a1e70 - core::panicking::panic_fmt::h755cd8227e0e2b34
  12:        0x10d5c76e8 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::dep_node::DepNode<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind> as rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
  13:        0x10d4fcc70 - <rustc_middle[ad7db2ceb583560a]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10d60da50 - <rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind as rustc_query_system[b4129cf8fbeaf65]::dep_graph::DepKind>::debug_node
  15:        0x101176cd0 - core::fmt::write::h229cb4d6b3d2a6bd
  16:        0x101116dd4 - <&std::io::stdio::Stderr as std::io::Write>::write_fmt::h64d1acbb31477f69
  17:        0x101117794 - std::io::stdio::_eprint::h898ffc215e8d09da
  18:        0x10dabfa88 - rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::print_markframe_trace::<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>
  19:        0x10c986e84 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  20:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  21:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  22:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  23:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  24:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  25:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  26:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  27:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  28:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  29:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  30:        0x10c9868b0 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  31:        0x10c986680 - <rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::try_mark_green::<rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt>
  32:        0x10c8c3150 - rustc_query_system[b4129cf8fbeaf65]::query::plumbing::try_execute_query::<rustc_query_impl[e5b869bf6e92b8a1]::DynamicConfig<rustc_query_system[b4129cf8fbeaf65]::query::caches::DefaultCache<rustc_middle[ad7db2ceb583560a]::ty::ParamEnvAnd<(rustc_middle[ad7db2ceb583560a]::ty::instance::Instance, &rustc_middle[ad7db2ceb583560a]::ty::list::List<rustc_middle[ad7db2ceb583560a]::ty::Ty>)>, rustc_middle[ad7db2ceb583560a]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[e5b869bf6e92b8a1]::plumbing::QueryCtxt, true>
  33:        0x10caa461c - rustc_query_impl[e5b869bf6e92b8a1]::query_impl::fn_abi_of_instance::get_query_incr::__rust_end_short_backtrace
  34:        0x1098151ec - <rustc_codegen_llvm[bbd6229c52d40d92]::context::CodegenCx as rustc_codegen_ssa[54f2564d48432d3a]::traits::declare::PreDefineMethods>::predefine_fn
  35:        0x1097fb520 - rustc_codegen_llvm[bbd6229c52d40d92]::base::compile_codegen_unit::module_codegen
  36:        0x109865f30 - <rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind as rustc_query_system[b4129cf8fbeaf65]::dep_graph::DepKind>::with_deps::<<rustc_query_system[b4129cf8fbeaf65]::dep_graph::graph::DepGraphData<rustc_middle[ad7db2ceb583560a]::dep_graph::dep_node::DepKind>>::with_task<rustc_middle[ad7db2ceb583560a]::ty::context::TyCtxt, rustc_span[9580204c48e9c387]::symbol::Symbol, rustc_codegen_ssa[54f2564d48432d3a]::ModuleCodegen<rustc_codegen_llvm[bbd6229c52d40d92]::ModuleLlvm>>::{closure#0}::{closure#0}, rustc_codegen_ssa[54f2564d48432d3a]::ModuleCodegen<rustc_codegen_llvm[bbd6229c52d40d92]::ModuleLlvm>>
  37:        0x1097fb260 - rustc_codegen_llvm[bbd6229c52d40d92]::base::compile_codegen_unit
  38:        0x1098c1050 - rustc_codegen_ssa[54f2564d48432d3a]::base::codegen_crate::<rustc_codegen_llvm[bbd6229c52d40d92]::LlvmCodegenBackend>
  39:        0x1098a93d0 - <rustc_codegen_llvm[bbd6229c52d40d92]::LlvmCodegenBackend as rustc_codegen_ssa[54f2564d48432d3a]::traits::backend::CodegenBackend>::codegen_crate
  40:        0x10978f774 - <rustc_session[c461d98a58c99d52]::session::Session>::time::<alloc[3398c629c1cccf1d]::boxed::Box<dyn core[b6f4679d6a7791a5]::any::Any>, rustc_interface[1aa8b0ad91ca6a93]::passes::start_codegen::{closure#0}>
  41:        0x1097c17fc - rustc_interface[1aa8b0ad91ca6a93]::passes::start_codegen
  42:        0x1097b4e80 - <rustc_middle[ad7db2ceb583560a]::ty::context::GlobalCtxt>::enter::<<rustc_interface[1aa8b0ad91ca6a93]::queries::Queries>::ongoing_codegen::{closure#0}, core[b6f4679d6a7791a5]::result::Result<alloc[3398c629c1cccf1d]::boxed::Box<dyn core[b6f4679d6a7791a5]::any::Any>, rustc_span[9580204c48e9c387]::ErrorGuaranteed>>
  43:        0x1097d19f8 - <rustc_interface[1aa8b0ad91ca6a93]::queries::Queries>::ongoing_codegen
  44:        0x109670ae4 - <rustc_interface[1aa8b0ad91ca6a93]::interface::Compiler>::enter::<rustc_driver_impl[1fb85230815b138b]::run_compiler::{closure#1}::{closure#2}, core[b6f4679d6a7791a5]::result::Result<core[b6f4679d6a7791a5]::option::Option<rustc_interface[1aa8b0ad91ca6a93]::queries::Linker>, rustc_span[9580204c48e9c387]::ErrorGuaranteed>>
  45:        0x10968b570 - std[2c9ac6c49dee64f1]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1aa8b0ad91ca6a93]::util::run_in_thread_with_globals<rustc_interface[1aa8b0ad91ca6a93]::interface::run_compiler<core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>, rustc_driver_impl[1fb85230815b138b]::run_compiler::{closure#1}>::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>
  46:        0x10968d318 - <<std[2c9ac6c49dee64f1]::thread::Builder>::spawn_unchecked_<rustc_interface[1aa8b0ad91ca6a93]::util::run_in_thread_with_globals<rustc_interface[1aa8b0ad91ca6a93]::interface::run_compiler<core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>, rustc_driver_impl[1fb85230815b138b]::run_compiler::{closure#1}>::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[b6f4679d6a7791a5]::result::Result<(), rustc_span[9580204c48e9c387]::ErrorGuaranteed>>::{closure#1} as core[b6f4679d6a7791a5]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  47:        0x10112f1f4 - std::sys::unix::thread::Thread::new::thread_start::he2501b39e7294638
  48:        0x18a737034 - __pthread_joiner_wake

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 attach the file at `/Users/dvtkrlbs/DEV/work/armaera/academy-portal/monocad/rustc-ice-2023-10-03T08:10:09.225971Z-7743.txt` to your bug report

note: compiler flags: --crate-type lib -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 [fn_abi_of_instance] computing call ABI of `core::ptr::drop_in_place::<async_graphql::dataloader::ResSender<uuid::Uuid, system_constant::service::MaterialTypeLoader>> - shim(Some(async_graphql::dataloader::ResSender<uuid::Uuid, system_constant::service::MaterialTypeLoader>))`
end of query stack
```

<!--
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>

```
<backtrace>
```

</p>
</details>