Skip to content

Compiler panics on fs::remove_dir(&host) on Windows #143045

Open
@SciMind2460

Description

@SciMind2460

Summary

The pre-push script panics with this error on Windows x86_64-pc-windows-msvc.
When I try to push my code to GitHub, I am forced to use --no-verify because of this.
Is this an ICE?

Command used

git push origin const_traits 

Expected behaviour

I expected it to push without issues.

Actual behaviour

The compiler panicked.

Bootstrap configuration (bootstrap.toml)

<config>
profile = "library"  # Includes one of the default files in src/bootstrap/defaults
change-id = 142379

See bootstrap.example.toml for documentation of available options

Operating system

Windows 11

HEAD

32da2e2

Additional context

I had just modified the library and const traits.

Build Log

<log>
./x build v
Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.14s

thread 'main' panicked at src\bootstrap\src\lib.rs:546:13:
fs::remove_dir(&host) failed with The directory name is invalid. (os error 267)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Panic was initiated from src\bootstrap\src\lib.rs:546:13
Build completed unsuccessfully in 0:00:08
~\RustroverProjects\rust git:[const_traits]
$env:RUST_BACKTRACE=1; ./x build -v
detected default triple x86_64-pc-windows-msvc from pre-installed rustc
Building bootstrap
running: C:\Users\user\RustroverProjects\rust\build\x86_64-pc-windows-msvc\stage0\bin\cargo.exe build --manifest-path C:\Users\user\RustroverProjects\rust\src/bootstrap/Cargo.toml -Zroot-dir=C:\Users\user\RustroverProjects\rust --verbose
       Fresh unicode-ident v1.0.13
       Fresh memchr v2.7.4
       Fresh windows-link v0.1.1
       Fresh version_check v0.9.5
       Fresh shlex v1.3.0
       Fresh proc-macro2 v1.0.89
       Fresh windows-result v0.3.2
       Fresh windows-strings v0.4.0
       Fresh cc v1.2.23
       Fresh quote v1.0.37
       Fresh windows_x86_64_msvc v0.52.6
       Fresh typenum v1.17.0
       Fresh pkg-config v0.3.31
       Fresh syn v2.0.87
       Fresh windows-targets v0.52.6
       Fresh generic-array v0.14.7
       Fresh cfg-if v1.0.0
       Fresh crossbeam-utils v0.8.20
       Fresh windows-sys v0.59.0
       Fresh windows-interface v0.59.1
       Fresh windows-implement v0.60.0
       Fresh serde v1.0.215
       Fresh aho-corasick v1.1.3
       Fresh heck v0.5.0
       Fresh clap_lex v0.7.2
       Fresh windows-core v0.61.0
       Fresh winapi-util v0.1.9
       Fresh anstyle v1.0.10
       Fresh regex-syntax v0.8.5
       Fresh clap_derive v4.5.18
       Fresh windows-sys v0.52.0
       Fresh same-file v1.0.6
       Fresh regex-automata v0.4.9
       Fresh clap_builder v4.5.20
       Fresh libc v0.2.172
       Fresh block-buffer v0.10.4
       Fresh crossbeam-epoch v0.9.18
       Fresh crypto-common v0.1.6
       Fresh bstr v1.10.0
       Fresh log v0.4.22
       Fresh lzma-sys v0.1.20
       Fresh clap v4.5.20
       Fresh digest v0.10.7
       Fresh walkdir v2.5.0
       Fresh crossbeam-deque v0.8.5
       Fresh globset v0.4.15
       Fresh windows-future v0.2.0
       Fresh windows-numerics v0.2.0
       Fresh winapi v0.3.9
       Fresh windows-collections v0.2.0
       Fresh filetime v0.2.25
       Fresh serde_derive v1.0.215
       Fresh scopeguard v1.2.0
       Fresh itoa v1.0.11
       Fresh ryu v1.0.18
       Fresh cpufeatures v0.2.15
       Fresh opener v0.5.2
       Fresh ignore v0.4.23
       Fresh sha2 v0.10.8
       Fresh serde_json v1.0.132
       Fresh junction v1.2.0
       Fresh build_helper v0.1.0 (C:\Users\user\RustroverProjects\rust\src\build_helper)
       Fresh tar v0.4.43
       Fresh windows v0.61.1
       Fresh semver v1.0.23
       Fresh clap_complete v4.5.37
       Fresh xz2 v0.1.7
       Fresh home v0.5.9
       Fresh termcolor v1.4.1
       Fresh toml v0.5.11
       Fresh fd-lock v4.0.4
       Fresh cmake v0.1.54
       Fresh object v0.36.5
       Fresh bootstrap v0.0.0 (C:\Users\user\RustroverProjects\rust\src\bootstrap)
    Finished `dev` profile [unoptimized] target(s) in 0.17s
running: C:\Users\user\RustroverProjects\rust\build\bootstrap\debug\bootstrap build -v
running: "git" "rev-parse" "--show-cdup" (failure_mode=Ignore) (created at src\bootstrap\src\core\config\config.rs:494:27, executed at src\bootstrap\src\core\config\config.rs:504:46)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
downloading stage0 beta artifacts
running: "C:\\Users\\user\\RustroverProjects\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\rustc.exe" "--print" "sysroot" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:810:13, executed at src\bootstrap\src\core\config\config.rs:813:18)
downloading stage0 beta artifacts
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
rustc freshness: LastModifiedUpstream { upstream: "bc4376fa73b636eb6f2c7d48b1f731d70f022c4b" }
running: "C:\\Users\\user\\RustroverProjects\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\rustc.exe" "--print" "target-libdir" (failure_mode=Exit) (created at src\bootstrap\src\lib.rs:385:37, executed at src\bootstrap\src\lib.rs:388:14)
running: "C:\\Users\\user\\RustroverProjects\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\rustc.exe" "--version" "--verbose" (failure_mode=Exit) (created at src\bootstrap\src\lib.rs:492:37, executed at src\bootstrap\src\lib.rs:495:14)
finding compilers
CC_x86_64-pc-windows-msvc = "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostX64\\x64\\cl.exe"
CFLAGS_x86_64-pc-windows-msvc = ["-nologo", "-MT", "-Brepro"]
CXX_x86_64-pc-windows-msvc = "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostX64\\x64\\cl.exe"
CXXFLAGS_x86_64-pc-windows-msvc = ["-nologo", "-MT", "-Brepro"]
AR_x86_64-pc-windows-msvc = "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostX64\\x64\\lib.exe"
running sanity check
running: "C:\\Users\\user\\RustroverProjects\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\rustc.exe" "--print" "target-list" (failure_mode=Exit) (created at src\bootstrap\src\core\sanity.rs:203:57, executed at src\bootstrap\src\core\sanity.rs:206:10)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "ls-tree" "HEAD" "library/backtrace" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "ls-tree" "HEAD" "library/stdarch" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "config" "--file" ".gitmodules" "--get-regexp" "path" (failure_mode=Exit) (created at src\bootstrap\src\lib.rs:612:22, executed at src\bootstrap\src\lib.rs:616:14)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" (failure_mode=Ignore) (created at src\bootstrap\src\utils\channel.rs:47:31, executed at src\bootstrap\src\utils\channel.rs:49:50)  
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "log" "-1" "--date=short" "--pretty=format:%cd" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:63:31, executed at src\bootstrap\src\utils\channel.rs:70:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:72:32, executed at src\bootstrap\src\utils\channel.rs:74:68)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "--short=9" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\utils\channel.rs:76:38, executed at src\bootstrap\src\utils\channel.rs:82:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "ls-tree" "HEAD" "src/doc/nomicon" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "ls-tree" "HEAD" "src/doc/rust-by-example" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "library/stdarch" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/tools/cargo" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "rev-parse" "HEAD" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1391:27, executed at src\bootstrap\src\core\config\config.rs:1398:57)
running: "git" "ls-tree" "HEAD" "src/doc/edition-guide" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/doc/reference" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "library/backtrace" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/doc/book" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/doc/embedded-book" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/llvm-project" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/tools/enzyme" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/gcc" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
running: "git" "ls-tree" "HEAD" "src/tools/rustc-perf" (failure_mode=Exit) (created at src\bootstrap\src\core\config\config.rs:1401:24, executed at src\bootstrap\src\core\config\config.rs:1405:14)
learning about cargo
running: "C:\\Users\\user\\RustroverProjects\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "metadata" "--format-version" "1" "--no-deps" "--m
anifest-path" "C:\\Users\\user\\RustroverProjects\\rust\\Cargo.toml" (failure_mode=Exit) (created at src\bootstrap\src\core\metadata.rs:80:25, executed at src\bootstrap\src\core\metadata.rs:91:50)
running: "C:\\Users\\user\\RustroverProjects\\rust\\build\\x86_64-pc-windows-msvc\\stage0\\bin\\cargo.exe" "metadata" "--format-version" "1" "--no-deps" "--m
anifest-path" "C:\\Users\\user\\RustroverProjects\\rust\\library/Cargo.toml" (failure_mode=Exit) (created at src\bootstrap\src\core\metadata.rs:80:25, executed at src\bootstrap\src\core\metadata.rs:91:50)

thread 'main' panicked at src\bootstrap\src\lib.rs:546:13:
fs::remove_dir(&host) failed with The directory name is invalid. (os error 267)
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/95597e848d27a82b8864c677ab807e9f0be1f68c/library\std\src\panicking.rs:697
   1: core::panicking::panic_fmt
             at /rustc/95597e848d27a82b8864c677ab807e9f0be1f68c/library\core\src\panicking.rs:75
   2: bootstrap::Build::new
             at .\src\bootstrap\src\utils\helpers.rs:55
   3: bootstrap::main
             at .\src\bootstrap\src\bin\main.rs:99
   4: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
             at /rustc/95597e848d27a82b8864c677ab807e9f0be1f68c\library\core\src\ops\function.rs:250
   5: core::hint::black_box
             at /rustc/95597e848d27a82b8864c677ab807e9f0be1f68c\library\core\src\hint.rs:482
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Panic was initiated from src\bootstrap\src\lib.rs:546:13
Traceback (most recent call last):
  File "C:\Users\user\RustroverProjects\rust\x.py", line 53, in <module>                                                                                     
    bootstrap.main()
    ~~~~~~~~~~~~~~^^
  File "C:\Users\user\RustroverProjects\rust\src\bootstrap\bootstrap.py", line 1372, in main                                                                 
    bootstrap(args)
    ~~~~~~~~~^^^^^^
  File "C:\Users\user\RustroverProjects\rust\src\bootstrap\bootstrap.py", line 1347, in bootstrap                                                            
    run(args, env=env, verbose=build.verbose, is_bootstrap=True)
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\RustroverProjects\rust\src\bootstrap\bootstrap.py", line 236, in run                                                                   
    raise RuntimeError(err)
RuntimeError: failed to run: C:\Users\user\RustroverProjects\rust\build\bootstrap\debug\bootstrap.exe build -v                                               

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-windowsOperating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions