Build Information
Successful build of EventReduce, reference master (2cd634), with Swift 6.1 for Linux on 26 Nov 2026 16:13:59 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pubkey/event-reduce.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pubkey/event-reduce
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2cd6349 Update dependency @types/node to v26.6.11 (#673)
Cloned https://github.com/pubkey/event-reduce.git
Revision (git rev-parse @):
2cd6349cb73fb37ff7eb278087747cb30a511c15
SUCCESS checkout https://github.com/pubkey/event-reduce.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/pubkey/event-reduce.git
https://github.com/pubkey/event-reduce.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:b853d4c28a02117d0ce8ebf7d4e8f3384dd57765453ea5d00960ca8b05f28782
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling EventReduce EventReduce.swift
[4/11] Emitting module EventReduce
/host/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.
/host/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
/host/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,
/host/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
/host/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 {
/host/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
[5/11] Compiling EventReduce Util.swift
[6/11] Compiling EventReduce Bdd.swift
[7/11] Compiling EventReduce Actions.swift
/host/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.
/host/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 BddGenerated.swift
[9/11] Compiling EventReduce ResultWindowBuffer.swift
/host/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,
/host/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
[10/11] Compiling EventReduce States.swift
/host/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 {
/host/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
[11/11] Compiling EventReduce Types.swift
Build complete! (3.11s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "EventReduce",
"name" : "EventReduce",
"path" : "/host/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"
}
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:b853d4c28a02117d0ce8ebf7d4e8f3384dd57765453ea5d00960ca8b05f28782
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Done.