Build Information
Successful build of QLoop, reference master (17cdd6
), with Swift 6.0 for Linux on 1 Nov 2024 15:39:26 UTC.
Swift 6 data race errors: 2
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/quickthyme/qloop.git
Reference: master
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/quickthyme/qloop
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 17cdd67 Updates for depricated keyword class (#11)
Cloned https://github.com/quickthyme/qloop.git
Revision (git rev-parse @):
17cdd67d2e58b58348605bb09e720187712577e8
SUCCESS checkout https://github.com/quickthyme/qloop.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/quickthyme/qloop.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/19] Emitting module QLoop
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:7:31: warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public struct Anchor {
6 |
7 | public static var releaseValues: Bool = {
| |- warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'releaseValues' 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
8 | #if !DEBUG
9 | return true
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:15:31: warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | public static var autoThrowResultFailures: Bool = true
| |- warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoThrowResultFailures' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoThrowResultFailures' 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
16 | }
17 | }
[4/21] Compiling QLoop QLoopIteratorContinueNilMax.swift
[5/21] Compiling QLoop QLoopIteratorContinueOutput.swift
[6/21] Compiling QLoop QLoopIteratorContinueOutputMax.swift
[7/21] Compiling QLoop Result+ErrorGettable.swift
[8/21] Compiling QLoop AnySegment.swift
[9/21] Compiling QLoop QLSegment.swift
/host/spi-builder-workspace/Sources/QLoop/Segment/Serial/QLSerialSegment.swift:120:17: warning: capture of 'self' with non-sendable type 'QLSerialSegment<Input, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | public typealias QLss = QLSerialSegment
4 |
5 | public final class QLSerialSegment<Input, Output>: QLSegment<Input, Output> {
| `- note: generic class 'QLSerialSegment' does not conform to the 'Sendable' protocol
6 | public typealias Operation = QLSegment<Input, Output>.Operation
7 | public typealias ErrorHandler = QLSegment<Input, Output>.ErrorHandler
:
118 | self.input.onChange = ({ input in
119 | self.operationQueue.async {
120 | self.tryOperation(input)
| `- warning: capture of 'self' with non-sendable type 'QLSerialSegment<Input, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 | }
122 | })
/host/spi-builder-workspace/Sources/QLoop/Segment/Serial/QLSerialSegment.swift:120:35: warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | public typealias QLss = QLSerialSegment
4 |
5 | public final class QLSerialSegment<Input, Output>: QLSegment<Input, Output> {
| `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
6 | public typealias Operation = QLSegment<Input, Output>.Operation
7 | public typealias ErrorHandler = QLSegment<Input, Output>.ErrorHandler
:
118 | self.input.onChange = ({ input in
119 | self.operationQueue.async {
120 | self.tryOperation(input)
| `- warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 | }
122 | })
[10/21] Compiling QLoop QLSerialSegment.swift
/host/spi-builder-workspace/Sources/QLoop/Segment/Serial/QLSerialSegment.swift:120:17: warning: capture of 'self' with non-sendable type 'QLSerialSegment<Input, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | public typealias QLss = QLSerialSegment
4 |
5 | public final class QLSerialSegment<Input, Output>: QLSegment<Input, Output> {
| `- note: generic class 'QLSerialSegment' does not conform to the 'Sendable' protocol
6 | public typealias Operation = QLSegment<Input, Output>.Operation
7 | public typealias ErrorHandler = QLSegment<Input, Output>.ErrorHandler
:
118 | self.input.onChange = ({ input in
119 | self.operationQueue.async {
120 | self.tryOperation(input)
| `- warning: capture of 'self' with non-sendable type 'QLSerialSegment<Input, Output>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 | }
122 | })
/host/spi-builder-workspace/Sources/QLoop/Segment/Serial/QLSerialSegment.swift:120:35: warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | public typealias QLss = QLSerialSegment
4 |
5 | public final class QLSerialSegment<Input, Output>: QLSegment<Input, Output> {
| `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
6 | public typealias Operation = QLSegment<Input, Output>.Operation
7 | public typealias ErrorHandler = QLSegment<Input, Output>.ErrorHandler
:
118 | self.input.onChange = ({ input in
119 | self.operationQueue.async {
120 | self.tryOperation(input)
| `- warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 | }
122 | })
[11/21] Compiling QLoop QLoop+ConvenienceInit.swift
[12/21] Compiling QLoop QLoop.swift
[13/21] Compiling QLoop QLAnchor.swift
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:7:31: warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public struct Anchor {
6 |
7 | public static var releaseValues: Bool = {
| |- warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'releaseValues' 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
8 | #if !DEBUG
9 | return true
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:15:31: warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | public static var autoThrowResultFailures: Bool = true
| |- warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoThrowResultFailures' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoThrowResultFailures' 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
16 | }
17 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:13: warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | }
6 |
7 | public final class QLAnchor<Input>: AnyAnchor {
| `- note: generic class 'QLAnchor' does not conform to the 'Sendable' protocol
8 | public typealias OnChange = (Input?)->()
9 | public typealias OnError = (Error)->()
:
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| `- warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:27: warning: capture of 'value' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | }
6 |
7 | public final class QLAnchor<Input>: AnyAnchor {
| `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
8 | public typealias OnChange = (Input?)->()
9 | public typealias OnError = (Error)->()
:
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| `- warning: capture of 'value' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:128:13: warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | }
6 |
7 | public final class QLAnchor<Input>: AnyAnchor {
| `- note: generic class 'QLAnchor' does not conform to the 'Sendable' protocol
8 | public typealias OnChange = (Input?)->()
9 | public typealias OnError = (Error)->()
:
126 | private func dispatch(error: Error) {
127 | DispatchQueue.main.async {
128 | self.onError(error)
| `- warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | }
130 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:128:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
126 | private func dispatch(error: Error) {
127 | DispatchQueue.main.async {
128 | self.onError(error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
129 | }
130 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:27: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
[14/21] Compiling QLoop QLPath.swift
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:7:31: warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public struct Anchor {
6 |
7 | public static var releaseValues: Bool = {
| |- warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'releaseValues' 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
8 | #if !DEBUG
9 | return true
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:15:31: warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | public static var autoThrowResultFailures: Bool = true
| |- warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoThrowResultFailures' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoThrowResultFailures' 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
16 | }
17 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:13: warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | }
6 |
7 | public final class QLAnchor<Input>: AnyAnchor {
| `- note: generic class 'QLAnchor' does not conform to the 'Sendable' protocol
8 | public typealias OnChange = (Input?)->()
9 | public typealias OnError = (Error)->()
:
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| `- warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:27: warning: capture of 'value' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | }
6 |
7 | public final class QLAnchor<Input>: AnyAnchor {
| `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
8 | public typealias OnChange = (Input?)->()
9 | public typealias OnError = (Error)->()
:
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| `- warning: capture of 'value' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:128:13: warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
5 | }
6 |
7 | public final class QLAnchor<Input>: AnyAnchor {
| `- note: generic class 'QLAnchor' does not conform to the 'Sendable' protocol
8 | public typealias OnChange = (Input?)->()
9 | public typealias OnError = (Error)->()
:
126 | private func dispatch(error: Error) {
127 | DispatchQueue.main.async {
128 | self.onError(error)
| `- warning: capture of 'self' with non-sendable type 'QLAnchor<Input>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 | }
130 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:128:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
126 | private func dispatch(error: Error) {
127 | DispatchQueue.main.async {
128 | self.onError(error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
129 | }
130 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
/host/spi-builder-workspace/Sources/QLoop/QLAnchor.swift:122:27: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
120 | private func dispatch(value: Input?) {
121 | DispatchQueue.main.async {
122 | self.onChange(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
123 | }
124 | }
[15/21] Compiling QLoop QLParallelSegment+OperationRunner.swift
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment+OperationRunner.swift:42:31: warning: capture of 'self' with non-sendable type 'QLParallelSegment<Input, Output>.OperationRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | class OperationRunner: Hashable {
| `- note: class 'OperationRunner' does not conform to the 'Sendable' protocol
23 | let completionQueue = DispatchQueue.init(label: "QLParallelSegment.CompletionQueue")
24 |
:
40 | for opBox in self.operations {
41 | let queue = opBox.queue ?? DispatchQueue.main
42 | queue.async { self.runOperation(input, opBox) }
| `- warning: capture of 'self' with non-sendable type 'QLParallelSegment<Input, Output>.OperationRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment+OperationRunner.swift:42:49: warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | for opBox in self.operations {
41 | let queue = opBox.queue ?? DispatchQueue.main
42 | queue.async { self.runOperation(input, opBox) }
| `- warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment.swift:5:38: note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
3 | public typealias QLps = QLParallelSegment
4 |
5 | public final class QLParallelSegment<Input, Output>: QLSegment<Input, Output> {
| `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
6 | public typealias ParallelOperation = QLSegment<Input, Any>.Operation
7 | public typealias ErrorHandler = QLSegment<Input, Output>.ErrorHandler
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment+OperationRunner.swift:42:56: warning: capture of 'opBox' with non-sendable type 'QLParallelSegment<Input, Output>.OperationBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | internal extension QLParallelSegment {
4 |
5 | class OperationBox {
| `- note: class 'OperationBox' does not conform to the 'Sendable' protocol
6 | var id: AnyHashable
7 | var operation: ParallelOperation
:
40 | for opBox in self.operations {
41 | let queue = opBox.queue ?? DispatchQueue.main
42 | queue.async { self.runOperation(input, opBox) }
| `- warning: capture of 'opBox' with non-sendable type 'QLParallelSegment<Input, Output>.OperationBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | }
44 | }
[16/21] Compiling QLoop QLParallelSegment.swift
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment+OperationRunner.swift:42:31: warning: capture of 'self' with non-sendable type 'QLParallelSegment<Input, Output>.OperationRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | }
21 |
22 | class OperationRunner: Hashable {
| `- note: class 'OperationRunner' does not conform to the 'Sendable' protocol
23 | let completionQueue = DispatchQueue.init(label: "QLParallelSegment.CompletionQueue")
24 |
:
40 | for opBox in self.operations {
41 | let queue = opBox.queue ?? DispatchQueue.main
42 | queue.async { self.runOperation(input, opBox) }
| `- warning: capture of 'self' with non-sendable type 'QLParallelSegment<Input, Output>.OperationRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment+OperationRunner.swift:42:49: warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | for opBox in self.operations {
41 | let queue = opBox.queue ?? DispatchQueue.main
42 | queue.async { self.runOperation(input, opBox) }
| `- warning: capture of 'input' with non-sendable type 'Input?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment.swift:5:38: note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
3 | public typealias QLps = QLParallelSegment
4 |
5 | public final class QLParallelSegment<Input, Output>: QLSegment<Input, Output> {
| `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
6 | public typealias ParallelOperation = QLSegment<Input, Any>.Operation
7 | public typealias ErrorHandler = QLSegment<Input, Output>.ErrorHandler
/host/spi-builder-workspace/Sources/QLoop/Segment/Parallel/QLParallelSegment+OperationRunner.swift:42:56: warning: capture of 'opBox' with non-sendable type 'QLParallelSegment<Input, Output>.OperationBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | internal extension QLParallelSegment {
4 |
5 | class OperationBox {
| `- note: class 'OperationBox' does not conform to the 'Sendable' protocol
6 | var id: AnyHashable
7 | var operation: ParallelOperation
:
40 | for opBox in self.operations {
41 | let queue = opBox.queue ?? DispatchQueue.main
42 | queue.async { self.runOperation(input, opBox) }
| `- warning: capture of 'opBox' with non-sendable type 'QLParallelSegment<Input, Output>.OperationBox' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | }
44 | }
[17/21] Compiling QLoop QLCommon.swift
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:7:31: warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public struct Anchor {
6 |
7 | public static var releaseValues: Bool = {
| |- warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'releaseValues' 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
8 | #if !DEBUG
9 | return true
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:15:31: warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | public static var autoThrowResultFailures: Bool = true
| |- warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoThrowResultFailures' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoThrowResultFailures' 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
16 | }
17 | }
[18/21] Compiling QLoop QLoopIterating.swift
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:7:31: warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public struct Anchor {
6 |
7 | public static var releaseValues: Bool = {
| |- warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'releaseValues' 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
8 | #if !DEBUG
9 | return true
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:15:31: warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | public static var autoThrowResultFailures: Bool = true
| |- warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoThrowResultFailures' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoThrowResultFailures' 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
16 | }
17 | }
[19/21] Compiling QLoop QLoopIteratorContinueNil.swift
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:7:31: warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public struct Anchor {
6 |
7 | public static var releaseValues: Bool = {
| |- warning: static property 'releaseValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'releaseValues' 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
8 | #if !DEBUG
9 | return true
/host/spi-builder-workspace/Sources/QLoop/Common/QLCommon.swift:15:31: warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | public static var autoThrowResultFailures: Bool = true
| |- warning: static property 'autoThrowResultFailures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoThrowResultFailures' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'autoThrowResultFailures' 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
16 | }
17 | }
[20/21] Compiling QLoop QLoopIteratorSingle.swift
[21/21] Compiling QLoop QLAnchor+ConvenienceInit.swift
Build complete! (6.54s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "QLoop",
"name" : "QLoop",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "QLoop",
"targets" : [
"QLoop"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "QLoopTests",
"module_type" : "SwiftTarget",
"name" : "QLoopTests",
"path" : "Tests/QLoopTests",
"sources" : [
"Common/QLCommonConfigAnchorTests.swift",
"FibonacciTest.swift",
"Iterating/QLoopIteratorContinueNilMaxTests copy.swift",
"Iterating/QLoopIteratorContinueNilTests copy.swift",
"Iterating/QLoopIteratorContinueOutputMaxTests.swift",
"Iterating/QLoopIteratorContinueOutputTests.swift",
"Iterating/QLoopIteratorSingleTests.swift",
"QLAnchorTests.swift",
"QLPathTests.swift",
"QLoop+ConvenienceInitTests.swift",
"QLoopTests.swift",
"Segment/QLParallelSegmentTests.swift",
"Segment/QLSegmentTests.swift",
"Segment/QLSerialSegmentTests.swift",
"XCTestManifests.swift",
"helpers/CapturedCompletion.swift",
"mocks/MockComponent.swift",
"mocks/MockLoopIterable.swift",
"mocks/MockLoopIterator.swift",
"mocks/MockOperation.swift",
"mocks/SpyAnchor.swift"
],
"target_dependencies" : [
"QLoop"
],
"type" : "test"
},
{
"c99name" : "QLoop",
"module_type" : "SwiftTarget",
"name" : "QLoop",
"path" : "Sources/QLoop",
"product_memberships" : [
"QLoop"
],
"sources" : [
"Common/QLCommon.swift",
"Iterating/QLoopIterating.swift",
"Iterating/QLoopIteratorContinueNil.swift",
"Iterating/QLoopIteratorContinueNilMax.swift",
"Iterating/QLoopIteratorContinueOutput.swift",
"Iterating/QLoopIteratorContinueOutputMax.swift",
"Iterating/QLoopIteratorSingle.swift",
"QLAnchor+ConvenienceInit.swift",
"QLAnchor.swift",
"QLPath.swift",
"QLoop+ConvenienceInit.swift",
"QLoop.swift",
"Result+ErrorGettable.swift",
"Segment/AnySegment.swift",
"Segment/Parallel/QLParallelSegment+OperationRunner.swift",
"Segment/Parallel/QLParallelSegment.swift",
"Segment/QLSegment.swift",
"Segment/Serial/QLSerialSegment.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
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.