Build Information
Successful build of EventReduce, reference v8.0.0 (5d885c), with Swift 6.1 for macOS (SPM) on 14 Nov 2026 17:23:34 UTC.
Swift 6 data race errors: 3
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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pubkey/event-reduce.git
Reference: v8.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pubkey/event-reduce
* tag v8.0.0 -> FETCH_HEAD
HEAD is now at 5d885ca release: v8.0.0
Cloned https://github.com/pubkey/event-reduce.git
Revision (git rev-parse @):
5d885ca7855565dac443b828fbb296c27928d96f
SUCCESS checkout https://github.com/pubkey/event-reduce.git at v8.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pubkey/event-reduce.git
https://github.com/pubkey/event-reduce.git
{
"dependencies" : [
],
"manifest_display_name" : "EventReduce",
"name" : "EventReduce",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "EventReduce",
"targets" : [
"EventReduce"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EventReduceTests",
"module_type" : "SwiftTarget",
"name" : "EventReduceTests",
"path" : "swift/Tests/EventReduceTests",
"sources" : [
"DocumentIdTests.swift",
"HugeLimitTests.swift",
"KeyDocumentMapTests.swift",
"LimitTests.swift",
"RecommendedBufferSizeTests.swift",
"TestSuiteTests.swift"
],
"target_dependencies" : [
"EventReduce"
],
"type" : "test"
},
{
"c99name" : "EventReduce",
"module_type" : "SwiftTarget",
"name" : "EventReduce",
"path" : "swift/Sources/EventReduce",
"product_memberships" : [
"EventReduce"
],
"sources" : [
"Actions.swift",
"Bdd.swift",
"BddGenerated.swift",
"EventReduce.swift",
"ResultWindowBuffer.swift",
"States.swift",
"Types.swift",
"Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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 EventReduce Util.swift
[4/11] Compiling EventReduce BddGenerated.swift
[5/11] Emitting module EventReduce
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Actions.swift:11:12: warning: let 'orderedActionList' is not concurrency-safe because non-'Sendable' type '[ActionName]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// All actions, in the same order as the JavaScript implementation.
10 | /// The BDD references the actions by their index in this list.
11 | public let orderedActionList: [ActionName] = ActionName.allCases
| |- warning: let 'orderedActionList' is not concurrency-safe because non-'Sendable' type '[ActionName]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'orderedActionList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Returns the function of the given action.
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Types.swift:132:13: note: consider making enum 'ActionName' conform to the 'Sendable' protocol
130 | }
131 |
132 | public enum ActionName: String, CaseIterable {
| `- note: consider making enum 'ActionName' conform to the 'Sendable' protocol
133 | case doNothing
134 | case insertFirst
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/ResultWindowBuffer.swift:84:13: warning: let 'actionsThatDropARow' is not concurrency-safe because non-'Sendable' type 'Set<ActionName>' may have shared mutable state; this is an error in the Swift 6 language mode
82 | /// Actions that keep the length of the result by dropping its first or last row.
83 | /// The slice rule can keep that row instead.
84 | private let actionsThatDropARow: Set<ActionName> = [
| |- warning: let 'actionsThatDropARow' is not concurrency-safe because non-'Sendable' type 'Set<ActionName>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'actionsThatDropARow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | .removeFirstItem,
86 | .removeLastItem,
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Types.swift:132:13: note: consider making enum 'ActionName' conform to the 'Sendable' protocol
130 | }
131 |
132 | public enum ActionName: String, CaseIterable {
| `- note: consider making enum 'ActionName' conform to the 'Sendable' protocol
133 | case doNothing
134 | case insertFirst
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/States.swift:3:12: warning: let 'orderedStateList' is not concurrency-safe because non-'Sendable' type '[StateName]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// All states, in the same order as the JavaScript implementation.
2 | /// The BDD references the states by their index in this list.
3 | public let orderedStateList: [StateName] = StateName.allCases
| |- warning: let 'orderedStateList' is not concurrency-safe because non-'Sendable' type '[StateName]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'orderedStateList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | public func hasLimit<D>(_ input: StateResolveFunctionInput<D>) -> Bool {
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Types.swift:155:13: note: consider making enum 'StateName' conform to the 'Sendable' protocol
153 | }
154 |
155 | public enum StateName: String, CaseIterable {
| `- note: consider making enum 'StateName' conform to the 'Sendable' protocol
156 | case isInsert
157 | case isUpdate
[6/11] Compiling EventReduce States.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/States.swift:3:12: warning: let 'orderedStateList' is not concurrency-safe because non-'Sendable' type '[StateName]' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// All states, in the same order as the JavaScript implementation.
2 | /// The BDD references the states by their index in this list.
3 | public let orderedStateList: [StateName] = StateName.allCases
| |- warning: let 'orderedStateList' is not concurrency-safe because non-'Sendable' type '[StateName]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'orderedStateList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | public func hasLimit<D>(_ input: StateResolveFunctionInput<D>) -> Bool {
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Types.swift:155:13: note: consider making enum 'StateName' conform to the 'Sendable' protocol
153 | }
154 |
155 | public enum StateName: String, CaseIterable {
| `- note: consider making enum 'StateName' conform to the 'Sendable' protocol
156 | case isInsert
157 | case isUpdate
[7/11] Compiling EventReduce Actions.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Actions.swift:11:12: warning: let 'orderedActionList' is not concurrency-safe because non-'Sendable' type '[ActionName]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// All actions, in the same order as the JavaScript implementation.
10 | /// The BDD references the actions by their index in this list.
11 | public let orderedActionList: [ActionName] = ActionName.allCases
| |- warning: let 'orderedActionList' is not concurrency-safe because non-'Sendable' type '[ActionName]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'orderedActionList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Returns the function of the given action.
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Types.swift:132:13: note: consider making enum 'ActionName' conform to the 'Sendable' protocol
130 | }
131 |
132 | public enum ActionName: String, CaseIterable {
| `- note: consider making enum 'ActionName' conform to the 'Sendable' protocol
133 | case doNothing
134 | case insertFirst
[8/11] Compiling EventReduce ResultWindowBuffer.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/ResultWindowBuffer.swift:84:13: warning: let 'actionsThatDropARow' is not concurrency-safe because non-'Sendable' type 'Set<ActionName>' may have shared mutable state; this is an error in the Swift 6 language mode
82 | /// Actions that keep the length of the result by dropping its first or last row.
83 | /// The slice rule can keep that row instead.
84 | private let actionsThatDropARow: Set<ActionName> = [
| |- warning: let 'actionsThatDropARow' is not concurrency-safe because non-'Sendable' type 'Set<ActionName>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'actionsThatDropARow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | .removeFirstItem,
86 | .removeLastItem,
/Users/admin/builder/spi-builder-workspace/swift/Sources/EventReduce/Types.swift:132:13: note: consider making enum 'ActionName' conform to the 'Sendable' protocol
130 | }
131 |
132 | public enum ActionName: String, CaseIterable {
| `- note: consider making enum 'ActionName' conform to the 'Sendable' protocol
133 | case doNothing
134 | case insertFirst
[9/11] Compiling EventReduce Types.swift
[10/11] Compiling EventReduce Bdd.swift
[11/11] Compiling EventReduce EventReduce.swift
Build complete! (4.05s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "EventReduce",
"name" : "EventReduce",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "EventReduce",
"targets" : [
"EventReduce"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EventReduceTests",
"module_type" : "SwiftTarget",
"name" : "EventReduceTests",
"path" : "swift/Tests/EventReduceTests",
"sources" : [
"DocumentIdTests.swift",
"HugeLimitTests.swift",
"KeyDocumentMapTests.swift",
"LimitTests.swift",
"RecommendedBufferSizeTests.swift",
"TestSuiteTests.swift"
],
"target_dependencies" : [
"EventReduce"
],
"type" : "test"
},
{
"c99name" : "EventReduce",
"module_type" : "SwiftTarget",
"name" : "EventReduce",
"path" : "swift/Sources/EventReduce",
"product_memberships" : [
"EventReduce"
],
"sources" : [
"Actions.swift",
"Bdd.swift",
"BddGenerated.swift",
"EventReduce.swift",
"ResultWindowBuffer.swift",
"States.swift",
"Types.swift",
"Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.