Perform ThinLTO on x86_64-pc-windows-msvc dist builder by Zoxc · Pull Request #128947 · rust-lang/rust (original) (raw)

Updating files:  98% (51872/52930)
Updating files:  99% (52401/52930)
Updating files: 100% (52930/52930)
Updating files: 100% (52930/52930), done.
branch 'try' set up to track 'origin/try'.
Switched to a new branch 'try'
##[endgroup]
[command]"C:\Program Files\Git\bin\git.exe" log -1 --format=%H
d35bc801e00102faa4975669073d0fdf6bd7d4de
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
---
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
file:.git/config submodule.library/stdarch.url=https://github.com/rust-lang/stdarch.git
file:.git/config submodule.src/doc/book.active=true
---
[2025-04-23T13:04:14Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2025-04-23T13:04:17Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-23T13:04:17Z DEBUG collector::compile::execute] "\\\\?\\C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///C:/Users/RUNNER~1/AppData/Local/Temp/.tmpXeryIY#cargo@0.60.0" "--release" "--lib" "--" "--wrap-rustc-with" "Eprintln"
[2025-04-23T13:05:17Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-23T13:05:17Z DEBUG collector::compile::execute] "\\\\?\\C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///C:/Users/RUNNER~1/AppData/Local/Temp/.tmpXeryIY#cargo@0.60.0" "--release" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\.tmpXeryIY\\incremental-state"
[2025-04-23T13:06:18Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-23T13:06:18Z DEBUG collector::compile::execute] "\\\\?\\C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///C:/Users/RUNNER~1/AppData/Local/Temp/.tmpXeryIY#cargo@0.60.0" "--release" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\.tmpXeryIY\\incremental-state"
[2025-04-23T13:06:22Z DEBUG collector::compile::benchmark] applying patch println
[2025-04-23T13:06:22Z DEBUG collector::compile::benchmark::patch] applying println to "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\.tmpXeryIY"
[2025-04-23T13:06:22Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" }), backend=Llvm, target=X86_64UnknownLinuxGnu, phase=benchmark
[2025-04-23T13:06:22Z DEBUG collector::compile::execute] "\\\\?\\C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///C:/Users/RUNNER~1/AppData/Local/Temp/.tmpXeryIY#cargo@0.60.0" "--release" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\.tmpXeryIY\\incremental-state"
Finished benchmark cargo-0.60.0 (2/8)
Executing benchmark ctfe-stress-5 (3/8)
Preparing ctfe-stress-5
[2025-04-23T13:06:37Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
[2025-04-23T13:06:37Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None, backend=Llvm, target=X86_64UnknownLinuxGnu, phase=dependencies
---
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\..\..\backtrace\src\backtrace\win64.rs:85
   1:     0x7ff9ef1769fc - std::backtrace_rs::backtrace::trace_unsynchronized
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66
   2:     0x7ff9ef1769fc - std::sys::backtrace::_print_fmt
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\sys\backtrace.rs:66
   3:     0x7ff9ef1769fc - std::sys::backtrace::impl$0::print::impl$0::fmt
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\sys\backtrace.rs:39
   4:     0x7ff9ee7e897b - core::fmt::rt::Argument::fmt
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\core\src\fmt\rt.rs:179
   5:     0x7ff9ee7e897b - core::fmt::write
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\core\src\fmt\mod.rs:1481
   6:     0x7ff9ef16bb87 - std::io::default_write_fmt
---
  10:     0x7ff9ef17ca50 - std::panicking::default_hook
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\panicking.rs:327
  11:     0x7ff9f41ffff4 - rustc_driver_impl::install_ice_hook::closure$1
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/compiler\rustc_driver_impl\src\lib.rs:1360
  12:     0x7ff9f41ffff4 - alloc::boxed::impl$30::call
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\alloc\src\boxed.rs:1980
  13:     0x7ff9f41ffff4 - std::panicking::update_hook::closure$0<alloc::boxed::Box<rustc_driver_impl::install_ice_hook::closure_env$1,alloc::alloc::Global> >
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\panicking.rs:243
  14:     0x7ff9ef17db6e - std::panicking::rust_panic_with_hook
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\panicking.rs:841
  15:     0x7ff9ef17d883 - std::panicking::begin_panic_handler::closure$0
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\panicking.rs:699
  16:     0x7ff9ef17783f - std::sys::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure_env$0,never$>
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\sys\backtrace.rs:168
  17:     0x7ff9ef17d4be - std::panicking::begin_panic_handler
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\std\src\panicking.rs:697
  18:     0x7ff9f3ab2401 - core::panicking::panic_fmt
                               at /rustc/d35bc801e00102faa4975669073d0fdf6bd7d4de/library\core\src\panicking.rs:75
  19:     0x7ff9f3a4e1a8 - alloc::raw_vec::capacity_overflow
---
  35:     0x7ffa3d5114fc - RtlUserThreadStart

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-rustdoc&template=ice.md

note: please make sure that you have updated to the latest nightly

note: please attach the file at `C:\a\rust\rust\rustc-ice-2025-04-23T13_53_47-9084.txt` to your bug report

note: compiler flags: -Z normalize-docs -Z unstable-options

query stack during panic:
end of query stack
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:12:20
[2025-04-23T13:53:47.530Z INFO  opt_dist::timer] Section `Stage 5 (final build)` ended: FAIL (740.19s)`
[2025-04-23T13:53:47.530Z INFO  opt_dist] Timer results
    -----------------------------------------------------------------
    Stage 1 (Rustc PGO):                            4038.65s (71.81%)