Upstream bugreport: https://github.com/rust-lang/rust/issues/135358 running: /var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/build/bootstrap/debug/bootstrap build -vvv --config=/var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/config.toml -j16 fatal: --local can only be used inside a git repository fatal: not a git repository (or any of the parent directories): .git thread 'main' panicked at src/core/config/config.rs:2908:89: called `Result::unwrap()` on an `Err` value: "command did not execute successfully: cd \"/var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src\" && \"git\" \"rev-list\" \"--author=bors@rust-lang.org\" \"-n1\" \"--first-parent\" \"HEAD\"\nexpected success, got: exit status: 128\n" stack backtrace: 0: rust_begin_unwind at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5 1: core::panicking::panic_fmt at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14 2: core::result::unwrap_failed at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:1700:5 3: core::result::Result<T,E>::unwrap at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:1104:23 4: bootstrap::core::config::config::Config::last_modified_commit at ./src/bootstrap/src/core/config/config.rs:2908:22 5: bootstrap::core::config::config::Config::download_ci_rustc_commit at ./src/bootstrap/src/core/config/config.rs:2820:28 6: bootstrap::core::config::config::Config::parse_inner at ./src/bootstrap/src/core/config/config.rs:1775:17 7: bootstrap::core::config::config::Config::parse at ./src/bootstrap/src/core/config/config.rs:1305:9 8: bootstrap::main at ./src/bootstrap/src/bin/main.rs:27:18 9: core::ops::function::FnOnce::call_once at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Traceback (most recent call last): File "/var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/./x.py", line 50, in <module> bootstrap.main() ~~~~~~~~~~~~~~^^ File "/var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/src/bootstrap/bootstrap.py", line 1212, in main bootstrap(args) ~~~~~~~~~^^^^^^ File "/var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/src/bootstrap/bootstrap.py", line 1188, in bootstrap run(args, env=env, verbose=build.verbose, is_bootstrap=True) ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/src/bootstrap/bootstrap.py", line 202, in run raise RuntimeError(err) RuntimeError: failed to run: /var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/build/bootstrap/debug/bootstrap build -vvv --config=/var/tmp/notmpfs/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/config.toml -j16 dev-lang/rust-1.84.0 [1.83.0-r1] USE="lto rustfmt verify-sig (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri) -nightly (-parallel-compiler) -rust-analyzer -rust-src -system-llvm -test -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="19" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa"
Thanks for finding the upstream bug, I'll add it to the other *** This bug has been marked as a duplicate of bug 947897 ***