Build Information
Successful build of Sovran, reference main (47f4fe), with Swift 6.1 for Android on 10 Aug 2026 17:39:25 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
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: android
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-53886770-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from saguaro1/spi-images
f5fecbc81fe2: Pulling fs layer
3acce8cf1e83: Pulling fs layer
ee443f698618: Pulling fs layer
6410097a6f27: Pulling fs layer
3acce8cf1e83: Download complete
6410097a6f27: Download complete
6410097a6f27: Pull complete
f5fecbc81fe2: Download complete
ee443f698618: Download complete
ee443f698618: Pull complete
3acce8cf1e83: Pull complete
f5fecbc81fe2: Pull complete
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Downloaded newer image for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Sovran State.swift
[4/9] Compiling Sovran Subscriber.swift
[5/9] Compiling Sovran Action.swift
[6/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 {
[7/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 | }
[8/9] Compiling Sovran Version.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! (4.37s)
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"
}
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Done.