Skip to content

Update to Xcode 26.2#152013

Draft
madsmtm wants to merge 2 commits intorust-lang:mainfrom
madsmtm:update-xcode
Draft

Update to Xcode 26.2#152013
madsmtm wants to merge 2 commits intorust-lang:mainfrom
madsmtm:update-xcode

Conversation

@madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Feb 2, 2026

Update our CI to run with Xcode 26.

This means that:

  • LLVM will be built with a newer Clang version (before Apple Clang 15, now Apple Clang 17).
  • Our binaries (e.g. rustc and libstd*.dylib) will have their SDK version raised (before macOS 14.5, now 26.2).
  • Our binaries will be built with a newer linker (before 1053.12, now 1230.1).

The last two points can be observed with:

$ vtool -show-build ./build/host/stage1/bin/rustc
Load command 10
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform MACOS
    minos 11.0
      sdk 26.2
   ntools 1
     tool LD
  version 1230.1
$ vtool -show-build ./build/host/stage1/lib/rustlib/aarch64-apple-darwin/lib/libstd*.dylib
Load command 9
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform MACOS
    minos 11.0
      sdk 26.2
   ntools 1
     tool LD
  version 1230.1

This shouldn't have much of an effect, but things like dyld is known to inspect the SDK version, so it might expose some latent bugs (I really don't expect it to though).

This also updates the macOS runners to run on macOS 15 (the macOS 14 runners only have up to Xcode 16.2 available). That is desirable anyhow, as the macOS 14 runners will be deprecated in July. This is probably also required for #147192.

r? shepmaster

@madsmtm madsmtm added O-macos Operating system: macOS T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. A-CI Area: Our Github Actions CI O-apple Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS) labels Feb 2, 2026
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 2, 2026
@madsmtm
Copy link
Contributor Author

madsmtm commented Feb 2, 2026

I suspect this will run into issues with some badly written tests, will do a CI run once it starts working again.

@madsmtm madsmtm changed the title ci: Update to Xcode 26.2 Update to Xcode 26.2 Feb 2, 2026
@madsmtm
Copy link
Contributor Author

madsmtm commented Feb 3, 2026

@bors try jobs=apple

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 3, 2026
Update to Xcode 26.2


try-job: *apple*
@rust-log-analyzer
Copy link
Collaborator

The job dist-apple-various 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   237Gi    64Gi    79%    2.1M  668M    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/AMDGPUSwLowerLDS.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/AMDGPUMIRFormatter.cpp.o
[2531/3892] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPerfHintAnalysis.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/RISCVRegisterBankInfo.cpp.o
---
[3230/3892] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/IFSHandler.cpp.o
[3231/3892] Building CXX object lib/FileCheck/CMakeFiles/LLVMFileCheck.dir/FileCheck.cpp.o
[3232/3892] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/ELFObjHandler.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/ActionCache.cpp.o
[3235/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/ActionCaches.cpp.o
[3236/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/BuiltinCAS.cpp.o
[3237/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/BuiltinUnifiedCASDatabases.cpp.o
[3238/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/DatabaseFile.cpp.o
[3239/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/InMemoryCAS.cpp.o
[3240/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/MappedFileRegionArena.cpp.o
[3241/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/ObjectStore.cpp.o
[3242/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskCAS.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/OnDiskDataAllocator.cpp.o
[3245/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskKeyValueDB.cpp.o
[3246/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskGraphDB.cpp.o
[3247/3892] Linking CXX static library lib/libLLVMDWARFLinker.a
[3248/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskTrieRawHashMap.cpp.o
[3249/3892] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/UnifiedOnDiskCache.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/DWARFLinkerDeclContext.cpp.o
[3252/3892] Building CXX object lib/DWARFLinker/Parallel/CMakeFiles/LLVMDWARFLinkerParallel.dir/AcceleratorRecordsSaver.cpp.o
[3253/3892] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFStreamer.cpp.o
[3254/3892] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
---
[3461/3892] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer-driver.cpp.o
[3462/3892] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer.cpp.o
[3463/3892] Creating export file for Remarks
[3464/3892] Building Opts.inc...
[3465/3892] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.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/Logging.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
---
[3492/3892] Linking CXX static library lib/libLLVMTextAPIBinaryReader.a
[3493/3892] Building CXX object lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o
[3494/3892] Linking CXX static library lib/libLLVMXRay.a
[3495/3892] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ELFDumper.cpp.o
[3496/3892] Building CXX object lib/DTLTO/CMakeFiles/LLVMDTLTO.dir/DTLTO.cpp.o
[3497/3892] Building CXX object lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o
[3498/3892] Building C object utils/count/CMakeFiles/count.dir/count.c.o
[3499/3892] Building CXX object utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o
[3500/3892] Building CXX object utils/not/CMakeFiles/not.dir/not.cpp.o
[3501/3892] Building CXX object utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o
---
[3595/3892] Linking CXX static library lib/libLLVMExegesisRISCV.a
[3596/3892] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp-driver.cpp.o
[3597/3892] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp.cpp.o
[3598/3892] Building CXX object tools/llvm-extract/CMakeFiles/llvm-extract.dir/llvm-extract.cpp.o
[3599/3892] Building CXX object tools/llvm-ir2vec/CMakeFiles/llvm-ir2vec.dir/llvm-ir2vec.cpp.o
[3600/3892] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil.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/ErrorCollector.cpp.o
[3603/3892] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/DummyISelFuzzer.cpp.o
[3604/3892] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs-driver.cpp.o
---
[3715/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceVirtualRegisters.cpp.o
[3716/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterMasks.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/ReduceRegisterUses.cpp.o
[3719/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceSinkDefsToUses.cpp.o
[3720/3892] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceTargetFeaturesAttr.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/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
---
-- Checking DARWIN_macosx_SYSROOT - '/Applications/Xcode_26.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk'
-- Checking DARWIN_iphonesimulator_SYSROOT - '/Applications/Xcode_26.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.2.sdk'
-- Performing Test COMPILER_RT_HAS_APP_EXTENSION
-- Performing Test COMPILER_RT_HAS_APP_EXTENSION - Success
-- Got ld supported ARCHES: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em armv8m.main armv8.1m.main
-- Toolchain supported arches: armv6;armv7;armv7s;arm64;arm64e;arm64_32;i386;x86_64;x86_64h;armv6m;armv7k;armv7m;armv7em;armv8m.main;armv8.1m.main
-- Finding valid architectures for osx...
-- Disabling i386 slice for DARWIN_osx_ARCHS
-- OSX supported arches: 
-- Finding valid architectures for iossim...
-- Disabling i386 slice for simulator
---
[18/129] Building CXX object lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_linux.cpp.o
[19/129] Building CXX object lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_netbsd.cpp.o
[20/129] Building CXX object lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_solaris.cpp.o
[21/129] Building CXX object lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_posix.cpp.o
FAILED: [code=1] lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_posix.cpp.o 
sccache /Users/runner/work/rust/rust/clang+llvm-15.0.7-x86_64-apple-darwin21.0/bin/clang++ -DHAVE_RPC_XDR_H=1 -I/Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/.. -fPIC --target=arm64-apple-ios -miphoneos-version-min=26.2 -isysroot /Applications/Xcode_26.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.sdk -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -arch arm64 -stdlib=libc++ -miphoneos-version-min=9.0 -isysroot /Applications/Xcode_26.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.sdk -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -Wno-format -fno-rtti -Wframe-larger-than=570 -Wglobal-constructors -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_platform_limits_posix.cpp.o -c /Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
/Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:60:10: fatal error: 'net/route.h' file not found
#include <net/route.h>
         ^~~~~~~~~~~~~
1 error generated.
[22/129] Building CXX object lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_mac.cpp.o
FAILED: [code=1] lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_mac.cpp.o 
sccache /Users/runner/work/rust/rust/clang+llvm-15.0.7-x86_64-apple-darwin21.0/bin/clang++ -DHAVE_RPC_XDR_H=1 -I/Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/.. -fPIC --target=arm64-apple-ios -miphoneos-version-min=26.2 -isysroot /Applications/Xcode_26.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.sdk -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -arch arm64 -stdlib=libc++ -miphoneos-version-min=9.0 -isysroot /Applications/Xcode_26.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.sdk -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -Wno-format -fno-rtti -Wframe-larger-than=570 -Wglobal-constructors -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_mac.cpp.o -c /Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
/Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:597:15: error: constexpr function never produces a constant expression [-Winvalid-constexpr]
constexpr u16 GetOSMajorKernelOffset() {
              ^
/Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:601:1: note: control reached end of constexpr function
}
^
/Users/runner/work/rust/rust/src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:1230:3: error: static assertion failed due to requirement 'max_vm <= (1ULL << 36)': Max virtual address must be less than mmap range size.
  static_assert(max_vm <= SANITIZER_MMAP_RANGE_SIZE,
  ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[23/129] Building CXX object lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.ios.dir/sanitizer_posix.cpp.o
ninja: build stopped: subcommand failed.

---
   0: __rustc::rust_begin_unwind
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:689:5
   1: core::panicking::panic_fmt
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panicking.rs:80:14
   2: cmake::fail
   3: cmake::run
   4: <cmake::Config>::build
   5: <bootstrap::core::build_steps::llvm::Sanitizers as bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/llvm.rs:1443:17
   6: <bootstrap::core::builder::Builder>::ensure::<bootstrap::core::build_steps::llvm::Sanitizers>
             at ./src/bootstrap/src/core/builder/mod.rs:1598:36
   7: bootstrap::core::build_steps::compile::copy_sanitizers
             at ./src/bootstrap/src/core/build_steps/compile.rs:836:57
   8: bootstrap::core::build_steps::compile::copy_third_party_objects
             at ./src/bootstrap/src/core/build_steps/compile.rs:353:13
   9: <bootstrap::core::build_steps::compile::Std>::copy_extra_objects
             at ./src/bootstrap/src/core/build_steps/compile.rs:97:25
  10: <bootstrap::core::build_steps::compile::Std as bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/compile.rs:244:33
  11: <bootstrap::core::builder::Builder>::ensure::<bootstrap::core::build_steps::compile::Std>
             at ./src/bootstrap/src/core/builder/mod.rs:1598:36
  12: <bootstrap::core::builder::Builder>::std
             at ./src/bootstrap/src/core/builder/mod.rs:1297:18
  13: bootstrap::core::build_steps::doc::prepare_doc_compiler
             at ./src/bootstrap/src/core/build_steps/doc.rs:840:13
  14: <bootstrap::core::build_steps::doc::TheBook as bootstrap::core::builder::Step>::make_run
             at ./src/bootstrap/src/core/build_steps/doc.rs:231:29
  15: <bootstrap::core::builder::StepDescription>::maybe_run
             at ./src/bootstrap/src/core/builder/mod.rs:476:13
  16: bootstrap::core::builder::cli_paths::match_paths_to_steps_and_run
             at ./src/bootstrap/src/core/builder/cli_paths.rs:141:22
  17: <bootstrap::core::builder::Builder>::run_step_descriptions
             at ./src/bootstrap/src/core/builder/mod.rs:1141:9
  18: <bootstrap::core::builder::Builder>::run_default_doc_steps
             at ./src/bootstrap/src/core/builder/mod.rs:1125:14
  19: <bootstrap::core::build_steps::dist::Docs as bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/dist.rs:88:17
  20: <bootstrap::core::builder::Builder>::ensure::<bootstrap::core::build_steps::dist::Docs>
             at ./src/bootstrap/src/core/builder/mod.rs:1598:36
  21: <bootstrap::core::build_steps::dist::Docs as bootstrap::core::builder::Step>::make_run
             at ./src/bootstrap/src/core/build_steps/dist.rs:79:21
  22: <bootstrap::core::builder::StepDescription>::maybe_run
             at ./src/bootstrap/src/core/builder/mod.rs:476:13
  23: bootstrap::core::builder::cli_paths::match_paths_to_steps_and_run
             at ./src/bootstrap/src/core/builder/cli_paths.rs:141:22
  24: <bootstrap::core::builder::Builder>::run_step_descriptions
             at ./src/bootstrap/src/core/builder/mod.rs:1141:9
  25: <bootstrap::core::builder::Builder>::execute_cli
             at ./src/bootstrap/src/core/builder/mod.rs:1120:14
  26: <bootstrap::Build>::build
             at ./src/bootstrap/src/lib.rs:800:25
  27: bootstrap::main
             at ./src/bootstrap/src/bin/main.rs:130:11
  28: <fn() as core::ops::function::FnOnce<()>>::call_once
             at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/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   257Gi    44Gi    86%    2.5M  461M    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.52.0
Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/63a0ff25-28ae-4b45-a177-64170d51d4b6/.gitconfig'

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 3, 2026

💔 Test for 16cbdc0 failed: CI. Failed job:

@madsmtm
Copy link
Contributor Author

madsmtm commented Feb 3, 2026

I think we might need to use the Xcode-provided Clang on dist-apple-various as well to be able to build properly with the new headers. Let's try that:

@bors try jobs=apple

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 3, 2026
Update to Xcode 26.2


try-job: *apple*
@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 3, 2026

💥 Test timed out after 21600s

@madsmtm
Copy link
Contributor Author

madsmtm commented Feb 3, 2026

Hmm. I'd expect the first build with this to take longer because it busts basically the entire build cache, but I wouldn't have expected it to take that long.

Maybe it's due to the recent CI outage that GitHub Actions had, which might make jobs slower while they're catching up? I'll wait a few more hours to a day, and then retry the build.

@rust-bors

This comment has been minimized.

This also updates the macOS runners to run on macOS 15 (the macOS 14
runners only have up to Xcode 16.2 available).
@madsmtm
Copy link
Contributor Author

madsmtm commented Feb 5, 2026

@bors try jobs=apple

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 5, 2026
Update to Xcode 26.2


try-job: *apple*
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
REPOSITORY                                   TAG       IMAGE ID       CREATED      SIZE
ghcr.io/dependabot/dependabot-updater-core   latest    bcec0b4e062b   9 days ago   783MB
=> Removing docker images...
Deleted Images:
untagged: ghcr.io/dependabot/dependabot-updater-core:latest
untagged: ghcr.io/dependabot/dependabot-updater-core@sha256:b662be51f7b8ef7e2c8464428f14e49cb79c36aa9afb7ecb9221dfe0f507050c
deleted: sha256:bcec0b4e062b5ffe11cc1c2729558c0cd96621c0271ab5e97ff3a56e0c25045a
deleted: sha256:64e147d5e54d9be8b8aa322e511cda02296eda4b8b8d063c6a314833aca50e29
deleted: sha256:5cba409bb463f4e7fa1a19f695450170422582c1bc7c0e934d893b4e5f558bc6
deleted: sha256:cddc6ebd344b0111eaab170ead1dfda24acdfe865ed8a12599a34d338fa8e28b
deleted: sha256:2412c3f334d79134573cd45e657fb6cc0abd75bef3881458b0d498d936545c8d
---
tests/ui/drop_non_drop.rs ... ok
tests/ui/double_parens.rs ... ok
tests/ui/duplicate_underscore_argument.rs ... ok
tests/ui/duplicated_attributes.rs ... ok
tests/ui/duration_suboptimal_units_days_weeks.rs ... ok
tests/ui/duration_suboptimal_units.rs ... ok
tests/ui/duration_subsec.rs ... ok
tests/ui/duration_suboptimal_units_days_weeks.fixed ... ok
tests/ui/double_parens.fixed ... ok
tests/ui/duration_suboptimal_units.fixed ... ok
tests/ui/duration_subsec.fixed ... ok
tests/ui/empty_docs.rs ... ok
tests/ui/else_if_without_else.rs ... ok
---
..............................................     (146/146)

======== tests/rustdoc-gui/search-filter.goml ========

[ERROR] line 48: Error: The CSS selector "#search-tabs .count.loading" still exists: for command `wait-for-false: "#search-tabs .count.loading"`
    at <file:///checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-gui/doc/test_docs/index.html?search=test>

======== tests/rustdoc-gui/search-result-display.goml ========

[WARNING] line 39: Delta is 0 for "x", maybe try to use `compare-elements-position` instead?

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 5, 2026

☀️ Try build successful (CI)
Build commit: 68c715b (68c715b83df224fe567367e20296073d0f938d59, parent: 0a13b4361264236cb40afebea97973e6dc366de3)

@madsmtm
Copy link
Contributor Author

madsmtm commented Feb 5, 2026

Yay, that worked. Need to land #152192 first.
@rustbot blocked

@rustbot rustbot added S-blocked Status: Blocked on something else such as an RFC or other implementation work. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc O-apple Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS) O-macos Operating system: macOS S-blocked Status: Blocked on something else such as an RFC or other implementation work. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants