Build Information
Successful build of CodeQuickKit, reference main (2c355b
), with Swift 6.0 for Linux on 2 Nov 2024 19:31:50 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/CodeQuickKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/richardpiazza/CodeQuickKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2c355b1 ActivityAlert Dispatch (#9)
Cloned https://github.com/richardpiazza/CodeQuickKit.git
Revision (git rev-parse @):
2c355b11ef3a9ede157dc15a80d4dd02e6041a2f
SUCCESS checkout https://github.com/richardpiazza/CodeQuickKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/CodeQuickKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/27] Compiling CodeQuickKit NSMutableAttributedString.swift
[4/27] Compiling CodeQuickKit Reusable.swift
[5/27] Compiling CodeQuickKit UIAlertController+ActivityAlert.swift
[6/27] Compiling CodeQuickKit DependencySupplier.swift
[7/27] Compiling CodeQuickKit Sequence+KeyPath.swift
[8/27] Compiling CodeQuickKit Sequence+SplitBefore.swift
[9/27] Compiling CodeQuickKit ActivityAlertView.swift
[10/27] Compiling CodeQuickKit Bundle+Storyboards.swift
[11/27] Compiling CodeQuickKit HUD.swift
[12/27] Compiling CodeQuickKit UserDefaults.swift
/host/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
[13/27] Compiling CodeQuickKit Dependency.swift
/host/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
[14/27] Compiling CodeQuickKit DependencyCache.swift
/host/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
[15/30] Emitting module CodeQuickKit
/host/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
[16/30] Compiling CodeQuickKit Bundle+CommonKeys.swift
[17/30] Compiling CodeQuickKit Bundle+DecodableResources.swift
[18/30] Compiling CodeQuickKit Character+Casing.swift
[19/30] Compiling CodeQuickKit Date+Semantic.swift
[20/30] Compiling CodeQuickKit FileManager.swift
/host/spi-builder-workspace/Sources/CodeQuickKit/Foundation/PausableTimer.swift:103:13: warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
104 | }
105 | }
[21/30] Compiling CodeQuickKit NSMetadataQuery.swift
/host/spi-builder-workspace/Sources/CodeQuickKit/Foundation/PausableTimer.swift:103:13: warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
104 | }
105 | }
[22/30] Compiling CodeQuickKit NumberFormatter.swift
/host/spi-builder-workspace/Sources/CodeQuickKit/Foundation/PausableTimer.swift:103:13: warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
104 | }
105 | }
[23/30] Compiling CodeQuickKit PausableTimer.swift
/host/spi-builder-workspace/Sources/CodeQuickKit/Foundation/PausableTimer.swift:103:13: warning: capture of 'self' with non-sendable type 'PausableTimer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
104 | }
105 | }
[24/30] Compiling CodeQuickKit String+Casing.swift
[25/30] Compiling CodeQuickKit StringProtocol+Replacement.swift
[26/30] Compiling CodeQuickKit Ubiquity.swift
[27/30] Compiling CodeQuickKit UserDefault.swift
[28/30] Compiling CodeQuickKit UIAlertController.swift
[29/30] Compiling CodeQuickKit UIPickerView.swift
[30/30] Compiling CodeQuickKit UIViewController.swift
Build complete! (11.88s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CodeQuickKit",
"name" : "CodeQuickKit",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.