Build Information
Successful build of QLoop, reference 0.1.9 (17cdd6
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:49:52 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/quickthyme/qloop.git
Reference: 0.1.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/quickthyme/qloop
* tag 0.1.9 -> FETCH_HEAD
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 0.1.9
========================================
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": "qloop",
"name": "QLoop",
"url": "https://github.com/quickthyme/qloop.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/qloop",
"dependencies": [
]
}
]
}
Fetching https://github.com/quickthyme/qloop.git
[9/883] Fetching qloop
Fetched https://github.com/quickthyme/qloop.git from cache (0.87s)
Creating working copy for https://github.com/quickthyme/qloop.git
Working copy of https://github.com/quickthyme/qloop.git resolved at 0.1.9 (17cdd67)
warning: '.resolve-product-dependencies': dependency 'qloop' 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/quickthyme/qloop.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/20] Compiling QLoop QLCommon.swift
/Users/admin/builder/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
/Users/admin/builder/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/20] Compiling QLoop QLoopIterating.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
[5/21] Compiling QLoop QLSegment.swift
[6/21] Compiling QLoop QLoop+ConvenienceInit.swift
[7/21] Compiling QLoop QLoop.swift
[8/21] Compiling QLoop QLoopIteratorContinueOutput.swift
[9/21] Compiling QLoop QLoopIteratorContinueOutputMax.swift
[10/21] Compiling QLoop QLSerialSegment.swift
/Users/admin/builder/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 | })
/Users/admin/builder/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 QLoopIteratorSingle.swift
[12/21] Compiling QLoop QLAnchor+ConvenienceInit.swift
[13/21] Compiling QLoop QLAnchor.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 Result+ErrorGettable.swift
[18/21] Compiling QLoop AnySegment.swift
[19/21] Compiling QLoop QLoopIteratorContinueNil.swift
[20/21] Compiling QLoop QLoopIteratorContinueNilMax.swift
[21/21] Emitting module QLoop
/Users/admin/builder/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
/Users/admin/builder/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 | }
Build complete! (7.95s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "QLoop",
"name" : "QLoop",
"path" : "/Users/admin/builder/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"
}
Done.