Build Information
Failed to build swift-package-factory with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/tayloraswift/swift-package-factory.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
error: fatalError
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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.)
switch system("\(tool.path.string) \(file.path.string)")
^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<CChar>!) -> Int32
^
[1/1] Compiling plugin FactoryPlugin
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.43s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/kelvin13/swift-system-extras.git
Fetched https://github.com/apple/swift-system.git from cache (0.17s)
[1/40] Fetching swift-system-extras
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (0.22s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.1.0 (0.33s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.03s)
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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
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.swift' 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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/Basic.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/Nested.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/Zip.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
[0/1] Planning build
error: fatalError
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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.)
switch system("\(tool.path.string) \(file.path.string)")
^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<CChar>!) -> Int32
^
[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.swift' 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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/Basic.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/Zip.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
BUILD FAILURE 5.10 macosSpm