Open flashgnash opened 2 months ago
I believe this may be an issue with diesel/diesel migrations as I have encountered the issue again after attempting to make database changes. This issue goes away when I clone the repo fresh, copy over secrets and build that
thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: def_kind 15bfbc7bb9f67908-3a980503a83c2f72
stack backtrace:
0: 0x7f3a19312a65 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4a5853078ed6ad5e
1: 0x7f3a1938fbfc - core::fmt::write::hcb5164cc0001627e
2: 0x7f3a193117f5 - std::io::Write::write_fmt::h4f047c3956a46825
3: 0x7f3a19312834 - std::sys_common::backtrace::print::h33b76037fd95b2fe
4: 0x7f3a19328023 - std::panicking::default_hook::{{closure}}::hd7fd2e4913eae4ac
5: 0x7f3a19327d7a - std::panicking::default_hook::h13a9a2eb684db87c
6: 0x7f3a19c296b8 - <alloc[5cc0e8a89cb545a4]::boxed::Box<rustc_driver_impl[931ba922f877923b]::install_ice_hook::{closure#0}> as core[ac22999f73547012]::ops::function::Fn<(&dyn for<'a, 'b> core[ac22999f73547012]::ops::function::Fn<(&'a core[ac22999f73547012]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[ac22999f73547012]::marker::Send + core[ac22999f73547012]::marker::Sync, &core[ac22999f73547012]::panic::panic_info::PanicInfo)>>::call
7: 0x7f3a193286f8 - std::panicking::rust_panic_with_hook::hda39260d38680d2a
8: 0x7f3a193131b2 - std::panicking::begin_panic_handler::{{closure}}::h150d47ece314bd47
9: 0x7f3a19312c76 - std::sys_common::backtrace::__rust_end_short_backtrace::hf5ef31e5afaaca81
10: 0x7f3a19328294 - rust_begin_unwind
11: 0x7f3a192f6765 - core::panicking::panic_fmt::h9a659e19ee4930b5
12: 0x7f3a1c1db9c0 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode as rustc_middle[7d1bc35d0b9de3f6]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
13: 0x7f3a1c2b9dee - <rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt>::def_path_hash_to_def_id
14: 0x7f3a1c1db935 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode as rustc_middle[7d1bc35d0b9de3f6]::dep_graph::dep_node::DepNodeExt>::extract_def_id
15: 0x7f3a1b1c0991 - <rustc_query_impl[6a0caddc8ed0f104]::plumbing::query_callback<rustc_query_impl[6a0caddc8ed0f104]::query_impl::def_kind::QueryType>::{closure#0} as core[ac22999f73547012]::ops::function::FnOnce<(rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode)>>::call_once
16: 0x7f3a1b15cb54 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
17: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
18: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
19: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
20: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
21: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
22: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
23: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
24: 0x7f3a1b15c8e8 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
25: 0x7f3a1b3db2ac - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::try_execute_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::DefaultCache<rustc_type_ir[68759b59dcc07dd8]::canonical::Canonical<rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, rustc_middle[7d1bc35d0b9de3f6]::ty::ParamEnvAnd<rustc_middle[7d1bc35d0b9de3f6]::ty::predicate::Predicate>>, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt, true>
26: 0x7f3a1b39bd22 - rustc_query_impl[6a0caddc8ed0f104]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
27: 0x7f3a1b61139c - <rustc_infer[900533524e573ad3]::infer::InferCtxt as rustc_trait_selection[dcf608d57be48396]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
28: 0x7f3a1b6116d2 - <rustc_infer[900533524e573ad3]::infer::InferCtxt as rustc_trait_selection[dcf608d57be48396]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
29: 0x7f3a1b70f140 - <rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillProcessor>::process_trait_obligation
30: 0x7f3a1b70dfe7 - <rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillProcessor as rustc_data_structures[57985108c29413d2]::obligation_forest::ObligationProcessor>::process_obligation
31: 0x7f3a1b6efc65 - <rustc_data_structures[57985108c29413d2]::obligation_forest::ObligationForest<rustc_trait_selection[dcf608d57be48396]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillProcessor>
32: 0x7f3a1b7043a7 - <rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillmentContext as rustc_infer[900533524e573ad3]::traits::engine::TraitEngine>::select_where_possible
33: 0x7f3a1b560497 - <rustc_trait_selection[dcf608d57be48396]::traits::engine::ObligationCtxt>::select_where_possible
34: 0x7f3a1a2998b9 - rustc_hir_analysis[dfa255678696c307]::check::check::check_impl_items_against_trait
35: 0x7f3a1a2918c7 - rustc_hir_analysis[dfa255678696c307]::check::check::check_item_type
36: 0x7f3a1a319212 - rustc_hir_analysis[dfa255678696c307]::check::wfcheck::check_well_formed
37: 0x7f3a1b1f1f6c - rustc_query_impl[6a0caddc8ed0f104]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>
38: 0x7f3a1b38998c - <rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[ac22999f73547012]::ops::function::FnOnce<(rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId)>>::call_once
39: 0x7f3a1b428a6f - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::try_execute_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::VecCache<rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt, true>
40: 0x7f3a1b3b6cb3 - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::force_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::VecCache<rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
41: 0x7f3a1b1b749b - <rustc_query_impl[6a0caddc8ed0f104]::plumbing::query_callback<rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_well_formed::QueryType>::{closure#0} as core[ac22999f73547012]::ops::function::FnOnce<(rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode)>>::call_once
42: 0x7f3a1b15cb54 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
43: 0x7f3a1b15c8e8 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
44: 0x7f3a1b3b87ef - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::ensure_must_run::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::DefaultCache<rustc_span[884527523b9bf0a3]::def_id::LocalModDefId, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
45: 0x7f3a1b3528b4 - rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace
46: 0x7f3a1a2800aa - std[c2020301f641288b]::panicking::try::<(), core[ac22999f73547012]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[57985108c29413d2]::sync::parallel::disabled::par_for_each_in<&[rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId], <rustc_middle[7d1bc35d0b9de3f6]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[dfa255678696c307]::check_crate::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
47: 0x7f3a1a30e18b - rustc_data_structures[57985108c29413d2]::sync::parallel::disabled::par_for_each_in::<&[rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId], <rustc_middle[7d1bc35d0b9de3f6]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[dfa255678696c307]::check_crate::{closure#1}::{closure#0}>::{closure#0}>
48: 0x7f3a1a2b1995 - rustc_hir_analysis[dfa255678696c307]::check_crate
49: 0x7f3a19ddc502 - rustc_interface[8e1741ee6322df64]::passes::analysis
50: 0x7f3a1b1f442a - rustc_query_impl[6a0caddc8ed0f104]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6a0caddc8ed0f104]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>
51: 0x7f3a1b1a68c8 - <rustc_query_impl[6a0caddc8ed0f104]::query_impl::analysis::dynamic_query::{closure#2} as core[ac22999f73547012]::ops::function::FnOnce<(rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, ())>>::call_once
52: 0x7f3a1b3cd417 - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::try_execute_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::SingleCache<rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt, true>
53: 0x7f3a1b2eda4e - rustc_query_impl[6a0caddc8ed0f104]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
54: 0x7f3a19bf9b71 - <rustc_middle[7d1bc35d0b9de3f6]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}::{closure#1}::{closure#3}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>
55: 0x7f3a19bf6d50 - rustc_span[884527523b9bf0a3]::create_session_globals_then::<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_interface[8e1741ee6322df64]::interface::run_compiler<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}>::{closure#0}>
56: 0x7f3a19c3b6b0 - std[c2020301f641288b]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8e1741ee6322df64]::util::run_in_thread_with_globals<rustc_interface[8e1741ee6322df64]::interface::run_compiler<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}>::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>
57: 0x7f3a19c178c8 - <<std[c2020301f641288b]::thread::Builder>::spawn_unchecked_<rustc_interface[8e1741ee6322df64]::util::run_in_thread_with_globals<rustc_interface[8e1741ee6322df64]::interface::run_compiler<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}>::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>::{closure#1} as core[ac22999f73547012]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
58: 0x7f3a193497e5 - std::sys::pal::unix::thread::Thread::new::thread_start::h0e92b076ec0ac240
59: 0x7f3a19151272 - start_thread
60: 0x7f3a191ccdec - __GI___clone3
61: 0x0 - <unknown>
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.78.0 (9b00956e5 2024-04-29) (built from a source tarball) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type bin -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 `diesel::query_builder::select_statement::SelectStatement<diesel::query_builder::from_clause::FromClause<db::schema::users::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 `db::schema::users::<impl at src/db/schema.rs:15:1: 22: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(78473ea97ff1fccb-2bd734580af5d0a6)
#1 adt_sized_constraint(thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: adt_sized_constraint 15bfbc7bb9f67908-3a980503a83c2f72
stack backtrace:
0: 0x7f3a19312a65 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4a5853078ed6ad5e
1: 0x7f3a1938fbfc - core::fmt::write::hcb5164cc0001627e
2: 0x7f3a193117f5 - std::io::Write::write_fmt::h4f047c3956a46825
3: 0x7f3a19312834 - std::sys_common::backtrace::print::h33b76037fd95b2fe
4: 0x7f3a19328023 - std::panicking::default_hook::{{closure}}::hd7fd2e4913eae4ac
5: 0x7f3a19327d7a - std::panicking::default_hook::h13a9a2eb684db87c
6: 0x7f3a19c296b8 - <alloc[5cc0e8a89cb545a4]::boxed::Box<rustc_driver_impl[931ba922f877923b]::install_ice_hook::{closure#0}> as core[ac22999f73547012]::ops::function::Fn<(&dyn for<'a, 'b> core[ac22999f73547012]::ops::function::Fn<(&'a core[ac22999f73547012]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[ac22999f73547012]::marker::Send + core[ac22999f73547012]::marker::Sync, &core[ac22999f73547012]::panic::panic_info::PanicInfo)>>::call
7: 0x7f3a193286f8 - std::panicking::rust_panic_with_hook::hda39260d38680d2a
8: 0x7f3a193131b2 - std::panicking::begin_panic_handler::{{closure}}::h150d47ece314bd47
9: 0x7f3a19312c76 - std::sys_common::backtrace::__rust_end_short_backtrace::hf5ef31e5afaaca81
10: 0x7f3a19328294 - rust_begin_unwind
11: 0x7f3a192f6765 - core::panicking::panic_fmt::h9a659e19ee4930b5
12: 0x7f3a1c1db9c0 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode as rustc_middle[7d1bc35d0b9de3f6]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
13: 0x7f3a1c2b9dee - <rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt>::def_path_hash_to_def_id
14: 0x7f3a1c1db935 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode as rustc_middle[7d1bc35d0b9de3f6]::dep_graph::dep_node::DepNodeExt>::extract_def_id
15: 0x7f3a19e64926 - rustc_interface[8e1741ee6322df64]::callbacks::dep_node_debug
16: 0x7f3a1c314266 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode as core[ac22999f73547012]::fmt::Debug>::fmt
17: 0x7f3a1938fbfc - core::fmt::write::hcb5164cc0001627e
18: 0x7f3a19321806 - <&std::io::stdio::Stderr as std::io::Write>::write_fmt::h2688b7b88d9231b9
19: 0x7f3a1932213a - std::io::stdio::_eprint::h956e1cc5820419a2
20: 0x7f3a19a944b4 - rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::print_markframe_trace::<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>
21: 0x7f3a1b15d1d8 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
22: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
23: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
24: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
25: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
26: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
27: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
28: 0x7f3a1b15cbb4 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
29: 0x7f3a1b15c8e8 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
30: 0x7f3a1b3db2ac - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::try_execute_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::DefaultCache<rustc_type_ir[68759b59dcc07dd8]::canonical::Canonical<rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, rustc_middle[7d1bc35d0b9de3f6]::ty::ParamEnvAnd<rustc_middle[7d1bc35d0b9de3f6]::ty::predicate::Predicate>>, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt, true>
31: 0x7f3a1b39bd22 - rustc_query_impl[6a0caddc8ed0f104]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
32: 0x7f3a1b61139c - <rustc_infer[900533524e573ad3]::infer::InferCtxt as rustc_trait_selection[dcf608d57be48396]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
33: 0x7f3a1b6116d2 - <rustc_infer[900533524e573ad3]::infer::InferCtxt as rustc_trait_selection[dcf608d57be48396]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
34: 0x7f3a1b70f140 - <rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillProcessor>::process_trait_obligation
35: 0x7f3a1b70dfe7 - <rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillProcessor as rustc_data_structures[57985108c29413d2]::obligation_forest::ObligationProcessor>::process_obligation
36: 0x7f3a1b6efc65 - <rustc_data_structures[57985108c29413d2]::obligation_forest::ObligationForest<rustc_trait_selection[dcf608d57be48396]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillProcessor>
37: 0x7f3a1b7043a7 - <rustc_trait_selection[dcf608d57be48396]::traits::fulfill::FulfillmentContext as rustc_infer[900533524e573ad3]::traits::engine::TraitEngine>::select_where_possible
38: 0x7f3a1b560497 - <rustc_trait_selection[dcf608d57be48396]::traits::engine::ObligationCtxt>::select_where_possible
39: 0x7f3a1a2998b9 - rustc_hir_analysis[dfa255678696c307]::check::check::check_impl_items_against_trait
40: 0x7f3a1a2918c7 - rustc_hir_analysis[dfa255678696c307]::check::check::check_item_type
41: 0x7f3a1a319212 - rustc_hir_analysis[dfa255678696c307]::check::wfcheck::check_well_formed
42: 0x7f3a1b1f1f6c - rustc_query_impl[6a0caddc8ed0f104]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>
43: 0x7f3a1b38998c - <rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_well_formed::dynamic_query::{closure#2} as core[ac22999f73547012]::ops::function::FnOnce<(rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId)>>::call_once
44: 0x7f3a1b428a6f - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::try_execute_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::VecCache<rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt, true>
45: 0x7f3a1b3b6cb3 - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::force_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::VecCache<rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
46: 0x7f3a1b1b749b - <rustc_query_impl[6a0caddc8ed0f104]::plumbing::query_callback<rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_well_formed::QueryType>::{closure#0} as core[ac22999f73547012]::ops::function::FnOnce<(rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, rustc_query_system[a49b8714d4c5fecc]::dep_graph::dep_node::DepNode)>>::call_once
47: 0x7f3a1b15cb54 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
48: 0x7f3a1b15c8e8 - <rustc_query_system[a49b8714d4c5fecc]::dep_graph::graph::DepGraphData<rustc_middle[7d1bc35d0b9de3f6]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
49: 0x7f3a1b3b87ef - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::ensure_must_run::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::DefaultCache<rustc_span[884527523b9bf0a3]::def_id::LocalModDefId, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt>
50: 0x7f3a1b3528b4 - rustc_query_impl[6a0caddc8ed0f104]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace
51: 0x7f3a1a2800aa - std[c2020301f641288b]::panicking::try::<(), core[ac22999f73547012]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[57985108c29413d2]::sync::parallel::disabled::par_for_each_in<&[rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId], <rustc_middle[7d1bc35d0b9de3f6]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[dfa255678696c307]::check_crate::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
52: 0x7f3a1a30e18b - rustc_data_structures[57985108c29413d2]::sync::parallel::disabled::par_for_each_in::<&[rustc_hir[8864684f2d6c3f4a]::hir_id::OwnerId], <rustc_middle[7d1bc35d0b9de3f6]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[dfa255678696c307]::check_crate::{closure#1}::{closure#0}>::{closure#0}>
53: 0x7f3a1a2b1995 - rustc_hir_analysis[dfa255678696c307]::check_crate
54: 0x7f3a19ddc502 - rustc_interface[8e1741ee6322df64]::passes::analysis
55: 0x7f3a1b1f442a - rustc_query_impl[6a0caddc8ed0f104]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6a0caddc8ed0f104]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>
56: 0x7f3a1b1a68c8 - <rustc_query_impl[6a0caddc8ed0f104]::query_impl::analysis::dynamic_query::{closure#2} as core[ac22999f73547012]::ops::function::FnOnce<(rustc_middle[7d1bc35d0b9de3f6]::ty::context::TyCtxt, ())>>::call_once
57: 0x7f3a1b3cd417 - rustc_query_system[a49b8714d4c5fecc]::query::plumbing::try_execute_query::<rustc_query_impl[6a0caddc8ed0f104]::DynamicConfig<rustc_query_system[a49b8714d4c5fecc]::query::caches::SingleCache<rustc_middle[7d1bc35d0b9de3f6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6a0caddc8ed0f104]::plumbing::QueryCtxt, true>
58: 0x7f3a1b2eda4e - rustc_query_impl[6a0caddc8ed0f104]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
59: 0x7f3a19bf9b71 - <rustc_middle[7d1bc35d0b9de3f6]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}::{closure#1}::{closure#3}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>
60: 0x7f3a19bf6d50 - rustc_span[884527523b9bf0a3]::create_session_globals_then::<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_interface[8e1741ee6322df64]::interface::run_compiler<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}>::{closure#0}>
61: 0x7f3a19c3b6b0 - std[c2020301f641288b]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8e1741ee6322df64]::util::run_in_thread_with_globals<rustc_interface[8e1741ee6322df64]::interface::run_compiler<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}>::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>
62: 0x7f3a19c178c8 - <<std[c2020301f641288b]::thread::Builder>::spawn_unchecked_<rustc_interface[8e1741ee6322df64]::util::run_in_thread_with_globals<rustc_interface[8e1741ee6322df64]::interface::run_compiler<core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>, rustc_driver_impl[931ba922f877923b]::run_compiler::{closure#0}>::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[ac22999f73547012]::result::Result<(), rustc_span[884527523b9bf0a3]::ErrorGuaranteed>>::{closure#1} as core[ac22999f73547012]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
63: 0x7f3a193497e5 - std::sys::pal::unix::thread::Thread::new::thread_start::h0e92b076ec0ac240
64: 0x7f3a19151272 - start_thread
65: 0x7f3a191ccdec - __GI___clone3
66: 0x0 - <unknown>
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.78.0 (9b00956e5 2024-04-29) (built from a source tarball) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type bin -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 `diesel::query_builder::select_statement::SelectStatement<diesel::query_builder::from_clause::FromClause<db::schema::users::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 `db::schema::users::<impl at src/db/schema.rs:15:1: 22: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(ordis[15bf]::db::schema::users)
end of try_mark_green dep node stack
This is almost certainly a diesel issue so unsure if it still belongs here.
I have discovered the issue arises when I have applied database migrations, git switch to a branch on a different migration, delete my test db (sqlite) and re-run migrations to create it. As of yet the only fix I've found is to delete and re-clone the repo fresh, at which point migrations run successfully, the application starts and everything works as expected
Presumably something's being cached somewhere that I can't see which is causing it to fail until I make a fresh clone (both branches when cloned fresh and had migrations run work fine)
I assume to get around this issue I should just use diesel to upgrade/downgrade the database before git switching, or simply keep two copies of the repo cloned for master/branches with database changes
I'm not entirely sure what caused this and re-cloning the repo seems to have fixed it but I'll give all the information I can think of
Rust is installed via nix flake on nixos 24.05 (flake is on unstable) (the exact flake.nix and flake.lock are in the github repo mentioned below)
I was on a different branch developing a new feature, when I git switch'd back to master it refused to build with the error I've provided
Have just renamed the old cloned repo, haven't uploaded it for now because I don't want to accidentally leak secrets but can zip it up if need be
Code
https://github.com/flashgnash/ordis/tree/e9a69059eafe4d12053cdcb40b46fda89c952c93
Meta
rustc --version --verbose
:Error output
Backtrace
``` nix-shell-env Ordis
❯ cargo run > trace.txt
Compiling ordis v0.2.0 (/home/flashgnash/Source/rust/Ordis)
warning: variant `user` should have an upper camel case name
--> src/gpt.rs:23:5
|
23 | user,
| ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `User`
|
= note: `#[warn(non_camel_case_types)]` on by default
warning: variant `assistant` should have an upper camel case name
--> src/gpt.rs:24:5
|
24 | assistant,
| ^^^^^^^^^ help: convert the identifier to upper camel case: `Assistant`
warning: variant `system` should have an upper camel case name
--> src/gpt.rs:25:5
|
25 | system
| ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `System`
warning: unused variable: `user_name`
--> src/main.rs:188:9
|
188 | let user_name = &author.name;
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name`
|
= note: `#[warn(unused_variables)]` on by default
warning: variable does not need to be mutable
--> src/common.rs:14:9
|
14 | let mut message = ctx.http.get_message(channel_id, message_id).await?;
| ----^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: unused variable: `stat_block_thinking_message`
--> src/stat_puller.rs:195:9
|
195 | let stat_block_thinking_message = CreateReply::default()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stat_block_thinking_message`
warning: variable does not need to be mutable
--> src/gpt.rs:150:9
|
150 | let mut model = "gpt-4o-mini";
| ----^^^^^
| |
| help: remove this `mut`
thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: def_kind 15bfbc7bb9f67908-3a980503a83c2f72
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: ::extract_def_id::{closure#0}
3: ::def_path_hash_to_def_id
4: ::extract_def_id
5: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once
6: >::try_mark_previous_green::
7: >::try_mark_previous_green::
8: >::try_mark_previous_green::
9: >::try_mark_previous_green::
10: >::try_mark_previous_green::
11: >::try_mark_previous_green::
12: >::try_mark_previous_green::
13: >::try_mark_previous_green::
14: >::try_mark_green::
15: rustc_query_system::query::plumbing::try_execute_query::>, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
16: ::perform_query
17: ::fully_perform_into
18: ::fully_perform_op::<(), rustc_middle::ty::ParamEnvAnd>
19: ::normalize_and_prove_instantiated_predicates
20: ::visit_constant
21: ::visit_body
22: rustc_borrowck::type_check::type_check
23: rustc_borrowck::nll::compute_regions
24: rustc_borrowck::do_mir_borrowck
25: rustc_borrowck::mir_borrowck
[... omitted 2 frames ...]
26: std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
27: rustc_data_structures::sync::parallel::disabled::par_for_each_in::<&[rustc_span::def_id::LocalDefId], ::par_body_owners::{closure#0}>
28: ::time::<(), rustc_interface::passes::analysis::{closure#1}>
29: rustc_interface::passes::analysis
[... omitted 2 frames ...]
30: ::enter::>
31: rustc_span::create_session_globals_then::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
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.78.0 (9b00956e5 2024-04-29) (built from a source tarball) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type bin -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 [type_op_prove_predicate] evaluating `type_op_prove_predicate` `ProvePredicate { predicate: Binder { value: TraitPredicate(, diesel::query_builder::select_clause::DefaultSelectClause>, diesel::query_builder::distinct_clause::NoDistinctClause, diesel::query_builder::where_clause::WhereClause>>>> as diesel::query_builder::update_statement::target::IntoUpdateTarget>, polarity:Positive), bound_vars: [] } }`
#1 [mir_borrowck] borrow-checking `db::users::update`
#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(3b4ce1e0f02f78db-243ddabf0b0fed5c)
#1 adt_sized_constraint(thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: adt_sized_constraint 15bfbc7bb9f67908-3a980503a83c2f72
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: ::extract_def_id::{closure#0}
3: ::def_path_hash_to_def_id
4: ::extract_def_id
5: rustc_interface::callbacks::dep_node_debug
6: ::fmt
7: core::fmt::write
8: <&std::io::stdio::Stderr as std::io::Write>::write_fmt
9: std::io::stdio::_eprint
10: rustc_query_system::dep_graph::graph::print_markframe_trace::
11: >::try_mark_previous_green::
12: >::try_mark_previous_green::
13: >::try_mark_previous_green::
14: >::try_mark_previous_green::
15: >::try_mark_previous_green::
16: >::try_mark_previous_green::
17: >::try_mark_previous_green::
18: >::try_mark_previous_green::
19: >::try_mark_green::
20: rustc_query_system::query::plumbing::try_execute_query::>, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
21: ::perform_query
22: ::fully_perform_into
23: ::fully_perform_op::<(), rustc_middle::ty::ParamEnvAnd>
24: ::normalize_and_prove_instantiated_predicates
25: ::visit_constant
26: ::visit_body
27: rustc_borrowck::type_check::type_check
28: rustc_borrowck::nll::compute_regions
29: rustc_borrowck::do_mir_borrowck
30: rustc_borrowck::mir_borrowck
[... omitted 2 frames ...]
31: std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
32: rustc_data_structures::sync::parallel::disabled::par_for_each_in::<&[rustc_span::def_id::LocalDefId], ::par_body_owners::{closure#0}>
33: ::time::<(), rustc_interface::passes::analysis::{closure#1}>
34: rustc_interface::passes::analysis
[... omitted 2 frames ...]
35: ::enter::>
36: rustc_span::create_session_globals_then::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
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.78.0 (9b00956e5 2024-04-29) (built from a source tarball) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type bin -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 [type_op_prove_predicate] evaluating `type_op_prove_predicate` `ProvePredicate { predicate: Binder { value: TraitPredicate(, diesel::query_builder::select_clause::DefaultSelectClause>, diesel::query_builder::distinct_clause::NoDistinctClause, diesel::query_builder::where_clause::WhereClause>>>> as diesel::query_builder::update_statement::target::IntoUpdateTarget>, polarity:Positive), bound_vars: [] } }`
#1 [mir_borrowck] borrow-checking `db::users::update`
#2 [analysis] running analysis passes on this crate
end of query stack
warning: `ordis` (bin "ordis") generated 7 warnings (run `cargo fix --bin "ordis"` to apply 2 suggestions)
error: could not compile `ordis` (bin "ordis"); 7 warnings emitted
```