Build Information
Failed to build SwiftPM, reference main (7df932), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 21:11:20 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/art-divin/swift-package-manager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/art-divin/swift-package-manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7df9321 Possible fix for Docker
Cloned https://github.com/art-divin/swift-package-manager.git
Revision (git rev-parse @):
7df9321541e544d711dd93f5b97dd4e8bf7e100e
SUCCESS checkout https://github.com/art-divin/swift-package-manager.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/art-divin/swift-package-manager.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 1 / 99]
[Pre-planning 1 / 2472]
[Planning 1126 / 2472]
[Planning deferred tasks]
[Constructing 482 / 6046]
[Constructing 5072 / 6046]
[158 / 1765] TSCLibc
[421 / 1765]
[435 / 1778] TSCLibc
[441 / 1797] _CertificateInternals
[443 / 1801] Crypto
[444 / 1814] ArgumentParserToolInfo
[447 / 1859]
[451 / 1859]
[454 / 1859]
[467 / 1991]
[484 / 2017]
[500 / 2017] _CertificateInternals
[514 / 2017]
[523 / 2017]
[530 / 2017]
[544 / 2017] llvmSupport
[547 / 2017]
[549 / 2017]
[551 / 2017] TSCLibc
[564 / 2017]
[571 / 2017] llvmSupport
[578 / 2017] SystemPackage
[581 / 2017]
[585 / 2017]
[588 / 2017]
[599 / 2017]
[605 / 2017] llvmSupport
[609 / 2017]
[613 / 2017]
[616 / 2017]
[618 / 2017] llvmSupport
[623 / 2017] llvmSupport
[625 / 2017]
[628 / 2017] llvmSupport
[630 / 2017] llbuildSwift
[634 / 2017] llvmSupport
[637 / 2017] SwiftASN1
[652 / 2017] llvmSupport
[656 / 2017] Crypto
[669 / 2017] llvmSupport
[672 / 2017] PackageCollectionsModel
[679 / 2017] PackagePlugin
[693 / 2017] llvmSupport
[694 / 2017] llvmSupport
[697 / 2017] SwiftASN1
[707 / 2017] llvmSupport
[711 / 2017] llbuildNinja
[712 / 2017] llbuildNinja
[715 / 2017] llbuildCore
[716 / 2017] llbuildCore
[718 / 2017] llbuildCore
[721 / 2017] llbuildBuildSystem
[724 / 2017] llbuildBuildSystem
[727 / 2017] llbuildBuildSystem
[728 / 2017] llbuildBuildSystem
[730 / 2017] llbuildBuildSystem
[731 / 2017] llbuildBasic
[734 / 2017] llbuildBasic
[736 / 2017] llbuildBasic
[737 / 2017] llbuildBasic
[739 / 2017] llbuildBasic
[741 / 2017] llbuildBasic
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/art-divin/swift-driver.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/art-divin/swift-tools-support-core.git
Fetching https://github.com/apple/swift-system.git
[1/3491] Fetching swift-tools-support-core
[2/22040] Fetching swift-tools-support-core, swift-crypto
[3/29613] Fetching swift-tools-support-core, swift-crypto, swift-certificates
[143/36511] Fetching swift-tools-support-core, swift-crypto, swift-certificates, swift-system
[1157/55429] Fetching swift-tools-support-core, swift-crypto, swift-certificates, swift-system, swift-argument-parser
[3812/82781] Fetching swift-tools-support-core, swift-crypto, swift-certificates, swift-system, swift-argument-parser, swift-collections
[9446/105813] Fetching swift-tools-support-core, swift-crypto, swift-certificates, swift-system, swift-argument-parser, swift-collections, swift-driver
Fetched https://github.com/art-divin/swift-tools-support-core.git (1.35s)
[13637/102322] Fetching swift-crypto, swift-certificates, swift-system, swift-argument-parser, swift-collections, swift-driver
Fetching https://github.com/art-divin/swift-llbuild.git
Fetched https://github.com/apple/swift-certificates.git (1.48s)
[14494/94749] Fetching swift-crypto, swift-system, swift-argument-parser, swift-collections, swift-driver
[53593/112186] Fetching swift-crypto, swift-system, swift-argument-parser, swift-collections, swift-driver, swift-llbuild
Fetched https://github.com/apple/swift-system.git (3.26s)
Fetched https://github.com/art-divin/swift-driver.git (3.26s)
Fetched https://github.com/apple/swift-crypto.git (3.26s)
Fetched https://github.com/apple/swift-argument-parser.git (3.26s)
[42000/44789] Fetching swift-collections, swift-llbuild
Fetched https://github.com/apple/swift-collections.git (3.49s)
Fetched https://github.com/art-divin/swift-llbuild.git (2.13s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.0.1 (4.28s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (2.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.67s)
Computing version for https://github.com/art-divin/swift-driver.git
Computed https://github.com/art-divin/swift-driver.git at 1.0.1 (0.72s)
Fetching https://github.com/jpsim/Yams.git
[1/11861] Fetching yams
Fetched https://github.com/jpsim/Yams.git (2.81s)
Computing version for https://github.com/art-divin/swift-tools-support-core.git
Computed https://github.com/art-divin/swift-tools-support-core.git at 1.0.0 (3.51s)
Computing version for https://github.com/art-divin/swift-llbuild.git
Computed https://github.com/art-divin/swift-llbuild.git at 1.0.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.67s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.64s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (2.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.69s)
Creating working copy for https://github.com/art-divin/swift-driver.git
Working copy of https://github.com/art-divin/swift-driver.git resolved at 1.0.1
Creating working copy for https://github.com/art-divin/swift-llbuild.git
Working copy of https://github.com/art-divin/swift-llbuild.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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 1.2.3
Creating working copy for https://github.com/art-divin/swift-tools-support-core.git
Working copy of https://github.com/art-divin/swift-tools-support-core.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/PackageModel/InstalledLibrariesSupport/provided-libraries.json
warning: 'spi-builder-workspace': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'spi-builder-workspace': couldn't find pc file for sqlite3
/Users/admin/builder/spi-builder-workspace/Sources/PackageDescription/ContextModel.swift:14:22: [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m12 |[0;0m
[0;36m13 |[0;0m #if USE_IMPL_ONLY_IMPORTS
[0;36m14 |[0;0m @_implementationOnly import Foundation
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m15 |[0;0m #else
[0;36m16 |[0;0m import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:18:22: [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m16 |[0;0m @_implementationOnly import Musl
[0;36m17 |[0;0m #elseif canImport(Darwin)
[0;36m18 |[0;0m @_implementationOnly import Darwin.C
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m19 |[0;0m #elseif canImport(ucrt) && canImport(WinSDK)
[0;36m20 |[0;0m @_implementationOnly import ucrt
/Users/admin/builder/spi-builder-workspace/Sources/PackageDescription/PackageDescription.swift:23:22: [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m21 |[0;0m @_implementationOnly import struct WinSDK.HANDLE
[0;36m22 |[0;0m #endif
[0;36m23 |[0;0m @_implementationOnly import Foundation
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// The configuration of a Swift package.
/Users/admin/builder/spi-builder-workspace/Sources/PackageDescription/PackageDescriptionSerialization.swift:14:22: [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m12 |[0;0m
[0;36m13 |[0;0m #if USE_IMPL_ONLY_IMPORTS
[0;36m14 |[0;0m @_implementationOnly import Foundation
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m15 |[0;0m #else
[0;36m16 |[0;0m import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/PackageDescription/Target.swift:13:22: [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m11 |[0;0m //===----------------------------------------------------------------------===//
[0;36m12 |[0;0m
[0;36m13 |[0;0m @_implementationOnly import Foundation
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@_implementationOnly' is deprecated, use 'internal import' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// The basic building block of a Swift package.
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[1m/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/Subprocess.cpp:89:12: [0m[0;1;31merror: [0m[1mstatic declaration of 'posix_spawn_file_actions_addchdir' follows non-static declaration[0m
89 | [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:42:
[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