Repository: rust
Issue: ICE: Failed to extract DefId: def_kind
Labels: I-ICE,T-compiler,A-incr-comp,C-bug

### Summary

I wish I could help but I don't know how or what to look for

### Version

```text
rustc 1.77.1 (7cf61ebde 2024-03-27)
binary: rustc
commit-hash: 7cf61ebde7b22796c69757901dd346d0fe70bd97
commit-date: 2024-03-27
host: x86_64-unknown-linux-gnu
release: 1.77.1
LLVM version: 17.0.6
```


### Error output

<details><summary>Backtrace</summary>
  <p>

  ```
  thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: def_kind e56b91bd930b7e1d-6e75d468dc1117ef
stack backtrace:
   0: rust_begin_unwind
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
   1: core::panicking::panic_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
   2: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
   3: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id
   4: rustc_query_impl::plumbing::force_from_dep_node::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>>
   5: <rustc_query_impl::plumbing::query_callback<rustc_query_impl::query_impl::def_kind::QueryType>::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once
   6: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   7: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   8: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   9: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  10: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  11: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  12: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  13: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefaultCache<rustc_type_ir::canonical::Canonical<rustc_middle::ty::context::TyCtxt, rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
  14: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
  15: <rustc_data_structures::obligation_forest::ObligationForest<rustc_trait_selection::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection::traits::fulfill::FulfillProcessor>
  16: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
  17: <rustc_hir_typeck::fn_ctxt::FnCtxt>::expected_inputs_for_expected_output
  18: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  19: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  20: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  21: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  22: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  23: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  24: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  25: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  26: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  27: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  28: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  29: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  30: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  31: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  32: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  33: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  34: rustc_hir_typeck::check::check_fn
  35: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  36: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  37: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  38: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  39: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  40: rustc_hir_typeck::check::check_fn
  41: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  42: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  43: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  44: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  45: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  46: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  47: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  48: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  49: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  50: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  51: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  52: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  53: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  54: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  55: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  56: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  57: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  58: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  59: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  60: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  61: rustc_hir_typeck::check::check_fn
  62: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  63: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  64: rustc_hir_typeck::check::check_fn
  65: rustc_hir_typeck::typeck
      [... omitted 15 frames ...]
  66: rustc_trait_selection::traits::project::opt_normalize_projection_type
  67: <rustc_trait_selection::traits::project::AssocTypeNormalizer as rustc_type_ir::fold::TypeFolder<rustc_middle::ty::context::TyCtxt>>::fold_ty
  68: <core::iter::adapters::flatten::FlattenCompat<core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_middle::ty::Ty>, <rustc_trait_selection::traits::select::SelectionContext>::collect_predicates_for_types::{closure#0}>, alloc::vec::into_iter::IntoIter<rustc_infer::traits::Obligation<rustc_middle::ty::Predicate>>> as core::iter::traits::iterator::Iterator>::next
  69: <rustc_trait_selection::traits::select::SelectionContext>::vtable_auto_impl::{closure#0}
  70: <rustc_trait_selection::traits::select::SelectionContext>::confirm_candidate
  71: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  72: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
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.77.1 (7cf61ebde 2024-03-27) running on x86_64-unknown-linux-gnu

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 `diesel::query_builder::update_statement::UpdateStatement<schema::users::table, diesel::query_builder::where_clause::WhereClause<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<schema::users::columns::primary_email, diesel::expression::bound::Bound<diesel::sql_types::Integer, i32>>>>, diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<schema::users::columns::password_hash>, diesel::expression::bound::Bound<diesel::sql_types::Text, alloc::string::String>>>: diesel::query_builder::AsQuery`
rust-lang/rust-clippy#1 [typeck] type-checking `graphql_schema::passwords::mutation::reset_password::<impl at src/graphql_schema/passwords/mutation/reset_password.rs:28:1: 28:19>::reset_password`
rust-lang/rust-clippy#2 [type_of] computing type of `graphql_schema::passwords::mutation::reset_password::_::<impl at src/graphql_schema/passwords/mutation/reset_password.rs:27:1: 27:10>::{opaque#0}`
rust-lang/rust-clippy#3 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@src/graphql_schema/passwords/mutation/mod.rs:9:10: 9:22}: core::marker::Send`
rust-lang/rust-clippy#4 [collect_return_position_impl_trait_in_trait_tys] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process
rust-lang/rust-clippy#5 [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(e8196f78ac9bfef6-c3cdafa0018d31ce)
rust-lang/rust-clippy#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 e56b91bd930b7e1d-6e75d468dc1117ef
stack backtrace:
   0: rust_begin_unwind
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
   1: core::panicking::panic_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
   2: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
   3: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id
   4: rustc_interface::callbacks::dep_node_debug
   5: <rustc_query_system::dep_graph::dep_node::DepNode as core::fmt::Debug>::fmt
   6: core::fmt::rt::Argument::fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
   7: core::fmt::write
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
   8: std::io::Write::write_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
   9: <&std::io::stdio::Stderr as std::io::Write>::write_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:956:9
  10: <std::io::stdio::Stderr as std::io::Write>::write_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:930:9
  11: std::io::stdio::print_to
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:1029:21
  12: std::io::stdio::_eprint
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:1117:5
  13: rustc_query_system::dep_graph::graph::print_markframe_trace::<rustc_middle::dep_graph::DepsType>
  14: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  15: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  16: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  17: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  18: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  19: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  20: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  21: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefaultCache<rustc_type_ir::canonical::Canonical<rustc_middle::ty::context::TyCtxt, rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
  22: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
  23: <rustc_data_structures::obligation_forest::ObligationForest<rustc_trait_selection::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection::traits::fulfill::FulfillProcessor>
  24: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
  25: <rustc_hir_typeck::fn_ctxt::FnCtxt>::expected_inputs_for_expected_output
  26: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  27: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  28: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  29: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  30: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  31: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  32: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  33: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  34: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  35: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  36: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  37: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  38: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  39: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  40: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  41: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  42: rustc_hir_typeck::check::check_fn
  43: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  44: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  45: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  46: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  47: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  48: rustc_hir_typeck::check::check_fn
  49: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  50: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  51: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  52: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  53: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  54: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  55: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  56: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  57: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  58: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  59: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  60: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  61: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  62: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  63: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  64: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  65: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  66: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  67: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  68: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  69: rustc_hir_typeck::check::check_fn
  70: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  71: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  72: rustc_hir_typeck::check::check_fn
  73: rustc_hir_typeck::typeck
      [... omitted 15 frames ...]
  74: rustc_trait_selection::traits::project::opt_normalize_projection_type
  75: <rustc_trait_selection::traits::project::AssocTypeNormalizer as rustc_type_ir::fold::TypeFolder<rustc_middle::ty::context::TyCtxt>>::fold_ty
  76: <core::iter::adapters::flatten::FlattenCompat<core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_middle::ty::Ty>, <rustc_trait_selection::traits::select::SelectionContext>::collect_predicates_for_types::{closure#0}>, alloc::vec::into_iter::IntoIter<rustc_infer::traits::Obligation<rustc_middle::ty::Predicate>>> as core::iter::traits::iterator::Iterator>::next
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.77.1 (7cf61ebde 2024-03-27) running on x86_64-unknown-linux-gnu

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 `diesel::query_builder::update_statement::UpdateStatement<schema::users::table, diesel::query_builder::where_clause::WhereClause<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<schema::users::columns::primary_email, diesel::expression::bound::Bound<diesel::sql_types::Integer, i32>>>>, diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<schema::users::columns::password_hash>, diesel::expression::bound::Bound<diesel::sql_types::Text, alloc::string::String>>>: diesel::query_builder::AsQuery`
rust-lang/rust-clippy#1 [typeck] type-checking `graphql_schema::passwords::mutation::reset_password::<impl at src/graphql_schema/passwords/mutation/reset_password.rs:28:1: 28:19>::reset_password`
rust-lang/rust-clippy#2 [type_of] computing type of `graphql_schema::passwords::mutation::reset_password::_::<impl at src/graphql_schema/passwords/mutation/reset_password.rs:27:1: 27:10>::{opaque#0}`
rust-lang/rust-clippy#3 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@src/graphql_schema/passwords/mutation/mod.rs:9:10: 9:22}: core::marker::Send`
rust-lang/rust-clippy#4 [collect_return_position_impl_trait_in_trait_tys] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process
rust-lang/rust-clippy#5 [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 type_of_opaque(bn_back_end[e56b]::graphql_schema::passwords::mutation::reset_password::{impl#5}::reset_password::{opaque#0})
rust-lang/rust-clippy#1 TraitSelect(facc3f9995943c6a-b7e6ce7a64b2dcca)
rust-lang/rust-clippy#2 TraitSelect(bca9046c1018fa9-5e8f3ee6568dd045)
rust-lang/rust-clippy#3 TraitSelect(d8ab8c5f3c45d46d-15cda5d9d383980c)
rust-lang/rust-clippy#4 TraitSelect(2433993825dbc99d-5fb475324e6f9898)
rust-lang/rust-clippy#5 TraitSelect(26f83959acfe928f-3d7747ecefe65ecf)
rust-lang/rust-clippy#6 TraitSelect(910ef12d310ba4a8-eb23c667e81271a4)
rust-lang/rust-clippy#7 TraitSelect(6827b420a980a34a-50a0056368ffcf7c)
rust-lang/rust-clippy#8 evaluate_obligation(3ba5b5961db8a052-fe254facb17bc0e0)
rust-lang/rust-clippy#9 collect_return_position_impl_trait_in_trait_tys(bn_back_end[e56b]::graphql_schema::passwords::mutation::reset_password::_::{impl#2}::resolve_field)
rust-lang/rust-clippy#10 type_of(bn_back_end[e56b]::graphql_schema::passwords::mutation::reset_password::_::{impl#2}::{opaque#0})
end of try_mark_green dep node stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 type_of(bn_back_end[e56b]::graphql_schema::passwords::mutation::{impl#0}::{opaque#0})
rust-lang/rust-clippy#1 check_mod_impl_wf(bn_back_end[e56b]::graphql_schema::passwords::mutation)
end of try_mark_green dep node stack
thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: def_kind e56b91bd930b7e1d-6e75d468dc1117ef
stack backtrace:
   0: rust_begin_unwind
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
   1: core::panicking::panic_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
   2: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
   3: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id
   4: rustc_query_impl::plumbing::force_from_dep_node::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>>
   5: <rustc_query_impl::plumbing::query_callback<rustc_query_impl::query_impl::def_kind::QueryType>::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once
   6: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   7: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   8: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   9: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  10: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  11: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  12: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  13: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefaultCache<rustc_type_ir::canonical::Canonical<rustc_middle::ty::context::TyCtxt, rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
  14: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
  15: <rustc_data_structures::obligation_forest::ObligationForest<rustc_trait_selection::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection::traits::fulfill::FulfillProcessor>
  16: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
  17: <rustc_hir_typeck::fn_ctxt::FnCtxt>::expected_inputs_for_expected_output
  18: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  19: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  20: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  21: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  22: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  23: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  24: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  25: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  26: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  27: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  28: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  29: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  30: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  31: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  32: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  33: rustc_hir_typeck::check::check_fn
  34: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  35: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  36: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  37: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  38: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  39: rustc_hir_typeck::check::check_fn
  40: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  41: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  42: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  43: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  44: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  45: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  46: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  47: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  48: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  49: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  50: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  51: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  52: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  53: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  54: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  55: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  56: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  57: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  58: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  59: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  60: rustc_hir_typeck::check::check_fn
  61: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  62: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  63: rustc_hir_typeck::check::check_fn
  64: rustc_hir_typeck::typeck
      [... omitted 5 frames ...]
  65: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 8]>>>
  66: <rustc_trait_selection::traits::select::SelectionContext>::confirm_candidate
  67: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  68: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  69: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  70: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  71: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  72: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  73: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  74: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  75: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  76: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  77: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  78: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  79: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  80: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  81: <rustc_trait_selection::traits::select::SelectionContext>::evaluation_probe::<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_root_obligation::{closure#0}>
  82: rustc_traits::evaluate_obligation::evaluate_obligation
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.77.1 (7cf61ebde 2024-03-27) running on x86_64-unknown-linux-gnu

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 `diesel::query_builder::update_statement::UpdateStatement<schema::users::table, diesel::query_builder::where_clause::WhereClause<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<schema::users::columns::id, diesel::expression::bound::Bound<diesel::sql_types::Integer, i32>>>>, (diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<schema::users::columns::summary>, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Text>, alloc::string::String>>, diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<schema::users::columns::nationality>, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Integer>, i32>>)>: diesel::query_builder::AsQuery`
rust-lang/rust-clippy#1 [typeck] type-checking `graphql_schema::users::mutation::add_status::<impl at src/graphql_schema/users/mutation/add_status.rs:21:1: 21:14>::add_about_and_country`
rust-lang/rust-clippy#2 [type_of_opaque] computing type of opaque `graphql_schema::users::mutation::add_status::<impl at src/graphql_schema/users/mutation/add_status.rs:21:1: 21:14>::add_about_and_country::{opaque#0}`
rust-lang/rust-clippy#3 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@src/graphql_schema/users/mutation/add_status.rs:20:1: 20:10}: core::marker::Send`
rust-lang/rust-clippy#4 [collect_return_position_impl_trait_in_trait_tys] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process
rust-lang/rust-clippy#5 [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(e8196f78ac9bfef6-c3cdafa0018d31ce)
rust-lang/rust-clippy#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 e56b91bd930b7e1d-6e75d468dc1117ef
stack backtrace:
   0: rust_begin_unwind
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
   1: core::panicking::panic_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
   2: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
   3: <rustc_query_system::dep_graph::dep_node::DepNode as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id
   4: rustc_interface::callbacks::dep_node_debug
   5: <rustc_query_system::dep_graph::dep_node::DepNode as core::fmt::Debug>::fmt
   6: core::fmt::rt::Argument::fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
   7: core::fmt::write
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
   8: std::io::Write::write_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
   9: <&std::io::stdio::Stderr as std::io::Write>::write_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:956:9
  10: <std::io::stdio::Stderr as std::io::Write>::write_fmt
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:930:9
  11: std::io::stdio::print_to
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:1029:21
  12: std::io::stdio::_eprint
             at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/stdio.rs:1117:5
  13: rustc_query_system::dep_graph::graph::print_markframe_trace::<rustc_middle::dep_graph::DepsType>
  14: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  15: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  16: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  17: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  18: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  19: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  20: <rustc_query_system::dep_graph::graph::DepGraphData<rustc_middle::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  21: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::DefaultCache<rustc_type_ir::canonical::Canonical<rustc_middle::ty::context::TyCtxt, rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true>
  22: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
  23: <rustc_data_structures::obligation_forest::ObligationForest<rustc_trait_selection::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection::traits::fulfill::FulfillProcessor>
  24: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
  25: <rustc_hir_typeck::fn_ctxt::FnCtxt>::expected_inputs_for_expected_output
  26: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  27: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  28: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  29: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  30: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  31: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  32: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  33: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  34: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  35: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  36: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  37: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  38: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  39: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  40: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  41: rustc_hir_typeck::check::check_fn
  42: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  43: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  44: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  45: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  46: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  47: rustc_hir_typeck::check::check_fn
  48: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  49: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  50: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_method_argument_types
  51: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  52: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  53: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  54: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  55: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  56: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  57: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_argument_types
  58: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_call
  59: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  60: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_match
  61: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  62: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_decl
  63: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  64: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  65: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  66: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_block_with_expected
  67: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  68: rustc_hir_typeck::check::check_fn
  69: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_closure
  70: <rustc_hir_typeck::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  71: rustc_hir_typeck::check::check_fn
  72: rustc_hir_typeck::typeck
      [... omitted 5 frames ...]
  73: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 8]>>>
  74: <rustc_trait_selection::traits::select::SelectionContext>::confirm_candidate
  75: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  76: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  77: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  78: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  79: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  80: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  81: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  82: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  83: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  84: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  85: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}
  86: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
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.77.1 (7cf61ebde 2024-03-27) running on x86_64-unknown-linux-gnu

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 `diesel::query_builder::update_statement::UpdateStatement<schema::users::table, diesel::query_builder::where_clause::WhereClause<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<schema::users::columns::id, diesel::expression::bound::Bound<diesel::sql_types::Integer, i32>>>>, (diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<schema::users::columns::summary>, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Text>, alloc::string::String>>, diesel::query_builder::update_statement::changeset::Assign<diesel::query_builder::update_statement::changeset::ColumnWrapperForUpdate<schema::users::columns::nationality>, diesel::expression::bound::Bound<diesel::sql_types::Nullable<diesel::sql_types::Integer>, i32>>)>: diesel::query_builder::AsQuery`
rust-lang/rust-clippy#1 [typeck] type-checking `graphql_schema::users::mutation::add_status::<impl at src/graphql_schema/users/mutation/add_status.rs:21:1: 21:14>::add_about_and_country`
rust-lang/rust-clippy#2 [type_of_opaque] computing type of opaque `graphql_schema::users::mutation::add_status::<impl at src/graphql_schema/users/mutation/add_status.rs:21:1: 21:14>::add_about_and_country::{opaque#0}`
rust-lang/rust-clippy#3 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@src/graphql_schema/users/mutation/add_status.rs:20:1: 20:10}: core::marker::Send`
rust-lang/rust-clippy#4 [collect_return_position_impl_trait_in_trait_tys] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process
rust-lang/rust-clippy#5 [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 type_of_opaque(bn_back_end[e56b]::graphql_schema::users::mutation::add_status::{impl#5}::add_about_and_country::{opaque#0})
end of try_mark_green dep node stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 type_of(bn_back_end[e56b]::graphql_schema::users::mutation::add_status::_::{impl#2}::{opaque#0})
rust-lang/rust-clippy#1 TraitSelect(e6eaad5630d0de6b-b57ee54928a6884f)
rust-lang/rust-clippy#2 TraitSelect(1dbe300a95fc76e4-1f994eb927340614)
rust-lang/rust-clippy#3 TraitSelect(7a191ca2206b7c13-bfac27104cb04618)
rust-lang/rust-clippy#4 TraitSelect(58a08dddd1a7eee-533f1cc5967d1205)
rust-lang/rust-clippy#5 TraitSelect(15a70f30574c9f90-c3393ea7005341b8)
rust-lang/rust-clippy#6 TraitSelect(f95eaa861b4d788c-54a2ff8c6aa8991f)
rust-lang/rust-clippy#7 TraitSelect(5bd9b190e2c52b0b-7c9dc5e52dd15ada)
rust-lang/rust-clippy#8 evaluate_obligation(bd737231e736e885-e0aa15cb2384cc42)
rust-lang/rust-clippy#9 collect_return_position_impl_trait_in_trait_tys(bn_back_end[e56b]::graphql_schema::users::mutation::{impl#0}::resolve_field)
rust-lang/rust-clippy#10 type_of(bn_back_end[e56b]::graphql_schema::users::mutation::{impl#0}::{opaque#0})
rust-lang/rust-clippy#11 check_mod_impl_wf(bn_back_end[e56b]::graphql_schema::users::mutation)
end of try_mark_green dep node stack
  ```

  </p>
</details>