Build Information
Successful build of tca-kit, reference master (f702dc), with Swift 6.1 for macOS (SPM) on 17 Sep 2025 01:56:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ronstorm/tca-kit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ronstorm/tca-kit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f702dc0 Updated support emails
Cloned https://github.com/ronstorm/tca-kit.git
Revision (git rev-parse @):
f702dc0e6f894f3f3e9387ce35a5fc8577a7dc97
SUCCESS checkout https://github.com/ronstorm/tca-kit.git at master
========================================
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": "tca-kit",
"name": "tca-kit",
"url": "https://github.com/ronstorm/tca-kit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/tca-kit",
"dependencies": [
]
}
]
}
Fetching https://github.com/ronstorm/tca-kit.git
[4/353] Fetching tca-kit
Fetched https://github.com/ronstorm/tca-kit.git from cache (0.83s)
Creating working copy for https://github.com/ronstorm/tca-kit.git
Working copy of https://github.com/ronstorm/tca-kit.git resolved at master (f702dc0)
warning: '.resolve-product-dependencies': dependency 'tca-kit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ronstorm/tca-kit.git
https://github.com/ronstorm/tca-kit.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "tca-kit",
"name" : "tca-kit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "TCAKit",
"targets" : [
"TCAKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TCAKitTests",
"module_type" : "SwiftTarget",
"name" : "TCAKitTests",
"path" : "Tests/TCAKitTests",
"sources" : [
"Bridges/CombineBridgeTests.swift",
"Core/EffectTests.swift",
"Core/ReducerTests.swift",
"Core/StoreTests.swift",
"DependenciesTests.swift",
"SwiftUI/WithStoreTests.swift",
"TCAKitTests.swift",
"TestHelpers.swift",
"Testing/TestStoreTests.swift"
],
"target_dependencies" : [
"TCAKit"
],
"type" : "test"
},
{
"c99name" : "TCAKit",
"module_type" : "SwiftTarget",
"name" : "TCAKit",
"path" : "Sources/TCAKit",
"product_memberships" : [
"TCAKit"
],
"sources" : [
"Bridges/CombineBridge.swift",
"Core/Effect.swift",
"Core/Reducer.swift",
"Core/Store.swift",
"Dependencies.swift",
"SwiftUI/WithStore.swift",
"TCAKit.swift",
"Testing/TestStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/11] Compiling TCAKit TCAKit.swift
[4/11] Compiling TCAKit TestStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Testing/TestStore.swift:106:24: warning: no 'async' operations occur within 'await' expression
104 |
105 | // Update our current state
106 | var newState = await store.state
| `- warning: no 'async' operations occur within 'await' expression
107 | assert(&newState)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Testing/TestStore.swift:122:31: warning: no 'async' operations occur within 'await' expression
120 | if !areStatesEqual(previousState, newState) {
121 | // The assertion modified the state, so we need to verify it matches the actual state
122 | let actualState = await store.state
| `- warning: no 'async' operations occur within 'await' expression
123 | if !areStatesEqual(newState, actualState) {
124 | fatalError("State assertion failed. Expected: \(newState), Actual: \(actualState)")
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Testing/TestStore.swift:149:24: warning: no 'async' operations occur within 'await' expression
147 |
148 | // Update our current state
149 | var newState = await store.state
| `- warning: no 'async' operations occur within 'await' expression
150 | assert(&newState)
151 |
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Testing/TestStore.swift:163:27: warning: no 'async' operations occur within 'await' expression
161 |
162 | // Verify the state matches our assertion
163 | let actualState = await store.state
| `- warning: no 'async' operations occur within 'await' expression
164 | if !areStatesEqual(newState, actualState) {
165 | fatalError("State assertion failed. Expected: \(newState), Actual: \(actualState)")
[5/11] Compiling TCAKit Dependencies.swift
[6/11] Compiling TCAKit Reducer.swift
[7/11] Compiling TCAKit Effect.swift
[8/11] Compiling TCAKit Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:84:46: warning: non-sendable result type 'Action?' cannot be sent from nonisolated context in call to instance method 'run()'; this is an error in the Swift 6 language mode
21 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
22 | @MainActor
23 | public final class Store<State, Action>: ObservableObject {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
24 | /// The current state of the store
25 | @Published public private(set) var state: State
:
82 | guard let self = self else { return }
83 |
84 | if let nextAction = await effect.run() {
| `- warning: non-sendable result type 'Action?' cannot be sent from nonisolated context in call to instance method 'run()'; this is an error in the Swift 6 language mode
85 | await MainActor.run {
86 | self.send(nextAction)
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:127:38: warning: non-sendable result type 'Action?' cannot be sent from nonisolated context in call to instance method 'run()'; this is an error in the Swift 6 language mode
21 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
22 | @MainActor
23 | public final class Store<State, Action>: ObservableObject {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
24 | /// The current state of the store
25 | @Published public private(set) var state: State
:
125 | return Effect<LocalAction> {
126 | // Without an extractor, we drop parent actions
127 | _ = await effect.run()
| `- warning: non-sendable result type 'Action?' cannot be sent from nonisolated context in call to instance method 'run()'; this is an error in the Swift 6 language mode
128 | return nil
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:138:13: warning: non-sendable result type 'Published<State>.Publisher.Output?' (aka 'Optional<State>') cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
21 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
22 | @MainActor
23 | public final class Store<State, Action>: ObservableObject {
| `- note: consider making generic parameter 'Published<State>.Publisher.Output' (aka 'State') conform to the 'Sendable' protocol
24 | /// The current state of the store
25 | @Published public private(set) var state: State
:
136 | guard let self = self, let localStore = localStore else { return }
137 |
138 | for await _ in self.$state.values {
| `- warning: non-sendable result type 'Published<State>.Publisher.Output?' (aka 'Optional<State>') cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
139 | await MainActor.run {
140 | localStore.state = toLocalState(self.state)
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:172:64: warning: non-sendable result type 'Action?' cannot be sent from nonisolated context in call to instance method 'run()'; this is an error in the Swift 6 language mode
21 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
22 | @MainActor
23 | public final class Store<State, Action>: ObservableObject {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
24 | /// The current state of the store
25 | @Published public private(set) var state: State
:
170 | return Effect<LocalAction>(
171 | operation: {
172 | if let nextParent = await parentEffect.run(), let nextLocal = toLocalAction(nextParent) {
| `- warning: non-sendable result type 'Action?' cannot be sent from nonisolated context in call to instance method 'run()'; this is an error in the Swift 6 language mode
173 | return nextLocal
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:189:13: warning: non-sendable result type 'Published<State>.Publisher.Output?' (aka 'Optional<State>') cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
21 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
22 | @MainActor
23 | public final class Store<State, Action>: ObservableObject {
| `- note: consider making generic parameter 'Published<State>.Publisher.Output' (aka 'State') conform to the 'Sendable' protocol
24 | /// The current state of the store
25 | @Published public private(set) var state: State
:
187 | guard let self = self, let localStore = localStore else { return }
188 |
189 | for await _ in self.$state.values {
| `- warning: non-sendable result type 'Published<State>.Publisher.Output?' (aka 'Optional<State>') cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
190 | await MainActor.run {
191 | localStore.state = toLocalState(self.state)
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:201:27: warning: cannot access property 'inflightTasksByID' with a non-sendable type '[AnyHashable : Task<Void, Never>]' from nonisolated deinit; this is an error in the Swift 6 language mode
199 | deinit {
200 | effectTask?.cancel()
201 | inflightTasksByID.values.forEach { $0.cancel() }
| `- warning: cannot access property 'inflightTasksByID' with a non-sendable type '[AnyHashable : Task<Void, Never>]' from nonisolated deinit; this is an error in the Swift 6 language mode
202 | }
203 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:127:38: warning: sending 'effect' risks causing data races; this is an error in the Swift 6 language mode
125 | return Effect<LocalAction> {
126 | // Without an extractor, we drop parent actions
127 | _ = await effect.run()
| |- warning: sending 'effect' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'effect' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
128 | return nil
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Core/Store.swift:172:64: warning: sending 'parentEffect' risks causing data races; this is an error in the Swift 6 language mode
170 | return Effect<LocalAction>(
171 | operation: {
172 | if let nextParent = await parentEffect.run(), let nextLocal = toLocalAction(nextParent) {
| |- warning: sending 'parentEffect' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'parentEffect' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
173 | return nextLocal
174 | }
[9/11] Compiling TCAKit CombineBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Bridges/CombineBridge.swift:191:32: warning: no 'async' operations occur within 'await' expression
189 |
190 | Task { @MainActor in
191 | let currentState = await store.state
| `- warning: no 'async' operations occur within 'await' expression
192 | _ = subscriber.receive(currentState)
193 | subscriber.receive(completion: .finished)
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Bridges/CombineBridge.swift:221:32: warning: no 'async' operations occur within 'await' expression
219 | task = Task { @MainActor in
220 | // Send initial state
221 | let initialState = await store.state
| `- warning: no 'async' operations occur within 'await' expression
222 | _ = subscriber.receive(initialState)
223 |
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Bridges/CombineBridge.swift:67:46: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
65 | },
66 | receiveValue: { value in
67 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
68 | cancellable?.cancel()
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Bridges/CombineBridge.swift:101:46: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
99 | },
100 | receiveValue: { value in
101 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
102 | cancellable?.cancel()
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Bridges/CombineBridge.swift:191:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
189 |
190 | Task { @MainActor in
191 | let currentState = await store.state
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
192 | _ = subscriber.receive(currentState)
193 | subscriber.receive(completion: .finished)
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Bridges/CombineBridge.swift:221:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
219 | task = Task { @MainActor in
220 | // Send initial state
221 | let initialState = await store.state
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
222 | _ = subscriber.receive(initialState)
223 |
/Users/admin/builder/spi-builder-workspace/Sources/TCAKit/Bridges/CombineBridge.swift:298:32: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
296 | .sink { action in
297 | Task { @MainActor in
298 | store.send(action)
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
299 | }
300 | }
[10/11] Emitting module TCAKit
[11/11] Compiling TCAKit WithStore.swift
Build complete! (9.45s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "tca-kit",
"name" : "tca-kit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "TCAKit",
"targets" : [
"TCAKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TCAKitTests",
"module_type" : "SwiftTarget",
"name" : "TCAKitTests",
"path" : "Tests/TCAKitTests",
"sources" : [
"Bridges/CombineBridgeTests.swift",
"Core/EffectTests.swift",
"Core/ReducerTests.swift",
"Core/StoreTests.swift",
"DependenciesTests.swift",
"SwiftUI/WithStoreTests.swift",
"TCAKitTests.swift",
"TestHelpers.swift",
"Testing/TestStoreTests.swift"
],
"target_dependencies" : [
"TCAKit"
],
"type" : "test"
},
{
"c99name" : "TCAKit",
"module_type" : "SwiftTarget",
"name" : "TCAKit",
"path" : "Sources/TCAKit",
"product_memberships" : [
"TCAKit"
],
"sources" : [
"Bridges/CombineBridge.swift",
"Core/Effect.swift",
"Core/Reducer.swift",
"Core/Store.swift",
"Dependencies.swift",
"SwiftUI/WithStore.swift",
"TCAKit.swift",
"Testing/TestStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.