Build Information
Successful build of OnboardingKit, reference 1.5.0 (1b8dad
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 21:42:08 UTC.
Swift 6 data race errors: 9
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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Gerzer/OnboardingKit.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Gerzer/OnboardingKit
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at 1b8dad5 Add `Once` condition
Cloned https://github.com/Gerzer/OnboardingKit.git
Revision (git rev-parse @):
1b8dad5b3c81f65504e420250baca35b3bcd4d3f
SUCCESS checkout https://github.com/Gerzer/OnboardingKit.git at 1.5.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": "onboardingkit",
"name": "OnboardingKit",
"url": "https://github.com/Gerzer/OnboardingKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OnboardingKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/Gerzer/OnboardingKit.git
[1/242] Fetching onboardingkit
Fetched https://github.com/Gerzer/OnboardingKit.git from cache (0.97s)
Creating working copy for https://github.com/Gerzer/OnboardingKit.git
Working copy of https://github.com/Gerzer/OnboardingKit.git resolved at 1.5.0 (1b8dad5)
warning: '.resolve-product-dependencies': dependency 'onboardingkit' 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/Gerzer/OnboardingKit.git
https://github.com/Gerzer/OnboardingKit.git
{
"dependencies" : [
],
"manifest_display_name" : "OnboardingKit",
"name" : "OnboardingKit",
"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" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "OnboardingKit",
"targets" : [
"OnboardingKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OnboardingKit",
"module_type" : "SwiftTarget",
"name" : "OnboardingKit",
"path" : "Sources/OnboardingKit",
"product_memberships" : [
"OnboardingKit"
],
"sources" : [
"OnboardingCondition.swift",
"OnboardingEvent.swift",
"OnboardingFlags.swift",
"OnboardingKit.swift",
"OnboardingManager.swift",
"OnboardingTrigger.swift",
"OptionalProtocol.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/10] Compiling OnboardingKit OptionalProtocol.swift
[4/10] Compiling OnboardingKit OnboardingTrigger.swift
[5/10] Compiling OnboardingKit OnboardingCondition.swift
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:39:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | public struct ColdLaunch: RegistrableOnboardingCondition {
38 |
39 | public static let triggers: Set<OnboardingTrigger> = [.launch]
| |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | private static let defaultsKey = "ColdLaunchCount"
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
7 |
8 | /// Supported triggers for checking onboarding events.
9 | public enum OnboardingTrigger {
| `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | case launch, manual
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:43:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | private static let defaultsKey = "ColdLaunchCount"
42 |
43 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:110:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
108 | }
109 |
110 | public static let triggers: Set<OnboardingTrigger> = [.launch, .manual]
| |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
7 |
8 | /// Supported triggers for checking onboarding events.
9 | public enum OnboardingTrigger {
| `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | case launch, manual
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:169:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
167 | public struct Once: OnboardingCondition {
168 |
169 | public static var triggers: Set<OnboardingTrigger> = [.launch]
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:196:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
194 | @available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct TimeSinceFirstLaunch: RegistrableOnboardingCondition {
195 |
196 | public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 | private static let defaultsKey = "FirstLaunch"
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:200:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
198 | private static let defaultsKey = "FirstLaunch"
199 |
200 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:242:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 | @available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct AfterDate: OnboardingCondition {
241 |
242 | public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:265:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | public struct Conjunction: RegistrableOnboardingCondition {
264 |
265 | public static var triggers: Set<OnboardingTrigger> = .all
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:298:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 | public struct Disjunction: RegistrableOnboardingCondition {
297 |
298 | public static var triggers: Set<OnboardingTrigger> = .all
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | public var isSatisfied: Bool {
[6/10] Compiling OnboardingKit OnboardingFlags.swift
[7/10] Compiling OnboardingKit OnboardingManager.swift
[8/10] Compiling OnboardingKit OnboardingKit.swift
[9/10] Emitting module OnboardingKit
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:39:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | public struct ColdLaunch: RegistrableOnboardingCondition {
38 |
39 | public static let triggers: Set<OnboardingTrigger> = [.launch]
| |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | private static let defaultsKey = "ColdLaunchCount"
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
7 |
8 | /// Supported triggers for checking onboarding events.
9 | public enum OnboardingTrigger {
| `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | case launch, manual
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:43:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | private static let defaultsKey = "ColdLaunchCount"
42 |
43 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:110:21: warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
108 | }
109 |
110 | public static let triggers: Set<OnboardingTrigger> = [.launch, .manual]
| |- warning: static property 'triggers' is not concurrency-safe because non-'Sendable' type 'Set<OnboardingTrigger>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingTrigger.swift:9:13: note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
7 |
8 | /// Supported triggers for checking onboarding events.
9 | public enum OnboardingTrigger {
| `- note: consider making enum 'OnboardingTrigger' conform to the 'Sendable' protocol
10 |
11 | case launch, manual
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:169:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
167 | public struct Once: OnboardingCondition {
168 |
169 | public static var triggers: Set<OnboardingTrigger> = [.launch]
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:196:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
194 | @available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct TimeSinceFirstLaunch: RegistrableOnboardingCondition {
195 |
196 | public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 | private static let defaultsKey = "FirstLaunch"
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:200:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
198 | private static let defaultsKey = "FirstLaunch"
199 |
200 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:242:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 | @available(iOS 15, macOS 12, watchOS 8, tvOS 15, *) public struct AfterDate: OnboardingCondition {
241 |
242 | public static var triggers: Set<OnboardingTrigger> = [.launch, .manual]
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:265:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | public struct Conjunction: RegistrableOnboardingCondition {
264 |
265 | public static var triggers: Set<OnboardingTrigger> = .all
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 | public var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/OnboardingKit/OnboardingCondition.swift:298:21: warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
296 | public struct Disjunction: RegistrableOnboardingCondition {
297 |
298 | public static var triggers: Set<OnboardingTrigger> = .all
| |- warning: static property 'triggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'triggers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'triggers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | public var isSatisfied: Bool {
[10/10] Compiling OnboardingKit OnboardingEvent.swift
Build complete! (4.60s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OnboardingKit",
"name" : "OnboardingKit",
"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" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "OnboardingKit",
"targets" : [
"OnboardingKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OnboardingKit",
"module_type" : "SwiftTarget",
"name" : "OnboardingKit",
"path" : "Sources/OnboardingKit",
"product_memberships" : [
"OnboardingKit"
],
"sources" : [
"OnboardingCondition.swift",
"OnboardingEvent.swift",
"OnboardingFlags.swift",
"OnboardingKit.swift",
"OnboardingManager.swift",
"OnboardingTrigger.swift",
"OptionalProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.