Build Information
Successful build of Futures, reference 0.1.2 (374088
), with Swift 6.0 for Linux on 2 Oct 2024 19:03:46 UTC.
Swift 6 data race errors: 12
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[147/175] Compiling Futures ChannelSlotBounded.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[148/175] Compiling Futures ChannelSlotUnbounded.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[149/175] Compiling Futures Either.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[150/175] Compiling Futures Executor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[151/175] Compiling Futures QueueExecutor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[152/175] Compiling Futures RunLoopExecutor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[153/175] Compiling Futures ThreadExecutor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[154/175] Compiling Futures Extensions.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[155/175] Compiling Futures Future.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[156/175] Compiling Futures AbortFuture.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
[157/175] Compiling Futures StreamContainsFuture.swift
[158/175] Compiling Futures StreamContainsWhereFuture.swift
[159/175] Compiling Futures StreamFirstFuture.swift
[160/175] Compiling Futures StreamFirstWhereFuture.swift
[161/175] Compiling Futures StreamForwardFuture.swift
[162/175] Compiling Futures StreamFuture.swift
[163/175] Compiling Futures StreamLastFuture.swift
[164/175] Compiling Futures StreamLastWhereFuture.swift
[165/175] Compiling Futures StreamReduceFuture.swift
[166/175] Compiling Futures StreamReduceIntoFuture.swift
[167/175] Compiling Futures StreamReplayBuffer.swift
[168/175] Compiling Futures SwitchToLatestStream.swift
[169/175] Compiling Futures TryMapStream.swift
[170/175] Compiling Futures UnfoldStream.swift
[171/175] Compiling Futures YieldStream.swift
[172/175] Compiling Futures ZipStream+Arity.swift
[173/175] Compiling Futures ZipStream.swift
[174/175] Compiling Futures Task.swift
[175/175] Emitting module Futures
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:89:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension AnyCancellable {
89 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
90 | }
91 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:166:9: warning: no calls to throwing functions occur within 'try' expression
164 | @inlinable
165 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Failure> {
166 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
167 | }
168 |
/host/spi-builder-workspace/Sources/Futures/Executor.swift:171:9: warning: no calls to throwing functions occur within 'try' expression
169 | @inlinable
170 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Failure> {
171 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
172 | }
173 | }
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:140:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
138 | extension QueueExecutor {
139 | /// An executor backed by the main Dispatch queue.
140 | public static let main = QueueExecutor(targetQueue: .main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:143:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
141 |
142 | /// An executor backed by the default QoS global Dispatch queue.
143 | public static let global = QueueExecutor(targetQueue: .global())
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:146:23: warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
144 |
145 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
146 | public static let userInteractive = QueueExecutor(targetQueue: .global(qos: .userInteractive))
| |- warning: static property 'userInteractive' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInteractive' 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
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:149:23: warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
147 |
148 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
149 | public static let userInitiated = QueueExecutor(targetQueue: .global(qos: .userInitiated))
| |- warning: static property 'userInitiated' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userInitiated' 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
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:152:23: warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
150 |
151 | /// An executor backed by the "utility" QoS global Dispatch queue.
152 | public static let utility = QueueExecutor(targetQueue: .global(qos: .utility))
| |- warning: static property 'utility' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utility' 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
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
/host/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:155:23: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Dropping the last reference to the executor, causes it to be deallocated.
24 | /// Any pending tasks tracked by the executor at the time are destroyed as well.
25 | public final class QueueExecutor: ExecutorProtocol, Cancellable {
| `- note: class 'QueueExecutor' does not conform to the 'Sendable' protocol
26 | fileprivate let _queue: DispatchQueue
27 | private let _runner: _TaskRunner
:
153 |
154 | /// An executor backed by the "background" QoS global Dispatch queue.
155 | public static let background = QueueExecutor(targetQueue: .global(qos: .background))
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'QueueExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'background' 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
156 | }
157 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:16:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 | //
7 |
8 | import CoreFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
9 | import FuturesSync
10 |
:
14 | #else
15 | /// :nodoc:
16 | public let COMMON_MODES = kCFRunLoopCommonModes! // swiftlint:disable:this force_unwrapping
| |- note: annotate 'COMMON_MODES' 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
17 | #endif
18 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:83:24: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | extension RunLoopExecutor {
83 | private static let _current = _ThreadLocal<RunLoopExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<RunLoopExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
84 |
85 | public static var current: RunLoopExecutor {
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:99:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
28 | /// The type of errors this executor may return from `trySubmit(_:)`.
29 | ///
:
97 | }
98 |
99 | public static let main = RunLoopExecutor(
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'RunLoopExecutor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
100 | label: "main",
101 | runLoop: CFRunLoopGetMain(),
/host/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:104:34: warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | extension ThreadExecutor {
104 | @usableFromInline static let _current = _ThreadLocal<ThreadExecutor>()
| |- warning: static property '_current' is not concurrency-safe because non-'Sendable' type '_ThreadLocal<ThreadExecutor>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_current' 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
105 |
106 | @inlinable
/host/spi-builder-workspace/Sources/Futures/Internal/ThreadLocal.swift:15:8: note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
13 |
14 | @usableFromInline
15 | struct _ThreadLocal<T: AnyObject> {
| `- note: consider making generic struct '_ThreadLocal' conform to the 'Sendable' protocol
16 | @usableFromInline let _key: pthread_key_t
17 |
/host/spi-builder-workspace/Sources/Futures/Internal/AtomicWaker.swift:20:20: warning: static property 'waiting' produces an empty option set
18 | var rawValue: AtomicUInt.RawValue
19 |
20 | static let waiting = State(rawValue: 0)
| |- warning: static property 'waiting' produces an empty option set
| `- note: use [] to silence this warning
21 | static let registering = State(rawValue: 1)
22 | static let notifying = State(rawValue: 2)
/host/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:41: warning: will never be executed
33 | _base = .init(base: base) {
34 | // swiftlint:disable:next force_cast
35 | $0._makeResult().mapError { $0 as! Failure }
| | `- warning: will never be executed
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
36 | }
37 | }
/host/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:35: warning: will never be executed
23 | $0.mapError {
24 | // swiftlint:disable:next force_cast
25 | $0.mapError { $0 as! Failure }
| | `- warning: will never be executed
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
26 | }
27 | }
/host/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:35:35: warning: will never be executed
33 | $0.mapError {
34 | // swiftlint:disable:next force_cast
35 | $0.mapError { $0 as! Failure }
| | `- warning: will never be executed
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
36 | }
37 | }
/host/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:45:35: warning: will never be executed
43 | $0.mapError {
44 | // swiftlint:disable:next force_cast
45 | $0.mapError { $0 as! Failure }
| | `- warning: will never be executed
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
46 | }
47 | }
/host/spi-builder-workspace/Sources/Futures/Stream/SetFailureTypeStream.swift:35:41: warning: will never be executed
33 | _base = .init(base: base) {
34 | // swiftlint:disable:next force_cast
35 | $0._makeResult().mapError { $0 as! Failure }
| | `- warning: will never be executed
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
36 | }
37 | }
[177/183] Compiling FuturesTestSupport TestError.swift
[178/183] Compiling FuturesTestSupport TestCase.swift
/host/spi-builder-workspace/Sources/FuturesTestSupport/TestCase.swift:26:9: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:file:line:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 |
11 | extension XCTestCase {
12 | public func expect(
| `- note: add '@MainActor' to make instance method 'expect(function:count:description:timeout:execute:)' part of global actor 'MainActor'
13 | function: StaticString = #function,
14 | count: Int = 1,
:
24 | }
25 | try execute(exp)
26 | waitForExpectations(timeout: timeout, handler: nil)
| `- warning: call to main actor-isolated instance method 'waitForExpectations(timeout:file:line:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 |
XCTest.XCTestCase:2:44: note: calls to instance method 'waitForExpectations(timeout:file:line:handler:)' from outside of its actor context are implicitly asynchronous
1 | extension XCTestCase {
2 | @MainActor @preconcurrency public func waitForExpectations(timeout: TimeInterval, file: StaticString = #file, line: Int = #line, handler: XCWaitCompletionHandler? = nil)
| `- note: calls to instance method 'waitForExpectations(timeout:file:line:handler:)' from outside of its actor context are implicitly asynchronous
3 | @available(*, noasync, message: "Use await fulfillment(of:timeout:enforceOrder:) instead.")
4 | public func wait(for expectations: [XCTestExpectation], timeout: TimeInterval, enforceOrder: Bool = false, file: StaticString = #file, line: Int = #line)
/host/spi-builder-workspace/Sources/FuturesTestSupport/TestCase.swift:26:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 | }
25 | try execute(exp)
26 | waitForExpectations(timeout: timeout, handler: nil)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 |
[179/183] Compiling FuturesTestSupport Future.swift
/host/spi-builder-workspace/Sources/FuturesTestSupport/Future.swift:31:17: warning: capture of 'flag' with non-sendable type 'AtomicBool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | let waker = context.waker
30 | DispatchQueue.global().asyncAfter(deadline: .now() + by) {
31 | flag.store(true, order: .release)
| `- warning: capture of 'flag' with non-sendable type 'AtomicBool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | waker.signal()
33 | }
/host/spi-builder-workspace/Sources/FuturesSync/Atomic/AtomicValue.swift:258:20: note: class 'AtomicBool' does not conform to the 'Sendable' protocol
256 | // MARK: -
257 |
258 | public final class AtomicBool {
| `- note: class 'AtomicBool' does not conform to the 'Sendable' protocol
259 | public typealias Pointer = AtomicBoolPointer
260 | public typealias RawValue = CAtomicBool
/host/spi-builder-workspace/Sources/FuturesTestSupport/Future.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FuturesSync'
9 | import Foundation
10 | import Futures
11 | import FuturesSync
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FuturesSync'
12 |
13 | public func pending() -> AnyFuture<Void> {
/host/spi-builder-workspace/Sources/FuturesTestSupport/Future.swift:32:17: warning: capture of 'waker' with non-sendable type 'any WakerProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | DispatchQueue.global().asyncAfter(deadline: .now() + by) {
31 | flag.store(true, order: .release)
32 | waker.signal()
| `- warning: capture of 'waker' with non-sendable type 'any WakerProtocol' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | if !flag.load(order: .acquire) {
/host/spi-builder-workspace/Sources/Futures/Executor.swift:234:17: note: protocol 'WakerProtocol' does not conform to the 'Sendable' protocol
232 | // MARK: -
233 |
234 | public protocol WakerProtocol: AnyObject {
| `- note: protocol 'WakerProtocol' does not conform to the 'Sendable' protocol
235 | func signal()
236 | }
/host/spi-builder-workspace/Sources/FuturesTestSupport/Future.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Futures'
8 | import Dispatch
9 | import Foundation
10 | import Futures
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Futures'
11 | import FuturesSync
12 |
[180/183] Compiling FuturesTestSupport Stream.swift
[181/183] Compiling FuturesTestSupport Assert.swift
[182/183] Compiling FuturesTestSupport Module.swift
/host/spi-builder-workspace/Sources/FuturesTestSupport/Module.swift:14:13: warning: var 'rng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public let CPU_COUNT = ProcessInfo.processInfo.processorCount
13 |
14 | private var rng = SystemRandomNumberGenerator()
| |- warning: var 'rng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rng' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rng' 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
15 |
16 | public func randomInteger<T: FixedWidthInteger>(ofType type: T.Type = T.self) -> T {
[183/183] Emitting module FuturesTestSupport
/host/spi-builder-workspace/Sources/FuturesTestSupport/Module.swift:14:13: warning: var 'rng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public let CPU_COUNT = ProcessInfo.processInfo.processorCount
13 |
14 | private var rng = SystemRandomNumberGenerator()
| |- warning: var 'rng' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rng' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rng' 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
15 |
16 | public func randomInteger<T: FixedWidthInteger>(ofType type: T.Type = T.self) -> T {
Build complete! (37.69s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Futures",
"name" : "Futures",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Futures",
"targets" : [
"Futures"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FuturesSync",
"targets" : [
"FuturesSync"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FuturesTests",
"module_type" : "SwiftTarget",
"name" : "FuturesTests",
"path" : "Tests/FuturesTests",
"sources" : [
"ChannelTests.swift",
"ExecutorTests.swift",
"FutureTests.swift",
"ReadmeTests.swift",
"StreamTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Futures",
"FuturesTestSupport"
],
"type" : "test"
},
{
"c99name" : "FuturesTestSupport",
"module_type" : "SwiftTarget",
"name" : "FuturesTestSupport",
"path" : "Sources/FuturesTestSupport",
"sources" : [
"Assert.swift",
"Future.swift",
"Module.swift",
"Stream.swift",
"TestCase.swift",
"TestError.swift"
],
"target_dependencies" : [
"Futures",
"FuturesSync"
],
"type" : "library"
},
{
"c99name" : "FuturesSyncTests",
"module_type" : "SwiftTarget",
"name" : "FuturesSyncTests",
"path" : "Tests/FuturesSyncTests",
"sources" : [
"AtomicQueueTests.swift",
"AtomicRefTests.swift",
"AtomicValueTests.swift",
"LockingTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"FuturesSync",
"FuturesTestSupport"
],
"type" : "test"
},
{
"c99name" : "FuturesSync",
"module_type" : "SwiftTarget",
"name" : "FuturesSync",
"path" : "Sources/FuturesSync",
"product_memberships" : [
"Futures",
"FuturesSync"
],
"sources" : [
"Atomic.swift",
"Atomic/AtomicEnum.swift",
"Atomic/AtomicRef.swift",
"Atomic/AtomicValue.swift",
"AtomicQueue.swift",
"AtomicQueue/AtomicMPMCQueue.swift",
"AtomicQueue/AtomicMPSCQueue.swift",
"AtomicQueue/AtomicQueueBuffer.swift",
"AtomicQueue/AtomicSPMCQueue.swift",
"AtomicQueue/AtomicSPSCQueue.swift",
"AtomicQueue/AtomicUnboundedMPSCQueue.swift",
"AtomicQueue/AtomicUnboundedSPSCQueue.swift",
"Backoff.swift",
"Locking.swift",
"Locking/PosixLock.swift",
"Locking/SpinLock.swift",
"Locking/UnfairLock.swift",
"Private.swift"
],
"target_dependencies" : [
"FuturesPrivate"
],
"type" : "library"
},
{
"c99name" : "FuturesPrivate",
"module_type" : "ClangTarget",
"name" : "FuturesPrivate",
"path" : "Sources/FuturesPrivate",
"product_memberships" : [
"Futures",
"FuturesSync"
],
"sources" : [
"Private.c"
],
"type" : "library"
},
{
"c99name" : "Futures",
"module_type" : "SwiftTarget",
"name" : "Futures",
"path" : "Sources/Futures",
"product_memberships" : [
"Futures"
],
"sources" : [
"Cancellable.swift",
"Channel.swift",
"Channel/ChannelImpl.swift",
"Channel/ChannelMPSCBufferBounded.swift",
"Channel/ChannelMPSCBufferUnbounded.swift",
"Channel/ChannelMPSCPark.swift",
"Channel/ChannelSPSCBufferBounded.swift",
"Channel/ChannelSPSCBufferUnbounded.swift",
"Channel/ChannelSPSCPark.swift",
"Channel/ChannelSlotBounded.swift",
"Channel/ChannelSlotUnbounded.swift",
"Either.swift",
"Executor.swift",
"Executor/QueueExecutor.swift",
"Executor/RunLoopExecutor.swift",
"Executor/ThreadExecutor.swift",
"Extensions.swift",
"Future.swift",
"Future/AbortFuture.swift",
"Future/AssertNoErrorFuture.swift",
"Future/BreakpointFuture.swift",
"Future/CatchErrorFuture.swift",
"Future/FlatMapFuture.swift",
"Future/FlattenFuture.swift",
"Future/FlattenResultFuture.swift",
"Future/FutureStream.swift",
"Future/HandleEventsFuture.swift",
"Future/IgnoreOutputFuture.swift",
"Future/JoinAllFuture.swift",
"Future/JoinFuture+Arity.swift",
"Future/JoinFuture.swift",
"Future/LazyFuture.swift",
"Future/MapFuture.swift",
"Future/MapKeyPathFuture+Arity.swift",
"Future/MapKeyPathFuture.swift",
"Future/MapResultFuture.swift",
"Future/MatchEitherFuture.swift",
"Future/MatchOptionalFuture.swift",
"Future/MatchResultFuture.swift",
"Future/NeverFuture.swift",
"Future/PeekFuture.swift",
"Future/PollOnFuture.swift",
"Future/PrintFuture.swift",
"Future/ReadyFuture.swift",
"Future/ReferenceFuture.swift",
"Future/ReplaceErrorFuture.swift",
"Future/ReplaceOutputFuture.swift",
"Future/SelectAnyFuture.swift",
"Future/SelectFuture.swift",
"Future/SetFailureTypeFuture.swift",
"Future/ThenFuture.swift",
"Future/TryLazyFuture.swift",
"Future/TryMapFuture.swift",
"Internal/AdaptiveQueue.swift",
"Internal/AtomicWaker.swift",
"Internal/CircularBuffer.swift",
"Internal/Private.swift",
"Internal/TaskRunner.swift",
"Internal/TaskScheduler.swift",
"Internal/ThreadLocal.swift",
"Poll.swift",
"Promise.swift",
"Result.swift",
"Sink.swift",
"Sink/AssertNoErrorSink.swift",
"Sink/BlockingSink.swift",
"Sink/BufferSink.swift",
"Sink/CollectSink.swift",
"Sink/FlatMapSink.swift",
"Sink/MapErrorSink.swift",
"Sink/MapSink.swift",
"Sink/SetFailureTypeSink.swift",
"Sink/SinkCloseFuture.swift",
"Sink/SinkFlushFuture.swift",
"Sink/SinkSendAllFuture.swift",
"Sink/SinkSendFuture.swift",
"Stream.swift",
"Stream/AbortStream.swift",
"Stream/AssertNoErrorStream.swift",
"Stream/BreakpointStream.swift",
"Stream/BufferStream.swift",
"Stream/CatchErrorStream.swift",
"Stream/CompactMapStream.swift",
"Stream/CompleteOnErrorStream.swift",
"Stream/ConcatenateStream.swift",
"Stream/DropStream.swift",
"Stream/DropUntilOutputStream.swift",
"Stream/DropWhileStream.swift",
"Stream/EmptyStream.swift",
"Stream/EnumerateStream.swift",
"Stream/FilterStream.swift",
"Stream/FlatMapStream.swift",
"Stream/FlattenResultStream.swift",
"Stream/FlattenStream.swift",
"Stream/ForEachStream.swift",
"Stream/GenerateStream.swift",
"Stream/HandleEventsStream.swift",
"Stream/JoinStream+Arity.swift",
"Stream/JoinStream.swift",
"Stream/JustStream.swift",
"Stream/LatestStream.swift",
"Stream/LazyStream.swift",
"Stream/MapKeyPathStream+Arity.swift",
"Stream/MapKeyPathStream.swift",
"Stream/MapResultStream.swift",
"Stream/MapStream.swift",
"Stream/MatchEitherStream.swift",
"Stream/MatchOptionalStream.swift",
"Stream/MatchResultStream.swift",
"Stream/MergeAllStream.swift",
"Stream/MergeStream+Arity.swift",
"Stream/MergeStream.swift",
"Stream/MulticastStream.swift",
"Stream/NeverStream.swift",
"Stream/OptionalStream.swift",
"Stream/OutputStream.swift",
"Stream/PollOnStream.swift",
"Stream/PrefixStream.swift",
"Stream/PrefixUntilOutputStream.swift",
"Stream/PrefixWhileStream.swift",
"Stream/PrintStream.swift",
"Stream/ReferenceStream.swift",
"Stream/RemoveDuplicatesStream.swift",
"Stream/RepeatStream.swift",
"Stream/ReplaceEmptyStream.swift",
"Stream/ReplaceErrorStream.swift",
"Stream/ScanStream.swift",
"Stream/SequenceStream.swift",
"Stream/SetFailureTypeStream.swift",
"Stream/ShareStream.swift",
"Stream/StreamAllSatisfyFuture.swift",
"Stream/StreamContainsFuture.swift",
"Stream/StreamContainsWhereFuture.swift",
"Stream/StreamFirstFuture.swift",
"Stream/StreamFirstWhereFuture.swift",
"Stream/StreamForwardFuture.swift",
"Stream/StreamFuture.swift",
"Stream/StreamLastFuture.swift",
"Stream/StreamLastWhereFuture.swift",
"Stream/StreamReduceFuture.swift",
"Stream/StreamReduceIntoFuture.swift",
"Stream/StreamReplayBuffer.swift",
"Stream/SwitchToLatestStream.swift",
"Stream/TryMapStream.swift",
"Stream/UnfoldStream.swift",
"Stream/YieldStream.swift",
"Stream/ZipStream+Arity.swift",
"Stream/ZipStream.swift",
"Task.swift"
],
"target_dependencies" : [
"FuturesSync"
],
"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.