Build Information
Failed to build swift-package-api-diff, reference main (d9947b), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 08:19:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eugenebokhan/swift-package-api-diff.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eugenebokhan/swift-package-api-diff
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d9947b5 update tests
Cloned https://github.com/eugenebokhan/swift-package-api-diff.git
Revision (git rev-parse @):
d9947b59c1e736c2f0e32cd4a6cca3ffc5f70eb9
SUCCESS checkout https://github.com/eugenebokhan/swift-package-api-diff.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/eugenebokhan/swift-package-api-diff.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Provisioning 11 / 39]
[Pre-planning 1 / 923]
[Planning deferred tasks]
[171 / 457]
[185 / 462] Files
[186 / 462] TSCLibc
[188 / 480]
[194 / 529]
[200 / 529] llvmSupport
[205 / 529]
[207 / 559]
[211 / 559]
[215 / 559]
[217 / 559]
[222 / 559] llvmSupport
[226 / 559]
[229 / 559] llvmSupport
[230 / 559] llvmSupport
[233 / 559]
[235 / 559] TSCLibc
[248 / 559] llvmSupport
[251 / 559] llvmSupport
[254 / 559] llvmSupport
[256 / 559] llvmSupport
[258 / 559]
[263 / 559]
[266 / 559]
[271 / 559] llvmSupport
[273 / 559] llvmSupport
[277 / 559] llvmSupport
[282 / 559] llvmDemangle
[283 / 559]
[285 / 559]
[290 / 559] llbuildCore
[291 / 559] llbuildCore
[295 / 559] Yams
[297 / 559]
[299 / 559]
[302 / 559]
[311 / 559]
[315 / 559] llbuildBuildSystem
[331 / 559] llbuildBuildSystem
[334 / 559]
[335 / 559] llbuildBuildSystem
[337 / 559]
[340 / 559] llbuildBasic
[344 / 559]
[345 / 559] llbuildBasic
[346 / 559] llbuildBasic
[350 / 559] llbuildBasic
[351 / 559] libllbuild
Fetching https://github.com/apple/swift-package-manager.git
[1/191635] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git (37.89s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29880] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git (3.82s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/7390] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git (1.49s)
Fetching https://github.com/apple/swift-driver.git
[1/38833] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git (2.87s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/apple/swift-argument-parser.git
[1/1273] Fetching files
[180/13134] Fetching files, yams
[1393/32052] Fetching files, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (3.05s)
Fetched https://github.com/jpsim/Yams.git (3.05s)
Fetched https://github.com/JohnSundell/Files (3.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (3.72s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.3.0 (0.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.62s)
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.4 (93e8b92)
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at swift-5.4.2-RELEASE (374cdb4)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.4 (d7bd437)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.2
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.4 (eb56a00)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.3.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
[1m/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/Subprocess.cpp:87:12: [0m[0;1;31merror: [0m[1mstatic declaration of 'posix_spawn_file_actions_addchdir' follows non-static declaration[0m
87 | [0;34mstatic[0m [0;34mint[0m posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t * __restrict file_actions,[0m
| [0;1;32m ^
[0mIn file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/Subprocess.cpp:41:
[1m/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/spawn.h:72:9: [0m[0;1;36mnote: [0mprevious declaration is here[0m
72 | [0;34mint[0m posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t *,[0m
| [0;1;32m ^
[0m1 error generated.
error: CompileC /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug/llbuildBasic-t.build/Objects-normal/arm64/Subprocess.o /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/Subprocess.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /Users/admin/builder
Using response file: /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug/llbuildBasic-t.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -target arm64-apple-macos12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug/llbuildBasic-t.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug/llbuildBasic-t.build/Objects-normal/arm64/Subprocess.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug/llbuildBasic-t.build/Objects-normal/arm64/Subprocess.dia -c /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/Subprocess.cpp -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug/llbuildBasic-t.build/Objects-normal/arm64/Subprocess.o -index-unit-output-path /llbuild.build/Debug/llbuildBasic-t.build/Objects-normal/arm64/Subprocess.o
error: Build failed
BUILD FAILURE 6.4 macosSpm