Build Information
Successful build of HorizonDefaults, reference master (ca7fdd
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 18:17:13 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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sam-Spencer/HorizonDefaults.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sam-Spencer/HorizonDefaults
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ca7fddf Fix macOS build, logging, and Swift 6
Cloned https://github.com/Sam-Spencer/HorizonDefaults.git
Revision (git rev-parse @):
ca7fddfa79d4001b02697665d5fc24aa92111ede
SUCCESS checkout https://github.com/Sam-Spencer/HorizonDefaults.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Sam-Spencer/HorizonDefaults.git
https://github.com/Sam-Spencer/HorizonDefaults.git
{
"dependencies" : [
],
"manifest_display_name" : "HorizonDefaults",
"name" : "HorizonDefaults",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "HorizonDefaults",
"targets" : [
"HorizonDefaults"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HorizonDefaultsTests",
"module_type" : "SwiftTarget",
"name" : "HorizonDefaultsTests",
"path" : "Tests/HorizonDefaultsTests",
"sources" : [
"HorizonDefaultsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"HorizonDefaults"
],
"type" : "test"
},
{
"c99name" : "HorizonDefaults",
"module_type" : "SwiftTarget",
"name" : "HorizonDefaults",
"path" : "Sources/HorizonDefaults",
"product_memberships" : [
"HorizonDefaults"
],
"sources" : [
"HorizonDefaults.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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/4] Emitting module HorizonDefaults
/Users/admin/builder/spi-builder-workspace/Sources/HorizonDefaults/HorizonDefaults.swift:25:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HorizonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 | @available(iOS 10.0, tvOS 10.0, macOS 11.0, *)
14 | public class HorizonDefaults: NSObject {
| `- note: class 'HorizonDefaults' does not conform to the 'Sendable' protocol
15 |
16 | /// Set to `true` to enable debug statements printed to the console.
:
23 | /// Generic default syncronization object.
24 | ///
25 | public static let standard: HorizonDefaults = HorizonDefaults()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HorizonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Acceptable keys to sync across iCloud.
[4/4] Compiling HorizonDefaults HorizonDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/HorizonDefaults/HorizonDefaults.swift:25:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HorizonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 | @available(iOS 10.0, tvOS 10.0, macOS 11.0, *)
14 | public class HorizonDefaults: NSObject {
| `- note: class 'HorizonDefaults' does not conform to the 'Sendable' protocol
15 |
16 | /// Set to `true` to enable debug statements printed to the console.
:
23 | /// Generic default syncronization object.
24 | ///
25 | public static let standard: HorizonDefaults = HorizonDefaults()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HorizonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Acceptable keys to sync across iCloud.
/Users/admin/builder/spi-builder-workspace/Sources/HorizonDefaults/HorizonDefaults.swift:120:30: warning: capture of 'self' with non-sendable type 'HorizonDefaults?' in a '@Sendable' closure
12 | ///
13 | @available(iOS 10.0, tvOS 10.0, macOS 11.0, *)
14 | public class HorizonDefaults: NSObject {
| `- note: class 'HorizonDefaults' does not conform to the 'Sendable' protocol
15 |
16 | /// Set to `true` to enable debug statements printed to the console.
:
118 | deinit {
119 | backgroundQueue.async { [weak self] in
120 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'HorizonDefaults?' in a '@Sendable' closure
121 | NotificationCenter.default.removeObserver(self, name: UserDefaults.didChangeNotification, object: nil)
122 | NotificationCenter.default.removeObserver(self, name: NSUbiquitousKeyValueStore.didChangeExternallyNotification, object: nil)
Build complete! (4.61s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "HorizonDefaults",
"name" : "HorizonDefaults",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "HorizonDefaults",
"targets" : [
"HorizonDefaults"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HorizonDefaultsTests",
"module_type" : "SwiftTarget",
"name" : "HorizonDefaultsTests",
"path" : "Tests/HorizonDefaultsTests",
"sources" : [
"HorizonDefaultsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"HorizonDefaults"
],
"type" : "test"
},
{
"c99name" : "HorizonDefaults",
"module_type" : "SwiftTarget",
"name" : "HorizonDefaults",
"path" : "Sources/HorizonDefaults",
"product_memberships" : [
"HorizonDefaults"
],
"sources" : [
"HorizonDefaults.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.