Build Information
Successful build of SwiftTheming, reference v2.0.0 (4843cc
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 15:51:06 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dscyrescotti/SwiftTheming.git
Reference: v2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dscyrescotti/SwiftTheming
* tag v2.0.0 -> FETCH_HEAD
HEAD is now at 4843ccf docs: regenerate documentation
Cloned https://github.com/dscyrescotti/SwiftTheming.git
Revision (git rev-parse @):
4843ccf46f473e6c2f82cc1675139a18b2a0f109
SUCCESS checkout https://github.com/dscyrescotti/SwiftTheming.git at v2.0.0
Fetching https://github.com/nalexn/ViewInspector.git
[1/12143] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git from cache (1.27s)
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.71s)
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.9.0 (0d54687)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swifttheming",
"name": "SwiftTheming",
"url": "https://github.com/dscyrescotti/SwiftTheming.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftTheming",
"dependencies": [
]
}
]
}
Fetching https://github.com/dscyrescotti/SwiftTheming.git
[1/1951] Fetching swifttheming
Fetched https://github.com/dscyrescotti/SwiftTheming.git from cache (2.35s)
Creating working copy for https://github.com/dscyrescotti/SwiftTheming.git
Working copy of https://github.com/dscyrescotti/SwiftTheming.git resolved at v2.0.0 (4843ccf)
warning: '.resolve-product-dependencies': dependency 'swifttheming' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dscyrescotti/SwiftTheming.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/25] Emitting module SwiftTheming
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[6/27] Compiling SwiftTheming Themed.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[7/27] Compiling SwiftTheming ThemeProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[8/27] Compiling SwiftTheming ThemeProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[9/27] Compiling SwiftTheming ThemeProvidingViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[10/27] Compiling SwiftTheming Appearance.swift
[11/27] Compiling SwiftTheming PreferredAppearance.swift
[12/27] Compiling SwiftTheming AssetKeyWrappable.swift
[13/27] Compiling SwiftTheming FontSet.swift
[14/27] Compiling SwiftTheming GradientSet.swift
[15/27] Compiling SwiftTheming ImageSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[16/27] Compiling SwiftTheming Color++.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[17/27] Compiling SwiftTheming Image++.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[18/27] Compiling SwiftTheming UserDefaults++.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[19/27] Compiling SwiftTheming Theme.swift
[20/27] Compiling SwiftTheming Themeable.swift
[21/27] Compiling SwiftTheming View++.swift
[22/27] Compiling SwiftTheming DefaultTheming.swift
[23/27] Compiling SwiftTheming Font++.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[24/27] Compiling SwiftTheming Gradient++.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProvider.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// An observable object that manages predefined themes and appearances of an app.
5 | public class ThemeProvider: ObservableObject {
| `- note: class 'ThemeProvider' does not conform to the 'Sendable' protocol
6 | static let shared: ThemeProvider = ThemeProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ThemeProvider' 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
7 |
8 | /// A current theme of an app.
[25/27] Compiling SwiftTheming Assetable.swift
[26/27] Compiling SwiftTheming EmptyAsset.swift
[27/27] Compiling SwiftTheming ColorSet.swift
Build complete! (41.01s)
Build complete.
{
"dependencies" : [
{
"identity" : "viewinspector",
"requirement" : {
"revision" : [
"0.9.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nalexn/ViewInspector.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SwiftTheming",
"name" : "SwiftTheming",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SwiftTheming",
"targets" : [
"SwiftTheming"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftThemingTests",
"module_type" : "SwiftTarget",
"name" : "SwiftThemingTests",
"path" : "Tests/SwiftThemingTests",
"product_dependencies" : [
"ViewInspector"
],
"sources" : [
"TestCases/AssetableTests.swift",
"TestCases/ColorTests.swift",
"TestCases/DefaultThemingTests.swift",
"TestCases/FontTests.swift",
"TestCases/GradientTests.swift",
"TestCases/ImageTests.swift",
"TestCases/ThemeProviderTests.swift",
"TestCases/ThemeProvidingTests.swift",
"TestCases/UserDefaultsTests.swift",
"Theme/Theme.swift",
"Utils/ValueSpy.swift",
"Views/SpyView.swift",
"Views/TestView.swift"
],
"target_dependencies" : [
"SwiftTheming"
],
"type" : "test"
},
{
"c99name" : "SwiftTheming",
"module_type" : "SwiftTarget",
"name" : "SwiftTheming",
"path" : "Sources/SwiftTheming",
"product_memberships" : [
"SwiftTheming"
],
"sources" : [
"Appearance/Appearance.swift",
"Appearance/PreferredAppearance.swift",
"Asset/AssetKeyWrappable.swift",
"Asset/Assetable.swift",
"Asset/EmptyAsset.swift",
"Asset/Sets/ColorSet.swift",
"Asset/Sets/FontSet.swift",
"Asset/Sets/GradientSet.swift",
"Asset/Sets/ImageSet.swift",
"Extensions/Color++.swift",
"Extensions/Font++.swift",
"Extensions/Gradient++.swift",
"Extensions/Image++.swift",
"Extensions/UserDefaults++.swift",
"Extensions/View++.swift",
"Theme/DefaultTheming.swift",
"Theme/Theme.swift",
"Theme/Themeable.swift",
"Theme/Themed.swift",
"ThemeProvider/ThemeProvider.swift",
"ThemeProvider/ThemeProviding.swift",
"ThemeProvider/ThemeProvidingViewModifier.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.