Build Information
Successful build of SwiftTheming, reference main (1042f7
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:43:41 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dscyrescotti/SwiftTheming.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dscyrescotti/SwiftTheming
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1042f7b feat: bump codecov versino
Cloned https://github.com/dscyrescotti/SwiftTheming.git
Revision (git rev-parse @):
1042f7b3f3b56ad64f8187939f6fe2e24d809471
SUCCESS checkout https://github.com/dscyrescotti/SwiftTheming.git at main
Fetching https://github.com/nalexn/ViewInspector.git
[1/12323] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git from cache (1.25s)
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.78s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.34s)
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
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/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.9.0 (0d54687)
========================================
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 (1.74s)
Creating working copy for https://github.com/dscyrescotti/SwiftTheming.git
Working copy of https://github.com/dscyrescotti/SwiftTheming.git resolved at main (1042f7b)
warning: '.resolve-product-dependencies': dependency 'swifttheming' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dscyrescotti/SwiftTheming.git
https://github.com/dscyrescotti/SwiftTheming.git
{
"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"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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 ThemeProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProviding.swift:9:9: warning: main actor-isolated property 'themeProvider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 | @propertyWrapper
5 | public struct ThemeProviding: DynamicProperty {
6 | @EnvironmentObject private var themeProvider: ThemeProvider
| `- note: property declared here
7 |
8 | public var wrappedValue: ThemeProvider {
9 | themeProvider
| `- warning: main actor-isolated property 'themeProvider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProviding.swift:12:21: error: return from initializer without initializing all stored properties
10 | }
11 |
12 | public init() { }
| |- error: return from initializer without initializing all stored properties
| `- note: main actor-isolated default value of 'self.themeProvider' cannot be used in a nonisolated initalizer
13 | }
14 |
[7/27] Compiling SwiftTheming ThemeProvidingViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProviding.swift:9:9: warning: main actor-isolated property 'themeProvider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 | @propertyWrapper
5 | public struct ThemeProviding: DynamicProperty {
6 | @EnvironmentObject private var themeProvider: ThemeProvider
| `- note: property declared here
7 |
8 | public var wrappedValue: ThemeProvider {
9 | themeProvider
| `- warning: main actor-isolated property 'themeProvider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTheming/ThemeProvider/ThemeProviding.swift:12:21: error: return from initializer without initializing all stored properties
10 | }
11 |
12 | public init() { }
| |- error: return from initializer without initializing all stored properties
| `- note: main actor-isolated default value of 'self.themeProvider' cannot be used in a nonisolated initalizer
13 | }
14 |
[8/27] Compiling SwiftTheming Appearance.swift
[9/27] Compiling SwiftTheming PreferredAppearance.swift
[10/27] Compiling SwiftTheming AssetKeyWrappable.swift
[11/27] Compiling SwiftTheming View++.swift
[12/27] Compiling SwiftTheming DefaultTheming.swift
[13/27] Compiling SwiftTheming Font++.swift
[14/27] Compiling SwiftTheming Gradient++.swift
[15/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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 Theme.swift
[18/27] Compiling SwiftTheming Themeable.swift
[19/27] Compiling SwiftTheming FontSet.swift
[20/27] Compiling SwiftTheming GradientSet.swift
[21/27] Compiling SwiftTheming Assetable.swift
[22/27] Compiling SwiftTheming EmptyAsset.swift
[23/27] Compiling SwiftTheming ColorSet.swift
[24/27] Compiling SwiftTheming Image++.swift
[25/27] Compiling SwiftTheming UserDefaults++.swift
[26/27] Compiling SwiftTheming ImageSet.swift
[27/27] Compiling SwiftTheming Color++.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/24] Emitting module SwiftTheming
[5/26] Compiling SwiftTheming Themed.swift
[6/26] Compiling SwiftTheming ThemeProvider.swift
[7/26] Compiling SwiftTheming Font++.swift
[8/26] Compiling SwiftTheming Gradient++.swift
[9/26] Compiling SwiftTheming ImageSet.swift
[10/26] Compiling SwiftTheming Color++.swift
[11/26] Compiling SwiftTheming Theme.swift
[12/26] Compiling SwiftTheming Themeable.swift
[13/26] Compiling SwiftTheming View++.swift
[14/26] Compiling SwiftTheming DefaultTheming.swift
[15/26] Compiling SwiftTheming Image++.swift
[16/26] Compiling SwiftTheming UserDefaults++.swift
[17/26] Compiling SwiftTheming Appearance.swift
[18/26] Compiling SwiftTheming PreferredAppearance.swift
[19/26] Compiling SwiftTheming AssetKeyWrappable.swift
[20/26] Compiling SwiftTheming FontSet.swift
[21/26] Compiling SwiftTheming GradientSet.swift
[22/26] Compiling SwiftTheming Assetable.swift
[23/26] Compiling SwiftTheming EmptyAsset.swift
[24/26] Compiling SwiftTheming ColorSet.swift
[25/26] Compiling SwiftTheming ThemeProviding.swift
[26/26] Compiling SwiftTheming ThemeProvidingViewModifier.swift
Build complete! (2.52s)
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.