rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
11.22k stars 1.51k forks source link

internal compiler error running clippy #9862

Open droundy opened 1 year ago

droundy commented 1 year ago

The compiler asked me to submit a bug report:

cargo clippy --all-targets --workspace -- -D warnings
thread 'rustc' panicked at 'Failed to extract DefId: local_def_id_to_hir_id 3f5ca04cb413be83-a04dc46aeb3c8df6', compiler/rustc_middle/src/dep_graph/dep_node.rs:276:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.64 (a55dd71d 2022-09-19)

query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `impl core::future::future::Future<Output = (routes::insert::EventsOrAttributes, alloc::vec::Vec<nemo_core::datatypes::EventParseError>)>: core::marker::Send`
#1 [analysis] running analysis passes on this crate
end of query stack

When I tried to reproduce this bug by changing the cargo clippy command, there was some recompilation of dependencies, and no error. When I finally returned to the same cargo clippy --all-targets --workspace -- -D warnings I no longer get the error, so presumably some stored file was in an inconsistent state, and I can't reproduce this. In case it's helpful, below are the two errors I got with increasing log levels before I tried changing the command and couldn't reproduce the error.

Running with the RUST_BACKTRACE=1 gives

cargo clippy --all-targets --workspace -- -D warnings
warning: nemo v0.1.0 (/Users/davidroundy/nemo/nemo) ignoring invalid dependency `backfill` which is missing a lib target
    Checking nemo v0.1.0 (/Users/davidroundy/nemo/nemo)
thread 'rustc' panicked at 'Failed to extract DefId: local_def_id_to_hir_id 4e1bb34c4eef63aa-1aa5bf9f02f703cf', compiler/rustc_middle/src/dep_graph/dep_node.rs:276:17
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
thread 'rustc' panicked at 'Failed to extract DefId: local_def_id_to_hir_id 3f5ca04cb413be83-a04dc46aeb3c8df6', compiler/rustc_middle/src/dep_graph/dep_node.rs:276:17
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: <rustc_query_system::dep_graph::dep_node::DepNode<rustc_middle::dep_graph::dep_node::DepKind> as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
   2: <rustc_query_system::dep_graph::dep_node::DepNode<rustc_middle::dep_graph::dep_node::DepKind> as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
   3: <rustc_middle::ty::context::TyCtxt>::def_path_hash_to_def_id
   3: <rustc_middle::ty::context::TyCtxt>::def_path_hash_to_def_id
   4: <rustc_query_system::dep_graph::dep_node::DepNode<rustc_middle::dep_graph::dep_node::DepKind> as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id
   4: <rustc_query_system::dep_graph::dep_node::DepNode<rustc_middle::dep_graph::dep_node::DepKind> as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id
   5: rustc_query_impl::query_callbacks::local_def_id_to_hir_id::force_from_dep_node
   5: rustc_query_impl::query_callbacks::local_def_id_to_hir_id::force_from_dep_node
   6: <rustc_middle::ty::context::TyCtxt as rustc_query_system::dep_graph::DepContext>::try_force_from_dep_node
   6: <rustc_middle::ty::context::TyCtxt as rustc_query_system::dep_graph::DepContext>::try_force_from_dep_node
   7: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   7: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   8: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   9: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   8: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
   9: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
  10: rustc_query_system::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl::plumbing::QueryCtxt, rustc_middle::infer::canonical::Canonical<rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>
  11: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::evaluate_obligation, rustc_query_impl::plumbing::QueryCtxt>
  12: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::evaluate_obligation
  10: rustc_query_system::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl::plumbing::QueryCtxt, rustc_middle::infer::canonical::Canonical<rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>
  11: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::evaluate_obligation, rustc_query_impl::plumbing::QueryCtxt>
  12: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::evaluate_obligation
  13: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  14: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  15: <rustc_trait_selection::traits::fulfill::FulfillProcessor>::process_trait_obligation
  16: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
  13: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  14: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  17: <rustc_data_structures::obligation_forest::ObligationForest<rustc_trait_selection::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection::traits::fulfill::FulfillProcessor, rustc_data_structures::obligation_forest::Outcome<rustc_trait_selection::traits::fulfill::PendingPredicateObligation, rustc_infer::traits::FulfillmentErrorCode>>
  15: <rustc_trait_selection::traits::fulfill::FulfillProcessor>::process_trait_obligation
  18: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
  19: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_all_or_error
  16: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
  20: <rustc_infer::infer::InferCtxtBuilder>::enter::<alloc::vec::Vec<rustc_infer::traits::FulfillmentError>, <clippy_lints::future_not_send::FutureNotSend as rustc_lint::passes::LateLintPass>::check_fn::{closure#0}>
  17: <rustc_data_structures::obligation_forest::ObligationForest<rustc_trait_selection::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection::traits::fulfill::FulfillProcessor, rustc_data_structures::obligation_forest::Outcome<rustc_trait_selection::traits::fulfill::PendingPredicateObligation, rustc_infer::traits::FulfillmentErrorCode>>
  18: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
  19: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_all_or_error
  20: <rustc_infer::infer::InferCtxtBuilder>::enter::<alloc::vec::Vec<rustc_infer::traits::FulfillmentError>, <clippy_lints::future_not_send::FutureNotSend as rustc_lint::passes::LateLintPass>::check_fn::{closure#0}>
  21: <clippy_lints::future_not_send::FutureNotSend as rustc_lint::passes::LateLintPass>::check_fn
  22: <rustc_lint::late::LateLintPassObjects as rustc_lint::passes::LateLintPass>::check_fn
  21: <clippy_lints::future_not_send::FutureNotSend as rustc_lint::passes::LateLintPass>::check_fn
  22: <rustc_lint::late::LateLintPassObjects as rustc_lint::passes::LateLintPass>::check_fn
  23: rustc_hir::intravisit::walk_item::<rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects>>
  23: rustc_hir::intravisit::walk_item::<rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects>>
  24: <rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects> as rustc_hir::intravisit::Visitor>::visit_nested_item
  25: rustc_hir::intravisit::walk_item::<rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects>>
  24: <rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects> as rustc_hir::intravisit::Visitor>::visit_nested_item
  26: <rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects> as rustc_hir::intravisit::Visitor>::visit_nested_item
  25: rustc_hir::intravisit::walk_item::<rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects>>
  27: rustc_hir::intravisit::walk_item::<rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects>>
  26: <rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects> as rustc_hir::intravisit::Visitor>::visit_nested_item
  28: <rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects> as rustc_hir::intravisit::Visitor>::visit_nested_item
  27: rustc_hir::intravisit::walk_item::<rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects>>
  28: <rustc_lint::late::LateContextAndPass<rustc_lint::late::LateLintPassObjects> as rustc_hir::intravisit::Visitor>::visit_nested_item
  29: rustc_lint::late::late_lint_pass_crate::<rustc_lint::late::LateLintPassObjects>
  29: rustc_lint::late::late_lint_pass_crate::<rustc_lint::late::LateLintPassObjects>
  30: rustc_lint::late::late_lint_crate::<rustc_lint::BuiltinCombinedLateLintPass>
  30: rustc_lint::late::late_lint_crate::<rustc_lint::BuiltinCombinedLateLintPass>
  31: <rustc_session::session::Session>::time::<(), rustc_lint::late::check_crate<rustc_lint::BuiltinCombinedLateLintPass, rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
  32: <core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#2}> as core::ops::function::FnOnce<()>>::call_once
  33: <core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}> as core::ops::function::FnOnce<()>>::call_once
  34: <rustc_session::session::Session>::time::<(), rustc_interface::passes::analysis::{closure#5}>
  35: rustc_interface::passes::analysis
  31: <rustc_session::session::Session>::time::<(), rustc_lint::late::check_crate<rustc_lint::BuiltinCombinedLateLintPass, rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
  36: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>
  37: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorGuaranteed>>>
  32: <core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#2}> as core::ops::function::FnOnce<()>>::call_once
  38: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::analysis, rustc_query_impl::plumbing::QueryCtxt>
  33: <core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}> as core::ops::function::FnOnce<()>>::call_once
  39: <rustc_interface::passes::QueryContext>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
  34: <rustc_session::session::Session>::time::<(), rustc_interface::passes::analysis::{closure#5}>
  40: <rustc_interface::interface::Compiler>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_errors::ErrorGuaranteed>>
  35: rustc_interface::passes::analysis
  41: rustc_span::with_source_map::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_interface::interface::create_compiler_and_run<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#1}>
  36: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>
  42: <scoped_tls::ScopedKey<rustc_span::SessionGlobals>>::set::<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
  37: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorGuaranteed>>>
  38: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::analysis, rustc_query_impl::plumbing::QueryCtxt>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

  39: <rustc_interface::passes::QueryContext>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
  40: <rustc_interface::interface::Compiler>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_errors::ErrorGuaranteed>>
  41: rustc_span::with_source_map::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_interface::interface::create_compiler_and_run<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#1}>
  42: <scoped_tls::ScopedKey<rustc_span::SessionGlobals>>::set::<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: internal compiler error: unexpected panic

error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.

note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.64 (a55dd71d 2022-09-19)

note: Clippy version: clippy 0.1.64 (a55dd71d 2022-09-19)

query stack during panic:
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `impl core::future::future::Future<Output = (routes::insert::EventsOrAttributes, alloc::vec::Vec<nemo_core::datatypes::EventParseError>)>: core::marker::Send`
#0 [evaluate_obligation] evaluating trait selection obligation `impl core::future::future::Future<Output = (routes::insert::EventsOrAttributes, alloc::vec::Vec<nemo_core::datatypes::EventParseError>)>: core::marker::Send`
#1 [analysis] running analysis passes on this crate
#1 [analysis] running analysis passes on this crate
end of query stack
end of query stack
error: could not compile `nemo`
warning: build failed, waiting for other jobs to finish...
error: could not compile `nemo`
make: *** [clippy] Error 101

and since I'm not likely to be able to share the code that triggered this, here is with RUST_BACKTRACE=full:

cargo clippy --all-targets --workspace -- -D warnings
warning: nemo v0.1.0 (/Users/davidroundy/nemo/nemo) ignoring invalid dependency `backfill` which is missing a lib target
    Checking nemo v0.1.0 (/Users/davidroundy/nemo/nemo)
thread 'rustc' panicked at 'Failed to extract DefId: local_def_id_to_hir_id 4e1bb34c4eef63aa-1aa5bf9f02f703cf', compiler/rustc_middle/src/dep_graph/dep_node.rs:276:17
stack backtrace:
   0:        0x10151f978 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1543c132bc4e188c
   1:        0x10156c828 - core::fmt::write::hda8e8eb84b49cbfc
   2:        0x101512c74 - std::io::Write::write_fmt::hb84c8996aec7120c
   3:        0x1015225d0 - std::panicking::default_hook::{{closure}}::hdf06011cb093de6a
   4:        0x101522334 - std::panicking::default_hook::hd7ceb942fff7b170
   5:        0x1004721a0 - clippy_driver[2b0f6d10be8c4961]::ICE_HOOK::{closure#0}::{closure#0}
   6:        0x101522ba4 - std::panicking::rust_panic_with_hook::h053d4067a63a6fcb
   7:        0x101522a3c - std::panicking::begin_panic_handler::{{closure}}::hea9e6c546a23e8ff
   8:        0x10151fe54 - std::sys_common::backtrace::__rust_end_short_backtrace::hd64e012cf32134c6
   9:        0x101522794 - _rust_begin_unwind
  10:        0x101597808 - core::panicking::panic_fmt::hbfde5533e1c0592e
thread 'rustc' panicked at 'Failed to extract DefId: local_def_id_to_hir_id 3f5ca04cb413be83-a04dc46aeb3c8df6', compiler/rustc_middle/src/dep_graph/dep_node.rs:276:17
stack backtrace:
   0:        0x105427978 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1543c132bc4e188c
   1:        0x105474828 - core::fmt::write::hda8e8eb84b49cbfc
   2:        0x10541ac74 - std::io::Write::write_fmt::hb84c8996aec7120c
   3:        0x10542a5d0 - std::panicking::default_hook::{{closure}}::hdf06011cb093de6a
   4:        0x10542a334 - std::panicking::default_hook::hd7ceb942fff7b170
   5:        0x1042661a0 - clippy_driver[2b0f6d10be8c4961]::ICE_HOOK::{closure#0}::{closure#0}
   6:        0x10542aba4 - std::panicking::rust_panic_with_hook::h053d4067a63a6fcb
   7:        0x10542aa3c - std::panicking::begin_panic_handler::{{closure}}::hea9e6c546a23e8ff
   8:        0x105427e54 - std::sys_common::backtrace::__rust_end_short_backtrace::hd64e012cf32134c6
   9:        0x10542a794 - _rust_begin_unwind
  10:        0x10549f808 - core::panicking::panic_fmt::hbfde5533e1c0592e
  11:        0x10c61c04c - <rustc_query_system[6f834e4506ff6c03]::dep_graph::dep_node::DepNode<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind> as rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
  11:        0x11052404c - <rustc_query_system[6f834e4506ff6c03]::dep_graph::dep_node::DepNode<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind> as rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
  12:        0x110598938 - <rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt>::def_path_hash_to_def_id
  12:        0x10c690938 - <rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt>::def_path_hash_to_def_id
  13:        0x110523fc0 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::dep_node::DepNode<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind> as rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepNodeExt>::extract_def_id
  13:        0x10c61bfc0 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::dep_node::DepNode<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind> as rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepNodeExt>::extract_def_id
  14:        0x10fbe40fc - rustc_query_impl[8b8fa26cca04f19]::query_callbacks::local_def_id_to_hir_id::force_from_dep_node
  15:        0x110582780 - <rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt as rustc_query_system[6f834e4506ff6c03]::dep_graph::DepContext>::try_force_from_dep_node
  14:        0x10bcdc0fc - rustc_query_impl[8b8fa26cca04f19]::query_callbacks::local_def_id_to_hir_id::force_from_dep_node
  15:        0x10c67a780 - <rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt as rustc_query_system[6f834e4506ff6c03]::dep_graph::DepContext>::try_force_from_dep_node
  16:        0x10fae3fb8 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  16:        0x10bbdbfb8 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  17:        0x10fae3f88 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  18:        0x10fae3f88 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  17:        0x10bbdbf88 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  18:        0x10bbdbf88 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  19:        0x10f914520 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_middle[dc659c3191ae8a04]::infer::canonical::Canonical<rustc_middle[dc659c3191ae8a04]::ty::ParamEnvAnd<rustc_middle[dc659c3191ae8a04]::ty::Predicate>>, core[470b050f2b764c47]::result::Result<rustc_middle[dc659c3191ae8a04]::traits::select::EvaluationResult, rustc_middle[dc659c3191ae8a04]::traits::select::OverflowError>>
  19:        0x10ba0c520 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_middle[dc659c3191ae8a04]::infer::canonical::Canonical<rustc_middle[dc659c3191ae8a04]::ty::ParamEnvAnd<rustc_middle[dc659c3191ae8a04]::ty::Predicate>>, core[470b050f2b764c47]::result::Result<rustc_middle[dc659c3191ae8a04]::traits::select::EvaluationResult, rustc_middle[dc659c3191ae8a04]::traits::select::OverflowError>>
  20:        0x10ba5278c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::evaluate_obligation, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  20:        0x10f95a78c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::evaluate_obligation, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  21:        0x10bcda1f4 - <rustc_query_impl[8b8fa26cca04f19]::Queries as rustc_middle[dc659c3191ae8a04]::ty::query::QueryEngine>::evaluate_obligation
  21:        0x10fbe21f4 - <rustc_query_impl[8b8fa26cca04f19]::Queries as rustc_middle[dc659c3191ae8a04]::ty::query::QueryEngine>::evaluate_obligation
  22:        0x11030bdec - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt as rustc_trait_selection[e045dc635a471478]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  22:        0x10c403dec - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt as rustc_trait_selection[e045dc635a471478]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  23:        0x11030bedc - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt as rustc_trait_selection[e045dc635a471478]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  24:        0x110386938 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  23:        0x10c403edc - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxt as rustc_trait_selection[e045dc635a471478]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  25:        0x110386528 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillProcessor as rustc_data_structures[30e623ab5ac4e192]::obligation_forest::ObligationProcessor>::process_obligation
  24:        0x10c47e938 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  25:        0x10c47e528 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillProcessor as rustc_data_structures[30e623ab5ac4e192]::obligation_forest::ObligationProcessor>::process_obligation
  26:        0x1103f040c - <rustc_data_structures[30e623ab5ac4e192]::obligation_forest::ObligationForest<rustc_trait_selection[e045dc635a471478]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillProcessor, rustc_data_structures[30e623ab5ac4e192]::obligation_forest::Outcome<rustc_trait_selection[e045dc635a471478]::traits::fulfill::PendingPredicateObligation, rustc_infer[7b400c282ed9aa06]::traits::FulfillmentErrorCode>>
  27:        0x110380cb4 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillmentContext as rustc_infer[7b400c282ed9aa06]::traits::engine::TraitEngine>::select_where_possible
  26:        0x10c4e840c - <rustc_data_structures[30e623ab5ac4e192]::obligation_forest::ObligationForest<rustc_trait_selection[e045dc635a471478]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillProcessor, rustc_data_structures[30e623ab5ac4e192]::obligation_forest::Outcome<rustc_trait_selection[e045dc635a471478]::traits::fulfill::PendingPredicateObligation, rustc_infer[7b400c282ed9aa06]::traits::FulfillmentErrorCode>>
  28:        0x110380bb8 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillmentContext as rustc_infer[7b400c282ed9aa06]::traits::engine::TraitEngine>::select_all_or_error
  27:        0x10c478cb4 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillmentContext as rustc_infer[7b400c282ed9aa06]::traits::engine::TraitEngine>::select_where_possible
  28:        0x10c478bb8 - <rustc_trait_selection[e045dc635a471478]::traits::fulfill::FulfillmentContext as rustc_infer[7b400c282ed9aa06]::traits::engine::TraitEngine>::select_all_or_error
  29:        0x1006110b8 - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxtBuilder>::enter::<alloc[e1afe643157cdf10]::vec::Vec<rustc_infer[7b400c282ed9aa06]::traits::FulfillmentError>, <clippy_lints[4aea0c74d554b791]::future_not_send::FutureNotSend as rustc_lint[ae02526519a9cae]::passes::LateLintPass>::check_fn::{closure#0}>
  29:        0x1044050b8 - <rustc_infer[7b400c282ed9aa06]::infer::InferCtxtBuilder>::enter::<alloc[e1afe643157cdf10]::vec::Vec<rustc_infer[7b400c282ed9aa06]::traits::FulfillmentError>, <clippy_lints[4aea0c74d554b791]::future_not_send::FutureNotSend as rustc_lint[ae02526519a9cae]::passes::LateLintPass>::check_fn::{closure#0}>
  30:        0x1044899bc - <clippy_lints[4aea0c74d554b791]::future_not_send::FutureNotSend as rustc_lint[ae02526519a9cae]::passes::LateLintPass>::check_fn
  30:        0x1006959bc - <clippy_lints[4aea0c74d554b791]::future_not_send::FutureNotSend as rustc_lint[ae02526519a9cae]::passes::LateLintPass>::check_fn
  31:        0x1102c5a98 - <rustc_lint[ae02526519a9cae]::late::LateLintPassObjects as rustc_lint[ae02526519a9cae]::passes::LateLintPass>::check_fn
  31:        0x10c3bda98 - <rustc_lint[ae02526519a9cae]::late::LateLintPassObjects as rustc_lint[ae02526519a9cae]::passes::LateLintPass>::check_fn
  32:        0x10cb64908 - rustc_hir[3f4ec4895a8669e5]::intravisit::walk_item::<rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>>
  32:        0x108c5c908 - rustc_hir[3f4ec4895a8669e5]::intravisit::walk_item::<rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>>
  33:        0x10cb4a5c4 - <rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects> as rustc_hir[3f4ec4895a8669e5]::intravisit::Visitor>::visit_nested_item
  33:        0x108c425c4 - <rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects> as rustc_hir[3f4ec4895a8669e5]::intravisit::Visitor>::visit_nested_item
  34:        0x10cb64994 - rustc_hir[3f4ec4895a8669e5]::intravisit::walk_item::<rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>>
  34:        0x108c5c994 - rustc_hir[3f4ec4895a8669e5]::intravisit::walk_item::<rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>>
  35:        0x10cb4a5c4 - <rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects> as rustc_hir[3f4ec4895a8669e5]::intravisit::Visitor>::visit_nested_item
  36:        0x10cb64994 - rustc_hir[3f4ec4895a8669e5]::intravisit::walk_item::<rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>>
  35:        0x108c425c4 - <rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects> as rustc_hir[3f4ec4895a8669e5]::intravisit::Visitor>::visit_nested_item
  36:        0x108c5c994 - rustc_hir[3f4ec4895a8669e5]::intravisit::walk_item::<rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>>
  37:        0x10cb4a5c4 - <rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects> as rustc_hir[3f4ec4895a8669e5]::intravisit::Visitor>::visit_nested_item
  38:        0x10cb49afc - rustc_lint[ae02526519a9cae]::late::late_lint_pass_crate::<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>
  39:        0x10cb491ac - rustc_lint[ae02526519a9cae]::late::late_lint_crate::<rustc_lint[ae02526519a9cae]::BuiltinCombinedLateLintPass>
  37:        0x108c425c4 - <rustc_lint[ae02526519a9cae]::late::LateContextAndPass<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects> as rustc_hir[3f4ec4895a8669e5]::intravisit::Visitor>::visit_nested_item
  38:        0x108c41afc - rustc_lint[ae02526519a9cae]::late::late_lint_pass_crate::<rustc_lint[ae02526519a9cae]::late::LateLintPassObjects>
  39:        0x108c411ac - rustc_lint[ae02526519a9cae]::late::late_lint_crate::<rustc_lint[ae02526519a9cae]::BuiltinCombinedLateLintPass>
  40:        0x10cb07d44 - <rustc_session[6283a40eea3c7aa9]::session::Session>::time::<(), rustc_lint[ae02526519a9cae]::late::check_crate<rustc_lint[ae02526519a9cae]::BuiltinCombinedLateLintPass, rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
  40:        0x108bffd44 - <rustc_session[6283a40eea3c7aa9]::session::Session>::time::<(), rustc_lint[ae02526519a9cae]::late::check_crate<rustc_lint[ae02526519a9cae]::BuiltinCombinedLateLintPass, rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
  41:        0x10cb11714 - <core[470b050f2b764c47]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}::{closure#1}::{closure#2}> as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once
  41:        0x108c09714 - <core[470b050f2b764c47]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}::{closure#1}::{closure#2}> as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once
  42:        0x10cb12770 - <core[470b050f2b764c47]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}::{closure#1}> as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once
  43:        0x10cb09448 - <rustc_session[6283a40eea3c7aa9]::session::Session>::time::<(), rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}>
  42:        0x108c0a770 - <core[470b050f2b764c47]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}::{closure#1}> as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once
  44:        0x10cb04f54 - rustc_interface[efe2b5ffa23206d6]::passes::analysis
  45:        0x10fb19a70 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, (), core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  43:        0x108c01448 - <rustc_session[6283a40eea3c7aa9]::session::Session>::time::<(), rustc_interface[efe2b5ffa23206d6]::passes::analysis::{closure#5}>
  44:        0x108bfcf54 - rustc_interface[efe2b5ffa23206d6]::passes::analysis
  46:        0x10f8e844c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<(), core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>>
  45:        0x10bc11a70 - <rustc_query_system[6f834e4506ff6c03]::dep_graph::graph::DepGraph<rustc_middle[dc659c3191ae8a04]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[dc659c3191ae8a04]::ty::context::TyCtxt, (), core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  47:        0x10f9877a0 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::analysis, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  46:        0x10b9e044c - rustc_query_system[6f834e4506ff6c03]::query::plumbing::try_execute_query::<rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt, rustc_query_system[6f834e4506ff6c03]::query::caches::DefaultCache<(), core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>>
  47:        0x10ba7f7a0 - rustc_query_system[6f834e4506ff6c03]::query::plumbing::get_query::<rustc_query_impl[8b8fa26cca04f19]::queries::analysis, rustc_query_impl[8b8fa26cca04f19]::plumbing::QueryCtxt>
  48:        0x10ca2f9f4 - <rustc_interface[efe2b5ffa23206d6]::passes::QueryContext>::enter::<rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  49:        0x10ca127e4 - <rustc_interface[efe2b5ffa23206d6]::interface::Compiler>::enter::<rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}::{closure#2}, core[470b050f2b764c47]::result::Result<core[470b050f2b764c47]::option::Option<rustc_interface[efe2b5ffa23206d6]::queries::Linker>, rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  48:        0x108b279f4 - <rustc_interface[efe2b5ffa23206d6]::passes::QueryContext>::enter::<rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  49:        0x108b0a7e4 - <rustc_interface[efe2b5ffa23206d6]::interface::Compiler>::enter::<rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}::{closure#2}, core[470b050f2b764c47]::result::Result<core[470b050f2b764c47]::option::Option<rustc_interface[efe2b5ffa23206d6]::queries::Linker>, rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  50:        0x10ca5f0a0 - rustc_span[a44dd0315ec95fe3]::with_source_map::<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_interface[efe2b5ffa23206d6]::interface::create_compiler_and_run<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#1}>
  50:        0x108b570a0 - rustc_span[a44dd0315ec95fe3]::with_source_map::<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_interface[efe2b5ffa23206d6]::interface::create_compiler_and_run<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#1}>
  51:        0x10ca12fd0 - <scoped_tls[438d350ce76b615a]::ScopedKey<rustc_span[a44dd0315ec95fe3]::SessionGlobals>>::set::<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  51:        0x108b0afd0 - <scoped_tls[438d350ce76b615a]::ScopedKey<rustc_span[a44dd0315ec95fe3]::SessionGlobals>>::set::<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  52:        0x10ca3243c - std[dfd41530add96b74]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  52:        0x108b2a43c - std[dfd41530add96b74]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>
  53:        0x10ca32af8 - <<std[dfd41530add96b74]::thread::Builder>::spawn_unchecked_<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#1} as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  54:        0x1054333dc - std::sys::unix::thread::Thread::new::thread_start::h403ab16d5f453cd4
  53:        0x108b2aaf8 - <<std[dfd41530add96b74]::thread::Builder>::spawn_unchecked_<rustc_interface[efe2b5ffa23206d6]::util::run_in_thread_pool_with_globals<rustc_interface[efe2b5ffa23206d6]::interface::run_compiler<core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>, rustc_driver[8f8caae8abf9e6c7]::run_compiler::{closure#1}>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#0}, core[470b050f2b764c47]::result::Result<(), rustc_errors[b30f6c19c09b5d30]::ErrorGuaranteed>>::{closure#1} as core[470b050f2b764c47]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  54:        0x10152b3dc - std::sys::unix::thread::Thread::new::thread_start::h403ab16d5f453cd4
  55:        0x1b608826c - __pthread_deallocate
  55:        0x1b608826c - __pthread_deallocate

error: internal compiler error: unexpected panic
error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.64 (a55dd71d 2022-09-19)

query stack during panic:

note: Clippy version: clippy 0.1.64 (a55dd71d 2022-09-19)

query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `impl core::future::future::Future<Output = (routes::insert::EventsOrAttributes, alloc::vec::Vec<nemo_core::datatypes::EventParseError>)>: core::marker::Send`
#0 [evaluate_obligation] evaluating trait selection obligation `impl core::future::future::Future<Output = (routes::insert::EventsOrAttributes, alloc::vec::Vec<nemo_core::datatypes::EventParseError>)>: core::marker::Send`
#1 [analysis] running analysis passes on this crate
#1 [analysis] running analysis passes on this crate
end of query stack
end of query stack
giraffate commented 1 year ago

It's possibly an incremental compilation bug. Can this be seen after running cargo clean?

J-ZhengLi commented 1 month ago

issue originated from this line in [future_not_send] (I assume):

https://github.com/rust-lang/rust-clippy/blob/87f8a5b374397673d03c8bee62926c6f21962d0b/clippy_lints/src/future_not_send.rs#L66