Build Information
Successful build of ResolvingContainer, reference 1.0.12 (5ffead
), with Swift 6.0 for Linux on 14 Sep 2024 04:19:53 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cozmonate/ResolvingContainer.git
Reference: 1.0.12
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/Cozmonate/ResolvingContainer
* tag 1.0.12 -> FETCH_HEAD
HEAD is now at 5ffead9 Added ability to check if the instance of the object is stored in the container
Cloned https://github.com/Cozmonate/ResolvingContainer.git
Revision (git rev-parse @):
5ffead9d72e4d90adac37570e7abe7633ac495df
SUCCESS checkout https://github.com/Cozmonate/ResolvingContainer.git at 1.0.12
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Cozmonate/ResolvingContainer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
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/4] Emitting module ResolvingContainer
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:171:14: warning: let 'ResolvingContainerQueueIdentifierKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
| `- warning: let 'ResolvingContainerQueueIdentifierKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
172 |
173 | internal extension DispatchQueue {
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:32:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
30 | */
31 |
32 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
33 |
34 | open class ResolvingContainer {
:
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
| |- note: annotate 'ResolvingContainerQueueIdentifierKey' 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
172 |
173 | internal extension DispatchQueue {
[4/4] Compiling ResolvingContainer ResolvingContainer.swift
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:171:14: warning: let 'ResolvingContainerQueueIdentifierKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
| `- warning: let 'ResolvingContainerQueueIdentifierKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
172 |
173 | internal extension DispatchQueue {
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/ResolvingContainer/ResolvingContainer.swift:32:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
30 | */
31 |
32 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
33 |
34 | open class ResolvingContainer {
:
169 | }
170 |
171 | internal let ResolvingContainerQueueIdentifierKey = DispatchSpecificKey<UUID>()
| |- note: annotate 'ResolvingContainerQueueIdentifierKey' 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
172 |
173 | internal extension DispatchQueue {
Build complete! (12.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ResolvingContainer",
"name" : "ResolvingContainer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "ResolvingContainer",
"targets" : [
"ResolvingContainer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ResolvingContainer",
"module_type" : "SwiftTarget",
"name" : "ResolvingContainer",
"path" : "ResolvingContainer",
"product_memberships" : [
"ResolvingContainer"
],
"sources" : [
"ResolvingContainer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.