Build Information
Failed to build SpeziMockWebService with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziMockWebService.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziMockWebService
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b18067d Upgrade to Spezi 1.0 and minor documentation upgrades (#15)
Cloned https://github.com/StanfordSpezi/SpeziMockWebService.git
Revision (git rev-parse @):
b18067d3499e630bbd995ef05a296ef8fdd42528
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMockWebService.git at main
Fetching https://github.com/StanfordSpezi/SpeziViews from cache
Fetching https://github.com/StanfordSpezi/Spezi from cache
Fetched https://github.com/StanfordSpezi/SpeziViews (0.43s)
Fetched https://github.com/StanfordSpezi/Spezi (0.44s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.0.0 (0.02s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git (0.89s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 1.0.0 (0.05s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation from cache
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions from cache
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions (0.31s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation (0.34s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions at 1.0.0 (0.03s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation
Computed https://github.com/StanfordSpezi/SpeziFoundation at 1.0.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.05s)
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation
Working copy of https://github.com/StanfordSpezi/SpeziFoundation resolved at 1.0.0
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.0.0
Creating working copy for https://github.com/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "spezimockwebservice",
"name": "SpeziMockWebService",
"url": "https://github.com/StanfordSpezi/SpeziMockWebService.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziMockWebService",
"dependencies": [
{
"identity": "spezi",
"name": "Spezi",
"url": "https://github.com/StanfordSpezi/Spezi",
"version": "1.0.0",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spezi",
"dependencies": [
{
"identity": "spezifoundation",
"name": "SpeziFoundation",
"url": "https://github.com/StanfordSpezi/SpeziFoundation",
"version": "1.0.0",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziFoundation",
"dependencies": [
]
},
{
"identity": "xctruntimeassertions",
"name": "XCTRuntimeAssertions",
"url": "https://github.com/StanfordBDHG/XCTRuntimeAssertions",
"version": "1.0.0",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTRuntimeAssertions",
"dependencies": [
]
}
]
},
{
"identity": "speziviews",
"name": "SpeziViews",
"url": "https://github.com/StanfordSpezi/SpeziViews",
"version": "1.0.0",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziViews",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.0.6",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/StanfordSpezi/SpeziMockWebService.git from cache
Fetched https://github.com/StanfordSpezi/SpeziMockWebService.git (0.19s)
Fetching https://github.com/StanfordSpezi/SpeziViews from cache
Fetching https://github.com/StanfordSpezi/Spezi from cache
Fetched https://github.com/StanfordSpezi/SpeziViews (0.54s)
Fetched https://github.com/StanfordSpezi/Spezi (0.55s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.0.0 (0.02s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git (0.86s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 1.0.0 (0.02s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation from cache
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions from cache
Fetched https://github.com/StanfordSpezi/SpeziFoundation (0.17s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions (0.18s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions at 1.0.0 (0.02s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation
Computed https://github.com/StanfordSpezi/SpeziFoundation at 1.0.0 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.02s)
Creating working copy for https://github.com/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/StanfordSpezi/SpeziMockWebService.git
Working copy of https://github.com/StanfordSpezi/SpeziMockWebService.git resolved at main
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.0.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation
Working copy of https://github.com/StanfordSpezi/SpeziFoundation resolved at 1.0.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions resolved at 1.0.0
warning: '.resolve-product-dependencies': dependency 'spezimockwebservice' is not used by any target
Found 2 product dependencies
- Spezi
- SpeziViews
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/StanfordSpezi/SpeziMockWebService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Copying Localizable.xcstrings.license
[0/3] Copying Info.plist
[2/3] Copying Localizable.xcstrings
[4/45] Compiling SpeziFoundation RepositoryValue.swift
[5/45] Compiling SpeziFoundation KnowledgeSource.swift
[6/45] Compiling SpeziFoundation OptionalComputedKnowledgeSource.swift
[7/45] Compiling SpeziFoundation SomeComputedKnowledgeSource.swift
[8/45] Compiling SpeziFoundation RepositoryAnchor.swift
[9/46] Compiling SpeziFoundation ComputedKnowledgeSource.swift
[10/46] Compiling SpeziFoundation DefaultProvidingKnowledgeSource.swift
[11/46] Emitting module SpeziFoundation
[12/46] Compiling SpeziFoundation SimpleRepositoryValue.swift
[13/46] Compiling SpeziFoundation ValueRepository.swift
[14/46] Compiling SpeziFoundation AnyArray.swift
[15/46] Compiling SpeziFoundation AnyOptional.swift
[16/46] Compiling SpeziFoundation BuiltinRepository.swift
[17/46] Compiling SpeziFoundation HeapRepository.swift
[18/46] Compiling SpeziFoundation SharedRepository.swift
[19/46] Compiling XCTRuntimeAssertions XCTRuntimeAssertionInjector.swift
[20/46] Compiling XCTRuntimeAssertions Precondition.swift
[21/47] Compiling XCTRuntimeAssertions XCTFail.swift
[22/47] Compiling XCTRuntimeAssertions NeverReturn.swift
[23/47] Compiling XCTRuntimeAssertions Counter.swift
[24/47] Emitting module XCTRuntimeAssertions
[25/47] Compiling XCTRuntimeAssertions XCTRuntimeAssertion.swift
[26/47] Compiling XCTRuntimeAssertions Assert.swift
[27/47] Compiling XCTRuntimeAssertions XCTRuntimePrecondition.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: error: 'Task' is only available in macOS 10.15 or newer
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: note: add 'if #available' version check
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:71:13: note: add @available attribute to enclosing global function
public func XCTRuntimePrecondition(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: note: add 'if #available' version check
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:71:13: note: add @available attribute to enclosing global function
public func XCTRuntimePrecondition(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:93:10: error: 'cancel()' is only available in macOS 10.15 or newer
task.cancel()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:93:10: note: add 'if #available' version check
task.cancel()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:71:13: note: add @available attribute to enclosing global function
public func XCTRuntimePrecondition(
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/22] Emitting module XCTRuntimeAssertions
[2/22] Compiling XCTRuntimeAssertions XCTRuntimePrecondition.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: error: 'Task' is only available in macOS 10.15 or newer
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: note: add 'if #available' version check
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:71:13: note: add @available attribute to enclosing global function
public func XCTRuntimePrecondition(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:85:16: note: add 'if #available' version check
let task = Task {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:71:13: note: add @available attribute to enclosing global function
public func XCTRuntimePrecondition(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:93:10: error: 'cancel()' is only available in macOS 10.15 or newer
task.cancel()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:93:10: note: add 'if #available' version check
task.cancel()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift:71:13: note: add @available attribute to enclosing global function
public func XCTRuntimePrecondition(
^
error: fatalError
BUILD FAILURE 5.9 macosSpm