Build Information
Successful build of BoolBuilder, reference main (38d5f6
), with Swift 6.0 for Linux on 3 Nov 2024 17:38:15 UTC.
Swift 6 data race errors: 4
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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ApolloZhu/BoolBuilder.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/ApolloZhu/BoolBuilder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 38d5f66 Bool Builder
Cloned https://github.com/ApolloZhu/BoolBuilder.git
Revision (git rev-parse @):
38d5f6662cccaecb07a03c3ae488457036b5a878
SUCCESS checkout https://github.com/ApolloZhu/BoolBuilder.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ApolloZhu/BoolBuilder.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: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/4] Compiling BoolBuilder BoolBuilder.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:56:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
54 | @resultBuilder
55 | public enum AndBuilder: _BoolBuilder {
56 | public static let combinePartialResult: Operator = { $0 && $1() }
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
57 |
58 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:79:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
77 | @resultBuilder
78 | public enum OrBuilder: _BoolBuilder {
79 | public static let combinePartialResult: Operator = { $0 || $1() }
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
80 |
81 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:166:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
164 | @resultBuilder
165 | public enum ThrowingAndBuilder: _ThrowingBoolBuilder {
166 | public static let combinePartialResult: Operator = (&&)
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
167 |
168 | @available(*, unavailable, message: """
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:178:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
176 | @resultBuilder
177 | public enum ThrowingOrBuilder: _ThrowingBoolBuilder {
178 | public static let combinePartialResult: Operator = (||)
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
179 |
180 | @available(*, unavailable, message: """
[4/4] Emitting module BoolBuilder
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:56:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
54 | @resultBuilder
55 | public enum AndBuilder: _BoolBuilder {
56 | public static let combinePartialResult: Operator = { $0 && $1() }
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'AndBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
57 |
58 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:79:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
77 | @resultBuilder
78 | public enum OrBuilder: _BoolBuilder {
79 | public static let combinePartialResult: Operator = { $0 || $1() }
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'OrBuilder.Operator' (aka '(Bool, () -> Bool) -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
80 |
81 | #if canImport(PlaygroundBluetooth)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:166:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
164 | @resultBuilder
165 | public enum ThrowingAndBuilder: _ThrowingBoolBuilder {
166 | public static let combinePartialResult: Operator = (&&)
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingAndBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
167 |
168 | @available(*, unavailable, message: """
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/BoolBuilder/BoolBuilder.swift:178:23: warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
176 | @resultBuilder
177 | public enum ThrowingOrBuilder: _ThrowingBoolBuilder {
178 | public static let combinePartialResult: Operator = (||)
| |- warning: static property 'combinePartialResult' is not concurrency-safe because non-'Sendable' type 'ThrowingOrBuilder.Operator' (aka '(Bool, () throws -> Bool) throws -> Bool') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'combinePartialResult' 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
179 |
180 | @available(*, unavailable, message: """
Build complete! (4.66s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BoolBuilder",
"name" : "BoolBuilder",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BoolBuilder",
"targets" : [
"BoolBuilder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BoolBuilderTests",
"module_type" : "SwiftTarget",
"name" : "BoolBuilderTests",
"path" : "Tests/BoolBuilderTests",
"sources" : [
"BoolBuilderTests.swift"
],
"target_dependencies" : [
"BoolBuilder"
],
"type" : "test"
},
{
"c99name" : "BoolBuilder",
"module_type" : "SwiftTarget",
"name" : "BoolBuilder",
"path" : "Sources/BoolBuilder",
"product_memberships" : [
"BoolBuilder"
],
"sources" : [
"BoolBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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.