Skip to content

ICE - thread '<unnamed>' panicked at 'forcing query with already existing DepNode #104255

New issue

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

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

Already on GitHub? Sign in to your account

Closed
BlackDex opened this issue Nov 10, 2022 · 5 comments · Fixed by #104282
Closed

ICE - thread '<unnamed>' panicked at 'forcing query with already existing DepNode #104255

BlackDex opened this issue Nov 10, 2022 · 5 comments · Fixed by #104282
Labels
C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-high High priority regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@BlackDex
Copy link

Code

https://github.com/BlackDex/vaultwarden/tree/impl-events

Meta

  • Works on stable
rustc 1.65.0 (897e37553 2022-11-02)
binary: rustc
commit-hash: 897e37553bba8b42751c67658967889d11ecd120
commit-date: 2022-11-02
host: x86_64-unknown-linux-gnu
release: 1.65.0
LLVM version: 15.0.0
  • Works on beta
rustc 1.66.0-beta.1 (e080cc5a6 2022-11-01)
binary: rustc
commit-hash: e080cc5a659fb760c0bc561b722a790dad35b5e1
commit-date: 2022-11-01
host: x86_64-unknown-linux-gnu
release: 1.66.0-beta.1
LLVM version: 15.0.2
  • Fails on nightly
rustc 1.67.0-nightly (e75aab045 2022-11-09)
binary: rustc
commit-hash: e75aab045fc476f176a58c408f6b06f0e275c6e1
commit-date: 2022-11-09
host: x86_64-unknown-linux-gnu
release: 1.67.0-nightly
LLVM version: 15.0.4

Error output

thread '<unnamed>' panicked at 'forcing query with already existing `DepNode`
- query-key: Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, constness: NotConst }, value: Binder(TraitPredicate(<for<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> {std::future::ResumeTy, &'a rocket::Request<'b>, &'c rocket::Request<'d>, std::pin::Pin<std::boxed::Box<(dyn futures::Future<Output = rocket::outcome::Outcome<api::admin::AdminToken, (rocket::http::Status, &'e str), ()>> + std::marker::Send + 'f)>>, std::pin::Pin<std::boxed::Box<(dyn futures::Future<Output = rocket::outcome::Outcome<api::admin::AdminToken, (rocket::http::Status, &'g str), ()>> + std::marker::Send + 'h)>>, ()} as std::marker::Send>, polarity:Positive), []) } }
- dep-node: evaluate_obligation(37e3670e4bc24600-d0145d064d70f03f)', /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/compiler/rustc_query_system/src/dep_graph/graph.rs:316:9
Backtrace

thread '<unnamed>' panicked at 'forcing query with already existing `DepNode`
- query-key: Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, constness: NotConst }, value: Binder(TraitPredicate(<for<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> {std::future::ResumeTy, &'a rocket::Request<'b>, &'c rocket::Request<'d>, std::pin::Pin<std::boxed::Box<(dyn futures::Future<Output = rocket::outcome::Outcome<api::admin::AdminToken, (rocket::http::Status, &'e str), ()>> + std::marker::Send + 'f)>>, std::pin::Pin<std::boxed::Box<(dyn futures::Future<Output = rocket::outcome::Outcome<api::admin::AdminToken, (rocket::http::Status, &'g str), ()>> + std::marker::Send + 'h)>>, ()} as std::marker::Send>, polarity:Positive), []) } }
- dep-node: evaluate_obligation(37e3670e4bc24600-d0145d064d70f03f)', /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/compiler/rustc_query_system/src/dep_graph/graph.rs:316:9
stack backtrace:
   0:     0x78f133d663e0 - std::backtrace_rs::backtrace::libunwind::trace::h475e6d14c20ac628
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x78f133d663e0 - std::backtrace_rs::backtrace::trace_unsynchronized::h782386969d170809
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x78f133d663e0 - std::sys_common::backtrace::_print_fmt::h2cff96f1339c9fb3
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x78f133d663e0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h65381e912452bd50
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x78f133dc84fe - core::fmt::write::hddf5212808edda8e
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/core/src/fmt/mod.rs:1209:17
   5:     0x78f133d56555 - std::io::Write::write_fmt::h86ff774c1fbcc56f
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/io/mod.rs:1682:15
   6:     0x78f133d661a5 - std::sys_common::backtrace::_print::hac5746116d4b1148
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x78f133d661a5 - std::sys_common::backtrace::print::h989584698b4383b5
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x78f133d68f7f - std::panicking::default_hook::{{closure}}::hdf7100a7f19aaac7
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:267:22
   9:     0x78f133d68cba - std::panicking::default_hook::hd54c9e09261f65ab
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:286:9
  10:     0x78f133d6978c - std::panicking::rust_panic_with_hook::h6cb13ee30fd78212
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:688:13
  11:     0x78f133d69527 - std::panicking::begin_panic_handler::{{closure}}::h81e7b2a35760b48f
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:579:13
  12:     0x78f133d6688c - std::sys_common::backtrace::__rust_end_short_backtrace::h74bbf3f6d71875f1
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:137:18
  13:     0x78f133d69242 - rust_begin_unwind
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:575:5
  14:     0x78f133dc4ee3 - core::panicking::panic_fmt::h89bd6f1292ecd482
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/core/src/panicking.rs:65:14
  15:     0x78f1355110fd - rustc_query_system[1f6ede8186171781]::query::plumbing::get_query::<rustc_query_impl[b28d4a501f55e093]::queries::evaluate_obligation, rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt>
  16:     0x78f135200a41 - <rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::FulfillProcessor as rustc_data_structures[7663b3d9993f23bc]::obligation_forest::ObligationProcessor>::process_obligation
  17:     0x78f1351fcd0c - <rustc_data_structures[7663b3d9993f23bc]::obligation_forest::ObligationForest<rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::FulfillProcessor>
  18:     0x78f13570f9bf - <rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::FulfillmentContext as rustc_infer[3a9b606107d045c1]::traits::engine::TraitEngine>::select_all_or_error
  19:     0x78f1356a37be - <rustc_hir_typeck[fa6a34a4df64972e]::inherited::InheritedBuilder>::enter::<rustc_hir_typeck[fa6a34a4df64972e]::typeck_with_fallback<rustc_hir_typeck[fa6a34a4df64972e]::typeck::{closure#0}>::{closure#0}::{closure#1}, &rustc_middle[2300a5795c47275a]::ty::context::TypeckResults>
  20:     0x78f13569590d - rustc_hir_typeck[fa6a34a4df64972e]::typeck
  21:     0x78f13569f433 - <rustc_query_system[1f6ede8186171781]::dep_graph::graph::DepGraph<rustc_middle[2300a5795c47275a]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[2300a5795c47275a]::ty::context::TyCtxt, rustc_span[2e77502f23847349]::def_id::LocalDefId, &rustc_middle[2300a5795c47275a]::ty::context::TypeckResults>
  22:     0x78f1356940d4 - rustc_query_system[1f6ede8186171781]::query::plumbing::try_execute_query::<rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt, rustc_query_system[1f6ede8186171781]::query::caches::DefaultCache<rustc_span[2e77502f23847349]::def_id::LocalDefId, &rustc_middle[2300a5795c47275a]::ty::context::TypeckResults>>
  23:     0x78f136734878 - rustc_data_structures[7663b3d9993f23bc]::sync::par_for_each_in::<&[rustc_span[2e77502f23847349]::def_id::LocalDefId], <rustc_middle[2300a5795c47275a]::hir::map::Map>::par_body_owners<rustc_hir_typeck[fa6a34a4df64972e]::typeck_item_bodies::{closure#0}>::{closure#0}>
  24:     0x78f136734553 - rustc_hir_typeck[fa6a34a4df64972e]::typeck_item_bodies
  25:     0x78f13662cc89 - <rustc_query_system[1f6ede8186171781]::dep_graph::graph::DepGraph<rustc_middle[2300a5795c47275a]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[2300a5795c47275a]::ty::context::TyCtxt, (), ()>
  26:     0x78f13662bc2d - rustc_query_system[1f6ede8186171781]::query::plumbing::try_execute_query::<rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt, rustc_query_system[1f6ede8186171781]::query::caches::DefaultCache<(), ()>>
  27:     0x78f13662b5b7 - rustc_query_system[1f6ede8186171781]::query::plumbing::get_query::<rustc_query_impl[b28d4a501f55e093]::queries::typeck_item_bodies, rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt>
  28:     0x78f1353a776a - <rustc_session[6a0929c18a48d200]::session::Session>::time::<(), rustc_hir_analysis[47fee765dc455125]::check_crate::{closure#7}>
  29:     0x78f1353a6ebb - rustc_hir_analysis[47fee765dc455125]::check_crate
  30:     0x78f1353a6aeb - rustc_interface[2d69c3ee45228f8a]::passes::analysis
  31:     0x78f13678c62e - <rustc_query_system[1f6ede8186171781]::dep_graph::graph::DepGraph<rustc_middle[2300a5795c47275a]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[2300a5795c47275a]::ty::context::TyCtxt, (), core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  32:     0x78f13678b9a4 - rustc_query_system[1f6ede8186171781]::query::plumbing::try_execute_query::<rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt, rustc_query_system[1f6ede8186171781]::query::caches::DefaultCache<(), core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>>
  33:     0x78f13678b427 - rustc_query_system[1f6ede8186171781]::query::plumbing::get_query::<rustc_query_impl[b28d4a501f55e093]::queries::analysis, rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt>
  34:     0x78f13621c2be - <rustc_interface[2d69c3ee45228f8a]::passes::QueryContext>::enter::<rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  35:     0x78f13621938f - <rustc_interface[2d69c3ee45228f8a]::interface::Compiler>::enter::<rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}::{closure#2}, core[7d0df67402c3c815]::result::Result<core[7d0df67402c3c815]::option::Option<rustc_interface[2d69c3ee45228f8a]::queries::Linker>, rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  36:     0x78f1362143c2 - rustc_span[2e77502f23847349]::with_source_map::<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  37:     0x78f136213e9c - <scoped_tls[5e9cb458eb9b4943]::ScopedKey<rustc_span[2e77502f23847349]::SessionGlobals>>::set::<rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  38:     0x78f136213488 - std[15847fe8052079fc]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[2d69c3ee45228f8a]::util::run_in_thread_pool_with_globals<rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  39:     0x78f1362131ac - <<std[15847fe8052079fc]::thread::Builder>::spawn_unchecked_<rustc_interface[2d69c3ee45228f8a]::util::run_in_thread_pool_with_globals<rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>::{closure#1} as core[7d0df67402c3c815]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  40:     0x78f137cb3953 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9a068bdd0d9f070e
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/alloc/src/boxed.rs:2000:9
  41:     0x78f137cb3953 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h86d7b043c0b02a10
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/alloc/src/boxed.rs:2000:9
  42:     0x78f137cb3953 - std::sys::unix::thread::Thread::new::thread_start::hfaaa856b3ec2dce6
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys/unix/thread.rs:108:17
  43:     0x78f1380b6609 - start_thread
                               at /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8
  44:     0x78f133b98133 - clone
                               at /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
  45:                0x0 - <unknown>
thread '<unnamed>' panicked at 'forcing query with already existing `DepNode`
- query-key: Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, constness: NotConst }, value: Binder(TraitPredicate(<for<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> {std::future::ResumeTy, &'a rocket::Request<'b>, &'c rocket::Request<'d>, std::pin::Pin<std::boxed::Box<(dyn futures::Future<Output = rocket::outcome::Outcome<api::admin::AdminToken, (rocket::http::Status, &'e str), ()>> + std::marker::Send + 'f)>>, std::pin::Pin<std::boxed::Box<(dyn futures::Future<Output = rocket::outcome::Outcome<api::admin::AdminToken, (rocket::http::Status, &'g str), ()>> + std::marker::Send + 'h)>>, ()} as std::marker::Send>, polarity:Positive), []) } }
- dep-node: evaluate_obligation(37e3670e4bc24600-d0145d064d70f03f)', /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/compiler/rustc_query_system/src/dep_graph/graph.rs:316:9
stack backtrace:
   0:     0x78f133d663e0 - std::backtrace_rs::backtrace::libunwind::trace::h475e6d14c20ac628
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x78f133d663e0 - std::backtrace_rs::backtrace::trace_unsynchronized::h782386969d170809
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x78f133d663e0 - std::sys_common::backtrace::_print_fmt::h2cff96f1339c9fb3
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x78f133d663e0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h65381e912452bd50
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x78f133dc84fe - core::fmt::write::hddf5212808edda8e
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/core/src/fmt/mod.rs:1209:17
   5:     0x78f133d56555 - std::io::Write::write_fmt::h86ff774c1fbcc56f
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/io/mod.rs:1682:15
   6:     0x78f133d661a5 - std::sys_common::backtrace::_print::hac5746116d4b1148
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x78f133d661a5 - std::sys_common::backtrace::print::h989584698b4383b5
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x78f133d68f7f - std::panicking::default_hook::{{closure}}::hdf7100a7f19aaac7
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:267:22
   9:     0x78f133d68cba - std::panicking::default_hook::hd54c9e09261f65ab
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:286:9
  10:     0x78f133d6978c - std::panicking::rust_panic_with_hook::h6cb13ee30fd78212
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:688:13
  11:     0x78f133d69527 - std::panicking::begin_panic_handler::{{closure}}::h81e7b2a35760b48f
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:579:13
  12:     0x78f133d6688c - std::sys_common::backtrace::__rust_end_short_backtrace::h74bbf3f6d71875f1
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys_common/backtrace.rs:137:18
  13:     0x78f133d69242 - rust_begin_unwind
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/panicking.rs:575:5
  14:     0x78f133dc4ee3 - core::panicking::panic_fmt::h89bd6f1292ecd482
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/core/src/panicking.rs:65:14
  15:     0x78f1355110fd - rustc_query_system[1f6ede8186171781]::query::plumbing::get_query::<rustc_query_impl[b28d4a501f55e093]::queries::evaluate_obligation, rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt>
  16:     0x78f135200a41 - <rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::FulfillProcessor as rustc_data_structures[7663b3d9993f23bc]::obligation_forest::ObligationProcessor>::process_obligation
  17:     0x78f1351fcd0c - <rustc_data_structures[7663b3d9993f23bc]::obligation_forest::ObligationForest<rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::FulfillProcessor>
  18:     0x78f13570f9bf - <rustc_trait_selection[25b51cfe2be0bca7]::traits::fulfill::FulfillmentContext as rustc_infer[3a9b606107d045c1]::traits::engine::TraitEngine>::select_all_or_error
  19:     0x78f1356a37be - <rustc_hir_typeck[fa6a34a4df64972e]::inherited::InheritedBuilder>::enter::<rustc_hir_typeck[fa6a34a4df64972e]::typeck_with_fallback<rustc_hir_typeck[fa6a34a4df64972e]::typeck::{closure#0}>::{closure#0}::{closure#1}, &rustc_middle[2300a5795c47275a]::ty::context::TypeckResults>
  20:     0x78f13569590d - rustc_hir_typeck[fa6a34a4df64972e]::typeck
  21:     0x78f13569f433 - <rustc_query_system[1f6ede8186171781]::dep_graph::graph::DepGraph<rustc_middle[2300a5795c47275a]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[2300a5795c47275a]::ty::context::TyCtxt, rustc_span[2e77502f23847349]::def_id::LocalDefId, &rustc_middle[2300a5795c47275a]::ty::context::TypeckResults>
  22:     0x78f1356940d4 - rustc_query_system[1f6ede8186171781]::query::plumbing::try_execute_query::<rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt, rustc_query_system[1f6ede8186171781]::query::caches::DefaultCache<rustc_span[2e77502f23847349]::def_id::LocalDefId, &rustc_middle[2300a5795c47275a]::ty::context::TypeckResults>>
  23:     0x78f136734878 - rustc_data_structures[7663b3d9993f23bc]::sync::par_for_each_in::<&[rustc_span[2e77502f23847349]::def_id::LocalDefId], <rustc_middle[2300a5795c47275a]::hir::map::Map>::par_body_owners<rustc_hir_typeck[fa6a34a4df64972e]::typeck_item_bodies::{closure#0}>::{closure#0}>
  24:     0x78f136734553 - rustc_hir_typeck[fa6a34a4df64972e]::typeck_item_bodies
  25:     0x78f13662cc89 - <rustc_query_system[1f6ede8186171781]::dep_graph::graph::DepGraph<rustc_middle[2300a5795c47275a]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[2300a5795c47275a]::ty::context::TyCtxt, (), ()>
  26:     0x78f13662bc2d - rustc_query_system[1f6ede8186171781]::query::plumbing::try_execute_query::<rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt, rustc_query_system[1f6ede8186171781]::query::caches::DefaultCache<(), ()>>
  27:     0x78f13662b5b7 - rustc_query_system[1f6ede8186171781]::query::plumbing::get_query::<rustc_query_impl[b28d4a501f55e093]::queries::typeck_item_bodies, rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt>
  28:     0x78f1353a776a - <rustc_session[6a0929c18a48d200]::session::Session>::time::<(), rustc_hir_analysis[47fee765dc455125]::check_crate::{closure#7}>
  29:     0x78f1353a6ebb - rustc_hir_analysis[47fee765dc455125]::check_crate
  30:     0x78f1353a6aeb - rustc_interface[2d69c3ee45228f8a]::passes::analysis
  31:     0x78f13678c62e - <rustc_query_system[1f6ede8186171781]::dep_graph::graph::DepGraph<rustc_middle[2300a5795c47275a]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[2300a5795c47275a]::ty::context::TyCtxt, (), core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  32:     0x78f13678b9a4 - rustc_query_system[1f6ede8186171781]::query::plumbing::try_execute_query::<rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt, rustc_query_system[1f6ede8186171781]::query::caches::DefaultCache<(), core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>>
  33:     0x78f13678b427 - rustc_query_system[1f6ede8186171781]::query::plumbing::get_query::<rustc_query_impl[b28d4a501f55e093]::queries::analysis, rustc_query_impl[b28d4a501f55e093]::plumbing::QueryCtxt>
  34:     0x78f13621c2be - <rustc_interface[2d69c3ee45228f8a]::passes::QueryContext>::enter::<rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  35:     0x78f13621938f - <rustc_interface[2d69c3ee45228f8a]::interface::Compiler>::enter::<rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}::{closure#2}, core[7d0df67402c3c815]::result::Result<core[7d0df67402c3c815]::option::Option<rustc_interface[2d69c3ee45228f8a]::queries::Linker>, rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  36:     0x78f1362143c2 - rustc_span[2e77502f23847349]::with_source_map::<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  37:     0x78f136213e9c - <scoped_tls[5e9cb458eb9b4943]::ScopedKey<rustc_span[2e77502f23847349]::SessionGlobals>>::set::<rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  38:     0x78f136213488 - std[15847fe8052079fc]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[2d69c3ee45228f8a]::util::run_in_thread_pool_with_globals<rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>
  39:     0x78f1362131ac - <<std[15847fe8052079fc]::thread::Builder>::spawn_unchecked_<rustc_interface[2d69c3ee45228f8a]::util::run_in_thread_pool_with_globals<rustc_interface[2d69c3ee45228f8a]::interface::run_compiler<core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>, rustc_driver[41f9f2ea3541ee7a]::run_compiler::{closure#1}>::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7d0df67402c3c815]::result::Result<(), rustc_errors[2bcb93b13263f24b]::ErrorGuaranteed>>::{closure#1} as core[7d0df67402c3c815]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  40:     0x78f137cb3953 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9a068bdd0d9f070e
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/alloc/src/boxed.rs:2000:9
  41:     0x78f137cb3953 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h86d7b043c0b02a10
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/alloc/src/boxed.rs:2000:9
  42:     0x78f137cb3953 - std::sys::unix::thread::Thread::new::thread_start::hfaaa856b3ec2dce6
                               at /rustc/e75aab045fc476f176a58c408f6b06f0e275c6e1/library/std/src/sys/unix/thread.rs:108:17
  43:     0x78f1380b6609 - start_thread
                               at /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8
  44:     0x78f133b98133 - clone
                               at /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
  45:                0x0 - <unknown>
thread panicked while panicking. aborting.
error: could not compile `vaultwarden`

Caused by:
  process didn't exit successfully: `rustc --crate-name vaultwarden --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="libsqlite3-sys"' --cfg 'feature="sqlite"' -C metadata=da593f8ba541dc41 -C extra-filename=-da593f8ba541dc41 --out-dir /home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps -C incremental=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/incremental -L dependency=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps --extern backtrace=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libbacktrace-1bfb2ad284f42f25.rlib --extern bytes=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libbytes-5e6b89f5bbd0cc67.rlib --extern cached=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libcached-ddcb7620514ac71a.rlib --extern chrono=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libchrono-2cb04540718384fa.rlib --extern chrono_tz=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libchrono_tz-281aca55b4ef3e78.rlib --extern cookie=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libcookie-01c321856dd2802b.rlib --extern cookie_store=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libcookie_store-8ed583008194f92a.rlib --extern ctrlc=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libctrlc-18d167cc16a84480.rlib --extern dashmap=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libdashmap-546f7f4099cc6ae8.rlib --extern data_encoding=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libdata_encoding-3c374c1dd97708e3.rlib --extern data_url=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libdata_url-715e6d99d9e27278.rlib --extern diesel=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libdiesel-535f998f14a042ac.rlib --extern diesel_migrations=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libdiesel_migrations-acc0c3813b83af74.rlib --extern dotenvy=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libdotenvy-874c666fc4362883.rlib --extern email_address=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libemail_address-5f67fe8016b00aaf.rlib --extern fern=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libfern-003eda43dd226f6d.rlib --extern futures=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libfutures-a78128c215177a64.rlib --extern governor=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libgovernor-fc005c7ff5204646.rlib --extern handlebars=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libhandlebars-28ba9ae22f6fdf1b.rlib --extern html5gum=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libhtml5gum-82df064a2d012eb3.rlib --extern job_scheduler_ng=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libjob_scheduler_ng-ec5fe626852f2bdc.rlib --extern jsonwebtoken=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libjsonwebtoken-8f2a6a1189f94e8a.rlib --extern lettre=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/liblettre-3a454e9b01ae0e56.rlib --extern libsqlite3_sys=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/liblibsqlite3_sys-b89429ad83b83b9a.rlib --extern log=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/liblog-2aea261907451eb5.rlib --extern num_derive=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libnum_derive-895fde4415b0e13e.so --extern num_traits=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libnum_traits-3f0549f1f4c73647.rlib --extern once_cell=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libonce_cell-70e1affe12711084.rlib --extern openssl=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libopenssl-06e7217da27c1506.rlib --extern paste=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libpaste-46f3bd3473781b46.so --extern percent_encoding=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libpercent_encoding-6f3e3411afe6defd.rlib --extern pico_args=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libpico_args-2a0da44bc2f40e00.rlib --extern rand=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/librand-c52ed873f5b2e6a8.rlib --extern regex=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libregex-8745b8b8bdbcc787.rlib --extern reqwest=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libreqwest-521dacdfb5614198.rlib --extern ring=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libring-5b49029b094f8dd9.rlib --extern rmpv=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/librmpv-51dd080f83985063.rlib --extern rocket=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/librocket-23a178b81ff8bfef.rlib --extern semver=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libsemver-af27ef5d72c66541.rlib --extern serde=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libserde-68bad29288c89745.rlib --extern serde_json=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libserde_json-e3d9424a5ae4367b.rlib --extern syslog=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libsyslog-281c5277aed9bcad.rlib --extern time=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libtime-624a968e820d7b07.rlib --extern tokio=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libtokio-cd8e85d016d68186.rlib --extern tokio_tungstenite=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libtokio_tungstenite-acebcb2d89166fcc.rlib --extern totp_lite=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libtotp_lite-3a0618318175b53c.rlib --extern tracing=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libtracing-742d7b21166d55bb.rlib --extern url=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/liburl-bebf37900bf8b0b2.rlib --extern uuid=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libuuid-b49bc0a991db8e22.rlib --extern webauthn_rs=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libwebauthn_rs-1b88ffd71152afa9.rlib --extern yubico=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/deps/libyubico-2bdf3e8266029fc7.rlib -L native=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/build/libsqlite3-sys-abe617a71f852dd7/out -L native=/home/mathijs/rust/bitwarden/bitwarden_rs/target/debug/build/ring-99ab37d02e0fab5a/out --cfg sqlite` (signal: 6, SIGABRT: process abort signal)

@BlackDex BlackDex added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 10, 2022
@jruderman
Copy link
Contributor

@rustbot label +regression-from-stable-to-nightly

@rustbot rustbot added regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. I-prioritize Issue: Indicates that prioritization has been requested for this issue. labels Nov 11, 2022
@Xuanwo
Copy link
Contributor

Xuanwo commented Nov 11, 2022

duplicated with #104238

@apiraino
Copy link
Contributor

Any chance to produce an MCVE? The PR fixing this issue seems it would benefit from that.

@rustbot label E-needs-mcve

@rustbot rustbot added the E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example label Nov 11, 2022
@apiraino
Copy link
Contributor

WG-prioritization assigning priority (Zulip discussion).

@rustbot label -I-prioritize +P-high

@rustbot rustbot added P-high High priority and removed I-prioritize Issue: Indicates that prioritization has been requested for this issue. labels Nov 11, 2022
@BlackDex
Copy link
Author

Any chance to produce an MCVE? The PR fixing this issue seems it would benefit from that.

@rustbot label E-needs-mcve

I tried this create a MCVE, but it seems i'm not able to directly pinpoint the specific issue at hand with a smaller setup.

@bors bors closed this as completed in 3be81dd Nov 13, 2022
RalfJung pushed a commit to RalfJung/miri that referenced this issue Nov 15, 2022
Hash spans when interning types

Ignoring hash for spans creates an inconsistency between the `Hash` impl for `WithStableHash`, which takes them into account, and the `HashStable` impl which does not.

cc `@compiler-errors`

Fixes rust-lang/rust#104271
Fixes rust-lang/rust#104255
Fixes rust-lang/rust#104238
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this issue Apr 20, 2024
Hash spans when interning types

Ignoring hash for spans creates an inconsistency between the `Hash` impl for `WithStableHash`, which takes them into account, and the `HashStable` impl which does not.

cc `@compiler-errors`

Fixes rust-lang/rust#104271
Fixes rust-lang/rust#104255
Fixes rust-lang/rust#104238
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this issue Apr 27, 2024
Hash spans when interning types

Ignoring hash for spans creates an inconsistency between the `Hash` impl for `WithStableHash`, which takes them into account, and the `HashStable` impl which does not.

cc `@compiler-errors`

Fixes rust-lang/rust#104271
Fixes rust-lang/rust#104255
Fixes rust-lang/rust#104238
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-high High priority regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
5 participants