-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
reporting as requested.
➜ i18n git:(develop) rustup show
Default host: x86_64-apple-darwin
rustup home: /Users/coliny/.rustup
installed toolchains
--------------------
stable-x86_64-apple-darwin (default)
nightly-2022-06-14-x86_64-apple-darwin
nightly-x86_64-apple-darwin
1.60.0-x86_64-apple-darwin
installed targets for active toolchain
--------------------------------------
wasm32-unknown-unknown
x86_64-apple-darwin
x86_64-pc-windows-gnu
active toolchain
----------------
stable-x86_64-apple-darwin (default)
rustc 1.64.0 (a55dd71d5 2022-09-19)
RUST_BACKTRACE=1
Compiling i18n v0.1.0 (/Users/coliny/Dev/com.qfi.health/src/rust/i18n)
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:85
stack backtrace:
0: _rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: <rustc_metadata::creader::CStore as rustc_session::cstore::CrateStore>::def_path_hash_to_def_id
4: <rustc_middle::ty::context::TyCtxt>::def_path_hash_to_def_id
5: <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
6: rustc_query_impl::query_callbacks::type_of::force_from_dep_node
7: <rustc_middle::ty::context::TyCtxt as rustc_query_system::dep_graph::DepContext>::try_force_from_dep_node
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::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
11: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
12: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
13: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
14: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
15: 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>>
16: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::evaluate_obligation, rustc_query_impl::plumbing::QueryCtxt>
17: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::evaluate_obligation
18: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
19: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
20: <rustc_trait_selection::traits::fulfill::FulfillProcessor>::process_trait_obligation
21: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
22: <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>>
23: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
24: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_all_or_error
25: <rustc_infer::infer::InferCtxtBuilder>::enter::<core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>, rustc_trait_selection::traits::codegen::codegen_fulfill_obligation::{closure#0}>
26: rustc_trait_selection::traits::codegen::codegen_fulfill_obligation
27: <rustc_middle::dep_graph::dep_node::DepKind as rustc_query_system::dep_graph::DepKind>::with_deps::<<rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle::ty::context::TyCtxt, (rustc_middle::ty::ParamEnv, rustc_middle::ty::sty::Binder<rustc_middle::ty::sty::TraitRef>), core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>>::{closure#0}, core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>>
28: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, (rustc_middle::ty::ParamEnv, rustc_middle::ty::sty::Binder<rustc_middle::ty::sty::TraitRef>), core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>>
29: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::codegen_fulfill_obligation, rustc_query_impl::plumbing::QueryCtxt>
30: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::codegen_fulfill_obligation
31: rustc_ty_utils::instance::inner_resolve_instance
32: rustc_ty_utils::instance::resolve_instance
33: <rustc_middle::dep_graph::dep_node::DepKind as rustc_query_system::dep_graph::DepKind>::with_deps::<<rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle::ty::context::TyCtxt, rustc_middle::ty::ParamEnvAnd<(rustc_span::def_id::DefId, &rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>)>, core::result::Result<core::option::Option<rustc_middle::ty::instance::Instance>, rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<core::option::Option<rustc_middle::ty::instance::Instance>, rustc_errors::ErrorGuaranteed>>
34: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, rustc_middle::ty::ParamEnvAnd<(rustc_span::def_id::DefId, &rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>)>, core::result::Result<core::option::Option<rustc_middle::ty::instance::Instance>, rustc_errors::ErrorGuaranteed>>
35: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::resolve_instance, rustc_query_impl::plumbing::QueryCtxt>
36: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::resolve_instance
37: <rustc_middle::ty::instance::Instance>::resolve_opt_const_arg
38: <rustc_middle::ty::instance::Instance>::resolve
39: <rustc_monomorphize::collector::MirNeighborCollector as rustc_middle::mir::visit::Visitor>::visit_terminator
40: rustc_monomorphize::collector::collect_neighbours
41: rustc_monomorphize::collector::collect_items_rec
42: rustc_monomorphize::collector::collect_items_rec
43: rustc_monomorphize::collector::collect_items_rec
44: rustc_monomorphize::collector::collect_items_rec
45: rustc_monomorphize::collector::collect_items_rec
46: rustc_monomorphize::collector::collect_items_rec
47: rustc_monomorphize::collector::collect_items_rec
48: rustc_monomorphize::collector::collect_items_rec
49: rustc_monomorphize::collector::collect_items_rec
50: rustc_monomorphize::collector::collect_items_rec
51: rustc_monomorphize::collector::collect_items_rec
52: rustc_monomorphize::collector::collect_items_rec
53: rustc_monomorphize::collector::collect_items_rec
54: rustc_monomorphize::collector::collect_items_rec
55: rustc_monomorphize::collector::collect_items_rec
56: rustc_monomorphize::collector::collect_items_rec
57: rustc_monomorphize::collector::collect_items_rec
58: rustc_monomorphize::collector::collect_items_rec
59: rustc_monomorphize::collector::collect_items_rec
60: <core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::par_for_each_in<alloc::vec::Vec<rustc_middle::mir::mono::MonoItem>, rustc_monomorphize::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
61: std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::par_for_each_in<alloc::vec::Vec<rustc_middle::mir::mono::MonoItem>, rustc_monomorphize::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}>>
62: rustc_data_structures::sync::par_for_each_in::<alloc::vec::Vec<rustc_middle::mir::mono::MonoItem>, rustc_monomorphize::collector::collect_crate_mono_items::{closure#1}::{closure#0}>
63: <rustc_session::session::Session>::time::<(), rustc_monomorphize::collector::collect_crate_mono_items::{closure#1}>
64: rustc_monomorphize::collector::collect_crate_mono_items
65: rustc_monomorphize::partitioning::collect_and_partition_mono_items
66: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, (), (&std::collections::hash::set::HashSet<rustc_span::def_id::DefId, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, &[rustc_middle::mir::mono::CodegenUnit])>
67: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), (&std::collections::hash::set::HashSet<rustc_span::def_id::DefId, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, &[rustc_middle::mir::mono::CodegenUnit])>>
68: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::collect_and_partition_mono_items, rustc_query_impl::plumbing::QueryCtxt>
69: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::collect_and_partition_mono_items
70: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate
71: <rustc_session::session::Session>::time::<alloc::boxed::Box<dyn core::any::Any>, rustc_interface::passes::start_codegen::{closure#0}>
72: <rustc_interface::passes::QueryContext>::enter::<<rustc_interface::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core::result::Result<alloc::boxed::Box<dyn core::any::Any>, rustc_errors::ErrorGuaranteed>>
73: <rustc_interface::queries::Queries>::ongoing_codegen
74: <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>>
75: 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}>
76: <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
note: 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.64.0 (a55dd71d5 2022-09-19) running on x86_64-apple-darwin
note: compiler flags: --crate-type bin -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `warp::filter::and_then::AndThenFuture<warp::filter::and::And<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::post::{closure#0}]>::{closure#0}]>, warp::filter::and::And<warp::filter::and::And<warp::filters::any::Any, warp::filters::path::Exact<warp::filters::path::internal::Opaque<web::start::{closure#0}::__StaticPath>>>, warp::filter::FilterFn<[closure@warp::filters::path::end::{closure#0}]>>>, warp::filters::multipart::FormOptions>, fn(warp::filters::multipart::FormData) -> impl core::future::future::Future<Output = core::result::Result<impl warp::reply::Reply, warp::reject::Rejection>> {web::handle_upload}>: core::marker::Send`
#1 [codegen_fulfill_obligation] checking if `core::future::into_future::IntoFuture` fulfills its obligations
#2 [resolve_instance] resolving instance `<tracing_futures::Instrumented<futures_util::future::future::Map<hyper::server::Server<hyper::server::tcp::AddrIncoming, hyper::service::make::MakeServiceFn<[closure@warp::server::Server<warp::filter::or::Or<warp::filter::or::Or<warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:23:14: 23:21]>, warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:25:76: 25:78]>>, warp::filter::and_then::AndThen<warp::filter::and::And<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::post::{closure#0}]>::{closure#0}]>, warp::filter::and::And<warp::filter::and::And<warp::filters::any::Any, warp::filters::path::Exact<warp::filters::path::internal::Opaque<web::start::{closure#0}::__StaticPath>>>, warp::filter::FilterFn<[closure@warp::filters::path::end::{closure#0}]>>>, warp::filters::multipart::FormOptions>, fn(warp::filters::multipart::FormData) -> impl core::future::future::Future<Output = core::result::Result<impl warp::reply::Reply, warp::reject::Rejection>> {web::handle_upload}>>>::bind_ephemeral<std::net::addr::SocketAddr>::{closure#1}::{closure#0}]>>, [closure@warp::server::Server<warp::filter::or::Or<warp::filter::or::Or<warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:23:14: 23:21]>, warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:25:76: 25:78]>>, warp::filter::and_then::AndThen<warp::filter::and::And<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::post::{closure#0}]>::{closure#0}]>, warp::filter::and::And<warp::filter::and::And<warp::filters::any::Any, warp::filters::path::Exact<warp::filters::path::internal::Opaque<web::start::{closure#0}::__StaticPath>>>, warp::filter::FilterFn<[closure@warp::filters::path::end::{closure#0}]>>>, warp::filters::multipart::FormOptions>, fn(warp::filters::multipart::FormData) -> impl core::future::future::Future<Output = core::result::Result<impl warp::reply::Reply, warp::reject::Rejection>> {web::handle_upload}>>>::bind_ephemeral<std::net::addr::SocketAddr>::{closure#0}]>> as core::future::into_future::IntoFuture>::into_future`
#3 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
RUST_BACKTRACE=full
:
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:85
stack backtrace:
0: 0x109aa45c4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7d80e14dd19335c9
1: 0x109afc68b - core::fmt::write::h1709d0255080e28a
2: 0x109a96fe8 - std::io::Write::write_fmt::hecc56b5639d319e7
3: 0x109aa789d - std::panicking::default_hook::{{closure}}::had4d1cd22a173020
4: 0x109aa75ee - std::panicking::default_hook::h42aa124509888735
5: 0x11221c73a - rustc_driver[b232a614d5c482d6]::DEFAULT_HOOK::{closure#0}::{closure#0}
6: 0x109aa7f0b - std::panicking::rust_panic_with_hook::h2b231e816574a23a
7: 0x109aa7d4a - std::panicking::begin_panic_handler::{{closure}}::h9da8d88b7a4c9d5e
8: 0x109aa4a47 - std::sys_common::backtrace::__rust_end_short_backtrace::h10dbf1377dfaf877
9: 0x109aa7a5a - _rust_begin_unwind
10: 0x109b27943 - core::panicking::panic_fmt::hde1544b10dc8b4d3
11: 0x109b27827 - core::panicking::panic::h73607a325a777129
12: 0x115f717d9 - <rustc_metadata[6e15ed64399eb477]::creader::CStore as rustc_session[3f62dfdbb5354e46]::cstore::CrateStore>::def_path_hash_to_def_id
13: 0x11675c8fe - <rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt>::def_path_hash_to_def_id
14: 0x1166ce09e - <rustc_query_system[923812efe1d06df6]::dep_graph::dep_node::DepNode<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind> as rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepNodeExt>::extract_def_id
15: 0x115c09f7a - rustc_query_impl[1fb0f992e528a50]::query_callbacks::type_of::force_from_dep_node
16: 0x11673ef9c - <rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt as rustc_query_system[923812efe1d06df6]::dep_graph::DepContext>::try_force_from_dep_node
17: 0x115ad77db - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
18: 0x115ad7798 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
19: 0x115ad7798 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
20: 0x115ad7798 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
21: 0x115ad7798 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
22: 0x115ad7798 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
23: 0x115ad7798 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
24: 0x1158ebac7 - rustc_query_system[923812efe1d06df6]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<rustc_middle[77b05d97adc105c3]::ty::Predicate>>, core[ccfd6f2964525339]::result::Result<rustc_middle[77b05d97adc105c3]::traits::select::EvaluationResult, rustc_middle[77b05d97adc105c3]::traits::select::OverflowError>>
25: 0x115939334 - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::evaluate_obligation, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
26: 0x115c07339 - <rustc_query_impl[1fb0f992e528a50]::Queries as rustc_middle[77b05d97adc105c3]::ty::query::QueryEngine>::evaluate_obligation
27: 0x116453546 - <rustc_infer[daf5aaa74dbe2ea7]::infer::InferCtxt as rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
28: 0x116453653 - <rustc_infer[daf5aaa74dbe2ea7]::infer::InferCtxt as rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
29: 0x1164e456d - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::fulfill::FulfillProcessor>::process_trait_obligation
30: 0x1164e3f62 - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::fulfill::FulfillProcessor as rustc_data_structures[9d9aca487cd3f5bb]::obligation_forest::ObligationProcessor>::process_obligation
31: 0x116560602 - <rustc_data_structures[9d9aca487cd3f5bb]::obligation_forest::ObligationForest<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::fulfill::FulfillProcessor, rustc_data_structures[9d9aca487cd3f5bb]::obligation_forest::Outcome<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::fulfill::PendingPredicateObligation, rustc_infer[daf5aaa74dbe2ea7]::traits::FulfillmentErrorCode>>
32: 0x1164dcfad - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::fulfill::FulfillmentContext as rustc_infer[daf5aaa74dbe2ea7]::traits::engine::TraitEngine>::select_where_possible
33: 0x1164dce80 - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::fulfill::FulfillmentContext as rustc_infer[daf5aaa74dbe2ea7]::traits::engine::TraitEngine>::select_all_or_error
34: 0x11641d1f5 - <rustc_infer[daf5aaa74dbe2ea7]::infer::InferCtxtBuilder>::enter::<core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::traits::ImplSource<()>, rustc_middle[77b05d97adc105c3]::traits::CodegenObligationError>, rustc_trait_selection[5b0b3e5dfe8e4329]::traits::codegen::codegen_fulfill_obligation::{closure#0}>
35: 0x116527bf1 - rustc_trait_selection[5b0b3e5dfe8e4329]::traits::codegen::codegen_fulfill_obligation
36: 0x1159a58d4 - <rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind as rustc_query_system[923812efe1d06df6]::dep_graph::DepKind>::with_deps::<<rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, (rustc_middle[77b05d97adc105c3]::ty::ParamEnv, rustc_middle[77b05d97adc105c3]::ty::sty::Binder<rustc_middle[77b05d97adc105c3]::ty::sty::TraitRef>), core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::traits::ImplSource<()>, rustc_middle[77b05d97adc105c3]::traits::CodegenObligationError>>::{closure#0}, core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::traits::ImplSource<()>, rustc_middle[77b05d97adc105c3]::traits::CodegenObligationError>>
37: 0x115b18742 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, (rustc_middle[77b05d97adc105c3]::ty::ParamEnv, rustc_middle[77b05d97adc105c3]::ty::sty::Binder<rustc_middle[77b05d97adc105c3]::ty::sty::TraitRef>), core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::traits::ImplSource<()>, rustc_middle[77b05d97adc105c3]::traits::CodegenObligationError>>
38: 0x115950327 - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::codegen_fulfill_obligation, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
39: 0x115c06270 - <rustc_query_impl[1fb0f992e528a50]::Queries as rustc_middle[77b05d97adc105c3]::ty::query::QueryEngine>::codegen_fulfill_obligation
40: 0x114f87689 - rustc_ty_utils[fa5a1d9038bce425]::instance::inner_resolve_instance
41: 0x114f86125 - rustc_ty_utils[fa5a1d9038bce425]::instance::resolve_instance
42: 0x1159a4138 - <rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind as rustc_query_system[923812efe1d06df6]::dep_graph::DepKind>::with_deps::<<rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<(rustc_span[dadb10719d06531]::def_id::DefId, &rustc_middle[77b05d97adc105c3]::ty::list::List<rustc_middle[77b05d97adc105c3]::ty::subst::GenericArg>)>, core[ccfd6f2964525339]::result::Result<core[ccfd6f2964525339]::option::Option<rustc_middle[77b05d97adc105c3]::ty::instance::Instance>, rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>::{closure#0}, core[ccfd6f2964525339]::result::Result<core[ccfd6f2964525339]::option::Option<rustc_middle[77b05d97adc105c3]::ty::instance::Instance>, rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
43: 0x115addb80 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<(rustc_span[dadb10719d06531]::def_id::DefId, &rustc_middle[77b05d97adc105c3]::ty::list::List<rustc_middle[77b05d97adc105c3]::ty::subst::GenericArg>)>, core[ccfd6f2964525339]::result::Result<core[ccfd6f2964525339]::option::Option<rustc_middle[77b05d97adc105c3]::ty::instance::Instance>, rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
44: 0x115931c92 - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::resolve_instance, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
45: 0x115c07834 - <rustc_query_impl[1fb0f992e528a50]::Queries as rustc_middle[77b05d97adc105c3]::ty::query::QueryEngine>::resolve_instance
46: 0x116855d10 - <rustc_middle[77b05d97adc105c3]::ty::instance::Instance>::resolve_opt_const_arg
47: 0x1168554d6 - <rustc_middle[77b05d97adc105c3]::ty::instance::Instance>::resolve
48: 0x1148970e3 - <rustc_monomorphize[a406f6b04befd1b4]::collector::MirNeighborCollector as rustc_middle[77b05d97adc105c3]::mir::visit::Visitor>::visit_terminator
49: 0x11489f0c5 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_neighbours
50: 0x11489c30d - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
51: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
52: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
53: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
54: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
55: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
56: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
57: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
58: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
59: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
60: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
61: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
62: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
63: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
64: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
65: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
66: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
67: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
68: 0x11489c9a6 - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_items_rec
69: 0x1148ad534 - <core[ccfd6f2964525339]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[9d9aca487cd3f5bb]::sync::par_for_each_in<alloc[a79849253dbb7549]::vec::Vec<rustc_middle[77b05d97adc105c3]::mir::mono::MonoItem>, rustc_monomorphize[a406f6b04befd1b4]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}> as core[ccfd6f2964525339]::ops::function::FnOnce<()>>::call_once
70: 0x1148c4150 - std[2c17b0a3fe477be8]::panicking::try::<(), core[ccfd6f2964525339]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[9d9aca487cd3f5bb]::sync::par_for_each_in<alloc[a79849253dbb7549]::vec::Vec<rustc_middle[77b05d97adc105c3]::mir::mono::MonoItem>, rustc_monomorphize[a406f6b04befd1b4]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}>>
71: 0x1148c657f - rustc_data_structures[9d9aca487cd3f5bb]::sync::par_for_each_in::<alloc[a79849253dbb7549]::vec::Vec<rustc_middle[77b05d97adc105c3]::mir::mono::MonoItem>, rustc_monomorphize[a406f6b04befd1b4]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>
72: 0x1148b28aa - <rustc_session[3f62dfdbb5354e46]::session::Session>::time::<(), rustc_monomorphize[a406f6b04befd1b4]::collector::collect_crate_mono_items::{closure#1}>
73: 0x11489976a - rustc_monomorphize[a406f6b04befd1b4]::collector::collect_crate_mono_items
74: 0x1148a4022 - rustc_monomorphize[a406f6b04befd1b4]::partitioning::collect_and_partition_mono_items
75: 0x115b2d4d8 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, (), (&std[2c17b0a3fe477be8]::collections::hash::set::HashSet<rustc_span[dadb10719d06531]::def_id::DefId, core[ccfd6f2964525339]::hash::BuildHasherDefault<rustc_hash[e8dfd47c01bdec5e]::FxHasher>>, &[rustc_middle[77b05d97adc105c3]::mir::mono::CodegenUnit])>
76: 0x1158c260c - rustc_query_system[923812efe1d06df6]::query::plumbing::try_execute_query::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_query_system[923812efe1d06df6]::query::caches::DefaultCache<(), (&std[2c17b0a3fe477be8]::collections::hash::set::HashSet<rustc_span[dadb10719d06531]::def_id::DefId, core[ccfd6f2964525339]::hash::BuildHasherDefault<rustc_hash[e8dfd47c01bdec5e]::FxHasher>>, &[rustc_middle[77b05d97adc105c3]::mir::mono::CodegenUnit])>>
77: 0x115956d1f - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::collect_and_partition_mono_items, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
78: 0x115c07017 - <rustc_query_impl[1fb0f992e528a50]::Queries as rustc_middle[77b05d97adc105c3]::ty::query::QueryEngine>::collect_and_partition_mono_items
79: 0x1123f2adc - <rustc_codegen_llvm[72a00bab46809736]::LlvmCodegenBackend as rustc_codegen_ssa[a7c95725fcbf9efd]::traits::backend::CodegenBackend>::codegen_crate
80: 0x1122c5dc2 - <rustc_session[3f62dfdbb5354e46]::session::Session>::time::<alloc[a79849253dbb7549]::boxed::Box<dyn core[ccfd6f2964525339]::any::Any>, rustc_interface[f8b8cf4f770498c1]::passes::start_codegen::{closure#0}>
81: 0x1122c3c7c - <rustc_interface[f8b8cf4f770498c1]::passes::QueryContext>::enter::<<rustc_interface[f8b8cf4f770498c1]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[ccfd6f2964525339]::result::Result<alloc[a79849253dbb7549]::boxed::Box<dyn core[ccfd6f2964525339]::any::Any>, rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
82: 0x11233e6f9 - <rustc_interface[f8b8cf4f770498c1]::queries::Queries>::ongoing_codegen
83: 0x1121ad424 - <rustc_interface[f8b8cf4f770498c1]::interface::Compiler>::enter::<rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}::{closure#2}, core[ccfd6f2964525339]::result::Result<core[ccfd6f2964525339]::option::Option<rustc_interface[f8b8cf4f770498c1]::queries::Linker>, rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
84: 0x112202398 - rustc_span[dadb10719d06531]::with_source_map::<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_interface[f8b8cf4f770498c1]::interface::create_compiler_and_run<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#1}>
85: 0x1121ae039 - <scoped_tls[48db78d854efead3]::ScopedKey<rustc_span[dadb10719d06531]::SessionGlobals>>::set::<rustc_interface[f8b8cf4f770498c1]::interface::run_compiler<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
86: 0x1121d0b99 - std[2c17b0a3fe477be8]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[f8b8cf4f770498c1]::util::run_in_thread_pool_with_globals<rustc_interface[f8b8cf4f770498c1]::interface::run_compiler<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
87: 0x1121d13c1 - <<std[2c17b0a3fe477be8]::thread::Builder>::spawn_unchecked_<rustc_interface[f8b8cf4f770498c1]::util::run_in_thread_pool_with_globals<rustc_interface[f8b8cf4f770498c1]::interface::run_compiler<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>::{closure#1} as core[ccfd6f2964525339]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
88: 0x109ab1457 - std::sys::unix::thread::Thread::new::thread_start::h76e6c1c658a39a87
89: 0x7ff807362259 - __pthread_start
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: rustc 1.64.0 (a55dd71d5 2022-09-19) running on x86_64-apple-darwin
note: compiler flags: --crate-type bin -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `warp::filter::and_then::AndThenFuture<warp::filter::and::And<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::post::{closure#0}]>::{closure#0}]>, warp::filter::and::And<warp::filter::and::And<warp::filters::any::Any, warp::filters::path::Exact<warp::filters::path::internal::Opaque<web::start::{closure#0}::__StaticPath>>>, warp::filter::FilterFn<[closure@warp::filters::path::end::{closure#0}]>>>, warp::filters::multipart::FormOptions>, fn(warp::filters::multipart::FormData) -> impl core::future::future::Future<Output = core::result::Result<impl warp::reply::Reply, warp::reject::Rejection>> {web::handle_upload}>: core::marker::Send`
#1 [codegen_fulfill_obligation] checking if `core::future::into_future::IntoFuture` fulfills its obligations
#2 [resolve_instance] resolving instance `<tracing_futures::Instrumented<futures_util::future::future::Map<hyper::server::Server<hyper::server::tcp::AddrIncoming, hyper::service::make::MakeServiceFn<[closure@warp::server::Server<warp::filter::or::Or<warp::filter::or::Or<warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:23:14: 23:21]>, warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:25:76: 25:78]>>, warp::filter::and_then::AndThen<warp::filter::and::And<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::post::{closure#0}]>::{closure#0}]>, warp::filter::and::And<warp::filter::and::And<warp::filters::any::Any, warp::filters::path::Exact<warp::filters::path::internal::Opaque<web::start::{closure#0}::__StaticPath>>>, warp::filter::FilterFn<[closure@warp::filters::path::end::{closure#0}]>>>, warp::filters::multipart::FormOptions>, fn(warp::filters::multipart::FormData) -> impl core::future::future::Future<Output = core::result::Result<impl warp::reply::Reply, warp::reject::Rejection>> {web::handle_upload}>>>::bind_ephemeral<std::net::addr::SocketAddr>::{closure#1}::{closure#0}]>>, [closure@warp::server::Server<warp::filter::or::Or<warp::filter::or::Or<warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:23:14: 23:21]>, warp::filter::map::Map<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::get::{closure#0}]>::{closure#0}]>, warp::filters::path::Exact<warp::filters::path::internal::Opaque<&str>>>, [closure@i18n/src/web.rs:25:76: 25:78]>>, warp::filter::and_then::AndThen<warp::filter::and::And<warp::filter::and::And<warp::filter::FilterFn<[closure@warp::filters::method::method_is<[closure@warp::filters::method::post::{closure#0}]>::{closure#0}]>, warp::filter::and::And<warp::filter::and::And<warp::filters::any::Any, warp::filters::path::Exact<warp::filters::path::internal::Opaque<web::start::{closure#0}::__StaticPath>>>, warp::filter::FilterFn<[closure@warp::filters::path::end::{closure#0}]>>>, warp::filters::multipart::FormOptions>, fn(warp::filters::multipart::FormData) -> impl core::future::future::Future<Output = core::result::Result<impl warp::reply::Reply, warp::reject::Rejection>> {web::handle_upload}>>>::bind_ephemeral<std::net::addr::SocketAddr>::{closure#0}]>> as core::future::into_future::IntoFuture>::into_future`
#3 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
Metadata
Metadata
Assignees
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
yatesco commentedon Jan 23, 2023
(note: a
cargo clean
allowed compilation to succeed. I compile this multiple times a day and never run into this particular compilation problem, hence reporting)albertlarsan68 commentedon Jan 23, 2023
From the report that cleaning solved,
@rustbot label +A-incr-comp
sourcefrog commentedon May 21, 2023
I also hit an ICE at the same line:
Cleaning the tree also fixed it for me.
I've saved a tarball of the tree (prior to cleaning) in case that helps, but it is too big to attach here. Let me know if you want it.
poliorcetics commentedon Jun 13, 2023
Also seen in:
Seen when using incremental compilation of rust-analyzer, last compiled yesterday morning (2023-06-12) and today's evening (2023-06-13), going from commit 38c47dfe3 to f8dec25bd.
I had cache previously, so I don't think this is simply one compilation that broke it but I'll have to check if I can reproduce
DropDemBits commentedon Jun 17, 2023
also managed to reproduce from compiling rust-analyzer, and managed to narrow down the range to going from 68bdf609 to a4695788
this also happens on the most recent nightly i downloaded:
Backtrace
to reproduce:
Aedius commentedon Oct 14, 2023
i got the same issue, same row and similar backtrace on Rust beta :
a cargo clean also fix the issue
davepacheco commentedon Oct 16, 2023
I saw this too:
This is reproducible in my current state with
cargo check --all-targets
. I've saved the full output and a ZFS snapshot of the current filesystem, which includes the source and target directories. If any of this is useful, let me know how to make it available. (It's about 80 GiB though.)[-]Compiler error[/-][+]ICE: called `Option::unwrap()` on a `None` value' at def_path_hash_map.rs:23:85[/+][-]ICE: called `Option::unwrap()` on a `None` value' at def_path_hash_map.rs:23:85[/-][+]ICE: called `Option::unwrap()` on a `None` value at def_path_hash_map.rs:23:85[/+]DropDemBits commentedon Mar 11, 2024
Reproduces on the latest nightly (
2024-03-10
).With the following starting code:
And the following change:
Current error & backtrace:
rustc-ice-2024-03-11T22_11_34-11668.txt
DropDemBits commentedon Mar 12, 2024
bisected with cargo-bisect-rustc v0.6.8
searched nightlies: nightly-2021-09-09 through nightly-2022-08-05
regressed nightly: nightly-2021-09-19
regressed commit range:
9dd4ce...aa8f2d
commit list:
#82183 is likely where it regressed since it deals with
DefPathHash
s.EDIT: Thinking about it, that might just be where the issue was exposed since it shouldn't be touching that
DepNode
in the first place.pacak commentedon Jun 10, 2024
I have some code that panics around this area and I think that it is caused by #82183 as well. Comment suggest (2) that situation where
DepNode
refers to something removed is possible and previously it would returnNone
, but after 2b60338 this mapping fails with panic.uv
when doing a rebuild after code change #125367pacak commentedon Jun 10, 2024
compile, rename
C::E
toC::E1
, compile to get the panic.Auto merge of rust-lang#126409 - pacak:incr-uplorry, r=michaelwoerister
Auto merge of #126409 - pacak:incr-uplorry, r=michaelwoerister