Build Information
Successful build of Sovran, reference main (47f4fe), with Swift 6.1 for Linux on 24 Jul 2026 04:38:07 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/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:basic-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: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/segmentio/Sovran-Swift.git
Reference: main
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/segmentio/Sovran-Swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 47f4fe2 ci: migrate GHA to macos-arm + SHA-pinned actions (#14)
Cloned https://github.com/segmentio/Sovran-Swift.git
Revision (git rev-parse @):
47f4fe247f4db9c57a5e3a571fcdc7243c34c98a
SUCCESS checkout https://github.com/segmentio/Sovran-Swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/segmentio/Sovran-Swift.git
https://github.com/segmentio/Sovran-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/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:basic-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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Sovran Version.swift
[4/9] Emitting module Sovran
/host/spi-builder-workspace/Sources/Sovran/Store.swift:206:28: warning: static property 'nextSubscriptionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
204 | let subscriptionID = createNextSubscriptionID()
205 |
206 | fileprivate static var nextSubscriptionID = 1
| |- warning: static property 'nextSubscriptionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nextSubscriptionID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nextSubscriptionID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | fileprivate static func createNextSubscriptionID() -> SubscriptionID {
208 | let result = nextSubscriptionID
/host/spi-builder-workspace/Sources/Sovran/Testing.swift:12:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | /// Inquire as to whether we are within a Unit Testing environment.
11 | #if DEBUG
12 | internal var isUnitTesting: Bool = {
| |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | // this will work on apple platforms, but fail on linux.
14 | if NSClassFromString("XCTestCase") != nil {
[5/9] Compiling Sovran Store.swift
/host/spi-builder-workspace/Sources/Sovran/Store.swift:206:28: warning: static property 'nextSubscriptionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
204 | let subscriptionID = createNextSubscriptionID()
205 |
206 | fileprivate static var nextSubscriptionID = 1
| |- warning: static property 'nextSubscriptionID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nextSubscriptionID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nextSubscriptionID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | fileprivate static func createNextSubscriptionID() -> SubscriptionID {
208 | let result = nextSubscriptionID
/host/spi-builder-workspace/Sources/Sovran/Store.swift:258:21: warning: capture of 'handler' with non-sendable type 'Handler<T>' (aka '(T) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
256 | // call the handlers asynchronously.
257 | sub.queue.async {
258 | handler(state)
| |- warning: capture of 'handler' with non-sendable type 'Handler<T>' (aka '(T) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
259 | }
260 | }
/host/spi-builder-workspace/Sources/Sovran/Store.swift:258:29: warning: capture of 'state' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
249 | extension Store {
250 | /// Notify any subscribers with the new state.
251 | internal func notify<T: State>(subscribers: [Subscription], state: T) {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
252 | for sub in subscribers {
253 | guard let handler = sub.handler as? Handler<T> else { continue }
:
256 | // call the handlers asynchronously.
257 | sub.queue.async {
258 | handler(state)
| `- warning: capture of 'state' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
259 | }
260 | }
[6/9] Compiling Sovran Action.swift
[7/9] Compiling Sovran State.swift
[8/9] Compiling Sovran Subscriber.swift
[9/9] Compiling Sovran Testing.swift
/host/spi-builder-workspace/Sources/Sovran/Testing.swift:12:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | /// Inquire as to whether we are within a Unit Testing environment.
11 | #if DEBUG
12 | internal var isUnitTesting: Bool = {
| |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | // this will work on apple platforms, but fail on linux.
14 | if NSClassFromString("XCTestCase") != nil {
Build complete! (3.42s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Sovran",
"name" : "Sovran",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "7.1"
}
],
"products" : [
{
"name" : "Sovran",
"targets" : [
"Sovran"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SovranTests",
"module_type" : "SwiftTarget",
"name" : "SovranTests",
"path" : "Tests/SovranTests",
"sources" : [
"ExampleStates.swift",
"MultithreadingTests.swift",
"SovranTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Sovran"
],
"type" : "test"
},
{
"c99name" : "Sovran",
"module_type" : "SwiftTarget",
"name" : "Sovran",
"path" : "Sources/Sovran",
"product_memberships" : [
"Sovran"
],
"sources" : [
"Action.swift",
"State.swift",
"Store.swift",
"Subscriber.swift",
"Testing.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Done.