Skip to content

ICE: "Failed to extract DefId" in macro diesel::table #127794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Jonathan-Landeed opened this issue Jul 16, 2024 · 3 comments · Fixed by #126409
Closed

ICE: "Failed to extract DefId" in macro diesel::table #127794

Jonathan-Landeed opened this issue Jul 16, 2024 · 3 comments · Fixed by #126409
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Jonathan-Landeed
Copy link

The error cleared up when I cleared out /target/ and I couldn't make a minimal example, but I thought I'd post the panic message anyway in case its helpful.

Error output

Backtrace

j@Js-MacBook-Pro landeed % cargo check
   Compiling landeed v0.1.0 (/Users/j/landeed/rust_api/landeed)
thread 'rustc' panicked at compiler/rustc_hir/src/definitions.rs:389:13:
("Failed to extract DefId", def_kind, PackedFingerprint(Fingerprint(15298384670303234344, 1108908725942386211)))
stack backtrace:
   0:        0x101665750 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1f3776e0b5c7517d
   1:        0x1016a8470 - core::fmt::write::heedef092c8c0962e
   2:        0x10165ba1c - std::io::Write::write_fmt::h7178e8e2ea928914
   3:        0x1016655a8 - std::sys_common::backtrace::print::h417292deb95532ed
   4:        0x101667b2c - std::panicking::default_hook::{{closure}}::h0cb68f1228c4613a
   5:        0x101667820 - std::panicking::default_hook::h24535936bc1f51de
   6:        0x10ab33828 - <alloc[d07bc629de031c28]::boxed::Box<rustc_driver_impl[17630cf877ef70bb]::install_ice_hook::{closure#0}> as core[fca7800875c611c6]::ops::function::Fn<(&dyn for<'a, 'b> core[fca7800875c611c6]::ops::function::Fn<(&'a core[fca7800875c611c6]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[fca7800875c611c6]::marker::Sync + core[fca7800875c611c6]::marker::Send, &core[fca7800875c611c6]::panic::panic_info::PanicInfo)>>::call
   7:        0x101668524 - std::panicking::rust_panic_with_hook::h5db4d2345b297bed
   8:        0x101667f2c - std::panicking::begin_panic_handler::{{closure}}::h3fd558f09a0d5492
   9:        0x101665bd8 - std::sys_common::backtrace::__rust_end_short_backtrace::hfc76eebe1ce501b2
  10:        0x101667c9c - _rust_begin_unwind
  11:        0x1016c4140 - core::panicking::panic_fmt::hc2b459a5bd3dce66
  12:        0x10eb96984 - <rustc_hir[8f63456841fca8c8]::definitions::Definitions>::local_def_path_hash_to_def_id::err
  13:        0x10b520450 - <rustc_middle[e187904418cf7088]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10bd3ba28 - <rustc_query_impl[a9dcee21c1ea9187]::plumbing::query_callback<rustc_query_impl[a9dcee21c1ea9187]::query_impl::def_kind::QueryType>::{closure#0} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode)>>::call_once
  15:        0x10bd8f7c8 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  16:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  17:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  18:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  19:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  20:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  21:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  22:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  23:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  24:        0x10bcdb140 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::DefaultCache<rustc_type_ir[a6f4416129910f14]::canonical::Canonical<rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_middle[e187904418cf7088]::ty::ParamEnvAnd<rustc_middle[e187904418cf7088]::ty::predicate::Predicate>>, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  25:        0x10bde3e20 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  26:        0x10c42a6f4 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  27:        0x10c42a9c8 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  28:        0x10c35bd10 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  29:        0x10c35b44c - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor as rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationProcessor>::process_obligation
  30:        0x10c35d8c8 - <rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationForest<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>
  31:        0x10c353d74 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillmentContext as rustc_infer[88fe184f288a0526]::traits::engine::TraitEngine>::select_where_possible
  32:        0x10ae54ad8 - rustc_hir_analysis[c1c0f42cf391c6f]::check::compare_impl_item::compare_impl_method
  33:        0x10ae81e1c - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_impl_items_against_trait
  34:        0x10ae7d108 - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_item_type
  35:        0x10adedb14 - rustc_hir_analysis[c1c0f42cf391c6f]::check::wfcheck::check_well_formed
  36:        0x10bd6675c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  37:        0x10be34384 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_hir[8f63456841fca8c8]::hir_id::OwnerId)>>::call_once
  38:        0x10bd0f488 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  39:        0x10bcb9c28 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::force_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  40:        0x10bd2deac - <rustc_query_impl[a9dcee21c1ea9187]::plumbing::query_callback<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::QueryType>::{closure#0} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode)>>::call_once
  41:        0x10bd8f7c8 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  42:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  43:        0x10bcbcae4 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::ensure_must_run::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  44:        0x10bdca388 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace
  45:        0x10ae14820 - std[e84bc52996b8b382]::panicking::try::<(), core[fca7800875c611c6]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
  46:        0x10ad6d4fc - rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in::<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>
  47:        0x10ae8b81c - rustc_hir_analysis[c1c0f42cf391c6f]::check_crate
  48:        0x10b28de3c - rustc_interface[617d4417f0fbb0b3]::passes::analysis
  49:        0x10bd6989c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  50:        0x10be37bf4 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, ())>>::call_once
  51:        0x10bccf194 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::SingleCache<rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  52:        0x10bdbca94 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
  53:        0x10ab24e38 - <rustc_middle[e187904418cf7088]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}::{closure#3}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  54:        0x10aaf7a88 - <rustc_interface[617d4417f0fbb0b3]::interface::Compiler>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}, core[fca7800875c611c6]::result::Result<core[fca7800875c611c6]::option::Option<rustc_interface[617d4417f0fbb0b3]::queries::Linker>, rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  55:        0x10ab3b85c - <scoped_tls[710a08ee67d076ea]::ScopedKey<rustc_span[984a238feadb13f5]::SessionGlobals>>::set::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  56:        0x10aaf71d8 - rustc_span[984a238feadb13f5]::create_session_globals_then::<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
  57:        0x10ab10400 - std[e84bc52996b8b382]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  58:        0x10ab43808 - <<std[e84bc52996b8b382]::thread::Builder>::spawn_unchecked_<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  59:        0x101670edc - std::sys::pal::unix::thread::Thread::new::thread_start::h50a0ef5291b272f3
  60:        0x181e1bfa8 - __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: rustc 1.79.0 (129f3b996 2024-06-10) running on aarch64-apple-darwin

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 [evaluate_obligation] evaluating trait selection obligation `diesel::query_builder::select_statement::SelectStatement<diesel::query_builder::from_clause::FromClause<schema::payments_razorpayorder::table>>: diesel::associations::HasTable`  |  = note: this failure-note originates in the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info)

#1 [check_well_formed] checking that `schema::payments_razorpayorder::<impl at src/schema.rs:987:1: 1009:2>` is well-formed
#2 [analysis] running analysis passes on this crate
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 representability(1c40f99ab9ada40f-1156139eaba22993)
#1 adt_sized_constraint(thread 'rustc' panicked at compiler/rustc_hir/src/definitions.rs:389:13:
("Failed to extract DefId", adt_sized_constraint, PackedFingerprint(Fingerprint(15298384670303234344, 1108908725942386211)))
stack backtrace:
   0:        0x101665750 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1f3776e0b5c7517d
   1:        0x1016a8470 - core::fmt::write::heedef092c8c0962e
   2:        0x10165ba1c - std::io::Write::write_fmt::h7178e8e2ea928914
   3:        0x1016655a8 - std::sys_common::backtrace::print::h417292deb95532ed
   4:        0x101667b2c - std::panicking::default_hook::{{closure}}::h0cb68f1228c4613a
   5:        0x101667820 - std::panicking::default_hook::h24535936bc1f51de
   6:        0x10ab33828 - <alloc[d07bc629de031c28]::boxed::Box<rustc_driver_impl[17630cf877ef70bb]::install_ice_hook::{closure#0}> as core[fca7800875c611c6]::ops::function::Fn<(&dyn for<'a, 'b> core[fca7800875c611c6]::ops::function::Fn<(&'a core[fca7800875c611c6]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[fca7800875c611c6]::marker::Sync + core[fca7800875c611c6]::marker::Send, &core[fca7800875c611c6]::panic::panic_info::PanicInfo)>>::call
   7:        0x101668524 - std::panicking::rust_panic_with_hook::h5db4d2345b297bed
   8:        0x101667f2c - std::panicking::begin_panic_handler::{{closure}}::h3fd558f09a0d5492
   9:        0x101665bd8 - std::sys_common::backtrace::__rust_end_short_backtrace::hfc76eebe1ce501b2
  10:        0x101667c9c - _rust_begin_unwind
  11:        0x1016c4140 - core::panicking::panic_fmt::hc2b459a5bd3dce66
  12:        0x10eb96984 - <rustc_hir[8f63456841fca8c8]::definitions::Definitions>::local_def_path_hash_to_def_id::err
  13:        0x10b520450 - <rustc_middle[e187904418cf7088]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10b27fee0 - rustc_interface[617d4417f0fbb0b3]::callbacks::dep_node_debug
  15:        0x10bf34920 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode as core[fca7800875c611c6]::fmt::Debug>::fmt
  16:        0x1016a8470 - core::fmt::write::heedef092c8c0962e
  17:        0x101659c18 - <&std::io::stdio::Stderr as std::io::Write>::write_fmt::h66c915205785d7e5
  18:        0x10165a59c - std::io::stdio::_eprint::h7dd5e64a516fb053
  19:        0x10eca2f38 - rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::print_markframe_trace::<rustc_middle[e187904418cf7088]::dep_graph::DepsType>
  20:        0x10bd901a0 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  21:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  22:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  23:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  24:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  25:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  26:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  27:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  28:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  29:        0x10bcdb140 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::DefaultCache<rustc_type_ir[a6f4416129910f14]::canonical::Canonical<rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_middle[e187904418cf7088]::ty::ParamEnvAnd<rustc_middle[e187904418cf7088]::ty::predicate::Predicate>>, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  30:        0x10bde3e20 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  31:        0x10c42a6f4 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  32:        0x10c42a9c8 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  33:        0x10c35bd10 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  34:        0x10c35b44c - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor as rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationProcessor>::process_obligation
  35:        0x10c35d8c8 - <rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationForest<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>
  36:        0x10c353d74 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillmentContext as rustc_infer[88fe184f288a0526]::traits::engine::TraitEngine>::select_where_possible
  37:        0x10ae54ad8 - rustc_hir_analysis[c1c0f42cf391c6f]::check::compare_impl_item::compare_impl_method
  38:        0x10ae81e1c - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_impl_items_against_trait
  39:        0x10ae7d108 - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_item_type
  40:        0x10adedb14 - rustc_hir_analysis[c1c0f42cf391c6f]::check::wfcheck::check_well_formed
  41:        0x10bd6675c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  42:        0x10be34384 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_hir[8f63456841fca8c8]::hir_id::OwnerId)>>::call_once
  43:        0x10bd0f488 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  44:        0x10bcb9c28 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::force_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  45:        0x10bd2deac - <rustc_query_impl[a9dcee21c1ea9187]::plumbing::query_callback<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::QueryType>::{closure#0} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode)>>::call_once
  46:        0x10bd8f7c8 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  47:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  48:        0x10bcbcae4 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::ensure_must_run::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  49:        0x10bdca388 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace
  50:        0x10ae14820 - std[e84bc52996b8b382]::panicking::try::<(), core[fca7800875c611c6]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
  51:        0x10ad6d4fc - rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in::<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>
  52:        0x10ae8b81c - rustc_hir_analysis[c1c0f42cf391c6f]::check_crate
  53:        0x10b28de3c - rustc_interface[617d4417f0fbb0b3]::passes::analysis
  54:        0x10bd6989c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  55:        0x10be37bf4 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, ())>>::call_once
  56:        0x10bccf194 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::SingleCache<rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  57:        0x10bdbca94 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
  58:        0x10ab24e38 - <rustc_middle[e187904418cf7088]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}::{closure#3}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  59:        0x10aaf7a88 - <rustc_interface[617d4417f0fbb0b3]::interface::Compiler>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}, core[fca7800875c611c6]::result::Result<core[fca7800875c611c6]::option::Option<rustc_interface[617d4417f0fbb0b3]::queries::Linker>, rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  60:        0x10ab3b85c - <scoped_tls[710a08ee67d076ea]::ScopedKey<rustc_span[984a238feadb13f5]::SessionGlobals>>::set::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  61:        0x10aaf71d8 - rustc_span[984a238feadb13f5]::create_session_globals_then::<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
  62:        0x10ab10400 - std[e84bc52996b8b382]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  63:        0x10ab43808 - <<std[e84bc52996b8b382]::thread::Builder>::spawn_unchecked_<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  64:        0x101670edc - std::sys::pal::unix::thread::Thread::new::thread_start::h50a0ef5291b272f3
  65:        0x181e1bfa8 - __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: rustc 1.79.0 (129f3b996 2024-06-10) running on aarch64-apple-darwin

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 [evaluate_obligation] evaluating trait selection obligation `diesel::query_builder::select_statement::SelectStatement<diesel::query_builder::from_clause::FromClause<schema::payments_razorpayorder::table>>: diesel::associations::HasTable`  |  = note: this failure-note originates in the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info)

#1 [check_well_formed] checking that `schema::payments_razorpayorder::<impl at src/schema.rs:987:1: 1009:2>` is well-formed
#2 [analysis] running analysis passes on this crate
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 check_mod_type_wf(landeed[d44e]::schema::payments_razorpayorder)
end of try_mark_green dep node stack
thread 'rustc' panicked at compiler/rustc_hir/src/definitions.rs:389:13:
("Failed to extract DefId", def_kind, PackedFingerprint(Fingerprint(15298384670303234344, 11329740790109027053)))
stack backtrace:
   0:        0x101665750 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1f3776e0b5c7517d
   1:        0x1016a8470 - core::fmt::write::heedef092c8c0962e
   2:        0x10165ba1c - std::io::Write::write_fmt::h7178e8e2ea928914
   3:        0x1016655a8 - std::sys_common::backtrace::print::h417292deb95532ed
   4:        0x101667b2c - std::panicking::default_hook::{{closure}}::h0cb68f1228c4613a
   5:        0x101667820 - std::panicking::default_hook::h24535936bc1f51de
   6:        0x10ab33828 - <alloc[d07bc629de031c28]::boxed::Box<rustc_driver_impl[17630cf877ef70bb]::install_ice_hook::{closure#0}> as core[fca7800875c611c6]::ops::function::Fn<(&dyn for<'a, 'b> core[fca7800875c611c6]::ops::function::Fn<(&'a core[fca7800875c611c6]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[fca7800875c611c6]::marker::Sync + core[fca7800875c611c6]::marker::Send, &core[fca7800875c611c6]::panic::panic_info::PanicInfo)>>::call
   7:        0x101668524 - std::panicking::rust_panic_with_hook::h5db4d2345b297bed
   8:        0x101667f2c - std::panicking::begin_panic_handler::{{closure}}::h3fd558f09a0d5492
   9:        0x101665bd8 - std::sys_common::backtrace::__rust_end_short_backtrace::hfc76eebe1ce501b2
  10:        0x101667c9c - _rust_begin_unwind
  11:        0x1016c4140 - core::panicking::panic_fmt::hc2b459a5bd3dce66
  12:        0x10eb96984 - <rustc_hir[8f63456841fca8c8]::definitions::Definitions>::local_def_path_hash_to_def_id::err
  13:        0x10b520450 - <rustc_middle[e187904418cf7088]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10bd3ba28 - <rustc_query_impl[a9dcee21c1ea9187]::plumbing::query_callback<rustc_query_impl[a9dcee21c1ea9187]::query_impl::def_kind::QueryType>::{closure#0} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode)>>::call_once
  15:        0x10bd8f7c8 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  16:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  17:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  18:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  19:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  20:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  21:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  22:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  23:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  24:        0x10bcdb140 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::DefaultCache<rustc_type_ir[a6f4416129910f14]::canonical::Canonical<rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_middle[e187904418cf7088]::ty::ParamEnvAnd<rustc_middle[e187904418cf7088]::ty::predicate::Predicate>>, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  25:        0x10bde3e20 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  26:        0x10c42a6f4 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  27:        0x10c42a9c8 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  28:        0x10c35bd10 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  29:        0x10c35b44c - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor as rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationProcessor>::process_obligation
  30:        0x10c35d8c8 - <rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationForest<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>
  31:        0x10c353d74 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillmentContext as rustc_infer[88fe184f288a0526]::traits::engine::TraitEngine>::select_where_possible
  32:        0x10ae54ad8 - rustc_hir_analysis[c1c0f42cf391c6f]::check::compare_impl_item::compare_impl_method
  33:        0x10ae81e1c - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_impl_items_against_trait
  34:        0x10ae7d108 - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_item_type
  35:        0x10adedb14 - rustc_hir_analysis[c1c0f42cf391c6f]::check::wfcheck::check_well_formed
  36:        0x10bd6675c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  37:        0x10be34384 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_hir[8f63456841fca8c8]::hir_id::OwnerId)>>::call_once
  38:        0x10bd0f488 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  39:        0x10bcb9c28 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::force_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  40:        0x10bd2deac - <rustc_query_impl[a9dcee21c1ea9187]::plumbing::query_callback<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::QueryType>::{closure#0} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode)>>::call_once
  41:        0x10bd8f7c8 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  42:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  43:        0x10bcbcae4 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::ensure_must_run::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  44:        0x10bdca388 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace
  45:        0x10ae14820 - std[e84bc52996b8b382]::panicking::try::<(), core[fca7800875c611c6]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
  46:        0x10ad6d4fc - rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in::<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>
  47:        0x10ae8b81c - rustc_hir_analysis[c1c0f42cf391c6f]::check_crate
  48:        0x10b28de3c - rustc_interface[617d4417f0fbb0b3]::passes::analysis
  49:        0x10bd6989c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  50:        0x10be37bf4 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, ())>>::call_once
  51:        0x10bccf194 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::SingleCache<rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  52:        0x10bdbca94 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
  53:        0x10ab24e38 - <rustc_middle[e187904418cf7088]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}::{closure#3}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  54:        0x10aaf7a88 - <rustc_interface[617d4417f0fbb0b3]::interface::Compiler>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}, core[fca7800875c611c6]::result::Result<core[fca7800875c611c6]::option::Option<rustc_interface[617d4417f0fbb0b3]::queries::Linker>, rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  55:        0x10ab3b85c - <scoped_tls[710a08ee67d076ea]::ScopedKey<rustc_span[984a238feadb13f5]::SessionGlobals>>::set::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  56:        0x10aaf71d8 - rustc_span[984a238feadb13f5]::create_session_globals_then::<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
  57:        0x10ab10400 - std[e84bc52996b8b382]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  58:        0x10ab43808 - <<std[e84bc52996b8b382]::thread::Builder>::spawn_unchecked_<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  59:        0x101670edc - std::sys::pal::unix::thread::Thread::new::thread_start::h50a0ef5291b272f3
  60:        0x181e1bfa8 - __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: rustc 1.79.0 (129f3b996 2024-06-10) running on aarch64-apple-darwin

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 [evaluate_obligation] evaluating trait selection obligation `diesel::query_builder::select_statement::SelectStatement<diesel::query_builder::from_clause::FromClause<schema::payments_workinghoursconfig::table>>: diesel::associations::HasTable`  |  = note: this failure-note originates in the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info)

#1 [check_well_formed] checking that `schema::payments_workinghoursconfig::<impl at src/schema.rs:1046:1: 1058:2>` is well-formed
#2 [analysis] running analysis passes on this crate
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 representability(70ec2409c6c1a63-7496e9d101cb54a4)
#1 adt_sized_constraint(thread 'rustc' panicked at compiler/rustc_hir/src/definitions.rs:389:13:
("Failed to extract DefId", adt_sized_constraint, PackedFingerprint(Fingerprint(15298384670303234344, 11329740790109027053)))
stack backtrace:
   0:        0x101665750 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1f3776e0b5c7517d
   1:        0x1016a8470 - core::fmt::write::heedef092c8c0962e
   2:        0x10165ba1c - std::io::Write::write_fmt::h7178e8e2ea928914
   3:        0x1016655a8 - std::sys_common::backtrace::print::h417292deb95532ed
   4:        0x101667b2c - std::panicking::default_hook::{{closure}}::h0cb68f1228c4613a
   5:        0x101667820 - std::panicking::default_hook::h24535936bc1f51de
   6:        0x10ab33828 - <alloc[d07bc629de031c28]::boxed::Box<rustc_driver_impl[17630cf877ef70bb]::install_ice_hook::{closure#0}> as core[fca7800875c611c6]::ops::function::Fn<(&dyn for<'a, 'b> core[fca7800875c611c6]::ops::function::Fn<(&'a core[fca7800875c611c6]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[fca7800875c611c6]::marker::Sync + core[fca7800875c611c6]::marker::Send, &core[fca7800875c611c6]::panic::panic_info::PanicInfo)>>::call
   7:        0x101668524 - std::panicking::rust_panic_with_hook::h5db4d2345b297bed
   8:        0x101667f2c - std::panicking::begin_panic_handler::{{closure}}::h3fd558f09a0d5492
   9:        0x101665bd8 - std::sys_common::backtrace::__rust_end_short_backtrace::hfc76eebe1ce501b2
  10:        0x101667c9c - _rust_begin_unwind
  11:        0x1016c4140 - core::panicking::panic_fmt::hc2b459a5bd3dce66
  12:        0x10eb96984 - <rustc_hir[8f63456841fca8c8]::definitions::Definitions>::local_def_path_hash_to_def_id::err
  13:        0x10b520450 - <rustc_middle[e187904418cf7088]::ty::context::TyCtxt>::def_path_hash_to_def_id
  14:        0x10b27fee0 - rustc_interface[617d4417f0fbb0b3]::callbacks::dep_node_debug
  15:        0x10bf34920 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode as core[fca7800875c611c6]::fmt::Debug>::fmt
  16:        0x1016a8470 - core::fmt::write::heedef092c8c0962e
  17:        0x101659c18 - <&std::io::stdio::Stderr as std::io::Write>::write_fmt::h66c915205785d7e5
  18:        0x10165a59c - std::io::stdio::_eprint::h7dd5e64a516fb053
  19:        0x10eca2f38 - rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::print_markframe_trace::<rustc_middle[e187904418cf7088]::dep_graph::DepsType>
  20:        0x10bd901a0 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  21:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  22:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  23:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  24:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  25:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  26:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  27:        0x10bd8f80c - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  28:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  29:        0x10bcdb140 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::DefaultCache<rustc_type_ir[a6f4416129910f14]::canonical::Canonical<rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_middle[e187904418cf7088]::ty::ParamEnvAnd<rustc_middle[e187904418cf7088]::ty::predicate::Predicate>>, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  30:        0x10bde3e20 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
  31:        0x10c42a6f4 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  32:        0x10c42a9c8 - <rustc_infer[88fe184f288a0526]::infer::InferCtxt as rustc_trait_selection[67ea6c3922506dc7]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  33:        0x10c35bd10 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  34:        0x10c35b44c - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor as rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationProcessor>::process_obligation
  35:        0x10c35d8c8 - <rustc_data_structures[d96e6b3ae716122c]::obligation_forest::ObligationForest<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillProcessor>
  36:        0x10c353d74 - <rustc_trait_selection[67ea6c3922506dc7]::traits::fulfill::FulfillmentContext as rustc_infer[88fe184f288a0526]::traits::engine::TraitEngine>::select_where_possible
  37:        0x10ae54ad8 - rustc_hir_analysis[c1c0f42cf391c6f]::check::compare_impl_item::compare_impl_method
  38:        0x10ae81e1c - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_impl_items_against_trait
  39:        0x10ae7d108 - rustc_hir_analysis[c1c0f42cf391c6f]::check::check::check_item_type
  40:        0x10adedb14 - rustc_hir_analysis[c1c0f42cf391c6f]::check::wfcheck::check_well_formed
  41:        0x10bd6675c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  42:        0x10be34384 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_hir[8f63456841fca8c8]::hir_id::OwnerId)>>::call_once
  43:        0x10bd0f488 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  44:        0x10bcb9c28 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::force_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  45:        0x10bd2deac - <rustc_query_impl[a9dcee21c1ea9187]::plumbing::query_callback<rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_well_formed::QueryType>::{closure#0} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, rustc_query_system[3fe282a48bd1d9e8]::dep_graph::dep_node::DepNode)>>::call_once
  46:        0x10bd8f7c8 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  47:        0x10bd8f588 - <rustc_query_system[3fe282a48bd1d9e8]::dep_graph::graph::DepGraphData<rustc_middle[e187904418cf7088]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  48:        0x10bcbcae4 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::ensure_must_run::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::VecCache<rustc_hir[8f63456841fca8c8]::hir_id::OwnerId, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt>
  49:        0x10bdca388 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace
  50:        0x10ae14820 - std[e84bc52996b8b382]::panicking::try::<(), core[fca7800875c611c6]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
  51:        0x10ad6d4fc - rustc_data_structures[d96e6b3ae716122c]::sync::parallel::disabled::par_for_each_in::<&[rustc_hir[8f63456841fca8c8]::hir_id::OwnerId], <rustc_middle[e187904418cf7088]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[c1c0f42cf391c6f]::check_crate::{closure#1}::{closure#0}>::{closure#0}>
  52:        0x10ae8b81c - rustc_hir_analysis[c1c0f42cf391c6f]::check_crate
  53:        0x10b28de3c - rustc_interface[617d4417f0fbb0b3]::passes::analysis
  54:        0x10bd6989c - rustc_query_impl[a9dcee21c1ea9187]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>
  55:        0x10be37bf4 - <rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::dynamic_query::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<(rustc_middle[e187904418cf7088]::ty::context::TyCtxt, ())>>::call_once
  56:        0x10bccf194 - rustc_query_system[3fe282a48bd1d9e8]::query::plumbing::try_execute_query::<rustc_query_impl[a9dcee21c1ea9187]::DynamicConfig<rustc_query_system[3fe282a48bd1d9e8]::query::caches::SingleCache<rustc_middle[e187904418cf7088]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[a9dcee21c1ea9187]::plumbing::QueryCtxt, true>
  57:        0x10bdbca94 - rustc_query_impl[a9dcee21c1ea9187]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
  58:        0x10ab24e38 - <rustc_middle[e187904418cf7088]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}::{closure#3}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  59:        0x10aaf7a88 - <rustc_interface[617d4417f0fbb0b3]::interface::Compiler>::enter::<rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}::{closure#1}, core[fca7800875c611c6]::result::Result<core[fca7800875c611c6]::option::Option<rustc_interface[617d4417f0fbb0b3]::queries::Linker>, rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  60:        0x10ab3b85c - <scoped_tls[710a08ee67d076ea]::ScopedKey<rustc_span[984a238feadb13f5]::SessionGlobals>>::set::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  61:        0x10aaf71d8 - rustc_span[984a238feadb13f5]::create_session_globals_then::<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}>
  62:        0x10ab10400 - std[e84bc52996b8b382]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>
  63:        0x10ab43808 - <<std[e84bc52996b8b382]::thread::Builder>::spawn_unchecked_<rustc_interface[617d4417f0fbb0b3]::util::run_in_thread_with_globals<rustc_interface[617d4417f0fbb0b3]::interface::run_compiler<core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>, rustc_driver_impl[17630cf877ef70bb]::run_compiler::{closure#0}>::{closure#1}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fca7800875c611c6]::result::Result<(), rustc_span[984a238feadb13f5]::ErrorGuaranteed>>::{closure#2} as core[fca7800875c611c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  64:        0x101670edc - std::sys::pal::unix::thread::Thread::new::thread_start::h50a0ef5291b272f3
  65:        0x181e1bfa8 - __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: rustc 1.79.0 (129f3b996 2024-06-10) running on aarch64-apple-darwin

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 [evaluate_obligation] evaluating trait selection obligation `diesel::query_builder::select_statement::SelectStatement<diesel::query_builder::from_clause::FromClause<schema::payments_workinghoursconfig::table>>: diesel::associations::HasTable`  |  = note: this failure-note originates in the macro `diesel::table` (in Nightly builds, run with -Z macro-backtrace for more info)

#1 [check_well_formed] checking that `schema::payments_workinghoursconfig::<impl at src/schema.rs:1046:1: 1058:2>` is well-formed
#2 [analysis] running analysis passes on this crate
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 check_mod_type_wf(landeed[d44e]::schema::payments_workinghoursconfig)
end of try_mark_green dep node stack
error: could not compile `landeed` (lib)

@Jonathan-Landeed Jonathan-Landeed added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 16, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 16, 2024
@workingjubilee
Copy link
Member

is that a... panic during a panic during a panic during a panic?

@pacak
Copy link
Contributor

pacak commented Jul 16, 2024

This specific panic should be fixed by #126409 along with some of the reasons to panic while panicking.

@saethlin saethlin changed the title note: this failure-note originates in the macro diesel::table ICE: "Failed to extract DefId" in macro diesel::table Jul 17, 2024
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 17, 2024
@saethlin
Copy link
Member

So I don't think there's anything else to do here but link and close the issue.

@saethlin saethlin linked a pull request Jul 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants