Build Information
Successful build of DCSettings with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davidcaddy/DCSettings.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davidcaddy/DCSettings
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7d9ad3d Update availability check to include all platforms
Cloned https://github.com/davidcaddy/DCSettings.git
Revision (git rev-parse @):
7d9ad3d99df0e5262059ca53f921a47055ef5da7
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/davidcaddy/DCSettings.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/davidcaddy/DCSettings.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/22] Emitting module DCSettings
/Users/admin/builder/spi-builder-workspace/Sources/DCSettings/Settings/DCSettingsManager.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// manager.set(!darkMode, forKey: "darkMode")
33 | /// ```
34 | public class DCSettingsManager {
| `- note: class 'DCSettingsManager' does not conform to the 'Sendable' protocol
35 |
36 | /// A shared instance of `DCSettingsManager`.
37 | public static let shared = DCSettingsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public private(set) var groups: [DCSettingGroup] = []
[4/24] Compiling DCSettings DCSettingConfiguration.swift
[5/24] Compiling DCSettings DCSettingGroup.swift
[6/24] Compiling DCSettings NSUbiquitousKeyValueStore+DCKeyValueStore.swift
[7/24] Compiling DCSettings String+Extended.swift
[8/24] Compiling DCSettings DCStoredRepresentedValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/DCSettings/Settings/DCSettingsManager.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// manager.set(!darkMode, forKey: "darkMode")
33 | /// ```
34 | public class DCSettingsManager {
| `- note: class 'DCSettingsManager' does not conform to the 'Sendable' protocol
35 |
36 | /// A shared instance of `DCSettingsManager`.
37 | public static let shared = DCSettingsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public private(set) var groups: [DCSettingGroup] = []
[9/24] Compiling DCSettings DCStoredValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/DCSettings/Settings/DCSettingsManager.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// manager.set(!darkMode, forKey: "darkMode")
33 | /// ```
34 | public class DCSettingsManager {
| `- note: class 'DCSettingsManager' does not conform to the 'Sendable' protocol
35 |
36 | /// A shared instance of `DCSettingsManager`.
37 | public static let shared = DCSettingsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public private(set) var groups: [DCSettingGroup] = []
[10/24] Compiling DCSettings DCSettingViewProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/DCSettings/Settings/DCSettingsManager.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// manager.set(!darkMode, forKey: "darkMode")
33 | /// ```
34 | public class DCSettingsManager {
| `- note: class 'DCSettingsManager' does not conform to the 'Sendable' protocol
35 |
36 | /// A shared instance of `DCSettingsManager`.
37 | public static let shared = DCSettingsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public private(set) var groups: [DCSettingGroup] = []
[11/24] Compiling DCSettings DCSettingsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DCSettings/Settings/DCSettingsManager.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// manager.set(!darkMode, forKey: "darkMode")
33 | /// ```
34 | public class DCSettingsManager {
| `- note: class 'DCSettingsManager' does not conform to the 'Sendable' protocol
35 |
36 | /// A shared instance of `DCSettingsManager`.
37 | public static let shared = DCSettingsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public private(set) var groups: [DCSettingGroup] = []
[12/24] Compiling DCSettings DCSettingOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/DCSettings/Settings/DCSettingsManager.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// manager.set(!darkMode, forKey: "darkMode")
33 | /// ```
34 | public class DCSettingsManager {
| `- note: class 'DCSettingsManager' does not conform to the 'Sendable' protocol
35 |
36 | /// A shared instance of `DCSettingsManager`.
37 | public static let shared = DCSettingsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public private(set) var groups: [DCSettingGroup] = []
[13/24] Compiling DCSettings DCSettingsManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/DCSettings/Settings/DCSettingsManager.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// manager.set(!darkMode, forKey: "darkMode")
33 | /// ```
34 | public class DCSettingsManager {
| `- note: class 'DCSettingsManager' does not conform to the 'Sendable' protocol
35 |
36 | /// A shared instance of `DCSettingsManager`.
37 | public static let shared = DCSettingsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DCSettingsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | public private(set) var groups: [DCSettingGroup] = []
[14/24] Compiling DCSettings Collection+Extended.swift
[15/24] Compiling DCSettings Color+Codable.swift
[16/24] Compiling DCSettings DCKeyRepresentableConformances.swift
[17/24] Compiling DCSettings Text+MonospacedDigit.swift
[18/24] Compiling DCSettings UserDefaults+DCKeyValueStore.swift
[19/24] Compiling DCSettings DCValueBounds.swift
[20/24] Compiling DCSettings DCKeyValueStore.swift
[21/24] Compiling DCSettings DCSettingStore.swift
[22/24] Compiling DCSettings DCSettingView.swift
[23/24] Compiling DCSettings DCKeyRepresentable.swift
[24/24] Compiling DCSettings DCSetting.swift
Build complete! (42.31s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DCSettings",
"name" : "DCSettings",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "DCSettings",
"targets" : [
"DCSettings"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DCSettingsTests",
"module_type" : "SwiftTarget",
"name" : "DCSettingsTests",
"path" : "Tests/DCSettingsTests",
"sources" : [
"DCSettingConfigurationTests.swift",
"DCSettingGroupTests.swift",
"DCSettingOptionTests.swift",
"DCSettingTests.swift",
"DCSettingsManagerTests.swift",
"DCValueBoundsTests.swift",
"Mocks/MockStore.swift"
],
"target_dependencies" : [
"DCSettings"
],
"type" : "test"
},
{
"c99name" : "DCSettings",
"module_type" : "SwiftTarget",
"name" : "DCSettings",
"path" : "Sources/DCSettings",
"product_memberships" : [
"DCSettings"
],
"sources" : [
"Extensions/Collection+Extended.swift",
"Extensions/Color+Codable.swift",
"Extensions/DCKeyRepresentableConformances.swift",
"Extensions/NSUbiquitousKeyValueStore+DCKeyValueStore.swift",
"Extensions/String+Extended.swift",
"Extensions/Text+MonospacedDigit.swift",
"Extensions/UserDefaults+DCKeyValueStore.swift",
"Settings/DCKeyRepresentable.swift",
"Settings/DCSetting.swift",
"Settings/DCSettingConfiguration.swift",
"Settings/DCSettingGroup.swift",
"Settings/DCSettingOption.swift",
"Settings/DCSettingsManager.swift",
"Settings/DCStoredRepresentedValue.swift",
"Settings/DCStoredValue.swift",
"Settings/DCValueBounds.swift",
"Store/DCKeyValueStore.swift",
"Store/DCSettingStore.swift",
"Views/DCSettingView.swift",
"Views/DCSettingViewProviding.swift",
"Views/DCSettingsView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.