Build Information
Successful build of SynheartAuth, reference main (bc97db), with Swift 6.1 for macOS (SPM) on 9 Oct 2026 10:43:26 UTC.
Swift 6 data race errors: 2
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/synheart-ai/synheart-auth-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/synheart-ai/synheart-auth-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bc97dbe Merge pull request #9 from synheart-ai/fix/auth-registration-recovery
Cloned https://github.com/synheart-ai/synheart-auth-swift.git
Revision (git rev-parse @):
bc97dbe99ddbaaab95f82f71190655d40fa98370
SUCCESS checkout https://github.com/synheart-ai/synheart-auth-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/synheart-ai/synheart-auth-swift.git
https://github.com/synheart-ai/synheart-auth-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "SynheartAuth",
"name" : "SynheartAuth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SynheartAuth",
"targets" : [
"SynheartAuth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SynheartAuthTests",
"module_type" : "SwiftTarget",
"name" : "SynheartAuthTests",
"path" : "Tests/SynheartAuthTests",
"sources" : [
"AuthStateTests.swift",
"ClockSkewTrackerTests.swift",
"DeviceRegistrarTests.swift",
"KeyManagerTests.swift",
"KeychainReadOutcomeTests.swift",
"RegistrationRecoveryTests.swift",
"RequestSignerTests.swift",
"StorageManagerTests.swift",
"SynheartAuthTests.swift"
],
"target_dependencies" : [
"SynheartAuth"
],
"type" : "test"
},
{
"c99name" : "SynheartAuth",
"module_type" : "SwiftTarget",
"name" : "SynheartAuth",
"path" : "Sources/SynheartAuth",
"product_memberships" : [
"SynheartAuth"
],
"sources" : [
"Crypto/KeyManager.swift",
"Crypto/RequestSigner.swift",
"FFI/SynheartNativeCrypto.swift",
"Internal/AuthLogger.swift",
"Internal/ClockSkewTracker.swift",
"Models/AuthError.swift",
"Models/AuthModels.swift",
"Models/AuthState.swift",
"Network/AuthNetworkClient.swift",
"Network/NetworkModels.swift",
"Registration/DeviceRegistrar.swift",
"Registration/OperationClaims.swift",
"Storage/StorageManager.swift",
"SynheartAuth.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/16] Compiling SynheartAuth NetworkModels.swift
[4/16] Compiling SynheartAuth OperationClaims.swift
/Users/admin/builder/spi-builder-workspace/Sources/SynheartAuth/Registration/OperationClaims.swift:18:24: warning: static property 'inFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | enum OperationClaims {
17 | private static let lock = NSLock()
18 | private static var inFlight: Set<String> = []
| |- warning: static property 'inFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Atomic test-and-set. Returns `false` if `appId` is already claimed.
[5/16] Compiling SynheartAuth AuthModels.swift
[6/16] Compiling SynheartAuth AuthState.swift
[7/16] Compiling SynheartAuth StorageManager.swift
[8/17] Compiling SynheartAuth AuthNetworkClient.swift
[9/17] Compiling SynheartAuth DeviceRegistrar.swift
[10/17] Compiling SynheartAuth ClockSkewTracker.swift
[11/17] Compiling SynheartAuth AuthError.swift
[12/17] Emitting module SynheartAuth
/Users/admin/builder/spi-builder-workspace/Sources/SynheartAuth/FFI/SynheartNativeCrypto.swift:450:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
448 | /// lookups at runtime.
449 | public enum SynheartNativeCryptoAnchor {
450 | public static let all: [Any] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | synheart_native_generate_key,
452 | synheart_native_sign_bytes,
/Users/admin/builder/spi-builder-workspace/Sources/SynheartAuth/Registration/OperationClaims.swift:18:24: warning: static property 'inFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | enum OperationClaims {
17 | private static let lock = NSLock()
18 | private static var inFlight: Set<String> = []
| |- warning: static property 'inFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Atomic test-and-set. Returns `false` if `appId` is already claimed.
[13/17] Compiling SynheartAuth SynheartNativeCrypto.swift
/Users/admin/builder/spi-builder-workspace/Sources/SynheartAuth/FFI/SynheartNativeCrypto.swift:450:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
448 | /// lookups at runtime.
449 | public enum SynheartNativeCryptoAnchor {
450 | public static let all: [Any] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | synheart_native_generate_key,
452 | synheart_native_sign_bytes,
[14/17] Compiling SynheartAuth AuthLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SynheartAuth/FFI/SynheartNativeCrypto.swift:450:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
448 | /// lookups at runtime.
449 | public enum SynheartNativeCryptoAnchor {
450 | public static let all: [Any] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | synheart_native_generate_key,
452 | synheart_native_sign_bytes,
[15/17] Compiling SynheartAuth KeyManager.swift
[16/17] Compiling SynheartAuth RequestSigner.swift
[17/17] Compiling SynheartAuth SynheartAuth.swift
Build complete! (6.32s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SynheartAuth",
"name" : "SynheartAuth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SynheartAuth",
"targets" : [
"SynheartAuth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SynheartAuthTests",
"module_type" : "SwiftTarget",
"name" : "SynheartAuthTests",
"path" : "Tests/SynheartAuthTests",
"sources" : [
"AuthStateTests.swift",
"ClockSkewTrackerTests.swift",
"DeviceRegistrarTests.swift",
"KeyManagerTests.swift",
"KeychainReadOutcomeTests.swift",
"RegistrationRecoveryTests.swift",
"RequestSignerTests.swift",
"StorageManagerTests.swift",
"SynheartAuthTests.swift"
],
"target_dependencies" : [
"SynheartAuth"
],
"type" : "test"
},
{
"c99name" : "SynheartAuth",
"module_type" : "SwiftTarget",
"name" : "SynheartAuth",
"path" : "Sources/SynheartAuth",
"product_memberships" : [
"SynheartAuth"
],
"sources" : [
"Crypto/KeyManager.swift",
"Crypto/RequestSigner.swift",
"FFI/SynheartNativeCrypto.swift",
"Internal/AuthLogger.swift",
"Internal/ClockSkewTracker.swift",
"Models/AuthError.swift",
"Models/AuthModels.swift",
"Models/AuthState.swift",
"Network/AuthNetworkClient.swift",
"Network/NetworkModels.swift",
"Registration/DeviceRegistrar.swift",
"Registration/OperationClaims.swift",
"Storage/StorageManager.swift",
"SynheartAuth.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.