Build Information
Successful build of SpendOwl, reference v1.1.0 (b679b6), with Swift 6.1 for macOS (SPM) on 24 Feb 2026 22:00:28 UTC.
Swift 6 data race errors: 1
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: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/spendowl/spendowl-ios.git
Reference: v1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/spendowl/spendowl-ios
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at b679b61 chore: bump version to 1.1.0
Cloned https://github.com/spendowl/spendowl-ios.git
Revision (git rev-parse @):
b679b611f27544da5b2e54528c0641b9e41e6139
SUCCESS checkout https://github.com/spendowl/spendowl-ios.git at v1.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/spendowl/spendowl-ios.git
https://github.com/spendowl/spendowl-ios.git
{
"dependencies" : [
],
"manifest_display_name" : "SpendOwl",
"name" : "SpendOwl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SpendOwl",
"targets" : [
"SpendOwl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SpendOwlTests",
"module_type" : "SwiftTarget",
"name" : "SpendOwlTests",
"path" : "Tests/SpendOwlTests",
"sources" : [
"SpendOwlTests.swift"
],
"target_dependencies" : [
"SpendOwl"
],
"type" : "test"
},
{
"c99name" : "SpendOwl",
"module_type" : "SwiftTarget",
"name" : "SpendOwl",
"path" : "Sources/SpendOwl",
"product_memberships" : [
"SpendOwl"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Attribution/AttributionResult.swift",
"Attribution/AttributionService.swift",
"Configuration.swift",
"Logger.swift",
"Network/APIClient.swift",
"Purchases/PurchaseTracker.swift",
"SpendOwl.swift",
"SpendOwlError.swift",
"Storage/Defaults.swift",
"Storage/EventQueue.swift",
"Storage/KeychainHelper.swift",
"Version.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/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/16] Compiling SpendOwl Version.swift
[5/17] Compiling SpendOwl resource_bundle_accessor.swift
[6/17] Compiling SpendOwl SpendOwlError.swift
[7/17] Compiling SpendOwl KeychainHelper.swift
[8/17] Compiling SpendOwl Defaults.swift
[9/17] Compiling SpendOwl SpendOwl.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/SpendOwl.swift:274:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
272 | /// - Parameter completion: Called with the attribution result. May be called on any queue.
273 | public static func attribution(completion: ((Result<AttributionResult, SpendOwlError>) -> Void)? = nil) {
274 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
275 | await shared.trackAttributionInternal(completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
276 | }
277 | }
[10/17] Compiling SpendOwl AttributionResult.swift
[11/17] Compiling SpendOwl AttributionService.swift
[12/17] Emitting module SpendOwl
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Logger.swift:36:16: warning: static property 'level' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// The current log level. Defaults to `.none`.
36 | static var level: Level = .none
| |- warning: static property 'level' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'level' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'level' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Logs a message if the specified level is at or above the current threshold.
[13/17] Compiling SpendOwl Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Logger.swift:36:16: warning: static property 'level' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// The current log level. Defaults to `.none`.
36 | static var level: Level = .none
| |- warning: static property 'level' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'level' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'level' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Logs a message if the specified level is at or above the current threshold.
[14/17] Compiling SpendOwl Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Logger.swift:36:16: warning: static property 'level' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// The current log level. Defaults to `.none`.
36 | static var level: Level = .none
| |- warning: static property 'level' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'level' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'level' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Logs a message if the specified level is at or above the current threshold.
[15/17] Compiling SpendOwl EventQueue.swift
[16/17] Compiling SpendOwl APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:232:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
230 | /// enqueued during the network call.
231 | private func sendEnqueuedEvents() async {
232 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
233 | guard !_isSending else {
234 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:234:18: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
232 | lock.lock()
233 | guard !_isSending else {
234 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
235 | return
236 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:238:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
236 | }
237 | _isSending = true
238 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 |
240 | defer {
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:241:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 |
240 | defer {
241 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
242 | _isSending = false
243 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:243:18: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
241 | lock.lock()
242 | _isSending = false
243 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
244 | }
245 |
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
[17/17] Compiling SpendOwl PurchaseTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:232:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
230 | /// enqueued during the network call.
231 | private func sendEnqueuedEvents() async {
232 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
233 | guard !_isSending else {
234 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:234:18: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
232 | lock.lock()
233 | guard !_isSending else {
234 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
235 | return
236 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:238:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
236 | }
237 | _isSending = true
238 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 |
240 | defer {
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:241:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 |
240 | defer {
241 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
242 | _isSending = false
243 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/Purchases/PurchaseTracker.swift:243:18: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
241 | lock.lock()
242 | _isSending = false
243 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
244 | }
245 |
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
Build complete! (8.42s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SpendOwl",
"name" : "SpendOwl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SpendOwl",
"targets" : [
"SpendOwl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SpendOwlTests",
"module_type" : "SwiftTarget",
"name" : "SpendOwlTests",
"path" : "Tests/SpendOwlTests",
"sources" : [
"SpendOwlTests.swift"
],
"target_dependencies" : [
"SpendOwl"
],
"type" : "test"
},
{
"c99name" : "SpendOwl",
"module_type" : "SwiftTarget",
"name" : "SpendOwl",
"path" : "Sources/SpendOwl",
"product_memberships" : [
"SpendOwl"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpendOwl/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Attribution/AttributionResult.swift",
"Attribution/AttributionService.swift",
"Configuration.swift",
"Logger.swift",
"Network/APIClient.swift",
"Purchases/PurchaseTracker.swift",
"SpendOwl.swift",
"SpendOwlError.swift",
"Storage/Defaults.swift",
"Storage/EventQueue.swift",
"Storage/KeychainHelper.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.