rust icon indicating copy to clipboard operation
rust copied to clipboard

Update compiler_builtins to 0.1.112

Open nicholasbishop opened this issue 1 month ago • 10 comments

The weak-intrinsics feature was removed from compiler_builtins in https://github.com/rust-lang/compiler-builtins/pull/598, so dropped the compiler-builtins-weak-intrinsics feature from alloc/std/sysroot.

In https://github.com/rust-lang/compiler-builtins/pull/593, some builtins for f16/f128 were added. These don't work for all compiler backends, so add a compiler-builtins-no-f16-f128 feature and disable it for cranelift and gcc.

nicholasbishop avatar May 11 '24 14:05 nicholasbishop

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar May 11 '24 14:05 rustbot

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged. Otherwise, you can ignore this comment.

rustbot avatar May 11 '24 14:05 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 32.6s done
#16 DONE 36.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-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
---
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f5f41052779 - std::panicking::default_hook::{{closure}}::h6216a28caae3e00c
  10:     0x7f5f410524bd - std::panicking::default_hook::h5f0ed70b16f10e16
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:298:9
  11:     0x7f5f3dce4077 - std[b95b9362c262c367]::panicking::update_hook::<alloc[5be86f0f543940e9]::boxed::Box<rustc_driver_impl[e2b437a5caec2333]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f5f41052e76 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hffefc6c0c7fdd8a5
  13:     0x7f5f41052e76 - std::panicking::rust_panic_with_hook::h3ca094bb5ec04c38
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:799:13
  14:     0x7f5f41052beb - std::panicking::begin_panic_handler::{{closure}}::hbe1c2f230d27e9b3
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
  15:     0x7f5f410504f9 - std::sys_common::backtrace::__rust_end_short_backtrace::h7908055d1ea4f4f2
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f5f41052957 - rust_begin_unwind
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:652:5
  17:     0x7f5f4109b763 - core::panicking::panic_fmt::h8ed2e06c66ae3e21
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/core/src/panicking.rs:72:14
  18:     0x7f5f3e65746f - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_type
  19:     0x7f5f3e6565c7 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_impl_path
  20:     0x7f5f3e655607 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  21:     0x7f5f3e655cc6 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  22:     0x7f5f3e654e06 - rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::mangle
  23:     0x7f5f3f3f550a - rustc_symbol_mangling[8e0e56e8f1646f9d]::symbol_name_provider
  24:     0x7f5f3f3f36aa - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  25:     0x7f5f3f8223d7 - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::DefaultCache<rustc_middle[27c71549f86bc4e4]::ty::instance::Instance, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  26:     0x7f5f3f8220da - rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::get_query_non_incr::__rust_end_short_backtrace
  27:     0x7f5f3f5d4380 - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::reachable_non_generics_provider
  28:     0x7f5f3fc6c2df - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>
  29:     0x7f5f3fc6b23b - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  30:     0x7f5f3fc6ad0c - rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::get_query_non_incr::__rust_end_short_backtrace
  31:     0x7f5f3fb0000d - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::exported_symbols_provider_local
  32:     0x7f5f3f203ff9 - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  33:     0x7f5f3f203fcf - <rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<(rustc_middle[27c71549f86bc4e4]::ty::context::TyCtxt, rustc_span[4cf4b8ad273124e]::def_id::CrateNum)>>::call_once
  34:     0x7f5f3fa599cc - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  35:     0x7f5f3fa5954f - rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  36:     0x7f5f3f743ba6 - <rustc_metadata[8c492e31054b7623]::rmeta::encoder::EncodeContext>::encode_crate_root
  37:     0x7f5f3fe4abe5 - rustc_metadata[8c492e31054b7623]::rmeta::encoder::encode_metadata
  38:     0x7f5f3fe48d49 - rustc_metadata[8c492e31054b7623]::fs::encode_and_write_metadata
  39:     0x7f5f3fe481c0 - rustc_interface[1c6f0d4c303def7d]::passes::start_codegen
  40:     0x7f5f3fe47a18 - <rustc_interface[1c6f0d4c303def7d]::queries::Queries>::codegen_and_build_linker
  41:     0x7f5f3fba92fe - rustc_interface[1c6f0d4c303def7d]::interface::run_compiler::<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}
  42:     0x7f5f3fb9654b - std[b95b9362c262c367]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>
  43:     0x7f5f3fb96346 - <<std[b95b9362c262c367]::thread::Builder>::spawn_unchecked_<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7f5f4105ccab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6f28929796384304
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/alloc/src/boxed.rs:2022:9
  45:     0x7f5f4105ccab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc19b559e890f4bf0
  46:     0x7f5f4105ccab - std::sys::pal::unix::thread::Thread::new::thread_start::h59a9f965326b1725
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys/pal/unix/thread.rs:108:17
  47:     0x7f5f3ac8ab5a - <unknown>
  48:     0x7f5f3ad1b5fc - <unknown>
  48:     0x7f5f3ad1b5fc - <unknown>
  49:                0x0 - <unknown>

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: please attach the file at `/cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/rustc-ice-2024-05-11T14_04_40-2473.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=10000 -C debug-assertions=on -Z unstable-options -C strip=debuginfo -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 -Z inline-mir-preserve-debug -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z unstable-options -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 `float::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/src/float/mod.rs:108:9: 108:27>::normalize`
#1 [reachable_non_generics] looking up the exported symbols of a crate
#2 [exported_symbols] collecting exported symbols for crate `0`
error: could not compile `compiler_builtins` (lib)
Build completed unsuccessfully in 0:00:11
  local time: Sat May 11 14:04:40 UTC 2024
  network time: Sat, 11 May 2024 14:04:41 GMT

rust-log-analyzer avatar May 11 '24 14:05 rust-log-analyzer

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

rustbot avatar May 12 '24 15:05 rustbot

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)
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f8d997c2779 - std::panicking::default_hook::{{closure}}::h6216a28caae3e00c
  10:     0x7f8d997c24bd - std::panicking::default_hook::h5f0ed70b16f10e16
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:298:9
  11:     0x7f8d964e4077 - std[b95b9362c262c367]::panicking::update_hook::<alloc[5be86f0f543940e9]::boxed::Box<rustc_driver_impl[e2b437a5caec2333]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f8d997c2e76 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hffefc6c0c7fdd8a5
  13:     0x7f8d997c2e76 - std::panicking::rust_panic_with_hook::h3ca094bb5ec04c38
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:799:13
  14:     0x7f8d997c2beb - std::panicking::begin_panic_handler::{{closure}}::hbe1c2f230d27e9b3
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
  15:     0x7f8d997c04f9 - std::sys_common::backtrace::__rust_end_short_backtrace::h7908055d1ea4f4f2
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f8d997c2957 - rust_begin_unwind
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:652:5
  17:     0x7f8d9980b763 - core::panicking::panic_fmt::h8ed2e06c66ae3e21
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/core/src/panicking.rs:72:14
  18:     0x7f8d96e5746f - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_type
  19:     0x7f8d96e565c7 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_impl_path
  20:     0x7f8d96e55607 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  21:     0x7f8d96e55cc6 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  22:     0x7f8d96e54e06 - rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::mangle
  23:     0x7f8d97bf550a - rustc_symbol_mangling[8e0e56e8f1646f9d]::symbol_name_provider
  24:     0x7f8d97bf36aa - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  25:     0x7f8d980223d7 - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::DefaultCache<rustc_middle[27c71549f86bc4e4]::ty::instance::Instance, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  26:     0x7f8d980220da - rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::get_query_non_incr::__rust_end_short_backtrace
  27:     0x7f8d97dd4380 - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::reachable_non_generics_provider
  28:     0x7f8d9846c2df - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>
  29:     0x7f8d9846b23b - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  30:     0x7f8d9846ad0c - rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::get_query_non_incr::__rust_end_short_backtrace
  31:     0x7f8d9830000d - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::exported_symbols_provider_local
  32:     0x7f8d97a03ff9 - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  33:     0x7f8d97a03fcf - <rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<(rustc_middle[27c71549f86bc4e4]::ty::context::TyCtxt, rustc_span[4cf4b8ad273124e]::def_id::CrateNum)>>::call_once
  34:     0x7f8d982599cc - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  35:     0x7f8d9825954f - rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  36:     0x7f8d97f43ba6 - <rustc_metadata[8c492e31054b7623]::rmeta::encoder::EncodeContext>::encode_crate_root
  37:     0x7f8d9864abe5 - rustc_metadata[8c492e31054b7623]::rmeta::encoder::encode_metadata
  38:     0x7f8d98648d49 - rustc_metadata[8c492e31054b7623]::fs::encode_and_write_metadata
  39:     0x7f8d986481c0 - rustc_interface[1c6f0d4c303def7d]::passes::start_codegen
  40:     0x7f8d98647a18 - <rustc_interface[1c6f0d4c303def7d]::queries::Queries>::codegen_and_build_linker
  41:     0x7f8d983a92fe - rustc_interface[1c6f0d4c303def7d]::interface::run_compiler::<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}
  42:     0x7f8d9839654b - std[b95b9362c262c367]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>
  43:     0x7f8d98396346 - <<std[b95b9362c262c367]::thread::Builder>::spawn_unchecked_<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7f8d997cccab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6f28929796384304
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/alloc/src/boxed.rs:2022:9
  45:     0x7f8d997cccab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc19b559e890f4bf0
  46:     0x7f8d997cccab - std::sys::pal::unix::thread::Thread::new::thread_start::h59a9f965326b1725
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys/pal/unix/thread.rs:108:17
  47:     0x7f8d9346bac3 - <unknown>
  48:     0x7f8d934fd850 - <unknown>
  48:     0x7f8d934fd850 - <unknown>
  49:                0x0 - <unknown>

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: please attach the file at `/cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/rustc-ice-2024-05-12T15_40_53-2568.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=10000 -C debug-assertions=on -Z unstable-options -C strip=debuginfo -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -Z inline-mir -Z inline-mir-preserve-debug -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z unstable-options -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 `float::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/src/float/mod.rs:108:9: 108:27>::normalize`
#1 [reachable_non_generics] looking up the exported symbols of a crate
#2 [exported_symbols] collecting exported symbols for crate `0`
error: could not compile `compiler_builtins` (lib)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:00:28
+ set -e

rust-log-analyzer avatar May 12 '24 15:05 rust-log-analyzer

There exist also https://github.com/rust-lang/rust/pull/124886

klensy avatar May 12 '24 16:05 klensy

Was this closed intentionally?

nicholasbishop avatar May 12 '24 18:05 nicholasbishop

Oh wow, sorry didn't realize, no it wasn't on purpose!

GuillaumeGomez avatar May 12 '24 20:05 GuillaumeGomez

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)
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f8d03247779 - std::panicking::default_hook::{{closure}}::h6216a28caae3e00c
  10:     0x7f8d032474bd - std::panicking::default_hook::h5f0ed70b16f10e16
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:298:9
  11:     0x7f8cffee4077 - std[b95b9362c262c367]::panicking::update_hook::<alloc[5be86f0f543940e9]::boxed::Box<rustc_driver_impl[e2b437a5caec2333]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f8d03247e76 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hffefc6c0c7fdd8a5
  13:     0x7f8d03247e76 - std::panicking::rust_panic_with_hook::h3ca094bb5ec04c38
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:799:13
  14:     0x7f8d03247beb - std::panicking::begin_panic_handler::{{closure}}::hbe1c2f230d27e9b3
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
  15:     0x7f8d032454f9 - std::sys_common::backtrace::__rust_end_short_backtrace::h7908055d1ea4f4f2
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f8d03247957 - rust_begin_unwind
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:652:5
  17:     0x7f8d03290763 - core::panicking::panic_fmt::h8ed2e06c66ae3e21
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/core/src/panicking.rs:72:14
  18:     0x7f8d0085746f - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_type
  19:     0x7f8d008565c7 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_impl_path
  20:     0x7f8d00855607 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  21:     0x7f8d00855cc6 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  22:     0x7f8d00854e06 - rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::mangle
  23:     0x7f8d015f550a - rustc_symbol_mangling[8e0e56e8f1646f9d]::symbol_name_provider
  24:     0x7f8d015f36aa - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  25:     0x7f8d01a223d7 - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::DefaultCache<rustc_middle[27c71549f86bc4e4]::ty::instance::Instance, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  26:     0x7f8d01a220da - rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::get_query_non_incr::__rust_end_short_backtrace
  27:     0x7f8d017d4380 - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::reachable_non_generics_provider
  28:     0x7f8d01e6c2df - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>
  29:     0x7f8d01e6b23b - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  30:     0x7f8d01e6ad0c - rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::get_query_non_incr::__rust_end_short_backtrace
  31:     0x7f8d01d0000d - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::exported_symbols_provider_local
  32:     0x7f8d01403ff9 - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  33:     0x7f8d01403fcf - <rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<(rustc_middle[27c71549f86bc4e4]::ty::context::TyCtxt, rustc_span[4cf4b8ad273124e]::def_id::CrateNum)>>::call_once
  34:     0x7f8d01c599cc - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  35:     0x7f8d01c5954f - rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  36:     0x7f8d01943ba6 - <rustc_metadata[8c492e31054b7623]::rmeta::encoder::EncodeContext>::encode_crate_root
  37:     0x7f8d0204abe5 - rustc_metadata[8c492e31054b7623]::rmeta::encoder::encode_metadata
  38:     0x7f8d02048d49 - rustc_metadata[8c492e31054b7623]::fs::encode_and_write_metadata
  39:     0x7f8d020481c0 - rustc_interface[1c6f0d4c303def7d]::passes::start_codegen
  40:     0x7f8d02047a18 - <rustc_interface[1c6f0d4c303def7d]::queries::Queries>::codegen_and_build_linker
  41:     0x7f8d01da92fe - rustc_interface[1c6f0d4c303def7d]::interface::run_compiler::<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}
  42:     0x7f8d01d9654b - std[b95b9362c262c367]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>
  43:     0x7f8d01d96346 - <<std[b95b9362c262c367]::thread::Builder>::spawn_unchecked_<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7f8d03251cab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6f28929796384304
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/alloc/src/boxed.rs:2022:9
  45:     0x7f8d03251cab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc19b559e890f4bf0
  46:     0x7f8d03251cab - std::sys::pal::unix::thread::Thread::new::thread_start::h59a9f965326b1725
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys/pal/unix/thread.rs:108:17
  47:     0x7f8cfce6bac3 - <unknown>
  48:     0x7f8cfcefd850 - <unknown>
  48:     0x7f8cfcefd850 - <unknown>
  49:                0x0 - <unknown>

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: please attach the file at `/cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/rustc-ice-2024-05-12T20_17_01-2576.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=10000 -C debug-assertions=on -Z unstable-options -C strip=debuginfo -C symbol-mangling-version=v0 -Z unstable-options -Z macro-backtrace -C split-debuginfo=off -C prefer-dynamic -Z inline-mir -Z inline-mir-preserve-debug -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z unstable-options -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 `float::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/src/float/mod.rs:108:9: 108:27>::normalize`
#1 [reachable_non_generics] looking up the exported symbols of a crate
#2 [exported_symbols] collecting exported symbols for crate `0`
error: could not compile `compiler_builtins` (lib)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:00:28
+ set -e

rust-log-analyzer avatar May 12 '24 20:05 rust-log-analyzer

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

bors avatar May 13 '24 18:05 bors

Note that https://github.com/rust-lang/rust/pull/124886 does the same thing

tgross35 avatar May 16 '24 19:05 tgross35

A rebase should fix the CI failure now that #123816 has been merged.

beetrees avatar May 16 '24 22:05 beetrees

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 28.1s done
#16 DONE 41.6s
##[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
---
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f4894041779 - std::panicking::default_hook::{{closure}}::h6216a28caae3e00c
  10:     0x7f48940414bd - std::panicking::default_hook::h5f0ed70b16f10e16
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:298:9
  11:     0x7f4890ce4077 - std[b95b9362c262c367]::panicking::update_hook::<alloc[5be86f0f543940e9]::boxed::Box<rustc_driver_impl[e2b437a5caec2333]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f4894041e76 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hffefc6c0c7fdd8a5
  13:     0x7f4894041e76 - std::panicking::rust_panic_with_hook::h3ca094bb5ec04c38
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:799:13
  14:     0x7f4894041beb - std::panicking::begin_panic_handler::{{closure}}::hbe1c2f230d27e9b3
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:656:13
  15:     0x7f489403f4f9 - std::sys_common::backtrace::__rust_end_short_backtrace::h7908055d1ea4f4f2
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f4894041957 - rust_begin_unwind
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/panicking.rs:652:5
  17:     0x7f489408a763 - core::panicking::panic_fmt::h8ed2e06c66ae3e21
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/core/src/panicking.rs:72:14
  18:     0x7f489165746f - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_type
  19:     0x7f48916565c7 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_impl_path
  20:     0x7f4891655607 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  21:     0x7f4891655cc6 - <rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::SymbolMangler as rustc_middle[27c71549f86bc4e4]::ty::print::Printer>::print_def_path
  22:     0x7f4891654e06 - rustc_symbol_mangling[8e0e56e8f1646f9d]::v0::mangle
  23:     0x7f48923f550a - rustc_symbol_mangling[8e0e56e8f1646f9d]::symbol_name_provider
  24:     0x7f48923f36aa - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  25:     0x7f48928223d7 - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::DefaultCache<rustc_middle[27c71549f86bc4e4]::ty::instance::Instance, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  26:     0x7f48928220da - rustc_query_impl[125614f3d09f8be0]::query_impl::symbol_name::get_query_non_incr::__rust_end_short_backtrace
  27:     0x7f48925d4380 - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::reachable_non_generics_provider
  28:     0x7f4892c6c2df - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>
  29:     0x7f4892c6b23b - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  30:     0x7f4892c6ad0c - rustc_query_impl[125614f3d09f8be0]::query_impl::reachable_non_generics::get_query_non_incr::__rust_end_short_backtrace
  31:     0x7f4892b0000d - rustc_codegen_ssa[361d05578c83eb19]::back::symbol_export::exported_symbols_provider_local
  32:     0x7f4892203ff9 - rustc_query_impl[125614f3d09f8be0]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>
  33:     0x7f4892203fcf - <rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<(rustc_middle[27c71549f86bc4e4]::ty::context::TyCtxt, rustc_span[4cf4b8ad273124e]::def_id::CrateNum)>>::call_once
  34:     0x7f4892a599cc - rustc_query_system[31ce1c48951a2506]::query::plumbing::try_execute_query::<rustc_query_impl[125614f3d09f8be0]::DynamicConfig<rustc_query_system[31ce1c48951a2506]::query::caches::VecCache<rustc_span[4cf4b8ad273124e]::def_id::CrateNum, rustc_middle[27c71549f86bc4e4]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[125614f3d09f8be0]::plumbing::QueryCtxt, false>
  35:     0x7f4892a5954f - rustc_query_impl[125614f3d09f8be0]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  36:     0x7f4892743ba6 - <rustc_metadata[8c492e31054b7623]::rmeta::encoder::EncodeContext>::encode_crate_root
  37:     0x7f4892e4abe5 - rustc_metadata[8c492e31054b7623]::rmeta::encoder::encode_metadata
  38:     0x7f4892e48d49 - rustc_metadata[8c492e31054b7623]::fs::encode_and_write_metadata
  39:     0x7f4892e481c0 - rustc_interface[1c6f0d4c303def7d]::passes::start_codegen
  40:     0x7f4892e47a18 - <rustc_interface[1c6f0d4c303def7d]::queries::Queries>::codegen_and_build_linker
  41:     0x7f4892ba92fe - rustc_interface[1c6f0d4c303def7d]::interface::run_compiler::<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}
  42:     0x7f4892b9654b - std[b95b9362c262c367]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>
  43:     0x7f4892b96346 - <<std[b95b9362c262c367]::thread::Builder>::spawn_unchecked_<rustc_interface[1c6f0d4c303def7d]::util::run_in_thread_with_globals<rustc_interface[1c6f0d4c303def7d]::interface::run_compiler<core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>, rustc_driver_impl[e2b437a5caec2333]::run_compiler::{closure#0}>::{closure#1}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1795d7877ae73ac1]::result::Result<(), rustc_span[4cf4b8ad273124e]::ErrorGuaranteed>>::{closure#2} as core[1795d7877ae73ac1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7f489404bcab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6f28929796384304
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/alloc/src/boxed.rs:2022:9
  45:     0x7f489404bcab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc19b559e890f4bf0
  46:     0x7f489404bcab - std::sys::pal::unix::thread::Thread::new::thread_start::h59a9f965326b1725
                               at /rustc/6b544f5ff8d45221d61962651a5f5ab9fe535e16/library/std/src/sys/pal/unix/thread.rs:108:17
  47:     0x7f488dc8ab5a - <unknown>
  48:     0x7f488dd1b5fc - <unknown>
  48:     0x7f488dd1b5fc - <unknown>
  49:                0x0 - <unknown>

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: please attach the file at `/cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/rustc-ice-2024-05-16T22_11_39-2469.txt` to your bug report

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=10000 -C debug-assertions=on -Z unstable-options -C strip=debuginfo -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 -Z inline-mir-preserve-debug -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C force-frame-pointers=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/nightly/") -Z binary-dep-depinfo -Z unstable-options -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 `float::<impl at /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.112/src/float/mod.rs:108:9: 108:27>::normalize`
#1 [reachable_non_generics] looking up the exported symbols of a crate
#2 [exported_symbols] collecting exported symbols for crate `0`
error: could not compile `compiler_builtins` (lib)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:00:11
  local time: Thu May 16 22:11:41 UTC 2024

rust-log-analyzer avatar May 16 '24 22:05 rust-log-analyzer

It appears the CI failure is being caused by the bootstrap stage0 compiler. I guess it won't succeed until #123816 reaches stage0 then.

beetrees avatar May 16 '24 22:05 beetrees

Makes sense. Is the compiler-builtins-no-f16-f128 feature still needed here? I'm unclear whether that mangling error was the only problem, or if it's still correct to turn off f16/f128 for gcc/cranelift.

nicholasbishop avatar May 16 '24 22:05 nicholasbishop

Everything for f16/f128 needs to be turned off for the GCC and cranelift backends until they gain support (tracked at the issues at the bottom of this list https://github.com/rust-lang/rust/issues/116909#issuecomment-1969554030). These types should stay enabled for the default LLVM backend, though.

tgross35 avatar May 16 '24 23:05 tgross35

It appears the CI failure is being caused by the bootstrap stage0 compiler. I guess it won't succeed until #123816 reaches stage0 then.

I'll ask on Zulip if we might be able to backport that to unblock these updates

tgross35 avatar May 16 '24 23:05 tgross35