Build Information
Failed to build SwiftTheming, reference v2.0.0 (4843cc
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 23:30:43 UTC.
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 -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.58.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/12190] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git from cache (1.13s)
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.31s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3186] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
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/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
========================================
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.64s)
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 -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
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/25] Compiling SwiftTheming Theme.swift
[6/25] Compiling SwiftTheming Themeable.swift
[7/25] Compiling SwiftTheming FontSet.swift
[8/25] Compiling SwiftTheming GradientSet.swift
[9/25] 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.
[10/25] 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.
[11/27] 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.
[12/27] Compiling SwiftTheming Assetable.swift
[13/27] Compiling SwiftTheming EmptyAsset.swift
[14/27] Compiling SwiftTheming ColorSet.swift
[15/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.
[16/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.
[17/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.
[18/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.
[19/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.
[20/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.
[21/27] Compiling SwiftTheming View++.swift
[22/27] Compiling SwiftTheming DefaultTheming.swift
[23/27] Compiling SwiftTheming Appearance.swift
[24/27] Compiling SwiftTheming PreferredAppearance.swift
[25/27] Compiling SwiftTheming AssetKeyWrappable.swift
[26/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/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.
/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: 'self.themeProvider' not initialized
13 | }
14 |
[27/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/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.
/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: 'self.themeProvider' not initialized
13 | }
14 |
BUILD FAILURE 6.0 macosSpm