Build Information
Successful build of CodeQuickKit, reference main (508434
), with Swift 6.0 for macOS (SPM) on 8 Mar 2025 20:35:49 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/CodeQuickKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/CodeQuickKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5084346 ActivityAlertView Initializer (#10)
Cloned https://github.com/richardpiazza/CodeQuickKit.git
Revision (git rev-parse @):
5084346f5943d0a5629c564a4889b2878d8bf61b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/CodeQuickKit.git at main
========================================
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": "codequickkit",
"name": "CodeQuickKit",
"url": "https://github.com/richardpiazza/CodeQuickKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CodeQuickKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/richardpiazza/CodeQuickKit.git
[1/2213] Fetching codequickkit
Fetched https://github.com/richardpiazza/CodeQuickKit.git from cache (0.93s)
Creating working copy for https://github.com/richardpiazza/CodeQuickKit.git
Working copy of https://github.com/richardpiazza/CodeQuickKit.git resolved at main (5084346)
warning: '.resolve-product-dependencies': dependency 'codequickkit' 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/richardpiazza/CodeQuickKit.git
https://github.com/richardpiazza/CodeQuickKit.git
{
"dependencies" : [
],
"manifest_display_name" : "CodeQuickKit",
"name" : "CodeQuickKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CodeQuickKit",
"targets" : [
"CodeQuickKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CodeQuickKitTests",
"module_type" : "SwiftTarget",
"name" : "CodeQuickKitTests",
"path" : "Tests/CodeQuickKitTests",
"sources" : [
"Foundation/BundleTests.swift",
"Foundation/DateTests.swift",
"Foundation/NumberFormatterTests.swift",
"Foundation/PausableTimerTests.swift",
"Foundation/UserDefaultTests.swift",
"Swift/DependencyTests.swift"
],
"target_dependencies" : [
"CodeQuickKit"
],
"type" : "test"
},
{
"c99name" : "CodeQuickKit",
"module_type" : "SwiftTarget",
"name" : "CodeQuickKit",
"path" : "Sources/CodeQuickKit",
"product_memberships" : [
"CodeQuickKit"
],
"sources" : [
"Foundation/Bundle+CommonKeys.swift",
"Foundation/Bundle+DecodableResources.swift",
"Foundation/Character+Casing.swift",
"Foundation/Date+Semantic.swift",
"Foundation/FileManager.swift",
"Foundation/NSMetadataQuery.swift",
"Foundation/NumberFormatter.swift",
"Foundation/PausableTimer.swift",
"Foundation/String+Casing.swift",
"Foundation/StringProtocol+Replacement.swift",
"Foundation/Ubiquity.swift",
"Foundation/UserDefault.swift",
"Foundation/UserDefaults.swift",
"Swift/Dependency.swift",
"Swift/DependencyCache.swift",
"Swift/DependencySupplier.swift",
"Swift/Sequence+KeyPath.swift",
"Swift/Sequence+SplitBefore.swift",
"SwiftUI/ActivityAlertView.swift",
"UIKit/Bundle+Storyboards.swift",
"UIKit/HUD.swift",
"UIKit/NSMutableAttributedString.swift",
"UIKit/Reusable.swift",
"UIKit/UIAlertController+ActivityAlert.swift",
"UIKit/UIAlertController.swift",
"UIKit/UIPickerView.swift",
"UIKit/UIViewController.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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-5BDAB9E9C0126B9D.txt
[3/28] Emitting module CodeQuickKit
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/FileManager.swift:235:16: warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
233 | }
234 |
235 | static var ubiquityContainer: DocumentsUbiquityContainer = DocumentsUbiquityContainer()
| |- warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityContainer' 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
236 | }
237 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:39:23: warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | open class UbiquityContainer: UbiquityContainerDelegate {
| `- note: class 'UbiquityContainer' does not conform to the 'Sendable' protocol
39 | public static let defaultContainer: UbiquityContainer = UbiquityContainer()
| |- warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContainer' 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
40 |
41 | public internal(set) var identifier: String?
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/UserDefaults.swift:183:16: warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | public extension UserDefaults {
183 | static var ubiquityUserDefaults: KeyValueUbiquityContainer = KeyValueUbiquityContainer()
| |- warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityUserDefaults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityUserDefaults' 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
184 |
185 | /// Attempts to set an item on `NSUbiquitousKeyValueStore`. Will fallback to `NSUserDefaults`
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Swift/DependencyCache.swift:24:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public static var shared: DependencyCache = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
25 |
26 | /// Dependencies maintained by the cache
[4/30] Compiling CodeQuickKit UIPickerView.swift
[5/30] Compiling CodeQuickKit UIViewController.swift
[6/30] Compiling CodeQuickKit Date+Semantic.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/FileManager.swift:235:16: warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
233 | }
234 |
235 | static var ubiquityContainer: DocumentsUbiquityContainer = DocumentsUbiquityContainer()
| |- warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityContainer' 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
236 | }
237 | #endif
[7/30] Compiling CodeQuickKit FileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/FileManager.swift:235:16: warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
233 | }
234 |
235 | static var ubiquityContainer: DocumentsUbiquityContainer = DocumentsUbiquityContainer()
| |- warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityContainer' 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
236 | }
237 | #endif
[8/30] Compiling CodeQuickKit NSMetadataQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/FileManager.swift:235:16: warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
233 | }
234 |
235 | static var ubiquityContainer: DocumentsUbiquityContainer = DocumentsUbiquityContainer()
| |- warning: static property 'ubiquityContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityContainer' 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
236 | }
237 | #endif
[9/30] Compiling CodeQuickKit UIAlertController+ActivityAlert.swift
[10/30] Compiling CodeQuickKit UIAlertController.swift
[11/30] Compiling CodeQuickKit DependencySupplier.swift
[12/30] Compiling CodeQuickKit Sequence+KeyPath.swift
[13/30] Compiling CodeQuickKit Sequence+SplitBefore.swift
[14/30] Compiling CodeQuickKit NSMutableAttributedString.swift
[15/30] Compiling CodeQuickKit Reusable.swift
[16/30] Compiling CodeQuickKit ActivityAlertView.swift
[17/30] Compiling CodeQuickKit Bundle+Storyboards.swift
[18/30] Compiling CodeQuickKit HUD.swift
[19/30] Compiling CodeQuickKit StringProtocol+Replacement.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:39:23: warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | open class UbiquityContainer: UbiquityContainerDelegate {
| `- note: class 'UbiquityContainer' does not conform to the 'Sendable' protocol
39 | public static let defaultContainer: UbiquityContainer = UbiquityContainer()
| |- warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContainer' 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
40 |
41 | public internal(set) var identifier: String?
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:67:13: warning: capture of 'self' with non-sendable type 'UbiquityContainer' in a `@Sendable` closure
36 | }
37 |
38 | open class UbiquityContainer: UbiquityContainerDelegate {
| `- note: class 'UbiquityContainer' does not conform to the 'Sendable' protocol
39 | public static let defaultContainer: UbiquityContainer = UbiquityContainer()
40 |
:
65 |
66 | DispatchQueue.global(qos: .default).async {
67 | self.directory = FileManager.default.url(forUbiquityContainerIdentifier: identifier)
| `- warning: capture of 'self' with non-sendable type 'UbiquityContainer' in a `@Sendable` closure
68 | let newState = self.ubiquityState
69 |
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:72:53: warning: capture of 'oldState' with non-sendable type 'UbiquityState' in a `@Sendable` closure
2 | import Foundation
3 |
4 | public enum UbiquityState {
| `- note: consider making enum 'UbiquityState' conform to the 'Sendable' protocol
5 | case disabled
6 | case deviceOnly
:
70 | if let delegate = self.delegate {
71 | DispatchQueue.main.async(execute: {
72 | delegate.ubiquityStateDidChange(oldState, newState: newState)
| `- warning: capture of 'oldState' with non-sendable type 'UbiquityState' in a `@Sendable` closure
73 | })
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:72:21: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
69 |
70 | if let delegate = self.delegate {
71 | DispatchQueue.main.async(execute: {
| `- note: access can happen concurrently
72 | delegate.ubiquityStateDidChange(oldState, newState: newState)
| |- warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'delegate' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
73 | })
74 | }
[20/30] Compiling CodeQuickKit Ubiquity.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:39:23: warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | open class UbiquityContainer: UbiquityContainerDelegate {
| `- note: class 'UbiquityContainer' does not conform to the 'Sendable' protocol
39 | public static let defaultContainer: UbiquityContainer = UbiquityContainer()
| |- warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContainer' 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
40 |
41 | public internal(set) var identifier: String?
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:67:13: warning: capture of 'self' with non-sendable type 'UbiquityContainer' in a `@Sendable` closure
36 | }
37 |
38 | open class UbiquityContainer: UbiquityContainerDelegate {
| `- note: class 'UbiquityContainer' does not conform to the 'Sendable' protocol
39 | public static let defaultContainer: UbiquityContainer = UbiquityContainer()
40 |
:
65 |
66 | DispatchQueue.global(qos: .default).async {
67 | self.directory = FileManager.default.url(forUbiquityContainerIdentifier: identifier)
| `- warning: capture of 'self' with non-sendable type 'UbiquityContainer' in a `@Sendable` closure
68 | let newState = self.ubiquityState
69 |
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:72:53: warning: capture of 'oldState' with non-sendable type 'UbiquityState' in a `@Sendable` closure
2 | import Foundation
3 |
4 | public enum UbiquityState {
| `- note: consider making enum 'UbiquityState' conform to the 'Sendable' protocol
5 | case disabled
6 | case deviceOnly
:
70 | if let delegate = self.delegate {
71 | DispatchQueue.main.async(execute: {
72 | delegate.ubiquityStateDidChange(oldState, newState: newState)
| `- warning: capture of 'oldState' with non-sendable type 'UbiquityState' in a `@Sendable` closure
73 | })
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:72:21: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
69 |
70 | if let delegate = self.delegate {
71 | DispatchQueue.main.async(execute: {
| `- note: access can happen concurrently
72 | delegate.ubiquityStateDidChange(oldState, newState: newState)
| |- warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'delegate' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
73 | })
74 | }
[21/30] Compiling CodeQuickKit UserDefault.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:39:23: warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | open class UbiquityContainer: UbiquityContainerDelegate {
| `- note: class 'UbiquityContainer' does not conform to the 'Sendable' protocol
39 | public static let defaultContainer: UbiquityContainer = UbiquityContainer()
| |- warning: static property 'defaultContainer' is not concurrency-safe because non-'Sendable' type 'UbiquityContainer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContainer' 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
40 |
41 | public internal(set) var identifier: String?
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:67:13: warning: capture of 'self' with non-sendable type 'UbiquityContainer' in a `@Sendable` closure
36 | }
37 |
38 | open class UbiquityContainer: UbiquityContainerDelegate {
| `- note: class 'UbiquityContainer' does not conform to the 'Sendable' protocol
39 | public static let defaultContainer: UbiquityContainer = UbiquityContainer()
40 |
:
65 |
66 | DispatchQueue.global(qos: .default).async {
67 | self.directory = FileManager.default.url(forUbiquityContainerIdentifier: identifier)
| `- warning: capture of 'self' with non-sendable type 'UbiquityContainer' in a `@Sendable` closure
68 | let newState = self.ubiquityState
69 |
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:72:53: warning: capture of 'oldState' with non-sendable type 'UbiquityState' in a `@Sendable` closure
2 | import Foundation
3 |
4 | public enum UbiquityState {
| `- note: consider making enum 'UbiquityState' conform to the 'Sendable' protocol
5 | case disabled
6 | case deviceOnly
:
70 | if let delegate = self.delegate {
71 | DispatchQueue.main.async(execute: {
72 | delegate.ubiquityStateDidChange(oldState, newState: newState)
| `- warning: capture of 'oldState' with non-sendable type 'UbiquityState' in a `@Sendable` closure
73 | })
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/Ubiquity.swift:72:21: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
69 |
70 | if let delegate = self.delegate {
71 | DispatchQueue.main.async(execute: {
| `- note: access can happen concurrently
72 | delegate.ubiquityStateDidChange(oldState, newState: newState)
| |- warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'delegate' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
73 | })
74 | }
[22/30] Compiling CodeQuickKit NumberFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/PausableTimer.swift:103:13: warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure
10 | ///
11 | /// Has options for delegate callbacks of status or a expiry completion handler.
12 | open class PausableTimer {
| `- note: class 'PausableTimer' does not conform to the 'Sendable' protocol
13 | fileprivate let maxPercentComplete: Double = 1.0
14 | fileprivate var completedIntervals: TimeInterval = 0.0
:
101 |
102 | DispatchQueue.global(qos: .utility).asyncAfter(deadline: .now() + Double(delegateRefreshRate)) {
103 | self.update()
| `- warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure
104 | }
105 | }
[23/30] Compiling CodeQuickKit PausableTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/PausableTimer.swift:103:13: warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure
10 | ///
11 | /// Has options for delegate callbacks of status or a expiry completion handler.
12 | open class PausableTimer {
| `- note: class 'PausableTimer' does not conform to the 'Sendable' protocol
13 | fileprivate let maxPercentComplete: Double = 1.0
14 | fileprivate var completedIntervals: TimeInterval = 0.0
:
101 |
102 | DispatchQueue.global(qos: .utility).asyncAfter(deadline: .now() + Double(delegateRefreshRate)) {
103 | self.update()
| `- warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure
104 | }
105 | }
[24/30] Compiling CodeQuickKit String+Casing.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/PausableTimer.swift:103:13: warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure
10 | ///
11 | /// Has options for delegate callbacks of status or a expiry completion handler.
12 | open class PausableTimer {
| `- note: class 'PausableTimer' does not conform to the 'Sendable' protocol
13 | fileprivate let maxPercentComplete: Double = 1.0
14 | fileprivate var completedIntervals: TimeInterval = 0.0
:
101 |
102 | DispatchQueue.global(qos: .utility).asyncAfter(deadline: .now() + Double(delegateRefreshRate)) {
103 | self.update()
| `- warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure
104 | }
105 | }
[25/30] Compiling CodeQuickKit Bundle+CommonKeys.swift
[26/30] Compiling CodeQuickKit Bundle+DecodableResources.swift
[27/30] Compiling CodeQuickKit Character+Casing.swift
[28/30] Compiling CodeQuickKit UserDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/UserDefaults.swift:183:16: warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | public extension UserDefaults {
183 | static var ubiquityUserDefaults: KeyValueUbiquityContainer = KeyValueUbiquityContainer()
| |- warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityUserDefaults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityUserDefaults' 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
184 |
185 | /// Attempts to set an item on `NSUbiquitousKeyValueStore`. Will fallback to `NSUserDefaults`
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Swift/DependencyCache.swift:24:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public static var shared: DependencyCache = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
25 |
26 | /// Dependencies maintained by the cache
[29/30] Compiling CodeQuickKit Dependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/UserDefaults.swift:183:16: warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | public extension UserDefaults {
183 | static var ubiquityUserDefaults: KeyValueUbiquityContainer = KeyValueUbiquityContainer()
| |- warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityUserDefaults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityUserDefaults' 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
184 |
185 | /// Attempts to set an item on `NSUbiquitousKeyValueStore`. Will fallback to `NSUserDefaults`
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Swift/DependencyCache.swift:24:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public static var shared: DependencyCache = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
25 |
26 | /// Dependencies maintained by the cache
[30/30] Compiling CodeQuickKit DependencyCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Foundation/UserDefaults.swift:183:16: warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | public extension UserDefaults {
183 | static var ubiquityUserDefaults: KeyValueUbiquityContainer = KeyValueUbiquityContainer()
| |- warning: static property 'ubiquityUserDefaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ubiquityUserDefaults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ubiquityUserDefaults' 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
184 |
185 | /// Attempts to set an item on `NSUbiquitousKeyValueStore`. Will fallback to `NSUserDefaults`
/Users/admin/builder/spi-builder-workspace/Sources/CodeQuickKit/Swift/DependencyCache.swift:24:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public static var shared: DependencyCache = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
25 |
26 | /// Dependencies maintained by the cache
Build complete! (11.54s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CodeQuickKit",
"name" : "CodeQuickKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CodeQuickKit",
"targets" : [
"CodeQuickKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CodeQuickKitTests",
"module_type" : "SwiftTarget",
"name" : "CodeQuickKitTests",
"path" : "Tests/CodeQuickKitTests",
"sources" : [
"Foundation/BundleTests.swift",
"Foundation/DateTests.swift",
"Foundation/NumberFormatterTests.swift",
"Foundation/PausableTimerTests.swift",
"Foundation/UserDefaultTests.swift",
"Swift/DependencyTests.swift"
],
"target_dependencies" : [
"CodeQuickKit"
],
"type" : "test"
},
{
"c99name" : "CodeQuickKit",
"module_type" : "SwiftTarget",
"name" : "CodeQuickKit",
"path" : "Sources/CodeQuickKit",
"product_memberships" : [
"CodeQuickKit"
],
"sources" : [
"Foundation/Bundle+CommonKeys.swift",
"Foundation/Bundle+DecodableResources.swift",
"Foundation/Character+Casing.swift",
"Foundation/Date+Semantic.swift",
"Foundation/FileManager.swift",
"Foundation/NSMetadataQuery.swift",
"Foundation/NumberFormatter.swift",
"Foundation/PausableTimer.swift",
"Foundation/String+Casing.swift",
"Foundation/StringProtocol+Replacement.swift",
"Foundation/Ubiquity.swift",
"Foundation/UserDefault.swift",
"Foundation/UserDefaults.swift",
"Swift/Dependency.swift",
"Swift/DependencyCache.swift",
"Swift/DependencySupplier.swift",
"Swift/Sequence+KeyPath.swift",
"Swift/Sequence+SplitBefore.swift",
"SwiftUI/ActivityAlertView.swift",
"UIKit/Bundle+Storyboards.swift",
"UIKit/HUD.swift",
"UIKit/NSMutableAttributedString.swift",
"UIKit/Reusable.swift",
"UIKit/UIAlertController+ActivityAlert.swift",
"UIKit/UIAlertController.swift",
"UIKit/UIPickerView.swift",
"UIKit/UIViewController.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/richardpiazza/codequickkit/main
Repository: richardpiazza/CodeQuickKit
Swift version used: 6.0
Target: CodeQuickKit
Extracting symbol information for 'CodeQuickKit'...
Finished extracting symbol information for 'CodeQuickKit'. (3.23s)
Building documentation for 'CodeQuickKit'...
warning: Parameter 'locale' is missing documentation
--> Sources/CodeQuickKit/Foundation/String+Casing.swift:14:97-14:97
12 | /// ```
13 | ///
14 + /// - parameter fragmentHandler: Allows caller to override fragment lower-casing (index > 0)
| ╰─suggestion: Document 'locale' parameter
15 | /// - returns: A sentence-cased copy of the string.
16 | func sentenceCased(with locale: Locale? = nil, fragmentHandler: ((_ fragment: String) -> Bool)? = nil) -> String {
warning: Parameter 'locale' is missing documentation
--> Sources/CodeQuickKit/Foundation/String+Casing.swift:30:99-30:99
28 | /// ```
29 | ///
30 + /// - parameter fragmentHandler: Allows caller to override fragment capitalization (index > 0)
| ╰─suggestion: Document 'locale' parameter
31 | /// - returns: A title-cased copy of the string.
32 | func titleCased(with locale: Locale? = nil, fragmentHandler: ((_ fragment: String) -> Bool)? = nil) -> String {Finished building documentation for 'CodeQuickKit' (0.41s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/codequickkit/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3334] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.57s)
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit Identifier.swift
[10/53] Compiling SymbolKit KindIdentifier.swift
[11/53] Compiling SymbolKit Location.swift
[12/53] Compiling SymbolKit Mutability.swift
[13/57] Compiling SymbolKit DeclarationFragments.swift
[14/57] Compiling SymbolKit Fragment.swift
[15/57] Compiling SymbolKit FragmentKind.swift
[16/57] Compiling SymbolKit FunctionParameter.swift
[17/57] Compiling SymbolKit FunctionSignature.swift
[18/57] Compiling SymbolKit SourceRange.swift
[19/57] Compiling SymbolKit Metadata.swift
[20/57] Compiling SymbolKit Module.swift
[21/57] Compiling SymbolKit OperatingSystem.swift
[22/57] Compiling SymbolKit Platform.swift
[23/57] Compiling SymbolKit Names.swift
[24/57] Compiling SymbolKit SPI.swift
[25/57] Compiling SymbolKit Snippet.swift
[26/57] Compiling SymbolKit Extension.swift
[27/57] Compiling SymbolKit Mixin+Equals.swift
[28/57] Compiling SymbolKit Mixin+Hash.swift
[29/57] Compiling SymbolKit Mixin.swift
[30/57] Compiling SymbolKit LineList.swift
[31/57] Compiling SymbolKit Position.swift
[32/57] Compiling SymbolKit Relationship.swift
[33/57] Compiling SymbolKit RelationshipKind.swift
[34/57] Compiling SymbolKit SourceOrigin.swift
[35/57] Compiling SymbolKit GenericConstraints.swift
[36/57] Compiling SymbolKit Swift.swift
[37/57] Compiling SymbolKit GenericConstraint.swift
[38/57] Compiling SymbolKit GenericParameter.swift
[39/57] Compiling SymbolKit Generics.swift
[40/57] Compiling SymbolKit Namespace.swift
[41/57] Emitting module SymbolKit
[42/57] Compiling SymbolKit SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.94s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/27] Compiling CodeQuickKit ActivityAlertView.swift
[3/27] Compiling CodeQuickKit Bundle+Storyboards.swift
[4/27] Compiling CodeQuickKit HUD.swift
[5/27] Compiling CodeQuickKit NSMutableAttributedString.swift
[6/27] Compiling CodeQuickKit Reusable.swift
[7/29] Emitting module CodeQuickKit
[8/29] Compiling CodeQuickKit Bundle+CommonKeys.swift
[9/29] Compiling CodeQuickKit Bundle+DecodableResources.swift
[10/29] Compiling CodeQuickKit Character+Casing.swift
[11/29] Compiling CodeQuickKit DependencySupplier.swift
[12/29] Compiling CodeQuickKit Sequence+KeyPath.swift
[13/29] Compiling CodeQuickKit Sequence+SplitBefore.swift
[14/29] Compiling CodeQuickKit NumberFormatter.swift
[15/29] Compiling CodeQuickKit PausableTimer.swift
[16/29] Compiling CodeQuickKit String+Casing.swift
[17/29] Compiling CodeQuickKit UIPickerView.swift
[18/29] Compiling CodeQuickKit UIViewController.swift
[19/29] Compiling CodeQuickKit UIAlertController+ActivityAlert.swift
[20/29] Compiling CodeQuickKit UIAlertController.swift
[21/29] Compiling CodeQuickKit StringProtocol+Replacement.swift
[22/29] Compiling CodeQuickKit Ubiquity.swift
[23/29] Compiling CodeQuickKit UserDefault.swift
[24/29] Compiling CodeQuickKit UserDefaults.swift
[25/29] Compiling CodeQuickKit Dependency.swift
[26/29] Compiling CodeQuickKit DependencyCache.swift
[27/29] Compiling CodeQuickKit Date+Semantic.swift
[28/29] Compiling CodeQuickKit FileManager.swift
[29/29] Compiling CodeQuickKit NSMetadataQuery.swift
Build of target: 'CodeQuickKit' complete! (1.37s)
470
4 /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/codequickkit/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/richardpiazza/codequickkit/main
File count: 470
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-codequickkit-main-9ae71a8b.zip to s3://spi-docs-inbox/prod-richardpiazza-codequickkit-main-9ae71a8b.zip
Copying... [16%]
Copying... [25%]
Copying... [33%]
Copying... [41%]
Copying... [57%]
Copying... [66%]
Copying... [74%]
Copying... [82%]
Copying... [90%]
Copying... [100%]
Done.