Skip to content

Rollup of 6 pull requests#153590

Closed
jhpratt wants to merge 14 commits intorust-lang:mainfrom
jhpratt:rollup-3jF2bCy
Closed

Rollup of 6 pull requests#153590
jhpratt wants to merge 14 commits intorust-lang:mainfrom
jhpratt:rollup-3jF2bCy

Conversation

@jhpratt
Copy link
Member

@jhpratt jhpratt commented Mar 9, 2026

Successful merges:

r? @ghost

Create a similar rollup

Ayush1325 and others added 14 commits March 1, 2026 11:43
Tested with OVMF on QEMU with Linux as the host running
remote-test-client. The instructions for running tests are provided
below:

1. Use rust-lld linker: `bootstrap.toml`

```toml
[rust]
lld = true

[target.x86_64-unknown-uefi]
linker = "rust-lld"
```

2. Use a custom startup.nsh script to auto-launch remote-test-server.
   This is optional.

```shell
fs1:
run.efi --sequential --bind "10.0.2.15:12345" --batch
```

3. Launch remote-test-server in QEMU. I am using uefi-run script [0].

```shell
uefi-run build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-uefi/release/remote-test-server.efi  -n --startup startup.nsh --tcp-port 12345
```

4. Run tests:

```shell
RUST_TEST_THREADS=1 TEST_DEVICE_ADDR="localhost:12345" ./x.py test tests/ui/abi --target x86_64-unknown-uefi --stage 1
```

[0]: https://github.com/Ayush1325/dotfiles/blob/2d13056bf8ca1931a234b72967d9e857c4afbf1a/uefi/.local/bin/uefi-run

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
… bound to __rust_alloc size

LLVM emits a lower bound of 8 for the size parameter to __rust_alloc
when targeting x86_64-unknown-hermit. Since that is also completely
valid, relax the lower bound check.
1. Explain that you need to make paths absolute in helix settings
2. Use the correct compiler (set `RUSTC` and `CARGO` to stage0, instead
   of `RUSTUP_TOOLCHAIN=nightly`)
3. Add comments to vscode and zed settings
…op-lower-bound-hermit, r=Mark-Simulacrum

tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size

LLVM emits a lower bound of 8 for the size parameter to `__rust_alloc` when targeting `x86_64-unknown-hermit`. Since that is also completely valid, relax the lower bound check.

I'm not really sure why LLVM is able to infer this - with the same setup targeting `x86_64-unknown-linux-gnu` I also see the lower bound of 0. Not that it's wrong, but I'd be curious to know which codegen options play into this.
…ulacrum

std: organise `sys::pal::os`

Continuing rust-lang#153341, this moves around some functions in `sys::pal`, so that `pal::os` only contains standard-path-related code (which I'll move later as part of rust-lang#117276).

Best reviewed commit-by-commit.
…r=Mark-Simulacrum

Rustfmt now support use closures

This should be merged when rust-lang/rustfmt#6532 is used by CI's rustfmt.
…mulacrum

tools: remote-test-server: Add UEFI run support

Tested with OVMF on QEMU with Linux as the host running remote-test-client. The instructions for running tests are provided below:

1. Use rust-lld linker: `bootstrap.toml`

```toml
[rust]
lld = true

[target.x86_64-unknown-uefi]
linker = "rust-lld"
```

2. Use a custom startup.nsh script to auto-launch remote-test-server. This is optional.

```shell
fs1:
run.efi --sequential --bind "10.0.2.15:12345" --batch
```

3. Launch remote-test-server in QEMU. I am using uefi-run script [0].

```shell
uefi-run build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-uefi/release/remote-test-server.efi  -n --startup startup.nsh --tcp-port 12345
```

4. Run tests:

```shell
RUST_TEST_THREADS=1 TEST_DEVICE_ADDR="localhost:12345" ./x.py test tests/ui/abi --target x86_64-unknown-uefi --stage 1
```

Requires: rust-lang#151014
@rustbot label +O-UEFI
cc @nicholasbishop

[0]: https://github.com/Ayush1325/dotfiles/blob/2d13056bf8ca1931a234b72967d9e857c4afbf1a/uefi/.local/bin/uefi-run
…crum

Adapt codegen test to accept operand bundles

The updated test current fails when rustc is built with HEAD LLVM: https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/44013/steps/canvas?sid=019cafec-3cca-44b2-aa9f-b41c0a940e8b

Likely as a result of llvm/llvm-project#169923

Since the new codegen merges two lines into one, I couldn't figure out a way to make the test work on both LLVM versions without introducing revisions. (Though I could instead make the test run on only LLVM 23+).

@rustbot label llvm-main
…=Mark-Simulacrum

tweak r-a default settings

1. Explain that you need to make paths absolute in helix settings
2. Use the correct compiler (set `RUSTC` and `CARGO` to stage0, instead of `RUSTUP_TOOLCHAIN=nightly`)
3. Add comments to vscode and zed settings

NB: I only tested helix settings, but am pretty sure that the other changes shouldn't break anything.
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Mar 9, 2026
@rustbot rustbot added A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc O-solid Operating System: SOLID O-unix Operating system: Unix-like O-wasi Operating system: Wasi, Webassembly System Interface S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 9, 2026
@jhpratt
Copy link
Member Author

jhpratt commented Mar 9, 2026

@bors r+ rollup=never p=5

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 9, 2026

📌 Commit e2e3ad8 has been approved by jhpratt

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 9, 2026
@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Mar 9, 2026
Rollup of 6 pull requests

Successful merges:

 - #153290 (tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size)
 - #153413 (std: organise `sys::pal::os`)
 - #139692 (Rustfmt now support use closures)
 - #153244 (tools: remote-test-server: Add UEFI run support)
 - #153305 (Adapt codegen test to accept operand bundles)
 - #153340 (tweak r-a default settings)
@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-apple failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
/dev/disk1s2     500Mi    20Ki   495Mi     1%       0  5.1M    0%   /System/Volumes/xarts
/dev/disk1s1     500Mi   116Ki   495Mi     1%      25  5.1M    0%   /System/Volumes/iSCPreboot
/dev/disk1s3     500Mi   224Ki   495Mi     1%      18  5.1M    0%   /System/Volumes/Hardware
/dev/disk3s5     320Gi   257Gi    44Gi    86%    2.2M  459M    0%   /System/Volumes/Data
/dev/disk5s1     4.0Mi   676Ki   3.0Mi    19%      18   31k    0%   /System/Library/AssetsV2/com_apple_MobileAsset_PKITrustStore/purpose_auto/6dd55b0d06633a00de6f57ccb910a66a5ba2409a.asset/.AssetData
map auto_home      0Bi     0Bi     0Bi   100%       0     0     -   /System/Volumes/Data/home
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
---
##[endgroup]
==> Fetching downloads for: tidy-html5
✔︎ Bottle Manifest tidy-html5 (5.8.0)
✔︎ Bottle tidy-html5 (5.8.0)
==> Pouring tidy-html5--5.8.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/tidy-html5/5.8.0: 15 files, 3.2MB
##[group]Run src/ci/scripts/install-wix.sh
src/ci/scripts/install-wix.sh
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
---
hw.optional.arm.SME_I16I32: 0
hw.optional.arm.FEAT_SME_F64F64: 0
hw.optional.arm.FEAT_SME_I16I64: 0
hw.optional.arm.FP_SyncExceptions: 1
hw.optional.arm.caps: 292171059125284863
hw.optional.arm.sme_max_svl_b: 0
hw.optional.floatingpoint: 1
hw.optional.neon: 1
hw.optional.neon_hpfp: 1
hw.optional.neon_fp16: 1
hw.optional.armv8_crc32: 1
---
[2523/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMacroFusion.cpp.o
[2524/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMCInstLower.cpp.o
[2525/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMemoryUtils.cpp.o
[2526/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMCResourceInfo.cpp.o
[2527/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPULowerVGPREncoding.cpp.o
[2528/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUIGroupLP.cpp.o
[2529/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMarkLastScratchLoad.cpp.o
[2530/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPerfHintAnalysis.cpp.o
[2531/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMIRFormatter.cpp.o
[2532/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPreloadKernArgProlog.cpp.o
---
[2962/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorMaskDAGMutation.cpp.o
[2963/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.cpp.o
[2964/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVLOptimizer.cpp.o
[2965/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o
[2966/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVSETVLIInfoAnalysis.cpp.o
[2967/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZacasABIFix.cpp.o
[2968/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZilsdOptimizer.cpp.o
[2969/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVCallLowering.cpp.o
[2970/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVLegalizerInfo.cpp.o
[2971/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPostLegalizerCombiner.cpp.o
[2972/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVO0PreLegalizerCombiner.cpp.o
[2973/3892] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPreLegalizerCombiner.cpp.o
---
[3230/3892] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/ELFObjHandler.cpp.o
[3231/3892] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/IFSHandler.cpp.o
[3232/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/ActionCache.cpp.o
[3233/3892] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/IFSStub.cpp.o
[3234/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/ActionCaches.cpp.o
[3235/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/BuiltinCAS.cpp.o
[3236/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/BuiltinUnifiedCASDatabases.cpp.o
[3237/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/DatabaseFile.cpp.o
[3238/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/InMemoryCAS.cpp.o
[3239/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/MappedFileRegionArena.cpp.o
[3240/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/ObjectStore.cpp.o
[3241/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskCAS.cpp.o
[3242/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o
[3243/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskCommon.cpp.o
[3244/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskKeyValueDB.cpp.o
[3245/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskGraphDB.cpp.o
[3246/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskTrieRawHashMap.cpp.o
[3247/3892] Linking CXX static library lib/libLLVMDWARFLinker.a
[3248/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/UnifiedOnDiskCache.cpp.o
[3249/3892] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinkerDeclContext.cpp.o
[3250/3892] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinkerCompileUnit.cpp.o
[3251/3892] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
[3252/3892] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFStreamer.cpp.o
[3253/3892] Building CXX object lib/DWARFLinker/Parallel/CMakeFiles/LLVMDWARFLinkerParallel.dir/AcceleratorRecordsSaver.cpp.o
---
[3463/3892] Creating export file for Remarks
[3464/3892] Building Opts.inc...
[3465/3892] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer-driver.cpp.o
[3466/3892] Building CXX object tools/opt/CMakeFiles/LLVMOptDriver.dir/optdriver.cpp.o
[3467/3892] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Transport.cpp.o
[3468/3892] Linking CXX static library lib/libLLVMTableGenBasic.a
[3469/3892] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o
[3470/3892] Linking CXX static library lib/libLLVMFuzzerCLI.a
[3471/3892] Linking CXX static library lib/libLLVMFuzzMutate.a
[3472/3892] Linking CXX static library lib/libLLVMFileCheck.a
[3473/3892] Linking CXX static library lib/libLLVMInterfaceStub.a
[3474/3892] Linking CXX static library lib/libLLVMCAS.a
[3475/3892] Linking CXX static library lib/libLLVMDWARFLinkerClassic.a
[3476/3892] Linking CXX static library lib/libLLVMDWARFLinkerParallel.a
[3477/3892] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Logging.cpp.o
[3478/3892] Building CXX object lib/ABI/CMakeFiles/LLVMABI.dir/Types.cpp.o
[3479/3892] Building CXX object lib/Frontend/Driver/CMakeFiles/LLVMFrontendDriver.dir/CodeGenOptions.cpp.o
[3480/3892] Linking CXX static library lib/libLLVMLTO.a
[3481/3892] Linking CXX static library lib/libLLVMDebugInfoLogicalView.a
[3482/3892] Linking CXX static library lib/libLLVMDWARFCFIChecker.a
[3483/3892] Linking CXX static library lib/libLLVMDWP.a
---
[3489/3892] Linking CXX static library lib/libLLVMX86TargetMCA.a
[3490/3892] Building CXX object lib/Frontend/OpenACC/CMakeFiles/LLVMFrontendOpenACC.dir/ACC.cpp.o
[3491/3892] Linking CXX static library lib/libLLVMCoverage.a
[3492/3892] Linking CXX static library lib/libLLVMTextAPIBinaryReader.a
[3493/3892] Building CXX object lib/DTLTO/CMakeFiles/LLVMDTLTO.dir/DTLTO.cpp.o
[3494/3892] Linking CXX static library lib/libLLVMXRay.a
[3495/3892] Building CXX object lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/LineEditor.cpp.o
[3496/3892] Building CXX object lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o
[3497/3892] Building CXX object lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o
[3498/3892] Building CXX object utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o
---
[3596/3892] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp.cpp.o
[3597/3892] Building CXX object tools/llvm-dwarfutil/CMakeFiles/llvm-dwarfutil.dir/DebugInfoLinker.cpp.o
[3598/3892] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp-driver.cpp.o
[3599/3892] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil.cpp.o
[3600/3892] Building CXX object tools/llvm-ir2vec/CMakeFiles/llvm-ir2vec.dir/llvm-ir2vec.cpp.o
[3601/3892] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil-driver.cpp.o
[3602/3892] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs-driver.cpp.o
[3603/3892] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/ErrorCollector.cpp.o
[3604/3892] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs.cpp.o
[3605/3892] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/DummyISelFuzzer.cpp.o
---
[3716/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterUses.cpp.o
[3717/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterDefs.cpp.o
[3718/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterMasks.cpp.o
[3719/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceTargetFeaturesAttr.cpp.o
[3720/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceSinkDefsToUses.cpp.o
[3721/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceUsingSimplifyCFG.cpp.o
[3722/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/SimplifyInstructions.cpp.o
[3723/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/StripDebugInfo.cpp.o
[3724/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/RunIRPasses.cpp.o
[3725/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/llvm-reduce.cpp.o
---
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/lib/cmake/llvm/./FindSphinx.cmake
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/lib/cmake/llvm/./TableGen.cmake
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/OnDiskDataAllocator.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/CASReference.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/BuiltinCASContext.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/OnDiskKeyValueDB.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/OnDiskTrieRawHashMap.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/UnifiedOnDiskCache.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/CASID.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/FileOffset.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/MappedFileRegionArena.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/ObjectStore.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/BuiltinUnifiedCASDatabases.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/OnDiskGraphDB.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/BuiltinObjectHasher.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/CAS/ActionCache.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ADT
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ADT/SmallPtrSet.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ADT/DynamicAPInt.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ADT/SmallBitVector.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ADT/ilist_node.h
---
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ToolDrivers/llvm-dlltool
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/Pass.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/DTLTO
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/DTLTO/DTLTO.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/MC
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/MC/MCSPIRVObjectWriter.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/MC/MCELFStreamer.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/MC/MCExpr.h
-- Installing: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/include/llvm/MC/TargetRegistry.h
---
[242/3894] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackWriter.cpp.o
[243/3894] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackReader.cpp.o
[244/3894] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/SFrame.cpp.o
[245/3894] Linking CXX static library lib/libLLVMBitstreamReader.a
FAILED: [code=1] lib/libLLVMBitstreamReader.a 
: && "/Applications/Xcode_26.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool" -static -no_warning_for_no_symbols -o lib/libLLVMBitstreamReader.a  lib/Bitstream/Reader/CMakeFiles/LLVMBitstreamReader.dir/BitstreamReader.cpp.o && cd /Users/runner/work/rust/rust/build/x86_64-apple-darwin/llvm/build/lib/Bitstream/Reader && touch /Users/runner/work/rust/rust/build/x86_64-apple-darwin/llvm/build/./lib/libLLVMBitstreamReader.a
fatal error: /Applications/Xcode_26.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't write to output file (Input/output error)
[246/3894] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Wasm.cpp.o
[247/3894] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/XCOFF.cpp.o
ninja: build stopped: subcommand failed.

thread 'main' (115726) panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:
---
   0: __rustc::rust_begin_unwind
             at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:689:5
   1: core::panicking::panic_fmt
             at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:80:14
   2: cmake::fail
   3: cmake::run
   4: <cmake::Config>::build
   5: <bootstrap::core::build_steps::llvm::Llvm as bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/llvm.rs:553:13
   6: <bootstrap::core::builder::Builder>::ensure::<bootstrap::core::build_steps::llvm::Llvm>
             at ./src/bootstrap/src/core/builder/mod.rs:1579:36
   7: <bootstrap::core::build_steps::compile::Assemble as bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/compile.rs:2135:69
   8: <bootstrap::core::builder::Builder>::ensure::<bootstrap::core::build_steps::compile::Assemble>
             at ./src/bootstrap/src/core/builder/mod.rs:1579:36
   9: <bootstrap::core::builder::Builder>::compiler
             at ./src/bootstrap/src/core/builder/mod.rs:1149:14
  10: <bootstrap::core::build_steps::dist::Rustc as bootstrap::core::builder::Step>::make_run
             at ./src/bootstrap/src/core/build_steps/dist.rs:495:42
  11: <bootstrap::core::builder::StepDescription>::maybe_run
             at ./src/bootstrap/src/core/builder/mod.rs:476:13
  12: bootstrap::core::builder::cli_paths::match_paths_to_steps_and_run
             at ./src/bootstrap/src/core/builder/cli_paths.rs:141:22
  13: <bootstrap::core::builder::Builder>::run_step_descriptions
             at ./src/bootstrap/src/core/builder/mod.rs:1122:9
  14: <bootstrap::core::builder::Builder>::execute_cli
             at ./src/bootstrap/src/core/builder/mod.rs:1101:14
  15: <bootstrap::Build>::build
             at ./src/bootstrap/src/lib.rs:791:25
  16: bootstrap::main
             at ./src/bootstrap/src/bin/main.rs:130:11
  17: <fn() as core::ops::function::FnOnce<()>>::call_once
             at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---
/dev/disk1s2     500Mi    20Ki   495Mi     1%       0  5.1M    0%   /System/Volumes/xarts
/dev/disk1s1     500Mi   116Ki   495Mi     1%      25  5.1M    0%   /System/Volumes/iSCPreboot
/dev/disk1s3     500Mi   224Ki   495Mi     1%      18  5.1M    0%   /System/Volumes/Hardware
/dev/disk3s5     320Gi   268Gi    33Gi    90%    2.7M  347M    1%   /System/Volumes/Data
/dev/disk5s1     4.0Mi   676Ki   3.0Mi    19%      18   31k    0%   /System/Library/AssetsV2/com_apple_MobileAsset_PKITrustStore/purpose_auto/6dd55b0d06633a00de6f57ccb910a66a5ba2409a.asset/.AssetData
map auto_home      0Bi     0Bi     0Bi   100%       0     0     -   /System/Volumes/Data/home
/dev/disk7s1      11Gi    11Gi   299Mi    98%    206k  3.1M    6%   /Library/Developer/CoreSimulator/Volumes/tvOS_23J579
/dev/disk9s1     8.5Gi   8.2Gi   252Mi    98%      13  2.6M    0%   /Library/Developer/CoreSimulator/Cryptex/Images/bundle/SimRuntimeBundle-366AD099-852D-44B9-980D-31D7891BF831
/dev/disk11s1     17Gi    17Gi   437Mi    98%    207k  4.5M    4%   /Library/Developer/CoreSimulator/Volumes/xrOS_22N895
/dev/disk13s1     18Gi    18Gi   470Mi    98%    236k  4.8M    5%   /Library/Developer/CoreSimulator/Volumes/xrOS_23N47
/dev/disk15s1     22Gi    21Gi   550Mi    98%    607k  5.6M   10%   /Library/Developer/CoreSimulator/Volumes/iOS_23C54
/dev/disk17s1     11Gi    11Gi   304Mi    98%    207k  3.1M    6%   /Library/Developer/CoreSimulator/Volumes/tvOS_23K51
/dev/disk19s1    7.9Gi   7.7Gi   235Mi    98%      13  2.4M    0%   /Library/Developer/CoreSimulator/Cryptex/Images/bundle/SimRuntimeBundle-D52B6100-37E7-431F-8D5A-DA26AFC1498F
/dev/disk21s1     17Gi    16Gi   432Mi    98%    216k  4.4M    5%   /Library/Developer/CoreSimulator/Volumes/xrOS_22O473
/dev/disk23s1    4.3Gi   4.1Gi   150Mi    97%      13  1.5M    0%   /Library/Developer/CoreSimulator/Cryptex/Images/bundle/SimRuntimeBundle-39F90FCB-98E7-4AAF-A487-EA9E83BA2421
/dev/disk25s1     10Gi   9.8Gi   277Mi    98%    190k  2.8M    6%   /Library/Developer/CoreSimulator/Volumes/tvOS_22L572
/dev/disk27s1    8.5Gi   8.2Gi   251Mi    98%      13  2.6M    0%   /Library/Developer/CoreSimulator/Cryptex/Images/bundle/SimRuntimeBundle-9BC2311C-95A8-4F72-BBD7-185D6D307EA1
/dev/disk29s1     19Gi    19Gi   495Mi    98%    559k  5.1M   10%   /Library/Developer/CoreSimulator/Volumes/iOS_22F77
/dev/disk31s1     21Gi    21Gi   540Mi    98%    600k  5.5M   10%   /Library/Developer/CoreSimulator/Volumes/iOS_23A8464
/dev/disk33s1    8.5Gi   8.2Gi   252Mi    98%      13  2.6M    0%   /Library/Developer/CoreSimulator/Cryptex/Images/bundle/SimRuntimeBundle-1EBEEC89-00DE-48B8-B70E-27AB02396BFF
/dev/disk35s1     19Gi    19Gi   495Mi    98%    559k  5.1M   10%   /Library/Developer/CoreSimulator/Volumes/iOS_22G86
/dev/disk37s1     12Gi    11Gi   318Mi    98%    298k  3.3M    8%   /Library/Developer/CoreSimulator/Volumes/watchOS_23S303
/dev/disk39s1     12Gi    11Gi   317Mi    98%    297k  3.2M    8%   /Library/Developer/CoreSimulator/Volumes/watchOS_23S36
/dev/disk41s1     19Gi    18Gi   467Mi    98%    236k  4.8M    5%   /Library/Developer/CoreSimulator/Volumes/xrOS_23N301
/dev/disk43s1     22Gi    21Gi   550Mi    98%    605k  5.6M   10%   /Library/Developer/CoreSimulator/Volumes/iOS_23B86
/dev/disk45s1    7.9Gi   7.6Gi   235Mi    98%      13  2.4M    0%   /Library/Developer/CoreSimulator/Cryptex/Images/bundle/SimRuntimeBundle-3F6DFB1B-D81C-4DFC-BBBB-64EF77BBEEC6
/dev/disk47s1     17Gi    16Gi   433Mi    98%    216k  4.4M    5%   /Library/Developer/CoreSimulator/Volumes/xrOS_22O237
/dev/disk49s1    4.5Gi   4.4Gi   153Mi    97%      13  1.6M    0%   /Library/Developer/CoreSimulator/Cryptex/Images/bundle/SimRuntimeBundle-5645C33B-44CA-4689-93E1-5EF763F85DDD
/dev/disk51s1     11Gi    10Gi   304Mi    98%    275k  3.1M    8%   /Library/Developer/CoreSimulator/Volumes/watchOS_22T572
Post job cleanup.
[command]/opt/homebrew/bin/git version
git version 2.53.0
Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/01f2b9e5-8786-4a9a-a92c-3b21f33c548a/.gitconfig'
Temporarily overriding HOME='/Users/runner/work/_temp/01f2b9e5-8786-4a9a-a92c-3b21f33c548a' before making global git config changes

@rust-bors rust-bors bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 9, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 9, 2026

💔 Test for 4c82f61 failed: CI. Failed job:

@JonathanBrouwer
Copy link
Contributor

Spurious
@bors retry

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 9, 2026
@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Mar 9, 2026
Rollup of 6 pull requests

Successful merges:

 - #153290 (tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size)
 - #153413 (std: organise `sys::pal::os`)
 - #139692 (Rustfmt now support use closures)
 - #153244 (tools: remote-test-server: Add UEFI run support)
 - #153305 (Adapt codegen test to accept operand bundles)
 - #153340 (tweak r-a default settings)
@rust-bors rust-bors bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 9, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 9, 2026

💔 Test for e13beef failed: CI. Failed job:

@rust-log-analyzer
Copy link
Collaborator

The job dist-aarch64-apple failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
/dev/disk1s2     500Mi    20Ki   495Mi     1%       0  5.1M    0%   /System/Volumes/xarts
/dev/disk1s1     500Mi   116Ki   495Mi     1%      25  5.1M    0%   /System/Volumes/iSCPreboot
/dev/disk1s3     500Mi   224Ki   495Mi     1%      18  5.1M    0%   /System/Volumes/Hardware
/dev/disk3s5     320Gi   257Gi    44Gi    86%    2.2M  461M    0%   /System/Volumes/Data
/dev/disk5s1     4.0Mi   676Ki   3.0Mi    19%      18   31k    0%   /System/Library/AssetsV2/com_apple_MobileAsset_PKITrustStore/purpose_auto/6dd55b0d06633a00de6f57ccb910a66a5ba2409a.asset/.AssetData
map auto_home      0Bi     0Bi     0Bi   100%       0     0     -   /System/Volumes/Data/home
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
---
##[endgroup]
==> Fetching downloads for: tidy-html5
✔︎ Bottle Manifest tidy-html5 (5.8.0)
✔︎ Bottle tidy-html5 (5.8.0)
==> Pouring tidy-html5--5.8.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/tidy-html5/5.8.0: 15 files, 3.2MB
##[group]Run src/ci/scripts/install-wix.sh
src/ci/scripts/install-wix.sh
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
---
hw.optional.arm.SME_I16I32: 0
hw.optional.arm.FEAT_SME_F64F64: 0
hw.optional.arm.FEAT_SME_I16I64: 0
hw.optional.arm.FP_SyncExceptions: 1
hw.optional.arm.caps: 292171059125284863
hw.optional.arm.sme_max_svl_b: 0
hw.optional.floatingpoint: 1
hw.optional.neon: 1
hw.optional.neon_hpfp: 1
hw.optional.neon_fp16: 1
hw.optional.armv8_crc32: 1
---
[RUSTC-TIMING] block_buffer test:false 0.062
   Compiling errno v0.3.14
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/bootstrap-tools/release/build/crc32fast-63cb032209388afa/rustcLKsyVa/symbols.o" "<2 object files omitted>" "<sysroot>/lib/rustlib/aarch64-apple-darwin/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-lSystem" "-lc" "-lm" "-arch" "arm64" "-mmacosx-version-min=11.0.0" "-o" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/bootstrap-tools/release/build/crc32fast-63cb032209388afa/build_script_build-63cb032209388afa" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: clang: error: unable to execute command: Segmentation fault: 11
          clang: error: linker command failed due to signal (use -v to see invocation)
          Apple clang version 17.0.0 (clang-1700.6.3.2)
          Target: arm64-apple-darwin24.6.0
          Thread model: posix
          InstalledDir: /Applications/Xcode_26.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
          clang: note: diagnostic msg: 
          ********************
          
          PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
          Linker snapshot containing input(s) and associated run script(s) are located at:
          clang: note: diagnostic msg: /var/folders/t5/f77_gwnj6p95qxy9py3fckx00000gn/T/linker-crash-7986da
          clang: note: diagnostic msg: 
          
          ********************
          

[RUSTC-TIMING] build_script_build test:false 2.824
---
/dev/disk1s2     500Mi    20Ki   495Mi     1%       0  5.1M    0%   /System/Volumes/xarts
/dev/disk1s1     500Mi   116Ki   495Mi     1%      25  5.1M    0%   /System/Volumes/iSCPreboot
/dev/disk1s3     500Mi   224Ki   495Mi     1%      18  5.1M    0%   /System/Volumes/Hardware
/dev/disk3s5     320Gi   264Gi    37Gi    88%    2.6M  389M    1%   /System/Volumes/Data
/dev/disk5s1     4.0Mi   676Ki   3.0Mi    19%      18   31k    0%   /System/Library/AssetsV2/com_apple_MobileAsset_PKITrustStore/purpose_auto/6dd55b0d06633a00de6f57ccb910a66a5ba2409a.asset/.AssetData
map auto_home      0Bi     0Bi     0Bi   100%       0     0     -   /System/Volumes/Data/home
Post job cleanup.
[command]/opt/homebrew/bin/git version
git version 2.53.0
Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/69a3850b-2cbe-40f9-a2c7-1b985435ca8a/.gitconfig'

@JonathanBrouwer
Copy link
Contributor

Is this spurious again or is there a PR in here having a subtle effect somehow?
@bors try jobs=dist-aarch64-apple,dist-x86_64-apple

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Mar 9, 2026
Rollup of 6 pull requests


try-job: dist-aarch64-apple
try-job: dist-x86_64-apple
@JonathanBrouwer
Copy link
Contributor

@bors retry

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 9, 2026
@JonathanBrouwer
Copy link
Contributor

Closing in favour of a bigger rollup: #153605

@rust-bors rust-bors bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 9, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 9, 2026

This pull request was unapproved due to being closed.

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 9, 2026

☀️ Try build successful (CI)
Build commit: ec95bb6 (ec95bb60f9d28c7b89f3a4f785240bf9d6df2fc4, parent: 98e7077b903559d7a4fafb775cd5292cc9427b67)

@jhpratt jhpratt deleted the rollup-3jF2bCy branch March 9, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc O-solid Operating System: SOLID O-unix Operating system: Unix-like O-wasi Operating system: Wasi, Webassembly System Interface rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants