uutils / coreutils

Cross-platform Rust rewrite of the GNU coreutils
https://uutils.github.io/
MIT License
17.61k stars 1.27k forks source link

broken CI: Windows code coverage always fails #6534

Closed BenWiederhake closed 3 weeks ago

BenWiederhake commented 3 months ago

The Code Coverage (windows-latest, windows, nightly-x86_64-pc-windows-gnu) CI step seems to always fail for all PRs:

Run cargo nextest run --profile ci --hide-progress-bar --features=windows -p uucore -p coreutils
 Downloading crates ...
  Downloaded adler v1.0.2
  Downloaded coz v0.1.3
  Downloaded miniz_oxide v0.7.2
  Downloaded crc32fast v1.4.0
  Downloaded zip v1.3.0
  Downloaded displaydoc v0.2.4
  Downloaded flate2 v1.0.28
   Compiling cfg-if v1.0.0
   Compiling version_check v0.9.4
   Compiling windows_x86_64_gnu v0.48.0
   Compiling windows_x86_64_gnu v0.52.0
error[E0463]: can't find crate for `profiler_builtins`
  |
  = note: the compiler may have been built without the profiler runtime

For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `windows_x86_64_gnu` (build script) due to 1 previous error
error: could not compile `windows_x86_64_gnu` (build script) due to 1 previous error
error: could not compile `version_check` (lib) due to 1 previous error
error: command `'\\?\C:\Users\runneradmin\.rustup\toolchains\nightly-x86_64-pc-windows-gnu\bin\cargo.exe' test --no-run --message-format json-render-diagnostics --package uucore --package coreutils --features windows` exited with code 101
Error: Process completed with exit code 1.

This issue exists today: https://github.com/uutils/coreutils/actions/runs/9770823522/job/26972617025?pr=6382 (#6382)

This issue also existed two weeks ago: https://github.com/uutils/coreutils/actions/runs/9623973023/job/26547073950?pr=6464 (#6464)

Someone who knows something about Windows should look into this.