Build Information
Failed to build swift-package-factory, reference v0.1.0 (2b27eb), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 14:48:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-package-factory.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tayloraswift/swift-package-factory
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 2b27eb0 add license and readme
Cloned https://github.com/tayloraswift/swift-package-factory.git
Revision (git rev-parse @):
2b27eb00e8011423edfb02fa70dd4c2c5f03cf16
SUCCESS checkout https://github.com/tayloraswift/swift-package-factory.git at v0.1.0
Fetching https://github.com/apple/swift-syntax.git
[1/74972] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.06s)
Fetching https://github.com/kelvin13/swift-system-extras.git
Fetching https://github.com/apple/swift-system.git
[1/40] Fetching swift-system-extras
[41/5641] Fetching swift-system-extras, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.10s)
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (1.10s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.1.0 (1.81s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.67s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
Creating working copy for https://github.com/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at swift-DEVELOPMENT-SNAPSHOT-2022-08-15-a (59c93fc)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-package-factory",
"name": "swift-package-factory",
"url": "https://github.com/tayloraswift/swift-package-factory.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-package-factory",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-system-extras",
"name": "swift-system-extras",
"url": "https://github.com/kelvin13/swift-system-extras.git",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system-extras",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-syntax",
"name": "SwiftSyntax",
"url": "https://github.com/apple/swift-syntax.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/tayloraswift/swift-package-factory.git
[1/404] Fetching swift-package-factory
Fetched https://github.com/tayloraswift/swift-package-factory.git from cache (0.72s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.91s)
Fetching https://github.com/kelvin13/swift-system-extras.git from cache
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.46s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.2.0 (1.19s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.21s)
Creating working copy for https://github.com/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.2.0
Creating working copy for https://github.com/tayloraswift/swift-package-factory.git
Working copy of https://github.com/tayloraswift/swift-package-factory.git resolved at v0.1.0 (2b27eb0)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at swift-DEVELOPMENT-SNAPSHOT-2022-08-15-a (59c93fc)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
warning: 'swift-package-factory': the target name factory has different case on the filesystem and the Package.swift manifest file
warning: 'swift-package-factory': 'Factory' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
warning: 'swift-package-factory': The target named 'Factory' was identified as an executable target but a non-executable product with this name already exists.
Found 2 product dependencies
- swift-system-extras
- SwiftSyntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/tayloraswift/swift-package-factory.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
/Users/admin/builder/spi-builder-workspace/Plugins/FactoryPlugin/Main.swift:59:28: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)
57 | {
58 | case "spf", "swiftpf", "factory":
59 | switch system("\(tool.path.string) \(file.path.string)")
| `- error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)
60 | {
61 | case 0:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_stdlib.h:208:6: note: 'system' has been explicitly marked unavailable here
206 | __API_AVAILABLE(macos(10.0)) __IOS_PROHIBITED
207 | __WATCHOS_PROHIBITED __TVOS_PROHIBITED
208 | int system(const char *) __DARWIN_ALIAS_C(system);
| `- note: 'system' has been explicitly marked unavailable here
209 |
210 |
[1/1] Compiling plugin FactoryPlugin
warning: 'spi-builder-workspace': the target name factory has different case on the filesystem and the Package.swift manifest file
warning: 'spi-builder-workspace': 'Factory' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
warning: 'spi-builder-workspace': The target named 'Factory' was identified as an executable target but a non-executable product with this name already exists.
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
/Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Zip.spf
/Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
/Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
/Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Basic.spf
/Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Nested.spf
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
BUILD FAILURE 6.3 macosSpm