rust icon indicating copy to clipboard operation
rust copied to clipboard

Implement minimal, internal-only pattern types in the type system

Open oli-obk opened this issue 1 year ago • 11 comments

rebase of https://github.com/rust-lang/rust/pull/107606

You can create pattern types with std::pat::pattern_type!(ty is pat). The feature is incomplete and will panic on you if you use any pattern other than integral range patterns. The only way to create or deconstruct a pattern type is via transmute.

Waiting on:

  • [x] move all unrelated commits into their own PRs.
  • [x] fix niche computation (see 2db07f94f44f078daffe5823680d07d4fded883f)
  • [x] add lots more tests
  • [x] T-types MCP https://github.com/rust-lang/types-team/issues/126 to finish
  • [x] some commit cleanup
  • [x] full self-review
  • [x] remove 61bd325da19a918cc3e02bbbdce97281a389c648, it's not necessary anymore I think.
  • [ ] make sure we never accidentally leak pattern types to user code (add stability checks or feature gate checks and appopriate tests)

r? @BoxyUwU

oli-obk avatar Jan 19 '24 13:01 oli-obk

The job mingw-check failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   --> compiler/rustc_hir_analysis/src/coherence/inherent_impls.rs:156:28
    |
156 |               ty::Pat(..) => {
    |  ____________________________^
157 | |                 self.tcx
158 | |                     .dcx()
159 | |                     .span_err(item_span, "cannot define inherent `impl` for pattern types");
    | |_____________^ expected `Result<(), ErrorGuaranteed>`, found `()`
    |
    = note:   expected enum `Result<(), ErrorGuaranteed>`
            found unit type `()`

rust-log-analyzer avatar Jan 19 '24 13:01 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Fri Jan 19 15:25:31 UTC 2024
  network time: Fri, 19 Jan 2024 15:25:31 GMT
  network time: Fri, 19 Jan 2024 15:25:31 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
failures:

---- [ui] tests/ui/type/pattern_types/bad_pat.rs stdout ----

error: Error: expected failure status (Some(1)) but received status Some(101).
status: exit status: 101
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/type/pattern_types/bad_pat.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type/pattern_types/bad_pat" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/type/pattern_types/bad_pat/auxiliary"
--- stderr -------------------------------
error[E0586]: inclusive range with no end
##[error]  --> /checkout/tests/ui/type/pattern_types/bad_pat.rs:7:43
   |
   |
LL | type NonNullU32_2 = pattern_type!(u32 is 1..=);
   |
   |
   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
error[E0586]: inclusive range with no end
##[error]  --> /checkout/tests/ui/type/pattern_types/bad_pat.rs:9:40
   |
   |
LL | type Positive2 = pattern_type!(i32 is 0..=);
   |
   |
   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
Build completed unsuccessfully in 0:13:10
Build completed unsuccessfully in 0:13:10
error: "wildcard patterns are not permitted for pattern types"
##[error]  --> /checkout/tests/ui/type/pattern_types/bad_pat.rs:11:33
   |
LL | type Wild = pattern_type!(() is _);

thread 'rustc' panicked at /checkout/compiler/rustc_type_ir/src/ty_kind.rs:376:17:
thread 'rustc' panicked at /checkout/compiler/rustc_type_ir/src/ty_kind.rs:376:17:
This branch must be unreachable, maybe the match is missing an arm? self = self = {type error}, other = pattern_type!(u32 is Pattern::Range { start: Some(1_u32), end: None, include_end: true })
   0:     0x7f21b3cc12b9 - <std[7a3eb0b217b4130]::sys_common::backtrace::_print::DisplayBacktrace as core[253820b5addfcf2e]::fmt::Display>::fmt
   1:     0x7f21b3d1ad9f - core[253820b5addfcf2e]::fmt::write
   2:     0x7f21b3cb5b05 - <std[7a3eb0b217b4130]::sys::pal::unix::stdio::Stderr as std[7a3eb0b217b4130]::io::Write>::write_fmt
   3:     0x7f21b3cc1095 - std[7a3eb0b217b4130]::sys_common::backtrace::print
   3:     0x7f21b3cc1095 - std[7a3eb0b217b4130]::sys_common::backtrace::print
   4:     0x7f21b3cc43ca - std[7a3eb0b217b4130]::panicking::default_hook::{closure#1}
   5:     0x7f21b3cc40cd - std[7a3eb0b217b4130]::panicking::default_hook
   6:     0x7f21b498d407 - <alloc[81014f4cdfcb821b]::boxed::Box<rustc_driver_impl[f2c800b59358a506]::install_ice_hook::{closure#0}> as core[253820b5addfcf2e]::ops::function::Fn<(&dyn for<'a, 'b> core[253820b5addfcf2e]::ops::function::Fn<(&'a core[253820b5addfcf2e]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[253820b5addfcf2e]::marker::Sync + core[253820b5addfcf2e]::marker::Send, &core[253820b5addfcf2e]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f21b3cc4a84 - std[7a3eb0b217b4130]::panicking::rust_panic_with_hook
   8:     0x7f21b3cc4812 - std[7a3eb0b217b4130]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f21b3cc1846 - std[7a3eb0b217b4130]::sys_common::backtrace::__rust_end_short_backtrace::<std[7a3eb0b217b4130]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f21b3c7ba85 - core[253820b5addfcf2e]::panicking::panic_fmt
  11:     0x7f21b3c7ba85 - core[253820b5addfcf2e]::panicking::panic_fmt
  12:     0x7f21b7727d31 - <rustc_type_ir[bd8715ba9262bbfb]::ty_kind::TyKind<rustc_middle[88d96813564debbc]::ty::context::TyCtxt> as core[253820b5addfcf2e]::cmp::PartialEq>::eq
  13:     0x7f21b76d3ecc - <hashbrown[9b6667ac822ab647]::map::RawEntryBuilderMut<rustc_middle[88d96813564debbc]::ty::context::InternedInSet<rustc_type_ir[bd8715ba9262bbfb]::ty_info::WithCachedTypeInfo<rustc_type_ir[bd8715ba9262bbfb]::ty_kind::TyKind<rustc_middle[88d96813564debbc]::ty::context::TyCtxt>>>, (), core[253820b5addfcf2e]::hash::BuildHasherDefault<rustc_hash[ec437d8d58e60f6d]::FxHasher>>>::search::<hashbrown[9b6667ac822ab647]::map::equivalent<rustc_type_ir[bd8715ba9262bbfb]::ty_kind::TyKind<rustc_middle[88d96813564debbc]::ty::context::TyCtxt>, rustc_middle[88d96813564debbc]::ty::context::InternedInSet<rustc_type_ir[bd8715ba9262bbfb]::ty_info::WithCachedTypeInfo<rustc_type_ir[bd8715ba9262bbfb]::ty_kind::TyKind<rustc_middle[88d96813564debbc]::ty::context::TyCtxt>>>>::{closure#0}>
  14:     0x7f21b76a8afe - <rustc_middle[88d96813564debbc]::ty::context::CtxtInterners>::intern_ty
  15:     0x7f21b773611c - <rustc_middle[88d96813564debbc]::ty::Ty>::new_error
  16:     0x7f21b531854c - <dyn rustc_hir_analysis[5cd37bee18828da]::astconv::AstConv>::ast_ty_to_ty_inner
  17:     0x7f21b53fec6d - rustc_hir_analysis[5cd37bee18828da]::collect::type_of::type_of
  18:     0x7f21b647ed67 - rustc_query_impl[e6f5f205cd618a5]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[e6f5f205cd618a5]::query_impl::type_of::dynamic_query::{closure#2}::{closure#0}, rustc_middle[88d96813564debbc]::query::erase::Erased<[u8; 8usize]>>
  19:     0x7f21b666cac9 - <rustc_query_impl[e6f5f205cd618a5]::query_impl::type_of::dynamic_query::{closure#2} as core[253820b5addfcf2e]::ops::function::FnOnce<(rustc_middle[88d96813564debbc]::ty::context::TyCtxt, rustc_span[1577102e3a99bdbb]::def_id::DefId)>>::call_once
  20:     0x7f21b67a00d8 - rustc_query_system[d47bb686b6749cbb]::query::plumbing::try_execute_query::<rustc_query_impl[e6f5f205cd618a5]::DynamicConfig<rustc_query_system[d47bb686b6749cbb]::query::caches::DefIdCache<rustc_middle[88d96813564debbc]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e6f5f205cd618a5]::plumbing::QueryCtxt, false>
  21:     0x7f21b6671dc7 - rustc_query_impl[e6f5f205cd618a5]::query_impl::type_of::get_query_non_incr::__rust_end_short_backtrace
  22:     0x7f21b546536a - rustc_hir_analysis[5cd37bee18828da]::collect::convert_item
  23:     0x7f21b545ec42 - <rustc_hir_analysis[5cd37bee18828da]::collect::CollectItemTypesVisitor as rustc_hir[102ea71a28235154]::intravisit::Visitor>::visit_item
  24:     0x7f21b539eee0 - <rustc_middle[88d96813564debbc]::hir::map::Map>::visit_item_likes_in_module::<rustc_hir_analysis[5cd37bee18828da]::collect::CollectItemTypesVisitor>
  25:     0x7f21b545e35d - rustc_hir_analysis[5cd37bee18828da]::collect::collect_mod_item_types
  26:     0x7f21b64718a5 - rustc_query_impl[e6f5f205cd618a5]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[e6f5f205cd618a5]::query_impl::collect_mod_item_types::dynamic_query::{closure#2}::{closure#0}, rustc_middle[88d96813564debbc]::query::erase::Erased<[u8; 0usize]>>
  27:     0x7f21b6634c35 - <rustc_query_impl[e6f5f205cd618a5]::query_impl::collect_mod_item_types::dynamic_query::{closure#2} as core[253820b5addfcf2e]::ops::function::FnOnce<(rustc_middle[88d96813564debbc]::ty::context::TyCtxt, rustc_span[1577102e3a99bdbb]::def_id::LocalModDefId)>>::call_once
  28:     0x7f21b67f0b65 - rustc_query_system[d47bb686b6749cbb]::query::plumbing::try_execute_query::<rustc_query_impl[e6f5f205cd618a5]::DynamicConfig<rustc_query_system[d47bb686b6749cbb]::query::caches::DefaultCache<rustc_span[1577102e3a99bdbb]::def_id::LocalModDefId, rustc_middle[88d96813564debbc]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[e6f5f205cd618a5]::plumbing::QueryCtxt, false>
  29:     0x7f21b6725947 - rustc_query_impl[e6f5f205cd618a5]::query_impl::collect_mod_item_types::get_query_non_incr::__rust_end_short_backtrace
  30:     0x7f21b539e7cd - <rustc_middle[88d96813564debbc]::hir::map::Map>::for_each_module::<rustc_hir_analysis[5cd37bee18828da]::check_crate::{closure#0}::{closure#0}>
  31:     0x7f21b526ecfb - <rustc_session[c78f477c1f8fe378]::session::Session>::time::<(), rustc_hir_analysis[5cd37bee18828da]::check_crate::{closure#0}>
  32:     0x7f21b53be4e5 - rustc_hir_analysis[5cd37bee18828da]::check_crate
  33:     0x7f21b4be7700 - rustc_interface[ea0213f796d0b45e]::passes::analysis
  34:     0x7f21b647ef53 - rustc_query_impl[e6f5f205cd618a5]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[e6f5f205cd618a5]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[88d96813564debbc]::query::erase::Erased<[u8; 1usize]>>
  35:     0x7f21b653f941 - <rustc_query_impl[e6f5f205cd618a5]::query_impl::analysis::dynamic_query::{closure#2} as core[253820b5addfcf2e]::ops::function::FnOnce<(rustc_middle[88d96813564debbc]::ty::context::TyCtxt, ())>>::call_once
  36:     0x7f21b67ab888 - rustc_query_system[d47bb686b6749cbb]::query::plumbing::try_execute_query::<rustc_query_impl[e6f5f205cd618a5]::DynamicConfig<rustc_query_system[d47bb686b6749cbb]::query::caches::SingleCache<rustc_middle[88d96813564debbc]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e6f5f205cd618a5]::plumbing::QueryCtxt, false>
  38:     0x7f21b492695a - <rustc_middle[88d96813564debbc]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>
  39:     0x7f21b49b016a - <rustc_interface[ea0213f796d0b45e]::interface::Compiler>::enter::<rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}::{closure#0}, core[253820b5addfcf2e]::result::Result<core[253820b5addfcf2e]::option::Option<rustc_interface[ea0213f796d0b45e]::queries::Linker>, rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>
  40:     0x7f21b49449ca - rustc_span[1577102e3a99bdbb]::set_source_map::<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_interface[ea0213f796d0b45e]::interface::run_compiler<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  41:     0x7f21b497febf - <scoped_tls[32382f62b6d2c334]::ScopedKey<rustc_span[1577102e3a99bdbb]::SessionGlobals>>::set::<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_pool_with_globals<rustc_interface[ea0213f796d0b45e]::interface::run_compiler<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>
  41:     0x7f21b497febf - <scoped_tls[32382f62b6d2c334]::ScopedKey<rustc_span[1577102e3a99bdbb]::SessionGlobals>>::set::<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_pool_with_globals<rustc_interface[ea0213f796d0b45e]::interface::run_compiler<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>
  42:     0x7f21b4944e9c - rustc_span[1577102e3a99bdbb]::create_session_globals_then::<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_interface[ea0213f796d0b45e]::util::run_in_thread_pool_with_globals<rustc_interface[ea0213f796d0b45e]::interface::run_compiler<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}>
  43:     0x7f21b493cbde - std[7a3eb0b217b4130]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_with_globals<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_pool_with_globals<rustc_interface[ea0213f796d0b45e]::interface::run_compiler<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>
  44:     0x7f21b494bda4 - std[7a3eb0b217b4130]::panicking::try::<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, core[253820b5addfcf2e]::panic::unwind_safe::AssertUnwindSafe<<std[7a3eb0b217b4130]::thread::Builder>::spawn_unchecked_<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_with_globals<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_pool_with_globals<rustc_interface[ea0213f796d0b45e]::interface::run_compiler<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  45:     0x7f21b49d423a - <<std[7a3eb0b217b4130]::thread::Builder>::spawn_unchecked_<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_with_globals<rustc_interface[ea0213f796d0b45e]::util::run_in_thread_pool_with_globals<rustc_interface[ea0213f796d0b45e]::interface::run_compiler<core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>, rustc_driver_impl[f2c800b59358a506]::run_compiler::{closure#0}>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[253820b5addfcf2e]::result::Result<(), rustc_span[1577102e3a99bdbb]::ErrorGuaranteed>>::{closure#1} as core[253820b5addfcf2e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  46:     0x7f21b3cd013e - <std[7a3eb0b217b4130]::sys::pal::unix::thread::Thread>::new::thread_start
  48:     0x7f21b3b4a0d0 - <unknown>
  49:                0x0 - <unknown>

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

note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly

note: rustc 1.77.0-nightly (b48f27b6f 2024-01-19) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z ignore-directory-in-diagnostics-source-blocks=/cargo -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z write-long-types-to-disk=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [type_of] expanding type alias `Wild`
#1 [collect_mod_item_types] collecting item types in top-level module
end of query stack
error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0586`.

rust-log-analyzer avatar Jan 19 '24 15:01 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Fri Jan 19 16:34:03 UTC 2024
  network time: Fri, 19 Jan 2024 16:34:03 GMT
  network time: Fri, 19 Jan 2024 16:34:03 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
diff of stderr:

- error: usage of `ty::TyKind::<kind>`
-   --> $DIR/ty_tykind_usage.rs:13:16
+ error[E0004]: non-exhaustive patterns: `TyKind::Pat(_, _)` not covered
3    |
- LL |     let kind = TyKind::Bool;
-    |                ^^^^^^ help: try using `ty::<kind>` directly: `ty`
+ LL |     match kind {
+ LL |     match kind {
+    |           ^^^^ pattern `TyKind::Pat(_, _)` not covered
- note: the lint level is defined here
-   --> $DIR/ty_tykind_usage.rs:11:8
-   --> $DIR/ty_tykind_usage.rs:11:8
+ note: `TyKind<TyCtxt<'_>>` defined here
+   --> $COMPILER_DIR/rustc_type_ir/src/ty_kind.rs:124:1
+   ::: $COMPILER_DIR/rustc_type_ir/src/ty_kind.rs:161:5
- LL | #[deny(rustc::usage_of_ty_tykind)]
-    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
- 
- error: usage of `ty::TyKind::<kind>`
- error: usage of `ty::TyKind::<kind>`
-   --> $DIR/ty_tykind_usage.rs:16:9
+    = note: not covered
+    = note: the matched value is of type `TyKind<TyCtxt<'_>>`
+ help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
15    |
- LL |         TyKind::Bool => (),
-    |         ^^^^^^ help: try using `ty::<kind>` directly: `ty`
- 
- 
- error: usage of `ty::TyKind::<kind>`
-   --> $DIR/ty_tykind_usage.rs:17:9
+ LL ~         TyKind::Error(_) => (),
+ LL ~         TyKind::Pat(_, _) => todo!(),
- LL |         TyKind::Char => (),
-    |         ^^^^^^ help: try using `ty::<kind>` directly: `ty`
24 
- error: usage of `ty::TyKind::<kind>`
---
status: exit status: 1
command: RUSTC_ICE="0" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/internal-lints/ty_tykind_usage" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/internal-lints/ty_tykind_usage/auxiliary" "-Z" "unstable-options"
stdout: none
--- stderr -------------------------------
error[E0004]: non-exhaustive patterns: `TyKind::Pat(_, _)` not covered
   |
LL |     match kind {
LL |     match kind {
   |           ^^^^ pattern `TyKind::Pat(_, _)` not covered
   |
note: `TyKind<TyCtxt<'_>>` defined here
  --> /rustc/FAKE_PREFIX/compiler/rustc_type_ir/src/ty_kind.rs:124:1
   |
   = note: not covered
   = note: not covered
   = note: the matched value is of type `TyKind<TyCtxt<'_>>`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
LL ~         TyKind::Error(_) => (),
LL ~         TyKind::Error(_) => (),
LL ~         TyKind::Pat(_, _) => todo!(),             //~ ERROR usage of `ty::TyKind::<kind>`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0004`.

rust-log-analyzer avatar Jan 19 '24 16:01 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Fri Jan 19 16:54:05 UTC 2024
  network time: Fri, 19 Jan 2024 16:54:05 GMT
  network time: Fri, 19 Jan 2024 16:54:05 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
--- stderr -------------------------------
error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:13:16
   |
LL |     let kind = TyKind::Bool; //~ ERROR usage of `ty::TyKind::<kind>`
   |
note: the lint level is defined here
  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:11:8
   |
   |
LL | #[deny(rustc::usage_of_ty_tykind)]
   |        ^^^^^^^^^^^^^^^^^^^^^^^^^

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:16:9
   |
LL |         TyKind::Bool => (),                 //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:17:9
   |
   |
LL |         TyKind::Char => (),                 //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:18:9
   |
   |
LL |         TyKind::Int(..) => (),              //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:19:9
   |
   |
LL |         TyKind::Uint(..) => (),             //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:20:9
   |
   |
LL |         TyKind::Float(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:21:9
   |
   |
LL |         TyKind::Adt(..) => (),              //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:22:9
   |
   |
LL |         TyKind::Foreign(..) => (),          //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:23:9
   |
   |
LL |         TyKind::Str => (),                  //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:24:9
   |
   |
LL |         TyKind::Array(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:25:9
   |
   |
LL |         TyKind::Pat(..) => (),              //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:26:9
   |
   |
LL |         TyKind::Slice(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:27:9
   |
   |
LL |         TyKind::RawPtr(..) => (),           //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:28:9
   |
   |
LL |         TyKind::Ref(..) => (),              //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:29:9
   |
   |
LL |         TyKind::FnDef(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:30:9
   |
   |
LL |         TyKind::FnPtr(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:31:9
   |
   |
LL |         TyKind::Dynamic(..) => (),          //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:32:9
   |
   |
LL |         TyKind::Closure(..) => (),          //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:33:9
   |
   |
LL |         TyKind::Coroutine(..) => (),        //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:34:9
   |
   |
LL |         TyKind::CoroutineWitness(..) => (), //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:35:9
   |
   |
LL |         TyKind::Never => (),                //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:36:9
   |
   |
LL |         TyKind::Tuple(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:37:9
   |
   |
LL |         TyKind::Alias(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:38:9
   |
   |
LL |         TyKind::Param(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:39:9
   |
   |
LL |         TyKind::Bound(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:40:9
   |
   |
LL |         TyKind::Placeholder(..) => (),      //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:41:9
   |
   |
LL |         TyKind::Infer(..) => (),            //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:42:9
   |
   |
LL |         TyKind::Error(_) => (),             //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:47:12
   |
   |
LL |     if let TyKind::Int(int_ty) = kind {} //~ ERROR usage of `ty::TyKind::<kind>`

error: usage of `ty::TyKind`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:49:24
   |
   |
LL |     fn ty_kind(ty_bad: TyKind<'_>, ty_good: Ty<'_>) {} //~ ERROR usage of `ty::TyKind`
   |
   = help: try using `Ty` instead

error: usage of `ty::TyKind`
---

error: usage of `ty::TyKind::<kind>`
##[error]  --> /checkout/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs:54:9
   |
LL |         IrTyKind::Bool //~ ERROR usage of `ty::TyKind::<kind>`
   |         |
   |         help: try using `ty::<kind>` directly: `ty`

error: aborting due to 33 previous errors

rust-log-analyzer avatar Jan 19 '24 17:01 rust-log-analyzer

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  |     ^ mismatched closing delimiter

.................................................................................
Mismatch at src/types.rs:860:
                 let ty = ty.rewrite(context, shape)?;
                 let pat = pat.rewrite(context, shape)?;
                 Some(format!("{ty} is {pat}"))
+            }
         }
     }
 }
 }
{ "type": "test", "name": "test::self_tests", "event": "failed", "stdout": "Ran 5 self tests.\nthread 'test::self_tests' panicked at src/tools/rustfmt/src/test/mod.rs:400:5:\nassertion `left == right` failed: 1 self tests failed\n  left: 1\n right: 0\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n" }

test result: FAILED. 171 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 723.51ms

error: test failed, to rerun pass `--lib`

rust-log-analyzer avatar Jan 19 '24 17:01 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #120196) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Jan 22 '24 12:01 bors

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Mon Jan 22 14:30:31 UTC 2024
  network time: Mon, 22 Jan 2024 14:30:31 GMT
  network time: Mon, 22 Jan 2024 14:30:31 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
##[endgroup]
Testing GCC stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished release [optimized] target(s) in 1.33s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --no-default-features --mini-tests --std-tests`
Using system GCC
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
---- library/core/src/pat.rs - pat::pattern_type (line 4) stdout ----
error: cannot find macro `pattern_type` in this scope
##[error] --> library/core/src/pat.rs:5:17
  |
4 | type Positive = pattern_type!(i32 is 1..);
  |
help: consider importing one of these items
  |
3 + use core::pattern_type;
---
    library/core/src/pat.rs - pat::pattern_type (line 4)

test result: FAILED. 4524 passed; 1 failed; 42 ignored; 0 measured; 0 filtered out; finished in 53.80s

error: doctest failed, to rerun pass `-p core --doc`
  local time: Mon Jan 22 14:52:22 UTC 2024
  network time: Mon, 22 Jan 2024 14:52:22 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Jan 22 '24 14:01 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Built container sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Looks like docker image is the same as before, not uploading
https://ci-caches.rust-lang.org/docker/7ebc15c01a233894034d277c8cce4e949f4e7791f66b4727c8fb6e058a0b8171d6152e1441d677cef0653843ceeee469c097b8699b2bb74249e674f6aa1a8813
sha256:9c3c93a371e5aed5c18185b24f130d95d5140dbd72a9b325e7b6b49e521a4faa
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Mon Jan 22 15:17:54 UTC 2024
  network time: Mon, 22 Jan 2024 15:17:54 GMT
  network time: Mon, 22 Jan 2024 15:17:54 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
##[endgroup]
Testing GCC stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished release [optimized] target(s) in 1.36s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --no-default-features --mini-tests --std-tests`
Using system GCC
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
   Compiling clap_derive v4.4.2
   Compiling clap v4.4.4
   Compiling rustdoc-json-types v0.1.0 (/checkout/src/rustdoc-json-types)
   Compiling jsondoclint v0.1.0 (/checkout/src/tools/jsondoclint)
error[E0004]: non-exhaustive patterns: `&rustdoc_json_types::Type::Pat { .. }` not covered
    |
260 |         match x {
260 |         match x {
    |               ^ pattern `&rustdoc_json_types::Type::Pat { .. }` not covered
note: `rustdoc_json_types::Type` defined here
   --> /checkout/src/rustdoc-json-types/lib.rs:545:1
    |
545 | pub enum Type {
545 | pub enum Type {
    | ^^^^^^^^^^^^^
...
566 |     Pat {
    |     --- not covered
    = note: the matched value is of type `&rustdoc_json_types::Type`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
279 ~             },
279 ~             },
280 +             &rustdoc_json_types::Type::Pat { .. } => todo!()

For more information about this error, try `rustc --explain E0004`.
For more information about this error, try `rustc --explain E0004`.
error: could not compile `jsondoclint` (bin "jsondoclint" test) due to 1 previous error
  local time: Mon Jan 22 15:47:33 UTC 2024
  network time: Mon, 22 Jan 2024 15:47:33 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Jan 22 '24 15:01 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #119911) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Jan 25 '24 07:01 bors

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

This PR changes Stable MIR

cc @oli-obk, @celinval, @spastorino, @ouz-a

rustdoc-json-types is a public (although nightly-only) API. If possible, consider changing src/librustdoc/json/conversions.rs; otherwise, make sure you bump the FORMAT_VERSION constant.

cc @CraftSpider, @aDotInTheVoid, @Enselic, @obi1kenobi

Some changes occurred in src/tools/rustfmt

cc @rust-lang/rustfmt

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

Type relation code was changed

cc @compiler-errors, @lcnr

Some changes occurred in src/librustdoc/clean/types.rs

cc @camelid

Some changes might have occurred in exhaustiveness checking

cc @Nadrieril

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

rustbot avatar Feb 02 '24 16:02 rustbot

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/upload-artifact@v3' (SHA:a8a3f3ad30e3422c9c7b888a15615d19a852ae32)
Complete job name: PR - mingw-check-tidy
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh

COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt \
    && pip3 install virtualenv
COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---

#10 [5/8] COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/
#10 DONE 0.0s

#11 [6/8] RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt     && pip3 install virtualenv
#11 0.587   Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
#11 0.598 Collecting boolean-py==4.0
#11 0.600   Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
#11 0.612 Collecting chardet==5.1.0
---
#11 3.548 Building wheels for collected packages: reuse
#11 3.549   Building wheel for reuse (pyproject.toml): started
#11 3.876   Building wheel for reuse (pyproject.toml): finished with status 'done'
#11 3.877   Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#11 3.877   Stored in directory: /tmp/pip-ephem-wheel-cache-t51bj_16/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#11 3.880 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#11 3.902   Attempting uninstall: setuptools
#11 3.902     Found existing installation: setuptools 59.6.0
#11 3.903     Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 3.903     Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#11 3.904     Can't uninstall 'setuptools'. No files were found to uninstall.
#11 4.572 Successfully installed binaryornot-0.4.4 boolean-py-4.0 chardet-5.1.0 jinja2-3.1.2 license-expression-30.0.0 markupsafe-2.1.1 python-debian-0.1.49 reuse-1.1.0 setuptools-66.0.0
#11 4.573 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#11 5.071 Collecting virtualenv
#11 5.111   Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
#11 5.181      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 56.0 MB/s eta 0:00:00
#11 5.227 Collecting platformdirs<5,>=3.9.1
#11 5.234   Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
#11 5.263 Collecting filelock<4,>=3.12.2
#11 5.266   Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
#11 5.281 Collecting distlib<1,>=0.3.7
#11 5.287   Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
#11 5.293      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 KB 110.6 MB/s eta 0:00:00
#11 5.379 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#11 5.544 Successfully installed distlib-0.3.8 filelock-3.13.1 platformdirs-4.2.0 virtualenv-20.25.0
#11 DONE 5.6s

#12 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#12 DONE 0.0s
---
DirectMap4k:      167872 kB
DirectMap2M:     7172096 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint
    Finished dev [unoptimized] target(s) in 0.03s
##[endgroup]
downloading https://ci-artifacts.rust-lang.org/rustc-builds-alt/bf3c6c5bed498f41ad815641319a1ad9bcecb8e8/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/llvm-bf3c6c5bed498f41ad815641319a1ad9bcecb8e8-true/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm
---
   Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
    Finished release [optimized] target(s) in 24.51s
##[endgroup]
fmt check
##[error]Diff in /checkout/compiler/rustc_const_eval/src/interpret/intrinsics.rs at line 70:
                 throw_inval!(TooGeneric)
             ty::Pat(..) => {
             ty::Pat(..) => {
-                unimplemented!("pattern types need to calculate available variants from their pattern")
+                    "pattern types need to calculate available variants from their pattern"
+                )
             }
             }
             ty::Bound(_, _) => bug!("bound ty during ctfe"),
             ty::Bool
Running `"/checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt" "--config-path" "/checkout" "--edition" "2021" "--unstable-features" "--skip-children" "--check" "/checkout/compiler/rustc_const_eval/src/interpret/visitor.rs" "/checkout/compiler/rustc_const_eval/src/interpret/traits.rs" "/checkout/compiler/rustc_const_eval/src/interpret/terminator.rs" "/checkout/compiler/rustc_const_eval/src/interpret/machine.rs" "/checkout/compiler/rustc_const_eval/src/interpret/discriminant.rs" "/checkout/compiler/rustc_const_eval/src/interpret/operand.rs" "/checkout/compiler/rustc_const_eval/src/interpret/intrinsics.rs" "/checkout/compiler/rustc_const_eval/src/interpret/intern.rs"` failed.
If you're running `tidy`, try again with `--bless`. Or, if you just want to format code, run `./x.py fmt` instead.
  local time: Fri Feb  2 19:40:02 UTC 2024
  network time: Fri, 02 Feb 2024 19:40:02 GMT
##[error]Process completed with exit code 1.
Post job cleanup.

rust-log-analyzer avatar Feb 02 '24 19:02 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:f43d8709467db4cc8043aaa489eb91c1fd76858a79acce7230ea7d304ade47e7 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 9.9s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Sun Feb  4 14:28:29 UTC 2024
  network time: Sun, 04 Feb 2024 14:28:29 GMT
  network time: Sun, 04 Feb 2024 14:28:29 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
##[endgroup]
Testing GCC stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished release [optimized] target(s) in 1.36s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --no-default-features --mini-tests --std-tests`
Using system GCC
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
   Compiling std v0.0.0 (/checkout/library/std)
   Compiling alloc v0.0.0 (/checkout/library/alloc)
   Compiling core v0.0.0 (/checkout/library/core)
thread 'rustc' panicked at /checkout/compiler/rustc_abi/src/lib.rs:1177:17:
internal error: entered unreachable code: FieldsShape::offset: `Primitive`s have no fields
stack backtrace:
   0:     0x7ff66d22e4c9 - <std[660861df25873f31]::sys_common::backtrace::_print::DisplayBacktrace as core[5468609abfba7582]::fmt::Display>::fmt
   1:     0x7ff66d2873ef - core[5468609abfba7582]::fmt::write
   2:     0x7ff66d222cb5 - <std[660861df25873f31]::sys::pal::unix::stdio::Stderr as std[660861df25873f31]::io::Write>::write_fmt
   3:     0x7ff66d22e2a4 - std[660861df25873f31]::sys_common::backtrace::print
   4:     0x7ff66d23158a - std[660861df25873f31]::panicking::default_hook::{closure#1}
   5:     0x7ff66d231265 - std[660861df25873f31]::panicking::default_hook
   6:     0x7ff66df63687 - <alloc[c691cd81afb870bc]::boxed::Box<rustc_driver_impl[6549d1104e4b87ca]::install_ice_hook::{closure#0}> as core[5468609abfba7582]::ops::function::Fn<(&dyn for<'a, 'b> core[5468609abfba7582]::ops::function::Fn<(&'a core[5468609abfba7582]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[5468609abfba7582]::marker::Send + core[5468609abfba7582]::marker::Sync, &core[5468609abfba7582]::panic::panic_info::PanicInfo)>>::call
   7:     0x7ff66d231c78 - std[660861df25873f31]::panicking::rust_panic_with_hook
   8:     0x7ff66d2319b9 - std[660861df25873f31]::panicking::begin_panic_handler::{closure#0}
   9:     0x7ff66d22eaa6 - std[660861df25873f31]::sys_common::backtrace::__rust_end_short_backtrace::<std[660861df25873f31]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7ff66d1e90d5 - core[5468609abfba7582]::panicking::panic_fmt
  11:     0x7ff66d1e90d5 - core[5468609abfba7582]::panicking::panic_fmt
  12:     0x7ff66edb36e3 - <rustc_abi[38767e9d273b1f9e]::FieldsShape<rustc_target[5d1637f7d3fdda22]::abi::FieldIdx>>::offset
  13:     0x7ff66ede917d - <rustc_const_eval[25fb9861526d5e21]::interpret::eval_context::InterpCx<rustc_const_eval[25fb9861526d5e21]::const_eval::machine::CompileTimeInterpreter>>::project_field::<rustc_const_eval[25fb9861526d5e21]::interpret::place::MPlaceTy>
  14:     0x7ff66eef6ed6 - rustc_const_eval[25fb9861526d5e21]::const_eval::valtrees::const_to_valtree_inner
  15:     0x7ff66eef5faa - rustc_const_eval[25fb9861526d5e21]::const_eval::valtrees::branches
  16:     0x7ff66eef70aa - rustc_const_eval[25fb9861526d5e21]::const_eval::valtrees::const_to_valtree_inner
  17:     0x7ff66eef5faa - rustc_const_eval[25fb9861526d5e21]::const_eval::valtrees::branches
  18:     0x7ff66eef70aa - rustc_const_eval[25fb9861526d5e21]::const_eval::valtrees::const_to_valtree_inner
  19:     0x7ff66ef26552 - rustc_const_eval[25fb9861526d5e21]::const_eval::eval_to_valtree
  20:     0x7ff66e17dad7 - <rustc_const_eval[25fb9861526d5e21]::provide::{closure#0} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[9c68f3c16386aa62]::ty::context::TyCtxt, rustc_middle[9c68f3c16386aa62]::ty::ParamEnvAnd<rustc_middle[9c68f3c16386aa62]::mir::interpret::GlobalId>)>>::call_once
  21:     0x7ff66f9e9ed4 - rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::eval_to_valtree::dynamic_query::{closure#2}::{closure#0}, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 24usize]>>
  22:     0x7ff66fb908ea - <rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::eval_to_valtree::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[9c68f3c16386aa62]::ty::context::TyCtxt, rustc_middle[9c68f3c16386aa62]::ty::ParamEnvAnd<rustc_middle[9c68f3c16386aa62]::mir::interpret::GlobalId>)>>::call_once
  23:     0x7ff66fd43c0b - rustc_query_system[98e49c9ef80095ff]::query::plumbing::try_execute_query::<rustc_query_impl[1cfb6e9ed60e1a78]::DynamicConfig<rustc_query_system[98e49c9ef80095ff]::query::caches::DefaultCache<rustc_middle[9c68f3c16386aa62]::ty::ParamEnvAnd<rustc_middle[9c68f3c16386aa62]::mir::interpret::GlobalId>, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::QueryCtxt, false>
  24:     0x7ff66fbd5b95 - rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::eval_to_valtree::get_query_non_incr::__rust_end_short_backtrace
  25:     0x7ff670c62bfa - rustc_middle[9c68f3c16386aa62]::query::plumbing::query_get_at::<rustc_query_system[98e49c9ef80095ff]::query::caches::DefaultCache<rustc_middle[9c68f3c16386aa62]::ty::ParamEnvAnd<rustc_middle[9c68f3c16386aa62]::mir::interpret::GlobalId>, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 24usize]>>>
  26:     0x7ff670c64e0d - <rustc_middle[9c68f3c16386aa62]::ty::context::TyCtxt>::const_eval_global_id_for_typeck
  27:     0x7ff66f4900d8 - <rustc_mir_build[97153964c6804b86]::thir::pattern::PatCtxt>::lower_path
  28:     0x7ff66f485b2c - <rustc_mir_build[97153964c6804b86]::thir::pattern::PatCtxt>::lower_pattern
  29:     0x7ff66f446cd2 - <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[9c68f3c16386aa62]::thir::FieldPat> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<rustc_middle[9c68f3c16386aa62]::thir::FieldPat, core[5468609abfba7582]::iter::adapters::map::Map<rustc_hir[f459d552af14f3c]::pat_util::EnumerateAndAdjust<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[f459d552af14f3c]::hir::Pat>>, <rustc_mir_build[97153964c6804b86]::thir::pattern::PatCtxt>::lower_tuple_subpats::{closure#0}>>>::from_iter
  30:     0x7ff66f4858cf - <rustc_mir_build[97153964c6804b86]::thir::pattern::PatCtxt>::lower_pattern
  31:     0x7ff66f48519e - rustc_mir_build[97153964c6804b86]::thir::pattern::pat_from_hir
  32:     0x7ff66f4b0c10 - <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::pattern_from_hir
  33:     0x7ff66f4afabe - <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::convert_arm
  34:     0x7ff66f4d0a8b - <core[5468609abfba7582]::iter::adapters::map::Map<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[f459d552af14f3c]::hir::Arm>, <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}::{closure#13}> as core[5468609abfba7582]::iter::traits::iterator::Iterator>::fold::<(), core[5468609abfba7582]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[9c68f3c16386aa62]::thir::ArmId, <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[9c68f3c16386aa62]::thir::ArmId>>::extend_trusted<core[5468609abfba7582]::iter::adapters::map::Map<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[f459d552af14f3c]::hir::Arm>, <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}::{closure#13}>>::{closure#0}>::{closure#0}>
  35:     0x7ff66f4458eb - <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[9c68f3c16386aa62]::thir::ArmId> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<rustc_middle[9c68f3c16386aa62]::thir::ArmId, core[5468609abfba7582]::iter::adapters::map::Map<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[f459d552af14f3c]::hir::Arm>, <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}::{closure#13}>>>::from_iter
  36:     0x7ff66f4b3574 - <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}
  37:     0x7ff66f4b12fe - <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::mirror_expr_inner
  38:     0x7ff66f532196 - <&mut <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::mirror_stmts::{closure#0} as core[5468609abfba7582]::ops::function::FnMut<((usize, &rustc_hir[f459d552af14f3c]::hir::Stmt),)>>::call_mut
  39:     0x7ff66f446212 - <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[9c68f3c16386aa62]::thir::StmtId> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<rustc_middle[9c68f3c16386aa62]::thir::StmtId, core[5468609abfba7582]::iter::adapters::filter_map::FilterMap<core[5468609abfba7582]::iter::adapters::enumerate::Enumerate<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[f459d552af14f3c]::hir::Stmt>>, <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::mirror_stmts::{closure#0}>>>::from_iter
  40:     0x7ff66f4aeb40 - <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::mirror_block
  41:     0x7ff66f4b2829 - <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}
  42:     0x7ff66f4b12fe - <rustc_mir_build[97153964c6804b86]::thir::cx::Cx>::mirror_expr_inner
  43:     0x7ff66f4ae63c - rustc_mir_build[97153964c6804b86]::thir::cx::thir_body
  44:     0x7ff66fa085bb - rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::thir_body::dynamic_query::{closure#2}::{closure#0}, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 16usize]>>
  45:     0x7ff66fc19edd - <rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::thir_body::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[9c68f3c16386aa62]::ty::context::TyCtxt, rustc_span[a127e056b860272b]::def_id::LocalDefId)>>::call_once
  46:     0x7ff66fdce065 - rustc_query_system[98e49c9ef80095ff]::query::plumbing::try_execute_query::<rustc_query_impl[1cfb6e9ed60e1a78]::DynamicConfig<rustc_query_system[98e49c9ef80095ff]::query::caches::VecCache<rustc_span[a127e056b860272b]::def_id::LocalDefId, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::QueryCtxt, false>
  47:     0x7ff66fb17d25 - rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::thir_body::get_query_non_incr::__rust_end_short_backtrace
  48:     0x7ff66f4add7f - rustc_mir_build[97153964c6804b86]::check_unsafety::check_unsafety
  49:     0x7ff66f9e6675 - rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::check_unsafety::dynamic_query::{closure#2}::{closure#0}, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 0usize]>>
  50:     0x7ff66faa9335 - <rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::check_unsafety::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[9c68f3c16386aa62]::ty::context::TyCtxt, rustc_span[a127e056b860272b]::def_id::LocalDefId)>>::call_once
  51:     0x7ff66fdcbbd4 - rustc_query_system[98e49c9ef80095ff]::query::plumbing::try_execute_query::<rustc_query_impl[1cfb6e9ed60e1a78]::DynamicConfig<rustc_query_system[98e49c9ef80095ff]::query::caches::VecCache<rustc_span[a127e056b860272b]::def_id::LocalDefId, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::QueryCtxt, false>
  52:     0x7ff66fcd6197 - rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace
  53:     0x7ff66e122c6f - <rustc_middle[9c68f3c16386aa62]::hir::map::Map>::par_body_owners::<rustc_interface[991e8c19fade1a23]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}
  54:     0x7ff66e1212c1 - std[660861df25873f31]::panicking::try::<(), core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[12076d7afba65be5]::sync::parallel::enabled::par_for_each_in<&rustc_span[a127e056b860272b]::def_id::LocalDefId, &[rustc_span[a127e056b860272b]::def_id::LocalDefId], <rustc_middle[9c68f3c16386aa62]::hir::map::Map>::par_body_owners<rustc_interface[991e8c19fade1a23]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>>
  55:     0x7ff66e0f7b0a - <rustc_data_structures[12076d7afba65be5]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[12076d7afba65be5]::sync::parallel::enabled::par_for_each_in<&rustc_span[a127e056b860272b]::def_id::LocalDefId, &[rustc_span[a127e056b860272b]::def_id::LocalDefId], <rustc_middle[9c68f3c16386aa62]::hir::map::Map>::par_body_owners<rustc_interface[991e8c19fade1a23]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  56:     0x7ff66e166c7e - <rustc_session[f0a7b6bfd34a2afd]::session::Session>::time::<(), rustc_interface[991e8c19fade1a23]::passes::analysis::{closure#1}>
  57:     0x7ff66e18b912 - rustc_interface[991e8c19fade1a23]::passes::analysis
  58:     0x7ff66fa06253 - rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 1usize]>>
  59:     0x7ff66faba721 - <rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::analysis::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[9c68f3c16386aa62]::ty::context::TyCtxt, ())>>::call_once
  60:     0x7ff66fd30a48 - rustc_query_system[98e49c9ef80095ff]::query::plumbing::try_execute_query::<rustc_query_impl[1cfb6e9ed60e1a78]::DynamicConfig<rustc_query_system[98e49c9ef80095ff]::query::caches::SingleCache<rustc_middle[9c68f3c16386aa62]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[1cfb6e9ed60e1a78]::plumbing::QueryCtxt, false>
  61:     0x7ff66fb17b51 - rustc_query_impl[1cfb6e9ed60e1a78]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  62:     0x7ff66dee2a3b - <rustc_middle[9c68f3c16386aa62]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>
  63:     0x7ff66df849fc - <rustc_interface[991e8c19fade1a23]::interface::Compiler>::enter::<rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<core[5468609abfba7582]::option::Option<rustc_interface[991e8c19fade1a23]::queries::Linker>, rustc_span[a127e056b860272b]::ErrorGuaranteed>>
  64:     0x7ff66defe80e - rustc_span[a127e056b860272b]::set_source_map::<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_interface[991e8c19fade1a23]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  65:     0x7ff66df5669a - <scoped_tls[42c2975c90d4e7f2]::ScopedKey<rustc_span[a127e056b860272b]::SessionGlobals>>::set::<rustc_interface[991e8c19fade1a23]::util::run_in_thread_pool_with_globals<rustc_interface[991e8c19fade1a23]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>
  66:     0x7ff66defecec - rustc_span[a127e056b860272b]::create_session_globals_then::<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_interface[991e8c19fade1a23]::util::run_in_thread_pool_with_globals<rustc_interface[991e8c19fade1a23]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}>
  67:     0x7ff66df608ee - std[660861df25873f31]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[991e8c19fade1a23]::util::run_in_thread_with_globals<rustc_interface[991e8c19fade1a23]::util::run_in_thread_pool_with_globals<rustc_interface[991e8c19fade1a23]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>
  68:     0x7ff66df04d14 - std[660861df25873f31]::panicking::try::<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<<std[660861df25873f31]::thread::Builder>::spawn_unchecked_<rustc_interface[991e8c19fade1a23]::util::run_in_thread_with_globals<rustc_interface[991e8c19fade1a23]::util::run_in_thread_pool_with_globals<rustc_interface[991e8c19fade1a23]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  69:     0x7ff66df2b966 - <<std[660861df25873f31]::thread::Builder>::spawn_unchecked_<rustc_interface[991e8c19fade1a23]::util::run_in_thread_with_globals<rustc_interface[991e8c19fade1a23]::util::run_in_thread_pool_with_globals<rustc_interface[991e8c19fade1a23]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>, rustc_driver_impl[6549d1104e4b87ca]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[a127e056b860272b]::ErrorGuaranteed>>::{closure#1} as core[5468609abfba7582]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  70:     0x7ff66d23d0ee - <std[660861df25873f31]::sys::pal::unix::thread::Thread>::new::thread_start
  72:     0x7ff66d0b6120 - <unknown>
  73:                0x0 - <unknown>

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

warning: the ICE couldn't be written to `/checkout/rustc-ice-2024-02-04T14_47_17-169602.txt`: Read-only file system (os error 30)
note: rustc 1.78.0-nightly (25ffcedc1 2024-02-04) running on x86_64-unknown-linux-gnu


note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -Z unstable-options -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -C embed-bitcode=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [eval_to_valtree] evaluating type-level constant
#1 [thir_body] building THIR for `time::tests::system_time_math`
#2 [check_unsafety] unsafety-checking `time::tests::system_time_math`
end of query stack
error: could not compile `std` (lib test)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:19:19

rust-log-analyzer avatar Feb 04 '24 14:02 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #120620) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Feb 04 '24 20:02 bors

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:581c71e4b5756953ce7b4bc61995ab88209f190031168e72c9d747cbb1e456fa done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.0s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Tue Feb  6 08:30:20 UTC 2024
  network time: Tue, 06 Feb 2024 08:30:20 GMT
  network time: Tue, 06 Feb 2024 08:30:20 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
##[endgroup]
Testing GCC stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished release [optimized] target(s) in 1.34s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --no-default-features --mini-tests --std-tests`
Using system GCC
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
   Compiling std v0.0.0 (/checkout/library/std)
   Compiling core v0.0.0 (/checkout/library/core)
   Compiling alloc v0.0.0 (/checkout/library/alloc)
thread 'rustc' panicked at /checkout/compiler/rustc_abi/src/lib.rs:1177:17:
internal error: entered unreachable code: FieldsShape::offset: `Primitive`s have no fields
stack backtrace:
   0:     0x7f33c002f4c9 - <std[459c2db52342536]::sys_common::backtrace::_print::DisplayBacktrace as core[5468609abfba7582]::fmt::Display>::fmt
   1:     0x7f33c00883ef - core[5468609abfba7582]::fmt::write
   2:     0x7f33c0023cb5 - <std[459c2db52342536]::sys::pal::unix::stdio::Stderr as std[459c2db52342536]::io::Write>::write_fmt
   3:     0x7f33c002f2a4 - std[459c2db52342536]::sys_common::backtrace::print
   4:     0x7f33c003258a - std[459c2db52342536]::panicking::default_hook::{closure#1}
   5:     0x7f33c0032265 - std[459c2db52342536]::panicking::default_hook
   6:     0x7f33c0d5bcc7 - <alloc[c691cd81afb870bc]::boxed::Box<rustc_driver_impl[3d7715b80a65f970]::install_ice_hook::{closure#0}> as core[5468609abfba7582]::ops::function::Fn<(&dyn for<'a, 'b> core[5468609abfba7582]::ops::function::Fn<(&'a core[5468609abfba7582]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[5468609abfba7582]::marker::Send + core[5468609abfba7582]::marker::Sync, &core[5468609abfba7582]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f33c0032c78 - std[459c2db52342536]::panicking::rust_panic_with_hook
   8:     0x7f33c00329b9 - std[459c2db52342536]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f33c002faa6 - std[459c2db52342536]::sys_common::backtrace::__rust_end_short_backtrace::<std[459c2db52342536]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f33bffea0d5 - core[5468609abfba7582]::panicking::panic_fmt
  11:     0x7f33bffea0d5 - core[5468609abfba7582]::panicking::panic_fmt
  12:     0x7f33c1bba6b3 - <rustc_abi[2bc721ca841be310]::FieldsShape<rustc_target[596043b376dee1ef]::abi::FieldIdx>>::offset
  13:     0x7f33c1bf016d - <rustc_const_eval[8a95e1818aeba471]::interpret::eval_context::InterpCx<rustc_const_eval[8a95e1818aeba471]::const_eval::machine::CompileTimeInterpreter>>::project_field::<rustc_const_eval[8a95e1818aeba471]::interpret::place::MPlaceTy>
  14:     0x7f33c1c3be06 - rustc_const_eval[8a95e1818aeba471]::const_eval::valtrees::const_to_valtree_inner
  15:     0x7f33c1c3af4a - rustc_const_eval[8a95e1818aeba471]::const_eval::valtrees::branches
  16:     0x7f33c1c3bfda - rustc_const_eval[8a95e1818aeba471]::const_eval::valtrees::const_to_valtree_inner
  17:     0x7f33c1c3af4a - rustc_const_eval[8a95e1818aeba471]::const_eval::valtrees::branches
  18:     0x7f33c1c3bfda - rustc_const_eval[8a95e1818aeba471]::const_eval::valtrees::const_to_valtree_inner
  19:     0x7f33c1cfc452 - rustc_const_eval[8a95e1818aeba471]::const_eval::eval_to_valtree
  20:     0x7f33c0f0eaa7 - <rustc_const_eval[8a95e1818aeba471]::provide::{closure#0} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, rustc_middle[c6655a7edb8048e6]::ty::ParamEnvAnd<rustc_middle[c6655a7edb8048e6]::mir::interpret::GlobalId>)>>::call_once
  21:     0x7f33c27f7f34 - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::eval_to_valtree::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 24usize]>>
  22:     0x7f33c29a872a - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::eval_to_valtree::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, rustc_middle[c6655a7edb8048e6]::ty::ParamEnvAnd<rustc_middle[c6655a7edb8048e6]::mir::interpret::GlobalId>)>>::call_once
  23:     0x7f33c2b7520b - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::DefaultCache<rustc_middle[c6655a7edb8048e6]::ty::ParamEnvAnd<rustc_middle[c6655a7edb8048e6]::mir::interpret::GlobalId>, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  24:     0x7f33c2a82f25 - rustc_query_impl[d1ac6e8712e7163e]::query_impl::eval_to_valtree::get_query_non_incr::__rust_end_short_backtrace
  25:     0x7f33c3a7306a - rustc_middle[c6655a7edb8048e6]::query::plumbing::query_get_at::<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::DefaultCache<rustc_middle[c6655a7edb8048e6]::ty::ParamEnvAnd<rustc_middle[c6655a7edb8048e6]::mir::interpret::GlobalId>, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 24usize]>>>
  26:     0x7f33c3a7527d - <rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt>::const_eval_global_id_for_typeck
  27:     0x7f33c22ae548 - <rustc_mir_build[80abb62bf683a8d2]::thir::pattern::PatCtxt>::lower_path
  28:     0x7f33c22a3e5c - <rustc_mir_build[80abb62bf683a8d2]::thir::pattern::PatCtxt>::lower_pattern
  29:     0x7f33c224c992 - <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[c6655a7edb8048e6]::thir::FieldPat> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<rustc_middle[c6655a7edb8048e6]::thir::FieldPat, core[5468609abfba7582]::iter::adapters::map::Map<rustc_hir[e56b5e5eb8c92ca2]::pat_util::EnumerateAndAdjust<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[e56b5e5eb8c92ca2]::hir::Pat>>, <rustc_mir_build[80abb62bf683a8d2]::thir::pattern::PatCtxt>::lower_tuple_subpats::{closure#0}>>>::from_iter
  30:     0x7f33c22a3bff - <rustc_mir_build[80abb62bf683a8d2]::thir::pattern::PatCtxt>::lower_pattern
  31:     0x7f33c22a34ce - rustc_mir_build[80abb62bf683a8d2]::thir::pattern::pat_from_hir
  32:     0x7f33c226a6a0 - <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::pattern_from_hir
  33:     0x7f33c226954e - <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::convert_arm
  34:     0x7f33c233508b - <core[5468609abfba7582]::iter::adapters::map::Map<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[e56b5e5eb8c92ca2]::hir::Arm>, <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}::{closure#13}> as core[5468609abfba7582]::iter::traits::iterator::Iterator>::fold::<(), core[5468609abfba7582]::iter::traits::iterator::Iterator::for_each::call<rustc_middle[c6655a7edb8048e6]::thir::ArmId, <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[c6655a7edb8048e6]::thir::ArmId>>::extend_trusted<core[5468609abfba7582]::iter::adapters::map::Map<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[e56b5e5eb8c92ca2]::hir::Arm>, <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}::{closure#13}>>::{closure#0}>::{closure#0}>
  35:     0x7f33c224b5ab - <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[c6655a7edb8048e6]::thir::ArmId> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<rustc_middle[c6655a7edb8048e6]::thir::ArmId, core[5468609abfba7582]::iter::adapters::map::Map<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[e56b5e5eb8c92ca2]::hir::Arm>, <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}::{closure#13}>>>::from_iter
  36:     0x7f33c226d004 - <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}
  37:     0x7f33c226ad8e - <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::mirror_expr_inner
  38:     0x7f33c232dd93 - <&mut <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::mirror_stmts::{closure#0} as core[5468609abfba7582]::ops::function::FnMut<((usize, &rustc_hir[e56b5e5eb8c92ca2]::hir::Stmt),)>>::call_mut
  39:     0x7f33c224bed2 - <alloc[c691cd81afb870bc]::vec::Vec<rustc_middle[c6655a7edb8048e6]::thir::StmtId> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<rustc_middle[c6655a7edb8048e6]::thir::StmtId, core[5468609abfba7582]::iter::adapters::filter_map::FilterMap<core[5468609abfba7582]::iter::adapters::enumerate::Enumerate<core[5468609abfba7582]::slice::iter::Iter<rustc_hir[e56b5e5eb8c92ca2]::hir::Stmt>>, <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::mirror_stmts::{closure#0}>>>::from_iter
  40:     0x7f33c22685d0 - <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::mirror_block
  41:     0x7f33c226c2b9 - <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::make_mirror_unadjusted::{closure#0}
  42:     0x7f33c226ad8e - <rustc_mir_build[80abb62bf683a8d2]::thir::cx::Cx>::mirror_expr_inner
  43:     0x7f33c22680cc - rustc_mir_build[80abb62bf683a8d2]::thir::cx::thir_body
  44:     0x7f33c281661b - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::thir_body::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>
  45:     0x7f33c28dfc3d - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::thir_body::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, rustc_span[65f7ba08badc9d9e]::def_id::LocalDefId)>>::call_once
  46:     0x7f33c2bd69e5 - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::VecCache<rustc_span[65f7ba08badc9d9e]::def_id::LocalDefId, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  47:     0x7f33c2911c08 - rustc_query_impl[d1ac6e8712e7163e]::query_impl::thir_body::get_query_non_incr::__rust_end_short_backtrace
  48:     0x7f33c226780f - rustc_mir_build[80abb62bf683a8d2]::check_unsafety::check_unsafety
  49:     0x7f33c27f46d5 - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::check_unsafety::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 0usize]>>
  50:     0x7f33c2ad0b35 - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::check_unsafety::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, rustc_span[65f7ba08badc9d9e]::def_id::LocalDefId)>>::call_once
  51:     0x7f33c2bd4554 - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::VecCache<rustc_span[65f7ba08badc9d9e]::def_id::LocalDefId, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  52:     0x7f33c2a81db7 - rustc_query_impl[d1ac6e8712e7163e]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace
  53:     0x7f33c0fe2fbf - <rustc_middle[c6655a7edb8048e6]::hir::map::Map>::par_body_owners::<rustc_interface[cd5c1d2f120d6c1b]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}
  54:     0x7f33c0fe0a71 - std[459c2db52342536]::panicking::try::<(), core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[d4312dad6f3c5dd]::sync::parallel::enabled::par_for_each_in<&rustc_span[65f7ba08badc9d9e]::def_id::LocalDefId, &[rustc_span[65f7ba08badc9d9e]::def_id::LocalDefId], <rustc_middle[c6655a7edb8048e6]::hir::map::Map>::par_body_owners<rustc_interface[cd5c1d2f120d6c1b]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
  55:     0x7f33c0fb62eb - <rustc_session[4534700078cc38a8]::session::Session>::time::<(), rustc_interface[cd5c1d2f120d6c1b]::passes::analysis::{closure#1}>
  56:     0x7f33c0f1c882 - rustc_interface[cd5c1d2f120d6c1b]::passes::analysis
  57:     0x7f33c28142b3 - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 1usize]>>
  58:     0x7f33c297f7c1 - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::analysis::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, ())>>::call_once
  59:     0x7f33c2b3df78 - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::SingleCache<rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  60:     0x7f33c2ab1da1 - rustc_query_impl[d1ac6e8712e7163e]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  61:     0x7f33c0ceb6db - <rustc_middle[c6655a7edb8048e6]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  62:     0x7f33c0d8d63c - <rustc_interface[cd5c1d2f120d6c1b]::interface::Compiler>::enter::<rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<core[5468609abfba7582]::option::Option<rustc_interface[cd5c1d2f120d6c1b]::queries::Linker>, rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  63:     0x7f33c0d1017e - rustc_span[65f7ba08badc9d9e]::set_source_map::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  64:     0x7f33c0d4ecea - <scoped_tls[42c2975c90d4e7f2]::ScopedKey<rustc_span[65f7ba08badc9d9e]::SessionGlobals>>::set::<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  65:     0x7f33c0d1065c - rustc_span[65f7ba08badc9d9e]::create_session_globals_then::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}>
  66:     0x7f33c0d58f1e - std[459c2db52342536]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  67:     0x7f33c0d166c4 - std[459c2db52342536]::panicking::try::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<<std[459c2db52342536]::thread::Builder>::spawn_unchecked_<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  68:     0x7f33c0d696c6 - <<std[459c2db52342536]::thread::Builder>::spawn_unchecked_<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#1} as core[5468609abfba7582]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  69:     0x7f33c003e0ee - <std[459c2db52342536]::sys::pal::unix::thread::Thread>::new::thread_start
  71:     0x7f33bfeb7120 - <unknown>
  72:                0x0 - <unknown>

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

warning: the ICE couldn't be written to `/checkout/rustc-ice-2024-02-06T08_49_08-169711.txt`: Read-only file system (os error 30)
note: rustc 1.78.0-nightly (bc611a621 2024-02-06) running on x86_64-unknown-linux-gnu


note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -Z unstable-options -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -C embed-bitcode=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [eval_to_valtree] evaluating type-level constant
#1 [thir_body] building THIR for `time::tests::system_time_math`
#2 [check_unsafety] unsafety-checking `time::tests::system_time_math`
end of query stack
error: could not compile `std` (lib test)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:19:18

rust-log-analyzer avatar Feb 06 '24 08:02 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:75b5e4898b4a1bbe1fde3970b900bda02ab6a47bf4302265035581db68045894 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.1s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Tue Feb  6 09:46:34 UTC 2024
  network time: Tue, 06 Feb 2024 09:46:35 GMT
  network time: Tue, 06 Feb 2024 09:46:35 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
   Compiling libc v0.2.153
   Compiling memchr v2.5.0
   Compiling std v0.0.0 (/checkout/library/std)
   Compiling compiler_builtins v0.1.105
error[E0405]: cannot find trait `StructuralEq` in module `crate::marker`
    |
    |
81  | impl crate::marker::StructuralEq for Nanoseconds {}
    |                     ^^^^^^^^^^^^ not found in `crate::marker`
note: found an item that was configured out
   --> library/core/src/marker.rs:279:11
    |
279 | pub trait StructuralEq {

rust-log-analyzer avatar Feb 06 '24 09:02 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:b492ec59d230b148ca4e924c53e3733db0413e8cb88ea1e6a1c7ec6d83b63f21 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.2s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Tue Feb  6 10:37:46 UTC 2024
  network time: Tue, 06 Feb 2024 10:37:46 GMT
  network time: Tue, 06 Feb 2024 10:37:46 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
##[endgroup]
Testing GCC stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished release [optimized] target(s) in 1.34s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --no-default-features --mini-tests --std-tests`
Using system GCC
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
   Compiling rand v0.8.5
   Compiling alloc v0.0.0 (/checkout/library/alloc)
   Compiling std v0.0.0 (/checkout/library/std)
   Compiling core v0.0.0 (/checkout/library/core)
error: `(u32) is 0..=999999999` cannot be used in patterns
    |
    |
131 |         Ok(Duration::ZERO) => {

error: could not compile `std` (lib test) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:19:28

rust-log-analyzer avatar Feb 06 '24 10:02 rust-log-analyzer

Some changes might have occurred in exhaustiveness checking

cc @Nadrieril

rustbot avatar Feb 06 '24 10:02 rustbot

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:911165c4458a333d4b69221fe1dcc2cc70236ad613126d7441860997daa8cd52 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.4s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Tue Feb  6 11:01:47 UTC 2024
  network time: Tue, 06 Feb 2024 11:01:47 GMT
  network time: Tue, 06 Feb 2024 11:01:47 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
##[endgroup]
Testing GCC stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished release [optimized] target(s) in 1.42s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --no-default-features --mini-tests --std-tests`
Using system GCC
Using system GCC
[BUILD] example
[AOT] mini_core_hello_world
/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc/mini_core_hello_world
abc
---
   Compiling rand v0.8.5
   Compiling core v0.0.0 (/checkout/library/core)
   Compiling alloc v0.0.0 (/checkout/library/alloc)
   Compiling std v0.0.0 (/checkout/library/std)
note: no errors encountered even though `span_delayed_bug` issued

note: those delayed bugs will now be shown as internal compiler errors

error: internal compiler error: broken MIR in DefId(0:14570 ~ std[7ba8]::time::tests::system_time_math#1) (((((_4 as Ok).0: core::time::Duration).1: core::time::Nanoseconds).0: u32)): bad field access (pattern_type!(u32 is Pattern::Range { start: Some(0_u32), end: Some(999999999_u32), include_end: true }): u32): NoSolution
    |
    |
130 |     match b.duration_since(a) {
    |
note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:712:29
note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:712:29
         0: <rustc_errors::DiagCtxtInner>::emit_diagnostic
         1: <rustc_errors::DiagCtxt>::emit_diagnostic
         2: <rustc_errors::diagnostic_builder::DiagnosticBuilder>::emit_producing_error_guaranteed
         3: <rustc_borrowck::type_check::TypeVerifier as rustc_middle::mir::visit::Visitor>::visit_place
         4: <rustc_borrowck::type_check::TypeVerifier as rustc_middle::mir::visit::Visitor>::visit_body
         5: rustc_borrowck::type_check::type_check
         6: rustc_borrowck::nll::compute_regions
         7: rustc_borrowck::do_mir_borrowck
         8: rustc_borrowck::mir_borrowck
         9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 8]>>
        10: <rustc_query_impl::query_impl::mir_borrowck::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_span::def_id::LocalDefId)>>::call_once
        11: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::Erased<[u8; 8]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false>
        12: rustc_query_impl::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
        13: <rustc_middle::hir::map::Map>::par_body_owners::<rustc_interface::passes::analysis::{closure#1}::{closure#0}>::{closure#0}
        14: std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::parallel::enabled::par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], <rustc_middle::hir::map::Map>::par_body_owners<rustc_interface::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
        16: rustc_interface::passes::analysis
        17: rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle::query::erase::Erased<[u8; 1]>>
        18: <rustc_query_impl::query_impl::analysis::dynamic_query::{closure#2} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, ())>>::call_once
        19: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::DynamicConfig<rustc_query_system::query::caches::SingleCache<rustc_middle::query::erase::Erased<[u8; 1]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false>
---
        30: <unknown>
        31: <unknown>
   --> library/std/src/time/tests.rs:130:5
    |
130 |     match b.duration_since(a) {

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


warning: the ICE couldn't be written to `/checkout/rustc-ice-2024-02-06T11_20_57-169705.txt`: Read-only file system (os error 30)
note: rustc 1.78.0-nightly (a0b297a40 2024-02-06) running on x86_64-unknown-linux-gnu


note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -Z unstable-options -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -C embed-bitcode=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack

rust-log-analyzer avatar Feb 06 '24 11:02 rust-log-analyzer

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:7545b17a364b71a3412185c9f2a399e1f113c702816dc701b147361b7277ed4b done
#12 naming to docker.io/library/rust-ci done
#12 DONE 9.9s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Tue Feb  6 15:34:45 UTC 2024
  network time: Tue, 06 Feb 2024 15:34:45 GMT
  network time: Tue, 06 Feb 2024 15:34:45 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
   Compiling object v0.32.2
   Compiling miniz_oxide v0.7.1
   Compiling addr2line v0.21.0
thread 'rustc' panicked at compiler/rustc_symbol_mangling/src/lib.rs:272:5:
compute_symbol_name: `_RNvXs0_NtCsg4U4MkcGvg3_4core4timeTmm0__m3b9ac9ff_1_ENtNtB7_3cmp10PartialOrd11partial_cmp` cannot be demangled
stack backtrace:
   0:     0x7f8d0930f4c9 - <std[459c2db52342536]::sys_common::backtrace::_print::DisplayBacktrace as core[5468609abfba7582]::fmt::Display>::fmt
   1:     0x7f8d093683ef - core[5468609abfba7582]::fmt::write
   2:     0x7f8d09303cb5 - <std[459c2db52342536]::sys::pal::unix::stdio::Stderr as std[459c2db52342536]::io::Write>::write_fmt
   3:     0x7f8d0930f2a4 - std[459c2db52342536]::sys_common::backtrace::print
   4:     0x7f8d0931258a - std[459c2db52342536]::panicking::default_hook::{closure#1}
   5:     0x7f8d09312265 - std[459c2db52342536]::panicking::default_hook
   6:     0x7f8d0a03bcc7 - <alloc[c691cd81afb870bc]::boxed::Box<rustc_driver_impl[3d7715b80a65f970]::install_ice_hook::{closure#0}> as core[5468609abfba7582]::ops::function::Fn<(&dyn for<'a, 'b> core[5468609abfba7582]::ops::function::Fn<(&'a core[5468609abfba7582]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[5468609abfba7582]::marker::Send + core[5468609abfba7582]::marker::Sync, &core[5468609abfba7582]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f8d09312c78 - std[459c2db52342536]::panicking::rust_panic_with_hook
   8:     0x7f8d093129f2 - std[459c2db52342536]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f8d0930faa6 - std[459c2db52342536]::sys_common::backtrace::__rust_end_short_backtrace::<std[459c2db52342536]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f8d092ca0d5 - core[5468609abfba7582]::panicking::panic_fmt
  12:     0x7f8d0c6d3ee8 - rustc_symbol_mangling[c2f55ad027ab69b4]::symbol_name_provider
  13:     0x7f8d0bad165e - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>
  13:     0x7f8d0bad165e - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>
  14:     0x7f8d0bc84c1e - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, rustc_middle[c6655a7edb8048e6]::ty::instance::Instance)>>::call_once
  15:     0x7f8d0be8357d - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::DefaultCache<rustc_middle[c6655a7edb8048e6]::ty::instance::Instance, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  16:     0x7f8d0bcf0387 - rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::get_query_non_incr::__rust_end_short_backtrace
  17:     0x7f8d0ceb97fb - rustc_middle[c6655a7edb8048e6]::query::plumbing::query_get_at::<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::DefaultCache<rustc_middle[c6655a7edb8048e6]::ty::instance::Instance, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>>
  18:     0x7f8d0cea878f - <rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>::symbol_name
  19:     0x7f8d0aba5299 - <&mut rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::assert_symbols_are_distinct<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>>::{closure#0} as core[5468609abfba7582]::ops::function::FnOnce<(&rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem,)>>::call_once
  20:     0x7f8d0abe71f3 - <alloc[c691cd81afb870bc]::vec::Vec<(&rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem, rustc_middle[c6655a7edb8048e6]::ty::SymbolName)> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<(&rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem, rustc_middle[c6655a7edb8048e6]::ty::SymbolName), core[5468609abfba7582]::iter::adapters::map::Map<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>, rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::assert_symbols_are_distinct<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>>::{closure#0}>>>::from_iter
  21:     0x7f8d0ababb09 - rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::assert_symbols_are_distinct::<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>>
  22:     0x7f8d0abf40e8 - std[459c2db52342536]::panicking::try::<(), core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items::{closure#0}::{closure#1}>>
  23:     0x7f8d0abd194a - <rustc_data_structures[d4312dad6f3c5dd]::sync::parallel::ParallelGuard>::run::<(), rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items::{closure#0}::{closure#1}>
  24:     0x7f8d0abdc870 - <rustc_session[4534700078cc38a8]::session::Session>::time::<(&[rustc_middle[c6655a7edb8048e6]::mir::mono::CodegenUnit], ()), rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items::{closure#0}>
  25:     0x7f8d0ababfa3 - rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items
  26:     0x7f8d0baf1555 - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 24usize]>>
  27:     0x7f8d0bd901c9 - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, ())>>::call_once
  28:     0x7f8d0be1be08 - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::SingleCache<rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  29:     0x7f8d0bd21dfb - rustc_query_impl[d1ac6e8712e7163e]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  30:     0x7f8d0a32cb16 - rustc_codegen_ssa[b6b2541e57aa2c32]::base::codegen_crate::<rustc_codegen_llvm[e2f38bdf3890299c]::LlvmCodegenBackend>
  31:     0x7f8d0a3ed350 - <rustc_codegen_llvm[e2f38bdf3890299c]::LlvmCodegenBackend as rustc_codegen_ssa[b6b2541e57aa2c32]::traits::backend::CodegenBackend>::codegen_crate
  32:     0x7f8d0a29329f - <rustc_session[4534700078cc38a8]::session::Session>::time::<alloc[c691cd81afb870bc]::boxed::Box<dyn core[5468609abfba7582]::any::Any>, rustc_interface[cd5c1d2f120d6c1b]::passes::start_codegen::{closure#0}>
  33:     0x7f8d0a1fd556 - rustc_interface[cd5c1d2f120d6c1b]::passes::start_codegen
  34:     0x7f8d0a29c964 - <rustc_middle[c6655a7edb8048e6]::ty::context::GlobalCtxt>::enter::<<rustc_interface[cd5c1d2f120d6c1b]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[5468609abfba7582]::result::Result<rustc_interface[cd5c1d2f120d6c1b]::queries::Linker, rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  35:     0x7f8d0a24a350 - <rustc_interface[cd5c1d2f120d6c1b]::queries::Queries>::codegen_and_build_linker
  36:     0x7f8d0a06d688 - <rustc_interface[cd5c1d2f120d6c1b]::interface::Compiler>::enter::<rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<core[5468609abfba7582]::option::Option<rustc_interface[cd5c1d2f120d6c1b]::queries::Linker>, rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  37:     0x7f8d09ff017e - rustc_span[65f7ba08badc9d9e]::set_source_map::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  38:     0x7f8d0a02ecea - <scoped_tls[42c2975c90d4e7f2]::ScopedKey<rustc_span[65f7ba08badc9d9e]::SessionGlobals>>::set::<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  39:     0x7f8d09ff065c - rustc_span[65f7ba08badc9d9e]::create_session_globals_then::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}>
  40:     0x7f8d0a038f1e - std[459c2db52342536]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  41:     0x7f8d09ff66c4 - std[459c2db52342536]::panicking::try::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<<std[459c2db52342536]::thread::Builder>::spawn_unchecked_<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  42:     0x7f8d0a0496c6 - <<std[459c2db52342536]::thread::Builder>::spawn_unchecked_<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#1} as core[5468609abfba7582]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  43:     0x7f8d0931e0ee - <std[459c2db52342536]::sys::pal::unix::thread::Thread>::new::thread_start
  45:     0x7f8d09197120 - <unknown>
  46:                0x0 - <unknown>

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

warning: the ICE couldn't be written to `/checkout/rustc-ice-2024-02-06T15_39_26-9909.txt`: Read-only file system (os error 30)
note: rustc 1.78.0-nightly (eb3a9c531 2024-02-06) running on x86_64-unknown-linux-gnu


note: compiler flags: --crate-type dylib --crate-type rlib -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -Z unstable-options -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -C embed-bitcode=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [symbol_name] computing the symbol for `core::time::<impl core::cmp::PartialOrd for (u32) is 0..=999999999>::partial_cmp`
#1 [collect_and_partition_mono_items] collect_and_partition_mono_items
error: could not compile `std` (lib)
Build completed unsuccessfully in 0:04:13
  local time: Tue Feb  6 15:39:32 UTC 2024
  network time: Tue, 06 Feb 2024 15:39:33 GMT

rust-log-analyzer avatar Feb 06 '24 15:02 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #120361) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Feb 06 '24 17:02 bors

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:a27385c7b6c00803fea9e73d356a716003c89076aae4a0c7f157c19554a90d72 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.2s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Wed Feb  7 17:24:32 UTC 2024
  network time: Wed, 07 Feb 2024 17:24:32 GMT
  network time: Wed, 07 Feb 2024 17:24:32 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
   Compiling hashbrown v0.14.3
   Compiling object v0.32.2
   Compiling addr2line v0.21.0
thread 'rustc' panicked at compiler/rustc_symbol_mangling/src/lib.rs:272:5:
compute_symbol_name: `_RNvXs0_NtCs5nVfj2Osz2j_4core4timeTmm0__m3b9ac9ff_1_ENtNtB7_3cmp10PartialOrd11partial_cmp` cannot be demangled
stack backtrace:
   0:     0x7f82d21fb4c9 - <std[459c2db52342536]::sys_common::backtrace::_print::DisplayBacktrace as core[5468609abfba7582]::fmt::Display>::fmt
   1:     0x7f82d22543ef - core[5468609abfba7582]::fmt::write
   2:     0x7f82d21efcb5 - <std[459c2db52342536]::sys::pal::unix::stdio::Stderr as std[459c2db52342536]::io::Write>::write_fmt
   3:     0x7f82d21fb2a4 - std[459c2db52342536]::sys_common::backtrace::print
   4:     0x7f82d21fe58a - std[459c2db52342536]::panicking::default_hook::{closure#1}
   5:     0x7f82d21fe265 - std[459c2db52342536]::panicking::default_hook
   6:     0x7f82d2ee5667 - <alloc[c691cd81afb870bc]::boxed::Box<rustc_driver_impl[3d7715b80a65f970]::install_ice_hook::{closure#0}> as core[5468609abfba7582]::ops::function::Fn<(&dyn for<'a, 'b> core[5468609abfba7582]::ops::function::Fn<(&'a core[5468609abfba7582]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[5468609abfba7582]::marker::Send + core[5468609abfba7582]::marker::Sync, &core[5468609abfba7582]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f82d21fec78 - std[459c2db52342536]::panicking::rust_panic_with_hook
   8:     0x7f82d21fe9f2 - std[459c2db52342536]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f82d21fbaa6 - std[459c2db52342536]::sys_common::backtrace::__rust_end_short_backtrace::<std[459c2db52342536]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f82d21b60d5 - core[5468609abfba7582]::panicking::panic_fmt
  12:     0x7f82d55b2968 - rustc_symbol_mangling[c2f55ad027ab69b4]::symbol_name_provider
  13:     0x7f82d49b8cce - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>
  13:     0x7f82d49b8cce - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>
  14:     0x7f82d4bafd5e - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, rustc_middle[c6655a7edb8048e6]::ty::instance::Instance)>>::call_once
  15:     0x7f82d4d02688 - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::DefaultCache<rustc_middle[c6655a7edb8048e6]::ty::instance::Instance, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  16:     0x7f82d4b32827 - rustc_query_impl[d1ac6e8712e7163e]::query_impl::symbol_name::get_query_non_incr::__rust_end_short_backtrace
  17:     0x7f82d5dd8a4f - rustc_middle[c6655a7edb8048e6]::query::plumbing::query_get_at::<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::DefaultCache<rustc_middle[c6655a7edb8048e6]::ty::instance::Instance, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 16usize]>>>
  18:     0x7f82d5dc6cef - <rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>::symbol_name
  19:     0x7f82d3a950e9 - <&mut rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::assert_symbols_are_distinct<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>>::{closure#0} as core[5468609abfba7582]::ops::function::FnOnce<(&rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem,)>>::call_once
  20:     0x7f82d3ab86a3 - <alloc[c691cd81afb870bc]::vec::Vec<(&rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem, rustc_middle[c6655a7edb8048e6]::ty::SymbolName)> as alloc[c691cd81afb870bc]::vec::spec_from_iter::SpecFromIter<(&rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem, rustc_middle[c6655a7edb8048e6]::ty::SymbolName), core[5468609abfba7582]::iter::adapters::map::Map<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>, rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::assert_symbols_are_distinct<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>>::{closure#0}>>>::from_iter
  21:     0x7f82d3a9b959 - rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::assert_symbols_are_distinct::<std[459c2db52342536]::collections::hash::set::Iter<rustc_middle[c6655a7edb8048e6]::mir::mono::MonoItem>>
  22:     0x7f82d3ae5178 - std[459c2db52342536]::panicking::try::<(), core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items::{closure#0}::{closure#1}>>
  23:     0x7f82d3ac1083 - rustc_data_structures[d4312dad6f3c5dd]::sync::parallel::disabled::join::<rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items::{closure#0}::{closure#0}, rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items::{closure#0}::{closure#1}, &[rustc_middle[c6655a7edb8048e6]::mir::mono::CodegenUnit], ()>
  24:     0x7f82d3ac6e76 - <rustc_session[4534700078cc38a8]::session::Session>::time::<(&[rustc_middle[c6655a7edb8048e6]::mir::mono::CodegenUnit], ()), rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items::{closure#0}>
  25:     0x7f82d3a9be06 - rustc_monomorphize[1f50c9818fe6d6fb]::partitioning::collect_and_partition_mono_items
  26:     0x7f82d49d8d95 - rustc_query_impl[d1ac6e8712e7163e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[d1ac6e8712e7163e]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 24usize]>>
  27:     0x7f82d4af5089 - <rustc_query_impl[d1ac6e8712e7163e]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[5468609abfba7582]::ops::function::FnOnce<(rustc_middle[c6655a7edb8048e6]::ty::context::TyCtxt, ())>>::call_once
  28:     0x7f82d4c9b528 - rustc_query_system[58c43e3c1eaeb5d6]::query::plumbing::try_execute_query::<rustc_query_impl[d1ac6e8712e7163e]::DynamicConfig<rustc_query_system[58c43e3c1eaeb5d6]::query::caches::SingleCache<rustc_middle[c6655a7edb8048e6]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[d1ac6e8712e7163e]::plumbing::QueryCtxt, false>
  29:     0x7f82d4db744e - rustc_query_impl[d1ac6e8712e7163e]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  30:     0x7f82d33032c6 - rustc_codegen_ssa[b6b2541e57aa2c32]::base::codegen_crate::<rustc_codegen_llvm[e2f38bdf3890299c]::LlvmCodegenBackend>
  31:     0x7f82d323c940 - <rustc_codegen_llvm[e2f38bdf3890299c]::LlvmCodegenBackend as rustc_codegen_ssa[b6b2541e57aa2c32]::traits::backend::CodegenBackend>::codegen_crate
  32:     0x7f82d310f5cf - <rustc_session[4534700078cc38a8]::session::Session>::time::<alloc[c691cd81afb870bc]::boxed::Box<dyn core[5468609abfba7582]::any::Any>, rustc_interface[cd5c1d2f120d6c1b]::passes::start_codegen::{closure#0}>
  33:     0x7f82d319a166 - rustc_interface[cd5c1d2f120d6c1b]::passes::start_codegen
  34:     0x7f82d3113214 - <rustc_middle[c6655a7edb8048e6]::ty::context::GlobalCtxt>::enter::<<rustc_interface[cd5c1d2f120d6c1b]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[5468609abfba7582]::result::Result<rustc_interface[cd5c1d2f120d6c1b]::queries::Linker, rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  35:     0x7f82d310e5c0 - <rustc_interface[cd5c1d2f120d6c1b]::queries::Queries>::codegen_and_build_linker
  36:     0x7f82d2f5a288 - <rustc_interface[cd5c1d2f120d6c1b]::interface::Compiler>::enter::<rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<core[5468609abfba7582]::option::Option<rustc_interface[cd5c1d2f120d6c1b]::queries::Linker>, rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  37:     0x7f82d2f116de - rustc_span[65f7ba08badc9d9e]::set_source_map::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  38:     0x7f82d2ed886a - <scoped_tls[42c2975c90d4e7f2]::ScopedKey<rustc_span[65f7ba08badc9d9e]::SessionGlobals>>::set::<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  39:     0x7f82d2f11bbc - rustc_span[65f7ba08badc9d9e]::create_session_globals_then::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}>
  40:     0x7f82d2f0a2ee - std[459c2db52342536]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>
  41:     0x7f82d2f17c64 - std[459c2db52342536]::panicking::try::<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, core[5468609abfba7582]::panic::unwind_safe::AssertUnwindSafe<<std[459c2db52342536]::thread::Builder>::spawn_unchecked_<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  42:     0x7f82d2f0d596 - <<std[459c2db52342536]::thread::Builder>::spawn_unchecked_<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_with_globals<rustc_interface[cd5c1d2f120d6c1b]::util::run_in_thread_pool_with_globals<rustc_interface[cd5c1d2f120d6c1b]::interface::run_compiler<core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>, rustc_driver_impl[3d7715b80a65f970]::run_compiler::{closure#0}>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[5468609abfba7582]::result::Result<(), rustc_span[65f7ba08badc9d9e]::ErrorGuaranteed>>::{closure#1} as core[5468609abfba7582]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  43:     0x7f82d220a0ee - <std[459c2db52342536]::sys::pal::unix::thread::Thread>::new::thread_start
  45:     0x7f82d2083120 - <unknown>
  46:                0x0 - <unknown>

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

warning: the ICE couldn't be written to `/checkout/rustc-ice-2024-02-07T17_29_16-9909.txt`: Read-only file system (os error 30)
note: rustc 1.78.0-nightly (c2dae296c 2024-02-07) running on x86_64-unknown-linux-gnu


note: compiler flags: --crate-type dylib --crate-type rlib -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -Z unstable-options -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -C embed-bitcode=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [symbol_name] computing the symbol for `core::time::<impl core::cmp::PartialOrd for (u32) is 0..=999999999>::partial_cmp`
#1 [collect_and_partition_mono_items] collect_and_partition_mono_items
error: could not compile `std` (lib)
Build completed unsuccessfully in 0:04:14
  local time: Wed Feb  7 17:29:23 UTC 2024
  network time: Wed, 07 Feb 2024 17:29:23 GMT

rust-log-analyzer avatar Feb 07 '24 17:02 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #120550) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Feb 08 '24 12:02 bors

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#12 writing image sha256:0060c79d30c7cb60227bf445639e5dc7472911b4231fe35344f83d86cc59a27b done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.2s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Tue Feb 13 17:17:21 UTC 2024
  network time: Tue, 13 Feb 2024 17:17:21 GMT
  network time: Tue, 13 Feb 2024 17:17:21 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
   Compiling hashbrown v0.14.3
   Compiling object v0.32.2
   Compiling addr2line v0.21.0
thread 'rustc' panicked at compiler/rustc_symbol_mangling/src/lib.rs:270:5:
compute_symbol_name: `_RNvXs0_NtCslW9tjhmv59L_4core4timeTmm0__m3b9ac9ff_1_ENtNtB7_3cmp10PartialOrd11partial_cmp` cannot be demangled
stack backtrace:
   0:     0x7f0b3f034589 - <std[35f650dd239ed0e5]::sys_common::backtrace::_print::DisplayBacktrace as core[301f0576711e1b37]::fmt::Display>::fmt
   1:     0x7f0b3f091cab - core[301f0576711e1b37]::fmt::write
   2:     0x7f0b3f0284e5 - <std[35f650dd239ed0e5]::sys::pal::unix::stdio::Stderr as std[35f650dd239ed0e5]::io::Write>::write_fmt
   3:     0x7f0b3f034364 - std[35f650dd239ed0e5]::sys_common::backtrace::print
   4:     0x7f0b3f0377ba - std[35f650dd239ed0e5]::panicking::default_hook::{closure#1}
   5:     0x7f0b3f03753b - std[35f650dd239ed0e5]::panicking::default_hook
   6:     0x7f0b3fe2788c - <alloc[60e970026e7fb614]::boxed::Box<rustc_driver_impl[8c9603b33c640744]::install_ice_hook::{closure#0}> as core[301f0576711e1b37]::ops::function::Fn<(&dyn for<'a, 'b> core[301f0576711e1b37]::ops::function::Fn<(&'a core[301f0576711e1b37]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[301f0576711e1b37]::marker::Sync + core[301f0576711e1b37]::marker::Send, &core[301f0576711e1b37]::panic::panic_info::PanicInfo)>>::call
   7:     0x7f0b3f03809c - std[35f650dd239ed0e5]::panicking::rust_panic_with_hook
   8:     0x7f0b3f037d72 - std[35f650dd239ed0e5]::panicking::begin_panic_handler::{closure#0}
   9:     0x7f0b3f034b66 - std[35f650dd239ed0e5]::sys_common::backtrace::__rust_end_short_backtrace::<std[35f650dd239ed0e5]::panicking::begin_panic_handler::{closure#0}, !>
  11:     0x7f0b3efeacc5 - core[301f0576711e1b37]::panicking::panic_fmt
  12:     0x7f0b4266704b - rustc_symbol_mangling[f6ecb93afd023899]::symbol_name_provider
  12:     0x7f0b4266704b - rustc_symbol_mangling[f6ecb93afd023899]::symbol_name_provider
  13:     0x7f0b419da81e - rustc_query_impl[75ffcb1949eb9652]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[75ffcb1949eb9652]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[ece0fc7ae2ffc16a]::query::erase::Erased<[u8; 16usize]>>
  14:     0x7f0b41b1711e - <rustc_query_impl[75ffcb1949eb9652]::query_impl::symbol_name::dynamic_query::{closure#2} as core[301f0576711e1b37]::ops::function::FnOnce<(rustc_middle[ece0fc7ae2ffc16a]::ty::context::TyCtxt, rustc_middle[ece0fc7ae2ffc16a]::ty::instance::Instance)>>::call_once
  15:     0x7f0b41dd2596 - rustc_query_system[6cad2cfb051d2204]::query::plumbing::try_execute_query::<rustc_query_impl[75ffcb1949eb9652]::DynamicConfig<rustc_query_system[6cad2cfb051d2204]::query::caches::DefaultCache<rustc_middle[ece0fc7ae2ffc16a]::ty::instance::Instance, rustc_middle[ece0fc7ae2ffc16a]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[75ffcb1949eb9652]::plumbing::QueryCtxt, false>
  16:     0x7f0b41a772cd - rustc_query_impl[75ffcb1949eb9652]::query_impl::symbol_name::get_query_non_incr::__rust_end_short_backtrace
  17:     0x7f0b42dd2553 - rustc_middle[ece0fc7ae2ffc16a]::query::plumbing::query_get_at::<rustc_query_system[6cad2cfb051d2204]::query::caches::DefaultCache<rustc_middle[ece0fc7ae2ffc16a]::ty::instance::Instance, rustc_middle[ece0fc7ae2ffc16a]::query::erase::Erased<[u8; 16usize]>>>
  18:     0x7f0b42dc0e0f - <rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem>::symbol_name
  19:     0x7f0b409fd199 - <&mut rustc_monomorphize[2b338de88ceef76b]::partitioning::assert_symbols_are_distinct<std[35f650dd239ed0e5]::collections::hash::set::Iter<rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem>>::{closure#0} as core[301f0576711e1b37]::ops::function::FnOnce<(&rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem,)>>::call_once
  20:     0x7f0b40a3d7b5 - <alloc[60e970026e7fb614]::vec::Vec<(&rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem, rustc_middle[ece0fc7ae2ffc16a]::ty::SymbolName)> as alloc[60e970026e7fb614]::vec::spec_from_iter::SpecFromIter<(&rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem, rustc_middle[ece0fc7ae2ffc16a]::ty::SymbolName), core[301f0576711e1b37]::iter::adapters::map::Map<std[35f650dd239ed0e5]::collections::hash::set::Iter<rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem>, rustc_monomorphize[2b338de88ceef76b]::partitioning::assert_symbols_are_distinct<std[35f650dd239ed0e5]::collections::hash::set::Iter<rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem>>::{closure#0}>>>::from_iter
  21:     0x7f0b40a03d29 - rustc_monomorphize[2b338de88ceef76b]::partitioning::assert_symbols_are_distinct::<std[35f650dd239ed0e5]::collections::hash::set::Iter<rustc_middle[ece0fc7ae2ffc16a]::mir::mono::MonoItem>>
  22:     0x7f0b40a49783 - std[35f650dd239ed0e5]::panicking::try::<(), core[301f0576711e1b37]::panic::unwind_safe::AssertUnwindSafe<rustc_monomorphize[2b338de88ceef76b]::partitioning::collect_and_partition_mono_items::{closure#0}::{closure#1}>>
  23:     0x7f0b40a2de5a - <rustc_data_structures[ba8e66c97f90880d]::sync::parallel::ParallelGuard>::run::<(), rustc_monomorphize[2b338de88ceef76b]::partitioning::collect_and_partition_mono_items::{closure#0}::{closure#1}>
  24:     0x7f0b40a406bc - <rustc_session[bf6a53a5875669bc]::session::Session>::time::<(&[rustc_middle[ece0fc7ae2ffc16a]::mir::mono::CodegenUnit], ()), rustc_monomorphize[2b338de88ceef76b]::partitioning::collect_and_partition_mono_items::{closure#0}>
  25:     0x7f0b40a041c5 - rustc_monomorphize[2b338de88ceef76b]::partitioning::collect_and_partition_mono_items
  26:     0x7f0b419faab5 - rustc_query_impl[75ffcb1949eb9652]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[75ffcb1949eb9652]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[ece0fc7ae2ffc16a]::query::erase::Erased<[u8; 24usize]>>
  27:     0x7f0b41a31459 - <rustc_query_impl[75ffcb1949eb9652]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[301f0576711e1b37]::ops::function::FnOnce<(rustc_middle[ece0fc7ae2ffc16a]::ty::context::TyCtxt, ())>>::call_once
  28:     0x7f0b41d606b6 - rustc_query_system[6cad2cfb051d2204]::query::plumbing::try_execute_query::<rustc_query_impl[75ffcb1949eb9652]::DynamicConfig<rustc_query_system[6cad2cfb051d2204]::query::caches::SingleCache<rustc_middle[ece0fc7ae2ffc16a]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[75ffcb1949eb9652]::plumbing::QueryCtxt, false>
  29:     0x7f0b41a9d17e - rustc_query_impl[75ffcb1949eb9652]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  30:     0x7f0b40111024 - rustc_codegen_ssa[ad52d77cd6591967]::base::codegen_crate::<rustc_codegen_llvm[93b76ce5a2244718]::LlvmCodegenBackend>
  31:     0x7f0b4027b8c4 - <rustc_codegen_llvm[93b76ce5a2244718]::LlvmCodegenBackend as rustc_codegen_ssa[ad52d77cd6591967]::traits::backend::CodegenBackend>::codegen_crate
  32:     0x7f0b4000dd8f - <rustc_session[bf6a53a5875669bc]::session::Session>::time::<alloc[60e970026e7fb614]::boxed::Box<dyn core[301f0576711e1b37]::any::Any>, rustc_interface[8ca2e18c09abf504]::passes::start_codegen::{closure#0}>
  33:     0x7f0b40001d06 - rustc_interface[8ca2e18c09abf504]::passes::start_codegen
  34:     0x7f0b400833e4 - <rustc_middle[ece0fc7ae2ffc16a]::ty::context::GlobalCtxt>::enter::<<rustc_interface[8ca2e18c09abf504]::queries::Queries>::codegen_and_build_linker::{closure#0}, core[301f0576711e1b37]::result::Result<rustc_interface[8ca2e18c09abf504]::queries::Linker, rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>
  35:     0x7f0b4007f540 - <rustc_interface[8ca2e18c09abf504]::queries::Queries>::codegen_and_build_linker
  36:     0x7f0b3fdf6237 - <rustc_interface[8ca2e18c09abf504]::interface::Compiler>::enter::<rustc_driver_impl[8c9603b33c640744]::run_compiler::{closure#0}::{closure#0}, core[301f0576711e1b37]::result::Result<core[301f0576711e1b37]::option::Option<rustc_interface[8ca2e18c09abf504]::queries::Linker>, rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>
  37:     0x7f0b3fe29731 - rustc_span[d327c5dc2e0eda3a]::set_source_map::<core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>, rustc_interface[8ca2e18c09abf504]::interface::run_compiler<core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>, rustc_driver_impl[8c9603b33c640744]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  38:     0x7f0b3fe2b15d - rustc_span[d327c5dc2e0eda3a]::create_session_globals_then::<core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>, rustc_interface[8ca2e18c09abf504]::util::run_in_thread_pool_with_globals<rustc_interface[8ca2e18c09abf504]::interface::run_compiler<core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>, rustc_driver_impl[8c9603b33c640744]::run_compiler::{closure#0}>::{closure#0}, core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>::{closure#0}>
  39:     0x7f0b3fde036e - std[35f650dd239ed0e5]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8ca2e18c09abf504]::util::run_in_thread_with_globals<rustc_interface[8ca2e18c09abf504]::util::run_in_thread_pool_with_globals<rustc_interface[8ca2e18c09abf504]::interface::run_compiler<core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>, rustc_driver_impl[8c9603b33c640744]::run_compiler::{closure#0}>::{closure#0}, core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>::{closure#0}, core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>
  40:     0x7f0b3fdd606b - <<std[35f650dd239ed0e5]::thread::Builder>::spawn_unchecked_<rustc_interface[8ca2e18c09abf504]::util::run_in_thread_with_globals<rustc_interface[8ca2e18c09abf504]::util::run_in_thread_pool_with_globals<rustc_interface[8ca2e18c09abf504]::interface::run_compiler<core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>, rustc_driver_impl[8c9603b33c640744]::run_compiler::{closure#0}>::{closure#0}, core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>::{closure#0}, core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[301f0576711e1b37]::result::Result<(), rustc_span[d327c5dc2e0eda3a]::ErrorGuaranteed>>::{closure#1} as core[301f0576711e1b37]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  41:     0x7f0b3f043cce - <std[35f650dd239ed0e5]::sys::pal::unix::thread::Thread>::new::thread_start
  43:     0x7f0b3eeb8120 - <unknown>
  44:                0x0 - <unknown>

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

warning: the ICE couldn't be written to `/checkout/rustc-ice-2024-02-13T17_22_03-9720.txt`: Read-only file system (os error 30)
note: rustc 1.78.0-nightly (0c68ba7f0 2024-02-13) running on x86_64-unknown-linux-gnu


note: compiler flags: --crate-type dylib --crate-type rlib -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debug-assertions=on -Z unstable-options -Z unstable-options -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z inline-mir -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C embed-bitcode=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
query stack during panic:
#0 [symbol_name] computing the symbol for `core::time::<impl core::cmp::PartialOrd for (u32) is 0..=999999999>::partial_cmp`
#1 [collect_and_partition_mono_items] collect_and_partition_mono_items
error: could not compile `std` (lib)
Build completed unsuccessfully in 0:04:17
  local time: Tue Feb 13 17:22:12 UTC 2024
  network time: Tue, 13 Feb 2024 17:22:12 GMT

rust-log-analyzer avatar Feb 13 '24 17:02 rust-log-analyzer

:umbrella: The latest upstream changes (presumably #121078) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Feb 14 '24 14:02 bors

Some changes occurred in compiler/rustc_symbol_mangling/src/typeid

cc @rust-lang/project-exploit-mitigations, @rcvalle

rustbot avatar Mar 19 '24 10:03 rustbot

:umbrella: The latest upstream changes (presumably #122754) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Mar 20 '24 15:03 bors

HIR ty lowering was modified

cc @fmease

rustbot avatar Mar 28 '24 11:03 rustbot

The job x86_64-gnu-llvm-17 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#16 exporting to docker image format
#16 sending tarball 29.4s done
#16 DONE 34.4s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-17]
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-17', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-17/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
   Compiling rustc_builtin_macros v0.0.0 (/checkout/compiler/rustc_builtin_macros)
error[E0308]: mismatched types
   --> compiler/rustc_middle/src/ty/fast_reject.rs:124:33
    |
124 |         ty::Pat(ty, ..) => Some(simplify_type(tcx, ty, treat_params)),
    |                            ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SimplifiedType`, found `Option<SimplifiedType>`
    |                            arguments to this enum variant are incorrect
    |
    = note: expected enum `fast_reject::SimplifiedType`
               found enum `std::option::Option<fast_reject::SimplifiedType>`
               found enum `std::option::Option<fast_reject::SimplifiedType>`
help: the type constructed contains `std::option::Option<fast_reject::SimplifiedType>` due to the type of the argument passed
   --> compiler/rustc_middle/src/ty/fast_reject.rs:124:28
    |
124 |         ty::Pat(ty, ..) => Some(simplify_type(tcx, ty, treat_params)),
    |                                 |
    |                                 this argument influences the type of `Some`
note: tuple variant defined here
   --> /checkout/library/core/src/option.rs:579:5
   --> /checkout/library/core/src/option.rs:579:5
    |
579 |     Some(#[stable(feature = "rust1", since = "1.0.0")] T),
    |     ^^^^
help: use the `?` operator to extract the `std::option::Option<fast_reject::SimplifiedType>` value, propagating an `Option::None` value to the caller
    |
124 |         ty::Pat(ty, ..) => Some(simplify_type(tcx, ty, treat_params)?),

For more information about this error, try `rustc --explain E0308`.
error: could not compile `rustc_middle` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

rust-log-analyzer avatar Mar 28 '24 12:03 rust-log-analyzer

oh yea, I wasn't done yet XD thus some things weren't marked as resolved yet

oli-obk avatar Mar 28 '24 15:03 oli-obk

Now I got through all the comments.

@rustbot ready

oli-obk avatar Apr 02 '24 13:04 oli-obk