Skip to content
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

regression: ICE: Layout::compute: unexpected type _ #134706

Open
cuviper opened this issue Dec 23, 2024 · 3 comments
Open

regression: ICE: Layout::compute: unexpected type _ #134706

cuviper opened this issue Dec 23, 2024 · 3 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone

Comments

@cuviper
Copy link
Member

cuviper commented Dec 23, 2024

Meta

Using rustc 1.84.0-beta.4 in crater #134138.

Error output

[INFO] [stdout] error: internal compiler error: compiler/rustc_ty_utils/src/layout.rs:678:13: Layout::compute: unexpected type `_`
Backtrace

[INFO] [stderr] thread 'rustc' panicked at compiler/rustc_ty_utils/src/layout.rs:678:13:
[INFO] [stderr] Box<dyn Any>
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x71a5ffc9152a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stderr]    1:     0x71a6004248fc - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stderr]    2:     0x71a60134ffd1 - std::io::Write::write_fmt::hc00bff0a88e08857
[INFO] [stderr]    3:     0x71a5ffc91382 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stderr]    4:     0x71a5ffc9385a - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stderr]    5:     0x71a5ffc936c0 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stderr]    6:     0x71a5fed108b5 - std[b9e7ca495922dc28]::panicking::update_hook::<alloc[a74230b4a4ddab6d]::boxed::Box<rustc_driver_impl[a84ad889800babb7]::install_ice_hook::{closure#0}>>::{closure#0}
[INFO] [stderr]    7:     0x71a5ffc93f38 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stderr]    8:     0x71a5fed4ab81 - std[b9e7ca495922dc28]::panicking::begin_panic::<rustc_errors[b985534e12de5b37]::ExplicitBug>::{closure#0}
[INFO] [stderr]    9:     0x71a5fed3db46 - std[b9e7ca495922dc28]::sys::backtrace::__rust_end_short_backtrace::<std[b9e7ca495922dc28]::panicking::begin_panic<rustc_errors[b985534e12de5b37]::ExplicitBug>::{closure#0}, !>
[INFO] [stderr]   10:     0x71a5fed3934d - std[b9e7ca495922dc28]::panicking::begin_panic::<rustc_errors[b985534e12de5b37]::ExplicitBug>
[INFO] [stderr]   11:     0x71a5fed54ab1 - <rustc_errors[b985534e12de5b37]::diagnostic::BugAbort as rustc_errors[b985534e12de5b37]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
[INFO] [stderr]   12:     0x71a5ff3ce383 - rustc_middle[bd74a45dc8a6aeec]::util::bug::opt_span_bug_fmt::<rustc_span[84c8ca3d0b382817]::span_encoding::Span>::{closure#0}
[INFO] [stderr]   13:     0x71a5ff3b58fa - rustc_middle[bd74a45dc8a6aeec]::ty::context::tls::with_opt::<rustc_middle[bd74a45dc8a6aeec]::util::bug::opt_span_bug_fmt<rustc_span[84c8ca3d0b382817]::span_encoding::Span>::{closure#0}, !>::{closure#0}
[INFO] [stderr]   14:     0x71a5ff3b578b - rustc_middle[bd74a45dc8a6aeec]::ty::context::tls::with_context_opt::<rustc_middle[bd74a45dc8a6aeec]::ty::context::tls::with_opt<rustc_middle[bd74a45dc8a6aeec]::util::bug::opt_span_bug_fmt<rustc_span[84c8ca3d0b382817]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
[INFO] [stderr]   15:     0x71a5fd4e9f60 - rustc_middle[bd74a45dc8a6aeec]::util::bug::bug_fmt
[INFO] [stderr]   16:     0x71a6009102ee - rustc_ty_utils[58809fc2b9258169]::layout::layout_of_uncached
[INFO] [stderr]   17:     0x71a6009046fd - rustc_ty_utils[58809fc2b9258169]::layout::layout_of
[INFO] [stderr]   18:     0x71a60090466e - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   19:     0x71a600903765 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::PseudoCanonicalInput<rustc_middle[bd74a45dc8a6aeec]::ty::Ty>, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   20:     0x71a600903372 - rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   21:     0x71a600902657 - <core[d10bf40c8679dc2f]::iter::adapters::GenericShunt<core[d10bf40c8679dc2f]::iter::adapters::by_ref_sized::ByRefSized<core[d10bf40c8679dc2f]::iter::adapters::map::Map<core[d10bf40c8679dc2f]::slice::iter::Iter<rustc_middle[bd74a45dc8a6aeec]::ty::VariantDef>, rustc_ty_utils[58809fc2b9258169]::layout::layout_of_uncached::{closure#13}>>, core[d10bf40c8679dc2f]::result::Result<core[d10bf40c8679dc2f]::convert::Infallible, &rustc_middle[bd74a45dc8a6aeec]::ty::layout::LayoutError>> as core[d10bf40c8679dc2f]::iter::traits::iterator::Iterator>::next
[INFO] [stderr]   22:     0x71a600908f54 - rustc_ty_utils[58809fc2b9258169]::layout::layout_of_uncached
[INFO] [stderr]   23:     0x71a6009046fd - rustc_ty_utils[58809fc2b9258169]::layout::layout_of
[INFO] [stderr]   24:     0x71a60090466e - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   25:     0x71a600903765 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::PseudoCanonicalInput<rustc_middle[bd74a45dc8a6aeec]::ty::Ty>, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   26:     0x71a600903372 - rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   27:     0x71a600902657 - <core[d10bf40c8679dc2f]::iter::adapters::GenericShunt<core[d10bf40c8679dc2f]::iter::adapters::by_ref_sized::ByRefSized<core[d10bf40c8679dc2f]::iter::adapters::map::Map<core[d10bf40c8679dc2f]::slice::iter::Iter<rustc_middle[bd74a45dc8a6aeec]::ty::VariantDef>, rustc_ty_utils[58809fc2b9258169]::layout::layout_of_uncached::{closure#13}>>, core[d10bf40c8679dc2f]::result::Result<core[d10bf40c8679dc2f]::convert::Infallible, &rustc_middle[bd74a45dc8a6aeec]::ty::layout::LayoutError>> as core[d10bf40c8679dc2f]::iter::traits::iterator::Iterator>::next
[INFO] [stderr]   28:     0x71a600908f54 - rustc_ty_utils[58809fc2b9258169]::layout::layout_of_uncached
[INFO] [stderr]   29:     0x71a6009046fd - rustc_ty_utils[58809fc2b9258169]::layout::layout_of
[INFO] [stderr]   30:     0x71a60090466e - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   31:     0x71a600903765 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::PseudoCanonicalInput<rustc_middle[bd74a45dc8a6aeec]::ty::Ty>, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   32:     0x71a600903372 - rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   33:     0x71a6009001f2 - rustc_middle[bd74a45dc8a6aeec]::query::plumbing::query_get_at::<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::PseudoCanonicalInput<rustc_middle[bd74a45dc8a6aeec]::ty::Ty>, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>>
[INFO] [stderr]   34:     0x71a600904ab9 - rustc_ty_utils[58809fc2b9258169]::layout::layout_of
[INFO] [stderr]   35:     0x71a60090466e - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   36:     0x71a600903765 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::PseudoCanonicalInput<rustc_middle[bd74a45dc8a6aeec]::ty::Ty>, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   37:     0x71a600903372 - rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   38:     0x71a600902b20 - <core[d10bf40c8679dc2f]::iter::adapters::GenericShunt<core[d10bf40c8679dc2f]::iter::adapters::by_ref_sized::ByRefSized<core[d10bf40c8679dc2f]::iter::adapters::map::Map<core[d10bf40c8679dc2f]::slice::iter::Iter<rustc_middle[bd74a45dc8a6aeec]::ty::VariantDef>, rustc_ty_utils[58809fc2b9258169]::layout::layout_of_uncached::{closure#13}>>, core[d10bf40c8679dc2f]::result::Result<core[d10bf40c8679dc2f]::convert::Infallible, &rustc_middle[bd74a45dc8a6aeec]::ty::layout::LayoutError>> as core[d10bf40c8679dc2f]::iter::traits::iterator::Iterator>::next
[INFO] [stderr]   39:     0x71a600908ea7 - rustc_ty_utils[58809fc2b9258169]::layout::layout_of_uncached
[INFO] [stderr]   40:     0x71a6009046fd - rustc_ty_utils[58809fc2b9258169]::layout::layout_of
[INFO] [stderr]   41:     0x71a60090466e - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   42:     0x71a600903765 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::PseudoCanonicalInput<rustc_middle[bd74a45dc8a6aeec]::ty::Ty>, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>, false, true, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   43:     0x71a600903372 - rustc_query_impl[8969a7b8ce30dc91]::query_impl::layout_of::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   44:     0x71a600cc06bc - rustc_ty_utils[58809fc2b9258169]::abi::fn_abi_new_uncached
[INFO] [stderr]   45:     0x71a600cb80c0 - rustc_ty_utils[58809fc2b9258169]::abi::fn_abi_of_instance
[INFO] [stderr]   46:     0x71a600cb68fc - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::fn_abi_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   47:     0x71a600cb4924 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::PseudoCanonicalInput<(rustc_middle[bd74a45dc8a6aeec]::ty::instance::Instance, &rustc_middle[bd74a45dc8a6aeec]::ty::list::RawList<(), rustc_middle[bd74a45dc8a6aeec]::ty::Ty>)>, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   48:     0x71a600cb44ba - rustc_query_impl[8969a7b8ce30dc91]::query_impl::fn_abi_of_instance::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   49:     0x71a5fd9af1ba - rustc_monomorphize[9435536922665142]::mono_checks::check_mono_item
[INFO] [stderr]   50:     0x71a600ad6726 - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::check_mono_item::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 0usize]>>
[INFO] [stderr]   51:     0x71a600ad606a - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<rustc_middle[bd74a45dc8a6aeec]::ty::instance::Instance, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   52:     0x71a600ad5d1f - rustc_query_impl[8969a7b8ce30dc91]::query_impl::check_mono_item::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   53:     0x71a5fd999e59 - rustc_monomorphize[9435536922665142]::collector::items_of_instance
[INFO] [stderr]   54:     0x71a6005faff2 - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 32usize]>>
[INFO] [stderr]   55:     0x71a6005fa846 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::DefaultCache<(rustc_middle[bd74a45dc8a6aeec]::ty::instance::Instance, rustc_middle[bd74a45dc8a6aeec]::mir::mono::CollectionMode), rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]   56:     0x71a6005fa4b4 - rustc_query_impl[8969a7b8ce30dc91]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   57:     0x71a6005f6bc4 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec::{closure#0}
[INFO] [stderr]   58:     0x71a600e339e1 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   59:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   60:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   61:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   62:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   63:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   64:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   65:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   66:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   67:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   68:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   69:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   70:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   71:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   72:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   73:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   74:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   75:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   76:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   77:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   78:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   79:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   80:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   81:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   82:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   83:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   84:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   85:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   86:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   87:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   88:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   89:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   90:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   91:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   92:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   93:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   94:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   95:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   96:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   97:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   98:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]   99:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  100:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  101:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  102:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  103:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  104:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  105:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  106:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  107:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  108:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  109:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  110:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  111:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  112:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  113:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  114:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  115:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  116:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  117:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  118:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  119:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  120:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  121:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  122:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  123:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  124:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  125:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  126:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  127:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  128:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  129:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  130:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  131:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  132:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  133:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  134:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  135:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  136:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  137:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  138:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  139:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  140:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  141:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  142:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  143:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  144:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  145:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  146:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  147:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  148:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  149:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  150:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  151:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  152:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  153:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  154:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  155:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  156:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  157:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  158:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  159:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  160:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  161:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  162:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  163:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  164:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  165:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  166:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  167:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  168:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  169:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  170:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  171:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  172:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  173:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  174:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  175:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  176:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  177:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  178:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  179:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  180:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  181:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  182:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  183:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  184:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  185:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  186:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  187:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  188:     0x71a600e34330 - rustc_monomorphize[9435536922665142]::collector::collect_items_rec
[INFO] [stderr]  189:     0x71a600e3cf29 - rustc_monomorphize[9435536922665142]::partitioning::collect_and_partition_mono_items
[INFO] [stderr]  190:     0x71a600e3c556 - rustc_query_impl[8969a7b8ce30dc91]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8969a7b8ce30dc91]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 24usize]>>
[INFO] [stderr]  191:     0x71a600e3c52d - <rustc_query_impl[8969a7b8ce30dc91]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[d10bf40c8679dc2f]::ops::function::FnOnce<(rustc_middle[bd74a45dc8a6aeec]::ty::context::TyCtxt, ())>>::call_once
[INFO] [stderr]  192:     0x71a6013cc0a5 - rustc_query_system[bc50a602aa0ddde9]::query::plumbing::try_execute_query::<rustc_query_impl[8969a7b8ce30dc91]::DynamicConfig<rustc_query_system[bc50a602aa0ddde9]::query::caches::SingleCache<rustc_middle[bd74a45dc8a6aeec]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[8969a7b8ce30dc91]::plumbing::QueryCtxt, false>
[INFO] [stderr]  193:     0x71a6013cbdb2 - rustc_query_impl[8969a7b8ce30dc91]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]  194:     0x71a601327647 - <rustc_codegen_llvm[2144112fd58fc6c3]::LlvmCodegenBackend as rustc_codegen_ssa[f389d40ddac489c4]::traits::backend::CodegenBackend>::codegen_crate
[INFO] [stderr]  195:     0x71a601494ae7 - <rustc_interface[164bca52f843a547]::queries::Linker>::codegen_and_build_linker
[INFO] [stderr]  196:     0x71a601308a08 - rustc_interface[164bca52f843a547]::interface::run_compiler::<core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>, rustc_driver_impl[a84ad889800babb7]::run_compiler::{closure#0}>::{closure#1}
[INFO] [stderr]  197:     0x71a601333420 - std[b9e7ca495922dc28]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[164bca52f843a547]::util::run_in_thread_with_globals<rustc_interface[164bca52f843a547]::util::run_in_thread_pool_with_globals<rustc_interface[164bca52f843a547]::interface::run_compiler<core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>, rustc_driver_impl[a84ad889800babb7]::run_compiler::{closure#0}>::{closure#1}, core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>>::{closure#0}, core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>>
[INFO] [stderr]  198:     0x71a60133313d - <<std[b9e7ca495922dc28]::thread::Builder>::spawn_unchecked_<rustc_interface[164bca52f843a547]::util::run_in_thread_with_globals<rustc_interface[164bca52f843a547]::util::run_in_thread_pool_with_globals<rustc_interface[164bca52f843a547]::interface::run_compiler<core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>, rustc_driver_impl[a84ad889800babb7]::run_compiler::{closure#0}>::{closure#1}, core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>>::{closure#0}, core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[d10bf40c8679dc2f]::result::Result<(), rustc_span[84c8ca3d0b382817]::ErrorGuaranteed>>::{closure#1} as core[d10bf40c8679dc2f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]  199:     0x71a6013328f9 - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stderr]  200:     0x71a5fb46bac3 - <unknown>
[INFO] [stderr]  201:     0x71a5fb4fca04 - clone
[INFO] [stderr]  202:                0x0 - <unknown>
[INFO] [stderr] 
[INFO] [stderr] 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
[INFO] [stderr] 
[INFO] [stderr] note: rustc 1.84.0-beta.4 (202008a1b 2024-12-07) running on x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2
[INFO] [stderr] 
[INFO] [stderr] note: some of the compiler flags provided by cargo are hidden
[INFO] [stderr] 
[INFO] [stderr] query stack during panic:
[INFO] [stderr] panicked at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/compiler/rustc_type_ir/src/ty_kind.rs:797:17:
[INFO] [stderr] 
[INFO] [stderr] thread panicked while processing panic. aborting.
[INFO] [stderr] error: could not compile `aoc-uh-oh` (bin "aoc-uh-oh"); 2 warnings emitted

@cuviper cuviper 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 Dec 23, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Dec 23, 2024
@cuviper cuviper added the regression-from-stable-to-beta Performance or correctness regression from stable to beta. label Dec 23, 2024
@rustbot rustbot added the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Dec 23, 2024
@compiler-errors
Copy link
Member

This issue has been regressing and un-regressing for quite some time: #92004

@compiler-errors
Copy link
Member

Though most recently this seems to have regressed in #132173 / 7660aed according to bisection.

@compiler-errors
Copy link
Member

compiler-errors commented Dec 23, 2024

Given that this only seems to have regressed in a crate that was specifically created to showcase a bug having to do with type overflow in codegen, I'm tempted to say that this is probably an OK regression to swallow.

@cuviper cuviper added this to the 1.84.0 milestone Dec 24, 2024
@cuviper cuviper changed the title regression: Layout::compute: unexpected type _ regression: ICE: Layout::compute: unexpected type _ Dec 24, 2024
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. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants