Build Information
Failed to build swift-tts, reference 2.1.2 (01ed54
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:57:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/renaudjenny/swift-tts.git
Reference: 2.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/renaudjenny/swift-tts
* tag 2.1.2 -> FETCH_HEAD
HEAD is now at 01ed546 build(macOS): re-add macOS in the package but error if it's built for it
Cloned https://github.com/renaudjenny/swift-tts.git
Revision (git rev-parse @):
01ed546e43f75e45eee49ed91f5a449d86e48fa3
SUCCESS checkout https://github.com/renaudjenny/swift-tts.git at 2.1.2
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1278] Fetching swift-clocks
[14/3625] Fetching swift-clocks, combine-schedulers
[134/8610] Fetching swift-clocks, combine-schedulers, xctest-dynamic-overlay
[1076/13834] Fetching swift-clocks, combine-schedulers, xctest-dynamic-overlay, swift-dependencies
Fetched https://github.com/pointfreeco/combine-schedulers from cache (2.55s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (2.55s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.55s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (2.55s)
Computed https://github.com/pointfreeco/swift-dependencies at 0.2.0 (0.67s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.4 (0.63s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.2.0 (0.65s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.9.1 (0.69s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.2.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.9.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.8.4
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.2.0
========================================
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",
"dependencies": [
{
"identity": "swift-tts",
"name": "swift-tts",
"url": "https://github.com/renaudjenny/swift-tts.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tts",
"dependencies": [
{
"identity": "swift-dependencies",
"name": "swift-dependencies",
"url": "https://github.com/pointfreeco/swift-dependencies",
"version": "0.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dependencies",
"dependencies": [
{
"identity": "combine-schedulers",
"name": "combine-schedulers",
"url": "https://github.com/pointfreeco/combine-schedulers",
"version": "0.11.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/combine-schedulers",
"dependencies": [
{
"identity": "swift-concurrency-extras",
"name": "swift-concurrency-extras",
"url": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
},
{
"identity": "swift-clocks",
"name": "swift-clocks",
"url": "https://github.com/pointfreeco/swift-clocks",
"version": "0.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-clocks",
"dependencies": [
{
"identity": "swift-concurrency-extras",
"name": "swift-concurrency-extras",
"url": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
},
{
"identity": "swift-concurrency-extras",
"name": "swift-concurrency-extras",
"url": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/renaudjenny/swift-tts.git
[1/90] Fetching swift-tts
Fetched https://github.com/renaudjenny/swift-tts.git from cache (0.70s)
Fetching https://github.com/pointfreeco/swift-dependencies from cache
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.56s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.6.0 (0.68s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers from cache
Fetching https://github.com/pointfreeco/swift-clocks from cache
[1/758] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.95s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.96s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.96s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.96s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (0.67s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.65s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.65s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.02s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.6.0
Creating working copy for https://github.com/renaudjenny/swift-tts.git
Working copy of https://github.com/renaudjenny/swift-tts.git resolved at 2.1.2 (01ed546)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
warning: '.resolve-product-dependencies': dependency 'swift-tts' is not used by any target
Found 1 product dependencies
- swift-dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/renaudjenny/swift-tts.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version--7754E27361AE5C74.txt
[9/21] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[10/21] Compiling XCTestDynamicOverlay Unimplemented.swift
[11/21] Compiling XCTestDynamicOverlay XCTFail.swift
[12/21] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[13/21] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[14/21] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[15/21] Compiling XCTestDynamicOverlay Deprecations.swift
[16/21] Emitting module XCTestDynamicOverlay
[17/21] Compiling XCTestDynamicOverlay DefaultInitializable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/43] Emitting module SwiftTTSCombine
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTTSCombine/SwiftTTSCombine.swift:2:8: error: This library is not compatible with macOS
1 | #if os(macOS)
2 | #error("This library is not compatible with macOS")
| `- error: This library is not compatible with macOS
3 | #endif
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTTSCombine/SwiftTTSCombine.swift:18:28: warning: stored property '_isSpeaking' of 'Sendable'-conforming class 'Engine' is mutable; this is an error in the Swift 6 language mode
16 |
17 | public final class Engine: NSObject, ObservableObject {
18 | @Published private var isSpeaking: Bool = false
| `- warning: stored property '_isSpeaking' of 'Sendable'-conforming class 'Engine' is mutable; this is an error in the Swift 6 language mode
19 | @Published private var speakingProgress: Double = 0.0
20 | public var rateRatio: Float
[19/43] Compiling SwiftTTSCombine SwiftTTSCombine.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTTSCombine/SwiftTTSCombine.swift:2:8: error: This library is not compatible with macOS
1 | #if os(macOS)
2 | #error("This library is not compatible with macOS")
| `- error: This library is not compatible with macOS
3 | #endif
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTTSCombine/SwiftTTSCombine.swift:18:28: warning: stored property '_isSpeaking' of 'Sendable'-conforming class 'Engine' is mutable; this is an error in the Swift 6 language mode
16 |
17 | public final class Engine: NSObject, ObservableObject {
18 | @Published private var isSpeaking: Bool = false
| `- warning: stored property '_isSpeaking' of 'Sendable'-conforming class 'Engine' is mutable; this is an error in the Swift 6 language mode
19 | @Published private var speakingProgress: Double = 0.0
20 | public var rateRatio: Float
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/43] Emitting module SwiftTTS
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTTS/SwiftTTS.swift:2:8: error: This library is not compatible with macOS
1 | #if os(macOS)
2 | #error("This library is not compatible with macOS")
| `- error: This library is not compatible with macOS
3 | #endif
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTTS/SwiftTTS.swift:37:9: warning: stored property 'rateRatio' of 'Sendable'-conforming class 'Engine' is mutable; this is an error in the Swift 6 language mode
35 | private final class Engine: NSObject, AVSpeechSynthesizerDelegate {
36 |
37 | var rateRatio: Float
| `- warning: stored property 'rateRatio' of 'Sendable'-conforming class 'Engine' is mutable; this is an error in the Swift 6 language mode
38 | var voice: AVSpeechSynthesisVoice?
39 | var isSpeaking: ((Bool) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTTS/SwiftTTS.swift:2:8: error: This library is not compatible with macOS
1 | #if os(macOS)
2 | #error("This library is not compatible with macOS")
| `- error: This library is not compatible with macOS
3 | #endif
4 |
BUILD FAILURE 6.0 macosSpm