Skip to content
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

Odd compiler panic #132478

Open
lucasgelfond opened this issue Nov 1, 2024 · 2 comments
Open

Odd compiler panic #132478

lucasgelfond opened this issue Nov 1, 2024 · 2 comments
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@lucasgelfond
Copy link

lucasgelfond commented Nov 1, 2024

Code

I'm a Rust newbie and working in a largeish production codebase, so difficult to find something minimally reproducible, but getting a pretty gnarly compiler bug internally. Just comes from running cargo check (note: no problems in CI! Just on my local machine, a 2021 M1 Pro MacBook Pro.

Meta

rustc --version --verbose:

rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: aarch64-apple-darwin
release: 1.82.0
LLVM version: 19.1.1

Error output

thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:        0x10cb04bdc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::habbf9c4f641febb1
   1:        0x10a0d1770 - core::fmt::write::ha36a8060c13608ea
   2:        0x10caf8b0c - std::io::Write::write_fmt::h431832c8ebcc85c9
   3:        0x10cb072a4 - std::panicking::default_hook::{{closure}}::h4aa1f60327dfff6a
   4:        0x10cb06ef8 - std::panicking::default_hook::h4ebc6eb4ae179807
   5:        0x10ac42afc - <alloc[764fc8c78a1bb3e1]::boxed::Box<rustc_driver_impl[d9f1096c2de14668]::install_ice_hook::{closure#0}> as core[fafc87a594706398]::ops::function::Fn<(&dyn for<'a, 'b> core[fafc87a594706398]::ops::function::Fn<(&'a std[d8d90c69e022292b]::panic::PanicHookInfo<'b>,), Output = ()> + core[fafc87a594706398]::marker::Sync + core[fafc87a594706398]::marker::Send, &std[d8d90c69e022292b]::panic::PanicHookInfo)>>::call
   6:        0x10cb08428 - std::panicking::rust_panic_with_hook::h6a84efe4dcab239c
   7:        0x10cb07818 - std::panicking::begin_panic_handler::{{closure}}::h5eef292190467fef
   8:        0x10cb05084 - std::sys::backtrace::__rust_end_short_backtrace::hd7e7925203f20af9
   9:        0x10cb07514 - _rust_begin_unwind
  10:        0x10f183b60 - core::panicking::panic_fmt::h410d3f147658259b
  11:        0x10f183bcc - core::panicking::panic::hee236ca94fc05047
  12:        0x10f183ae8 - core::option::unwrap_failed::h187ebe480b20e6be
  13:        0x10b70adcc - <rustc_metadata[acfe361cc13a0072]::rmeta::decoder::cstore_impl::provide_cstore_hooks::{closure#0} as core[fafc87a594706398]::ops::function::FnOnce<(rustc_middle[1486d011505b3441]::query::plumbing::TyCtxtAt, rustc_span[12a1c67e1f6abb]::def_id::DefPathHash, rustc_span[12a1c67e1f6abb]::def_id::StableCrateId)>>::call_once
  14:        0x10b7f27c4 - <rustc_middle[1486d011505b3441]::ty::context::TyCtxt>::def_path_hash_to_def_id
  15:        0x10c0b735c - <rustc_query_impl[d98edaeb063d7c4c]::plumbing::query_callback<rustc_query_impl[d98edaeb063d7c4c]::query_impl::adt_def::QueryType>::{closure#0} as core[fafc87a594706398]::ops::function::FnOnce<(rustc_middle[1486d011505b3441]::ty::context::TyCtxt, rustc_query_system[1bcdf744069b5f02]::dep_graph::dep_node::DepNode)>>::call_once
  16:        0x10c1b9f40 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  17:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  18:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  19:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  20:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  21:        0x10c1b9cd4 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  22:        0x10c0666d4 - rustc_query_system[1bcdf744069b5f02]::query::plumbing::try_execute_query::<rustc_query_impl[d98edaeb063d7c4c]::DynamicConfig<rustc_query_system[1bcdf744069b5f02]::query::caches::DefaultCache<rustc_type_ir[920e70aa31006d3f]::canonical::Canonical<rustc_middle[1486d011505b3441]::ty::context::TyCtxt, rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate>>, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt, true>
  23:        0x10c18a71c - rustc_query_impl[d98edaeb063d7c4c]::query_impl::type_op_prove_predicate::get_query_incr::__rust_end_short_backtrace
  24:        0x10c8a8398 - <rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::QueryTypeOp>::perform_query
  25:        0x10a6c3a10 - <rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::QueryTypeOp>::fully_perform_into
  26:        0x10a5d5614 - <rustc_infer[6bbdea83bea8e02f]::infer::InferCtxt>::commit_if_ok::<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed, rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::custom::scrape_region_constraints<rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate>, (), <rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate> as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::TypeOp>::fully_perform::{closure#1}>::{closure#0}>
  27:        0x10a6b555c - <rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate> as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::TypeOp>::fully_perform
  28:        0x10a6803e0 - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeChecker>::fully_perform_op::<(), rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate>>
  29:        0x10a6810cc - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeChecker>::normalize_and_prove_instantiated_predicates
  30:        0x10a67c5e4 - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeVerifier as rustc_middle[1486d011505b3441]::mir::visit::Visitor>::visit_const_operand
  31:        0x10a67d654 - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeVerifier as rustc_middle[1486d011505b3441]::mir::visit::Visitor>::visit_body
  32:        0x10a67751c - rustc_borrowck[aa07daf8814d9f80]::type_check::type_check
  33:        0x10a57f1d8 - rustc_borrowck[aa07daf8814d9f80]::nll::compute_regions
  34:        0x10a544db8 - rustc_borrowck[aa07daf8814d9f80]::do_mir_borrowck
  35:        0x10a53ba54 - rustc_borrowck[aa07daf8814d9f80]::mir_borrowck
  36:        0x10c0e29b4 - rustc_query_impl[d98edaeb063d7c4c]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d98edaeb063d7c4c]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 8usize]>>
  37:        0x10c120934 - <rustc_query_impl[d98edaeb063d7c4c]::query_impl::mir_borrowck::dynamic_query::{closure#2} as core[fafc87a594706398]::ops::function::FnOnce<(rustc_middle[1486d011505b3441]::ty::context::TyCtxt, rustc_span[12a1c67e1f6abb]::def_id::LocalDefId)>>::call_once
  38:        0x10c096250 - rustc_query_system[1bcdf744069b5f02]::query::plumbing::try_execute_query::<rustc_query_impl[d98edaeb063d7c4c]::DynamicConfig<rustc_query_system[1bcdf744069b5f02]::query::caches::VecCache<rustc_span[12a1c67e1f6abb]::def_id::LocalDefId, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt, true>
  39:        0x10c170f64 - rustc_query_impl[d98edaeb063d7c4c]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace
  40:        0x10b4fbe7c - <rustc_data_structures[4379925a6ea25aa8]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[4379925a6ea25aa8]::sync::parallel::disabled::par_for_each_in<&[rustc_span[12a1c67e1f6abb]::def_id::LocalDefId], <rustc_middle[1486d011505b3441]::hir::map::Map>::par_body_owners<rustc_interface[8c972d485a8e2aa0]::passes::run_required_analyses::{closure#2}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
  41:        0x10b47d6c8 - rustc_interface[8c972d485a8e2aa0]::passes::analysis
  42:        0x10c0e99e0 - rustc_query_impl[d98edaeb063d7c4c]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d98edaeb063d7c4c]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 1usize]>>
  43:        0x10c13a2a8 - <rustc_query_impl[d98edaeb063d7c4c]::query_impl::analysis::dynamic_query::{closure#2} as core[fafc87a594706398]::ops::function::FnOnce<(rustc_middle[1486d011505b3441]::ty::context::TyCtxt, ())>>::call_once
  44:        0x10c04f4b8 - rustc_query_system[1bcdf744069b5f02]::query::plumbing::try_execute_query::<rustc_query_impl[d98edaeb063d7c4c]::DynamicConfig<rustc_query_system[1bcdf744069b5f02]::query::caches::SingleCache<rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt, true>
  45:        0x10c16269c - rustc_query_impl[d98edaeb063d7c4c]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
  46:        0x10ac83608 - <rustc_middle[1486d011505b3441]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}::{closure#1}::{closure#5}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  47:        0x10ac23cc4 - <rustc_interface[8c972d485a8e2aa0]::interface::Compiler>::enter::<rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}::{closure#1}, core[fafc87a594706398]::result::Result<core[fafc87a594706398]::option::Option<rustc_interface[8c972d485a8e2aa0]::queries::Linker>, rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  48:        0x10ac38200 - <scoped_tls[db9af8800088675c]::ScopedKey<rustc_span[12a1c67e1f6abb]::SessionGlobals>>::set::<rustc_interface[8c972d485a8e2aa0]::util::run_in_thread_with_globals<rustc_interface[8c972d485a8e2aa0]::interface::run_compiler<core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>, rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}>::{closure#1}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  49:        0x10ac349fc - std[d8d90c69e022292b]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[8c972d485a8e2aa0]::util::run_in_thread_with_globals<rustc_interface[8c972d485a8e2aa0]::interface::run_compiler<core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>, rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}>::{closure#1}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  50:        0x10ac410c0 - <<std[d8d90c69e022292b]::thread::Builder>::spawn_unchecked_<rustc_interface[8c972d485a8e2aa0]::util::run_in_thread_with_globals<rustc_interface[8c972d485a8e2aa0]::interface::run_compiler<core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>, rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}>::{closure#1}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#1} as core[fafc87a594706398]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  51:        0x10cb12d44 - std::sys::pal::unix::thread::Thread::new::thread_start::hd88bc8e95f2ca709
  52:        0x199dc72e4 - __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.82.0 (f6e511eec 2024-10-15) running on aarch64-apple-darwin

note: compiler flags: --crate-type lib -C embed-bitcode=no -C incremental=[REDACTED] -C strip=debuginfo

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

query stack during panic:
#0 [type_op_prove_predicate] evaluating `type_op_prove_predicate` `ProvePredicate { predicate: Binder { value: TraitPredicate(<diesel::query_builder::update_statement::UpdateStatement<db_schema::schema::ob_configuration::table, diesel::query_builder::where_clause::WhereClause<diesel::expression::grouped::Grouped<diesel::expression::operators::And<diesel::expression::grouped::Grouped<diesel::expression::operators::And<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<db_schema::schema::ob_configuration::columns::id, diesel::expression::bound::Bound<diesel::sql_types::Text, &newtypes::id::basic::ObConfigurationId>>>, diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<db_schema::schema::ob_configuration::columns::tenant_id, diesel::expression::bound::Bound<diesel::sql_types::Text, &newtypes::id::basic::TenantId>>>>>, diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<db_schema::schema::ob_configuration::columns::is_live, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>>>>, (core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::name>, diesel::expression::bound::Bound<diesel::sql_types::Text, alloc::string::String>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::status>, diesel::expression::bound::Bound<diesel::sql_types::Text, newtypes::db_types::ob_config::ApiKeyStatus>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::verification_checks>, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::pg::types::sql_types::Array<diesel::sql_types::Nullable<diesel::pg::types::sql_types::Jsonb>>>, alloc::vec::Vec<newtypes::db_types::verification_check::VerificationCheck>>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::prompt_for_passkey>, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::allow_reonboard>, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::skip_confirm>, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>)> as diesel::query_builder::AsQuery>, polarity:Positive), bound_vars: [] } }`
#1 [mir_borrowck] borrow-checking `models::ob_configuration::<impl at components/db/core/src/models/ob_configuration.rs:450:1: 450:21>::update`
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 adt_sized_constraint(thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:        0x10cb04bdc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::habbf9c4f641febb1
   1:        0x10a0d1770 - core::fmt::write::ha36a8060c13608ea
   2:        0x10caf8b0c - std::io::Write::write_fmt::h431832c8ebcc85c9
   3:        0x10cb072a4 - std::panicking::default_hook::{{closure}}::h4aa1f60327dfff6a
   4:        0x10cb06ef8 - std::panicking::default_hook::h4ebc6eb4ae179807
   5:        0x10ac42afc - <alloc[764fc8c78a1bb3e1]::boxed::Box<rustc_driver_impl[d9f1096c2de14668]::install_ice_hook::{closure#0}> as core[fafc87a594706398]::ops::function::Fn<(&dyn for<'a, 'b> core[fafc87a594706398]::ops::function::Fn<(&'a std[d8d90c69e022292b]::panic::PanicHookInfo<'b>,), Output = ()> + core[fafc87a594706398]::marker::Sync + core[fafc87a594706398]::marker::Send, &std[d8d90c69e022292b]::panic::PanicHookInfo)>>::call
   6:        0x10cb08428 - std::panicking::rust_panic_with_hook::h6a84efe4dcab239c
   7:        0x10cb07818 - std::panicking::begin_panic_handler::{{closure}}::h5eef292190467fef
   8:        0x10cb05084 - std::sys::backtrace::__rust_end_short_backtrace::hd7e7925203f20af9
   9:        0x10cb07514 - _rust_begin_unwind
  10:        0x10f183b60 - core::panicking::panic_fmt::h410d3f147658259b
  11:        0x10f183bcc - core::panicking::panic::hee236ca94fc05047
  12:        0x10f183ae8 - core::option::unwrap_failed::h187ebe480b20e6be
  13:        0x10b70adcc - <rustc_metadata[acfe361cc13a0072]::rmeta::decoder::cstore_impl::provide_cstore_hooks::{closure#0} as core[fafc87a594706398]::ops::function::FnOnce<(rustc_middle[1486d011505b3441]::query::plumbing::TyCtxtAt, rustc_span[12a1c67e1f6abb]::def_id::DefPathHash, rustc_span[12a1c67e1f6abb]::def_id::StableCrateId)>>::call_once
  14:        0x10b7f27c4 - <rustc_middle[1486d011505b3441]::ty::context::TyCtxt>::def_path_hash_to_def_id
  15:        0x10b4d9224 - rustc_interface[8c972d485a8e2aa0]::callbacks::dep_node_debug
  16:        0x10c2fb210 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::dep_node::DepNode as core[fafc87a594706398]::fmt::Debug>::fmt
  17:        0x10a0d1770 - core::fmt::write::ha36a8060c13608ea
  18:        0x10caf6eb0 - <&std::io::stdio::Stderr as std::io::Write>::write_fmt::hc885a26bdbfbb5f3
  19:        0x10caf7970 - std::io::stdio::_eprint::h1cab3cc779ae9153
  20:        0x10f315914 - rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::print_markframe_trace::<rustc_middle[1486d011505b3441]::dep_graph::DepsType>
  21:        0x10c1b9fcc - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  22:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  23:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  24:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  25:        0x10c1b9ee8 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  26:        0x10c1b9cd4 - <rustc_query_system[1bcdf744069b5f02]::dep_graph::graph::DepGraphData<rustc_middle[1486d011505b3441]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt>
  27:        0x10c0666d4 - rustc_query_system[1bcdf744069b5f02]::query::plumbing::try_execute_query::<rustc_query_impl[d98edaeb063d7c4c]::DynamicConfig<rustc_query_system[1bcdf744069b5f02]::query::caches::DefaultCache<rustc_type_ir[920e70aa31006d3f]::canonical::Canonical<rustc_middle[1486d011505b3441]::ty::context::TyCtxt, rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate>>, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt, true>
  28:        0x10c18a71c - rustc_query_impl[d98edaeb063d7c4c]::query_impl::type_op_prove_predicate::get_query_incr::__rust_end_short_backtrace
  29:        0x10c8a8398 - <rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::QueryTypeOp>::perform_query
  30:        0x10a6c3a10 - <rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::QueryTypeOp>::fully_perform_into
  31:        0x10a5d5614 - <rustc_infer[6bbdea83bea8e02f]::infer::InferCtxt>::commit_if_ok::<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed, rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::custom::scrape_region_constraints<rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate>, (), <rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate> as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::TypeOp>::fully_perform::{closure#1}>::{closure#0}>
  32:        0x10a6b555c - <rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate> as rustc_trait_selection[59cf63c55545eaab]::traits::query::type_op::TypeOp>::fully_perform
  33:        0x10a6803e0 - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeChecker>::fully_perform_op::<(), rustc_middle[1486d011505b3441]::ty::ParamEnvAnd<rustc_middle[1486d011505b3441]::traits::query::type_op::ProvePredicate>>
  34:        0x10a6810cc - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeChecker>::normalize_and_prove_instantiated_predicates
  35:        0x10a67c5e4 - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeVerifier as rustc_middle[1486d011505b3441]::mir::visit::Visitor>::visit_const_operand
  36:        0x10a67d654 - <rustc_borrowck[aa07daf8814d9f80]::type_check::TypeVerifier as rustc_middle[1486d011505b3441]::mir::visit::Visitor>::visit_body
  37:        0x10a67751c - rustc_borrowck[aa07daf8814d9f80]::type_check::type_check
  38:        0x10a57f1d8 - rustc_borrowck[aa07daf8814d9f80]::nll::compute_regions
  39:        0x10a544db8 - rustc_borrowck[aa07daf8814d9f80]::do_mir_borrowck
  40:        0x10a53ba54 - rustc_borrowck[aa07daf8814d9f80]::mir_borrowck
  41:        0x10c0e29b4 - rustc_query_impl[d98edaeb063d7c4c]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d98edaeb063d7c4c]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 8usize]>>
  42:        0x10c120934 - <rustc_query_impl[d98edaeb063d7c4c]::query_impl::mir_borrowck::dynamic_query::{closure#2} as core[fafc87a594706398]::ops::function::FnOnce<(rustc_middle[1486d011505b3441]::ty::context::TyCtxt, rustc_span[12a1c67e1f6abb]::def_id::LocalDefId)>>::call_once
  43:        0x10c096250 - rustc_query_system[1bcdf744069b5f02]::query::plumbing::try_execute_query::<rustc_query_impl[d98edaeb063d7c4c]::DynamicConfig<rustc_query_system[1bcdf744069b5f02]::query::caches::VecCache<rustc_span[12a1c67e1f6abb]::def_id::LocalDefId, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt, true>
  44:        0x10c170f64 - rustc_query_impl[d98edaeb063d7c4c]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace
  45:        0x10b4fbe7c - <rustc_data_structures[4379925a6ea25aa8]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[4379925a6ea25aa8]::sync::parallel::disabled::par_for_each_in<&[rustc_span[12a1c67e1f6abb]::def_id::LocalDefId], <rustc_middle[1486d011505b3441]::hir::map::Map>::par_body_owners<rustc_interface[8c972d485a8e2aa0]::passes::run_required_analyses::{closure#2}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
  46:        0x10b47d6c8 - rustc_interface[8c972d485a8e2aa0]::passes::analysis
  47:        0x10c0e99e0 - rustc_query_impl[d98edaeb063d7c4c]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d98edaeb063d7c4c]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 1usize]>>
  48:        0x10c13a2a8 - <rustc_query_impl[d98edaeb063d7c4c]::query_impl::analysis::dynamic_query::{closure#2} as core[fafc87a594706398]::ops::function::FnOnce<(rustc_middle[1486d011505b3441]::ty::context::TyCtxt, ())>>::call_once
  49:        0x10c04f4b8 - rustc_query_system[1bcdf744069b5f02]::query::plumbing::try_execute_query::<rustc_query_impl[d98edaeb063d7c4c]::DynamicConfig<rustc_query_system[1bcdf744069b5f02]::query::caches::SingleCache<rustc_middle[1486d011505b3441]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[d98edaeb063d7c4c]::plumbing::QueryCtxt, true>
  50:        0x10c16269c - rustc_query_impl[d98edaeb063d7c4c]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
  51:        0x10ac83608 - <rustc_middle[1486d011505b3441]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}::{closure#1}::{closure#5}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  52:        0x10ac23cc4 - <rustc_interface[8c972d485a8e2aa0]::interface::Compiler>::enter::<rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}::{closure#1}, core[fafc87a594706398]::result::Result<core[fafc87a594706398]::option::Option<rustc_interface[8c972d485a8e2aa0]::queries::Linker>, rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  53:        0x10ac38200 - <scoped_tls[db9af8800088675c]::ScopedKey<rustc_span[12a1c67e1f6abb]::SessionGlobals>>::set::<rustc_interface[8c972d485a8e2aa0]::util::run_in_thread_with_globals<rustc_interface[8c972d485a8e2aa0]::interface::run_compiler<core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>, rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}>::{closure#1}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  54:        0x10ac349fc - std[d8d90c69e022292b]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[8c972d485a8e2aa0]::util::run_in_thread_with_globals<rustc_interface[8c972d485a8e2aa0]::interface::run_compiler<core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>, rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}>::{closure#1}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>
  55:        0x10ac410c0 - <<std[d8d90c69e022292b]::thread::Builder>::spawn_unchecked_<rustc_interface[8c972d485a8e2aa0]::util::run_in_thread_with_globals<rustc_interface[8c972d485a8e2aa0]::interface::run_compiler<core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>, rustc_driver_impl[d9f1096c2de14668]::run_compiler::{closure#0}>::{closure#1}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[fafc87a594706398]::result::Result<(), rustc_span[12a1c67e1f6abb]::ErrorGuaranteed>>::{closure#1} as core[fafc87a594706398]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  56:        0x10cb12d44 - std::sys::pal::unix::thread::Thread::new::thread_start::hd88bc8e95f2ca709
  57:        0x199dc72e4 - __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.82.0 (f6e511eec 2024-10-15) running on aarch64-apple-darwin

note: compiler flags: --crate-type lib -C embed-bitcode=no -C incremental=[REDACTED] -C strip=debuginfo

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

query stack during panic:
#0 [type_op_prove_predicate] evaluating `type_op_prove_predicate` `ProvePredicate { predicate: Binder { value: TraitPredicate(<diesel::query_builder::update_statement::UpdateStatement<db_schema::schema::ob_configuration::table, diesel::query_builder::where_clause::WhereClause<diesel::expression::grouped::Grouped<diesel::expression::operators::And<diesel::expression::grouped::Grouped<diesel::expression::operators::And<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<db_schema::schema::ob_configuration::columns::id, diesel::expression::bound::Bound<diesel::sql_types::Text, &newtypes::id::basic::ObConfigurationId>>>, diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<db_schema::schema::ob_configuration::columns::tenant_id, diesel::expression::bound::Bound<diesel::sql_types::Text, &newtypes::id::basic::TenantId>>>>>, diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<db_schema::schema::ob_configuration::columns::is_live, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>>>>, (core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::name>, diesel::expression::bound::Bound<diesel::sql_types::Text, alloc::string::String>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::status>, diesel::expression::bound::Bound<diesel::sql_types::Text, newtypes::db_types::ob_config::ApiKeyStatus>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::verification_checks>, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::pg::types::sql_types::Array<diesel::sql_types::Nullable<diesel::pg::types::sql_types::Jsonb>>>, alloc::vec::Vec<newtypes::db_types::verification_check::VerificationCheck>>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::prompt_for_passkey>, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::allow_reonboard>, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>, core::option::Option<diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<db_schema::schema::ob_configuration::columns::skip_confirm>, diesel::expression::bound::Bound<diesel::sql_types::Bool, bool>>>)> as diesel::query_builder::AsQuery>, polarity:Positive), bound_vars: [] } }`
#1 [mir_borrowck] borrow-checking `models::ob_configuration::<impl at components/db/core/src/models/ob_configuration.rs:450:1: 450:21>::update`
end of query stack
error: could not compile `db` (lib)```

Crazily enough, Cargo build works!

<backtrace>

@lucasgelfond lucasgelfond 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 Nov 1, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Nov 1, 2024
@matthiaskrgr matthiaskrgr added the A-incr-comp Area: Incremental compilation label Nov 1, 2024
@lucasgelfond
Copy link
Author

Notably, when I did cargo clean and ran it again, this went away.

@jieyouxu jieyouxu added S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Nov 2, 2024
@TheToddmeister
Copy link

I also got this error in a different context:
thread 'rustc' panicked at compiler\rustc_metadata\src\rmeta\def_path_hash_map.rs:23:54:
called Option::unwrap() on a None value
stack backtrace:
0: 0x7ffabb7f0941 - std::backtrace_rs::backtrace::dbghelp64::trace
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src....\backtrace\src\backtrace\dbghelp64.rs:91
1: 0x7ffabb7f0941 - std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src....\backtrace\src\backtrace\mod.rs:66
2: 0x7ffabb7f0941 - std::sys::backtrace::_print_fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:66
3: 0x7ffabb7f0941 - std::sys::backtrace::impl$0::print::impl$0::fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:39
4: 0x7ffabb8271ba - core::fmt::rt::Argument::fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\fmt\rt.rs:177
5: 0x7ffabb8271ba - core::fmt::write
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\fmt\mod.rs:1186
6: 0x7ffabb7e6c87 - std::io::Write::write_fmtstd::sys::pal::windows::stdio::Stderr
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\io\mod.rs:1839
7: 0x7ffabb7f0785 - std::sys::backtrace::BacktraceLock::print
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:42
8: 0x7ffabb7f3625 - std::panicking::default_hook::closure$1
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:268
9: 0x7ffabb7f3405 - std::panicking::default_hook
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:295
10: 0x7ffabcd4be90 - strncpy
11: 0x7ffabb7f3d62 - alloc::boxed::impl$50::call
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/alloc\src\boxed.rs:2468
12: 0x7ffabb7f3d62 - std::panicking::rust_panic_with_hook
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:809
13: 0x7ffabb7f3b72 - std::panicking::begin_panic_handler::closure$0
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:667
14: 0x7ffabb7f13ff - std::sys::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:170
15: 0x7ffabb7f37ae - std::panicking::begin_panic_handler
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:665
16: 0x7ffabe6c93e1 - core::panicking::panic_fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\panicking.rs:74
17: 0x7ffabe6c949d - core::panicking::panic
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\panicking.rs:148
18: 0x7ffabe6c935e - core::option::unwrap_failed
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\option.rs:2012
19: 0x7ffabc80665e - rustc_incremental[dfbe1408e6cd8462]::persist::load::setup_dep_graph
20: 0x7ffabcbe552e - <rustc_query_system[d5706eca9873e5e7]::dep_graph::dep_node::DepNode as rustc_middle[96162ff2046a4b9]::dep_graph::dep_node::DepNodeExt>::extract_def_id
21: 0x7ffabb44fcbf - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
22: 0x7ffabdb838af - <rustc_ty_utils[a2a1d1eb932b05d6]::opaque_types::OpaqueTypeCollector as rustc_type_ir[1e171271606a18fd]::visit::TypeVisitor<rustc_middle[96162ff2046a4b9]::ty::context::TyCtxt>>::visit_ty
23: 0x7ffabc417346 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
24: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
25: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
26: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
27: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
28: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
29: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
30: 0x7ffabc44c6ac - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
31: 0x7ffabc545e2e - rustc_query_impl[35a48204c8651e1b]::plumbing::query_key_hash_verify_all
32: 0x7ffabc69bf22 - <rustc_trait_selection[4666609d89b74aed]::traits::fulfill::FulfillProcessor as rustc_data_structures[711421db65c291f8]::obligation_forest::ObligationProcessor>::process_obligation
33: 0x7ffabc5f40d5 - rustc_symbol_mangling[a97652c264efedc3]::symbol_name_provider
34: 0x7ffabc636261 - rustc_symbol_mangling[a97652c264efedc3]::symbol_name_provider
35: 0x7ffabbfd0b48 - rustc_traits[e1ca0aba2198e4e1]::codegen::codegen_select_candidate
36: 0x7ffabc534462 - rustc_query_impl[35a48204c8651e1b]::plumbing::query_key_hash_verify_all
37: 0x7ffabb43970b - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
38: 0x7ffabb428c5e - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
39: 0x7ffabc46d78f - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
40: 0x7ffabc541d64 - rustc_query_impl[35a48204c8651e1b]::plumbing::query_key_hash_verify_all
41: 0x7ffabbba03dd - rustc_monomorphize[27b78b89a2dc1a60]::collector::should_codegen_locally
42: 0x7ffabbbbf43a - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
43: 0x7ffabbbba3a5 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
44: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
45: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
46: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
47: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
48: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
49: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
50: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
51: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
52: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
53: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
54: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
55: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
56: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
57: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
58: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
59: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
60: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
61: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
62: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
63: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
64: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
65: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
66: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
67: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
68: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
69: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
70: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
71: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
72: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
73: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
74: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
75: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
76: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
77: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
78: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
79: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
80: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
81: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
82: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
83: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
84: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
85: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
86: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
87: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
88: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
89: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
90: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
91: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
92: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
93: 0x7ffabbbaff23 - rustc_monomorphize[27b78b89a2dc1a60]::partitioning::collect_and_partition_mono_items
94: 0x7ffabb454337 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
95: 0x7ffabb43bd2d - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
96: 0x7ffabb3c328a - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
97: 0x7ffabdbbb618 - <rustc_query_impl[35a48204c8651e1b]::plumbing::QueryCtxt as rustc_query_system[d5706eca9873e5e7]::query::QueryContext>::depth_limit_error
98: 0x7ffabdb8325f - <rustc_ty_utils[a2a1d1eb932b05d6]::opaque_types::OpaqueTypeCollector as rustc_type_ir[1e171271606a18fd]::visit::TypeVisitor<rustc_middle[96162ff2046a4b9]::ty::context::TyCtxt>>::visit_ty
99: 0x7ffabc417346 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
100: 0x7ffabc416ffe - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
101: 0x7ffabb403192 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
102: 0x7ffabb47c4a0 - rustc_query_impl[35a48204c8651e1b]::query_system
103: 0x7ffabc82fc93 - <rustc_metadata[870f0e6a99c436ae]::rmeta::encoder::EncodeContext as rustc_span[32531a401379980]::SpanEncoder>::encode_symbol
104: 0x7ffabb5a3e44 - rustc_metadata[870f0e6a99c436ae]::rmeta::encoder::encode_metadata
105: 0x7ffabb5abe21 - rustc_metadata[870f0e6a99c436ae]::fs::encode_and_write_metadata
106: 0x7ffab8862569 - <rustc_interface[2eec0b40419c24dd]::queries::Linker>::codegen_and_build_linker
107: 0x7ffab8816d58 - _rust_alloc_error_handler
108: 0x7ffab8812856 - _rust_alloc_error_handler
109: 0x7ffab881c508 - _rust_alloc_error_handler
110: 0x7ffabb8055bd - alloc::boxed::impl$48::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/alloc\src\boxed.rs:2454
111: 0x7ffabb8055bd - alloc::boxed::impl$48::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/alloc\src\boxed.rs:2454
112: 0x7ffabb8055bd - std::sys::pal::windows::thread::impl$0::new::thread_start
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\pal\windows\thread.rs:55
113: 0x7ffb47417374 - BaseThreadInitThunk
114: 0x7ffb4795cc91 - RtlUserThreadStart

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.83.0 (90b35a6 2024-11-26) running on x86_64-pc-windows-msvc

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -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@<server_requests::SubmitUserInvitation as server_fn::ServerFn>::run_on_client::{closure#0}}: core::marker::Send
#1 [codegen_select_candidate] computing candidate for <core::pin::Pin<alloc::boxed::Box<{async block@C:\Users\Toddy\Code\leptos_authentication\auth_client\src\components\invit e_users.rs:298:30: 298:40}>> as core::ops::unsize::CoerceUnsized<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<(), throw_error::Error>> + core::marker::Send>>>>
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 adt_sized_constraint(thread 'rustc' panicked at compiler\rustc_metadata\src\rmeta\def_path_hash_map.rs:23:54:
called Option::unwrap() on a None value
stack backtrace:
0: 0x7ffabb7f0941 - std::backtrace_rs::backtrace::dbghelp64::trace
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src....\backtrace\src\backtrace\dbghelp64.rs:91
1: 0x7ffabb7f0941 - std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src....\backtrace\src\backtrace\mod.rs:66
2: 0x7ffabb7f0941 - std::sys::backtrace::_print_fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:66
3: 0x7ffabb7f0941 - std::sys::backtrace::impl$0::print::impl$0::fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:39
4: 0x7ffabb8271ba - core::fmt::rt::Argument::fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\fmt\rt.rs:177
5: 0x7ffabb8271ba - core::fmt::write
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\fmt\mod.rs:1186
6: 0x7ffabb7e6c87 - std::io::Write::write_fmtstd::sys::pal::windows::stdio::Stderr
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\io\mod.rs:1839
7: 0x7ffabb7f0785 - std::sys::backtrace::BacktraceLock::print
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:42
8: 0x7ffabb7f3625 - std::panicking::default_hook::closure$1
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:268
9: 0x7ffabb7f3405 - std::panicking::default_hook
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:295
10: 0x7ffabcd4be90 - strncpy
11: 0x7ffabb7f3d62 - alloc::boxed::impl$50::call
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/alloc\src\boxed.rs:2468
12: 0x7ffabb7f3d62 - std::panicking::rust_panic_with_hook
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:809
13: 0x7ffabb7f3b72 - std::panicking::begin_panic_handler::closure$0
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:667
14: 0x7ffabb7f13ff - std::sys::backtrace::__rust_end_short_backtracestd::panicking::begin_panic_handler::closure_env$0,never$
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\backtrace.rs:170
15: 0x7ffabb7f37ae - std::panicking::begin_panic_handler
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\panicking.rs:665
16: 0x7ffabe6c93e1 - core::panicking::panic_fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\panicking.rs:74
17: 0x7ffabe6c949d - core::panicking::panic
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\panicking.rs:148
18: 0x7ffabe6c935e - core::option::unwrap_failed
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\option.rs:2012
19: 0x7ffabc80665e - rustc_incremental[dfbe1408e6cd8462]::persist::load::setup_dep_graph
20: 0x7ffabcbe552e - <rustc_query_system[d5706eca9873e5e7]::dep_graph::dep_node::DepNode as rustc_middle[96162ff2046a4b9]::dep_graph::dep_node::DepNodeExt>::extract_def_id
21: 0x7ffabcf2aca5 - rustc_interface[2eec0b40419c24dd]::callbacks::dep_node_debug
22: 0x7ffabe4527c9 - <rustc_query_system[d5706eca9873e5e7]::dep_graph::dep_node::DepNode as core[917b96359607833d]::fmt::Debug>::fmt
23: 0x7ffabb8271ba - core::fmt::rt::Argument::fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\fmt\rt.rs:177
24: 0x7ffabb8271ba - core::fmt::write
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/core\src\fmt\mod.rs:1186
25: 0x7ffabb7e456b - std::io::stdio::impl$26::write_fmt
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\io\stdio.rs:1024
26: 0x7ffabb7e51b6 - std::io::stdio::_eprint
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\io\stdio.rs:1243
27: 0x7ffabdb19e88 - <rustc_ty_utils[a2a1d1eb932b05d6]::opaque_types::OpaqueTypeCollector as rustc_type_ir[1e171271606a18fd]::visit::TypeVisitor<rustc_middle[96162ff2046a4b9]::ty::context::TyCtxt>>::visit_ty
28: 0x7ffabc41843f - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
29: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
30: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
31: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
32: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
33: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
34: 0x7ffabc4172b5 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
35: 0x7ffabc44c6ac - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
36: 0x7ffabc545e2e - rustc_query_impl[35a48204c8651e1b]::plumbing::query_key_hash_verify_all
37: 0x7ffabc69bf22 - <rustc_trait_selection[4666609d89b74aed]::traits::fulfill::FulfillProcessor as rustc_data_structures[711421db65c291f8]::obligation_forest::ObligationProcessor>::process_obligation
38: 0x7ffabc5f40d5 - rustc_symbol_mangling[a97652c264efedc3]::symbol_name_provider
39: 0x7ffabc636261 - rustc_symbol_mangling[a97652c264efedc3]::symbol_name_provider
40: 0x7ffabbfd0b48 - rustc_traits[e1ca0aba2198e4e1]::codegen::codegen_select_candidate
41: 0x7ffabc534462 - rustc_query_impl[35a48204c8651e1b]::plumbing::query_key_hash_verify_all
42: 0x7ffabb43970b - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
43: 0x7ffabb428c5e - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
44: 0x7ffabc46d78f - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
45: 0x7ffabc541d64 - rustc_query_impl[35a48204c8651e1b]::plumbing::query_key_hash_verify_all
46: 0x7ffabbba03dd - rustc_monomorphize[27b78b89a2dc1a60]::collector::should_codegen_locally
47: 0x7ffabbbbf43a - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
48: 0x7ffabbbba3a5 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
49: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
50: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
51: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
52: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
53: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
54: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
55: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
56: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
57: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
58: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
59: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
60: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
61: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
62: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
63: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
64: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
65: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
66: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
67: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
68: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
69: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
70: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
71: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
72: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
73: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
74: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
75: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
76: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
77: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
78: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
79: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
80: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
81: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
82: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
83: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
84: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
85: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
86: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
87: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
88: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
89: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
90: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
91: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
92: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
93: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
94: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
95: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
96: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
97: 0x7ffabbbbb914 - rustc_monomorphize[27b78b89a2dc1a60]::polymorphize::unused_generic_params
98: 0x7ffabbbaff23 - rustc_monomorphize[27b78b89a2dc1a60]::partitioning::collect_and_partition_mono_items
99: 0x7ffabb454337 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
100: 0x7ffabb43bd2d - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
101: 0x7ffabb3c328a - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
102: 0x7ffabdbbb618 - <rustc_query_impl[35a48204c8651e1b]::plumbing::QueryCtxt as rustc_query_system[d5706eca9873e5e7]::query::QueryContext>::depth_limit_error
103: 0x7ffabdb8325f - <rustc_ty_utils[a2a1d1eb932b05d6]::opaque_types::OpaqueTypeCollector as rustc_type_ir[1e171271606a18fd]::visit::TypeVisitor<rustc_middle[96162ff2046a4b9]::ty::context::TyCtxt>>::visit_ty
104: 0x7ffabc417346 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
105: 0x7ffabc416ffe - rustc_ty_utils[a2a1d1eb932b05d6]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack
106: 0x7ffabb403192 - rustc_ty_utils[a2a1d1eb932b05d6]::ty::adt_sized_constraint
107: 0x7ffabb47c4a0 - rustc_query_impl[35a48204c8651e1b]::query_system
108: 0x7ffabc82fc93 - <rustc_metadata[870f0e6a99c436ae]::rmeta::encoder::EncodeContext as rustc_span[32531a401379980]::SpanEncoder>::encode_symbol
109: 0x7ffabb5a3e44 - rustc_metadata[870f0e6a99c436ae]::rmeta::encoder::encode_metadata
110: 0x7ffabb5abe21 - rustc_metadata[870f0e6a99c436ae]::fs::encode_and_write_metadata
111: 0x7ffab8862569 - <rustc_interface[2eec0b40419c24dd]::queries::Linker>::codegen_and_build_linker
112: 0x7ffab8816d58 - _rust_alloc_error_handler
113: 0x7ffab8812856 - _rust_alloc_error_handler
114: 0x7ffab881c508 - _rust_alloc_error_handler
115: 0x7ffabb8055bd - alloc::boxed::impl$48::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/alloc\src\boxed.rs:2454
116: 0x7ffabb8055bd - alloc::boxed::impl$48::call_once
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/alloc\src\boxed.rs:2454
117: 0x7ffabb8055bd - std::sys::pal::windows::thread::impl$0::new::thread_start
at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf\library/std\src\sys\pal\windows\thread.rs:55
118: 0x7ffb47417374 - BaseThreadInitThunk
119: 0x7ffb4795cc91 - RtlUserThreadStart

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.83.0 (90b35a6 2024-11-26) running on x86_64-pc-windows-msvc

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -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@<server_requests::SubmitUserInvitation as server_fn::ServerFn>::run_on_client::{closure#0}}: core::marker::Send
#1 [codegen_select_candidate] computing candidate for <core::pin::Pin<alloc::boxed::Box<{async block@C:\Users\Toddy\Code\leptos_authentication\auth_client\src\components\invit e_users.rs:298:30: 298:40}>> as core::ops::unsize::CoerceUnsized<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<(), throw_error::Error>> + core::marker::Send>>>>
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 exported_symbols(auth_client[4b31])
end of try_mark_green dep node stack
warning: auth_client (lib) generated 8 warnings
error: could not compile auth_client (lib); 8 warnings emitted

Caused by:
process didn't exit successfully: C:\Users\Toddy\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name auth_client --edition=2021 'C:\Users\Toddy\Code\ leptos_authentication\auth_client\src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=175 --crate-type lib --emit=dep-i nfo,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="csr"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("authentication_server", "csr", "email_pro vider", "example", "ssr"))' -C metadata=9a6a86ce17a4b802 -C extra-filename=-9a6a86ce17a4b802 --out-dir 'C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\ wasm32-unknown-unknown\debug\deps' --target wasm32-unknown-unknown -C 'incremental=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknow n\debug\incremental' -L 'dependency=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps' -L 'dependency=C:\Users\Toddy\Cod e\leptos_authentication\examples\example\target\front\debug\deps' --extern 'anyhow=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknow n\debug\deps\libanyhow-bd22259ca07aed58.rmeta' --extern 'api_boundary=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\ libapi_boundary-d3473a11cb5cb9e6.rmeta' --extern 'builder_pattern=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libb uilder_pattern-9f7f09191fc46d58.rmeta' --extern 'chrono=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libchrono-4bde 1d1d91500966.rmeta' --extern 'codee=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libcodee-0f04caf3ac5c44a3.rmeta' - -extern 'console_error_panic_hook=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libconsole_error_panic_hook-0a36bb46 d2d779ef.rmeta' --extern 'const_format=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libconst_format-5b54b7b573e7f1a e.rmeta' --extern 'futures=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libfutures-4aba9a7136b63227.rmeta' --extern 'http=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libhttp-6f369c97f0ceb6b9.rmeta' --extern 'icondata=C:\Users\Tod dy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libicondata-a90a89c70e569b57.rmeta' --extern 'itertools=C:\Users\Toddy\Code\leptos _authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libitertools-28816f948140cb49.rmeta' --extern 'leptos=C:\Users\Toddy\Code\leptos_authentication\ examples\example\target\front\wasm32-unknown-unknown\debug\deps\libleptos-2f83c94603ddca67.rmeta' --extern 'leptos_use=C:\Users\Toddy\Code\leptos_authentication\examples\exampl e\target\front\wasm32-unknown-unknown\debug\deps\libleptos_use-8332c6bde179510c.rmeta' --extern 'leptos_meta=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\f ront\wasm32-unknown-unknown\debug\deps\libleptos_meta-590083f1cf38e41b.rmeta' --extern 'leptos_router=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wa sm32-unknown-unknown\debug\deps\libleptos_router-50201121f5b5308e.rmeta' --extern 'serde=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown- unknown\debug\deps\libserde-74af27d841b577f9.rmeta' --extern 'server_fn=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\dep s\libserver_fn-e27505d6db01451e.rmeta' --extern 'thaw=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libthaw-09c3610d cdcd2e81.rmeta' --extern 'thiserror=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libthiserror-3f08552404bc74a8.rmet a' --extern 'url=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\liburl-a9f93032fd1e105b.rmeta' --extern 'uuid=C:\User s\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libuuid-1e3dfd2076e6095e.rmeta' --extern 'web_sys=C:\Users\Toddy\Code\leptos_authentication\examples\example\target\front\wasm32-unknown-unknown\debug\deps\libweb_sys-1d8ec8b7353a31c1.rmeta' (exit code: 101)
Error: Failed to build example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants