Skip to content

Windows test failure, "failed to remove" #41301

Closed
@aidanhs

Description

@aidanhs

Seen in #41249, looks unrelated to the PR and possibly spurious (not sure though, could actually be a race). Log section:

[01:32:50] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
[01:32:50] 
[01:32:50] doc tests for: C:\projects\rust\src/doc\book\.github\ISSUE_TEMPLATE.md
[01:32:50] 
[01:32:50] running 0 tests
[01:32:50] 
[01:32:50] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
[01:32:50] 
[01:32:50]      finished in 194.240
[01:32:50] Building stage0 tool error_index_generator (x86_64-pc-windows-msvc)
[01:32:50]    Compiling error_index_generator v0.0.0 (file:///C:/projects/rust/src/tools/error_index_generator)
[01:32:58]     Finished release [optimized] target(s) in 7.96 secs
[01:32:58] Documenting error index (x86_64-pc-windows-msvc)
[01:32:59] Check compiletest suite=run-fail-fulldeps mode=run-fail (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc)
[01:32:59] 
[01:32:59] running 1 test
[01:33:02] test [run-fail] run-fail\qquote.rs ... ok
[01:33:02] 
[01:33:02] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
[01:33:02] 
[01:33:02]      finished in 2.779
[01:33:02] Testing libstd stage2 (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc)
[01:33:02]    Compiling rand v0.0.0 (file:///C:/projects/rust/src/librand)
[01:33:02]    Compiling alloc v0.0.0 (file:///C:/projects/rust/src/liballoc)
[01:33:07]    Compiling collections v0.0.0 (file:///C:/projects/rust/src/libcollections)
[01:33:07] error: failed to remove: C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-std\x86_64-pc-windows-msvc\release\libcollections.rlib
[01:33:07] Build failed, waiting for other jobs to finish...
[01:33:14] error: build failed
[01:33:14] 
[01:33:14] 
[01:33:14] command did not execute successfully: "C:\\projects\\rust\\build\\x86_64-pc-windows-msvc\\stage0/bin\\cargo.exe" "test" "-j" "2" "--target" "x86_64-pc-windows-msvc" "--release" "--locked" "--manifest-path" "C:\\projects\\rust\\src/libstd\\Cargo.toml" "--features" "panic-unwind backtrace" "-p" "std:0.0.0" "-p" "compiler_builtins:0.0.0" "-p" "std_unicode:0.0.0" "-p" "alloc:0.0.0" "-p" "collections:0.0.0" "-p" "rand:0.0.0" "-p" "rustc_lsan:0.0.0" "-p" "rustc_asan:0.0.0" "-p" "panic_abort:0.0.0" "-p" "alloc_system:0.0.0" "-p" "unwind:0.0.0" "-p" "core:0.0.0" "-p" "rustc_tsan:0.0.0" "-p" "libc:0.0.0" "-p" "rustc_msan:0.0.0" "--"
[01:33:14] expected success, got: exit code: 101
[01:33:14] 
[01:33:14] 
[01:33:14] Build completed unsuccessfully in 1:21:08
[01:33:14] Command exited with code 1
[01:33:14] cat %CD%\sccache.log
[01:33:14] cat: 'C:\projects\rust\sccache.log': No such file or directory
[01:33:14] Command exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions