Build Information
Failed to build Futures with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[121/175] Compiling Futures ChannelMPSCBufferUnbounded.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[122/175] Compiling Futures ChannelMPSCPark.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[123/175] Compiling Futures ChannelSPSCBufferBounded.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[124/175] Compiling Futures ChannelSPSCBufferUnbounded.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[125/175] Compiling Futures ChannelSPSCPark.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[126/175] Compiling Futures ChannelSlotBounded.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[127/175] Compiling Futures ChannelSlotUnbounded.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[128/175] Compiling Futures Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[129/175] Compiling Futures Either.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[130/175] Compiling Futures Executor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[131/175] Compiling Futures QueueExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
[132/175] Compiling Futures Sink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[133/175] Compiling Futures AssertNoErrorSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[134/175] Compiling Futures BlockingSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[135/175] Compiling Futures BufferSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[136/175] Compiling Futures CollectSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[137/175] Compiling Futures FlatMapInputSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[138/175] Compiling Futures MapErrorSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[139/175] Compiling Futures MapInputSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[140/175] Compiling Futures SetFailureTypeSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[141/175] Compiling Futures SinkCloseFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[142/175] Compiling Futures SinkFlushFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[143/175] Compiling Futures SinkSendAllFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[144/175] Compiling Futures SinkSendFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[145/175] Compiling Futures Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:25:13: warning: will never be executed
22 | @inlinable
23 | public mutating func pollSend(_ context: inout Context, _ item: Input) -> PollSink<Failure> {
24 | return _base.pollSend(&context, item).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
25 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:32:13: warning: will never be executed
29 | @inlinable
30 | public mutating func pollFlush(_ context: inout Context) -> PollSink<Failure> {
31 | return _base.pollFlush(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
32 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Sink/SetFailureTypeSink.swift:39:13: warning: will never be executed
36 | @inlinable
37 | public mutating func pollClose(_ context: inout Context) -> PollSink<Failure> {
38 | return _base.pollClose(&context).mapError {
| `- note: '$0' is of type 'Never' which cannot be constructed because it is an enum with no cases
39 | .failure(.failure($0 as! Failure)) // swiftlint:disable:this force_cast
| `- warning: will never be executed
40 | }
41 | }
[146/175] Compiling Futures ReplaceOutputFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[147/175] Compiling Futures SelectAnyFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[148/175] Compiling Futures SelectFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[149/175] Compiling Futures SetFailureTypeFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[150/175] Compiling Futures ThenFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[151/175] Compiling Futures TryLazyFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[152/175] Compiling Futures TryMapFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[153/175] Compiling Futures AdaptiveQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[154/175] Compiling Futures CircularBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[155/175] Compiling Futures Private.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[156/175] Compiling Futures TaskRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[157/175] Compiling Futures TaskScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[158/175] Compiling Futures Poll.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[159/175] Compiling Futures Promise.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
[160/175] Compiling Futures Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/SetFailureTypeFuture.swift:35:27: warning: will never be executed
33 | _base = .init(base: base) {
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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[161/175] Emitting module Futures
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 | public static var empty = AnyCancellable {}
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated 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
110 | }
111 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:140:9: warning: no calls to throwing functions occur within 'try' expression
138 | @inlinable
139 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Void {
140 | try! trySubmit(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:145:9: warning: no calls to throwing functions occur within 'try' expression
143 | @inlinable
144 | public func submit<F: FutureProtocol>(_ future: F) where F.Output == Result<Void, Never> {
145 | try! trySubmit(future.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:150:9: warning: no calls to throwing functions occur within 'try' expression
148 | @inlinable
149 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Void {
150 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:155:9: warning: no calls to throwing functions occur within 'try' expression
153 | @inlinable
154 | public func submit<S: StreamProtocol>(_ stream: S) where S.Output == Result<Void, Never> {
155 | try! trySubmit(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:162:9: warning: no calls to throwing functions occur within 'try' expression
160 | @inlinable
161 | public func spawn<F: FutureProtocol>(_ future: F) -> Task<F.Output> {
162 | try! trySpawn(future).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor.swift:167:9: warning: no calls to throwing functions occur within 'try' expression
165 | @inlinable
166 | public func spawn<S: StreamProtocol>(_ stream: S) -> Task<Void> where S.Output == Void {
167 | try! trySpawn(stream.ignoreOutput()).get() // swiftlint:disable:this force_try
| `- warning: no calls to throwing functions occur within 'try' expression
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:144: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
:
142 | extension QueueExecutor {
143 | /// An executor backed by the main Dispatch queue.
144 | 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
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:147: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
:
145 |
146 | /// An executor backed by the default QoS global Dispatch queue.
147 | 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
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:150: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
:
148 |
149 | /// An executor backed by the "user interactive" QoS global Dispatch queue.
150 | 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
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:153: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
:
151 |
152 | /// An executor backed by the "user initiated" QoS global Dispatch queue.
153 | 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
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:156: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
:
154 |
155 | /// An executor backed by the "utility" QoS global Dispatch queue.
156 | 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
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/QueueExecutor.swift:159: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
:
157 |
158 | /// An executor backed by the "background" QoS global Dispatch queue.
159 | 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
160 | }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:84:13: warning: let '_currentRunLoopExecutor' 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
82 | // MARK: Default executors
83 |
84 | private let _currentRunLoopExecutor = ThreadLocal<RunLoopExecutor> {
| `- warning: let '_currentRunLoopExecutor' 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
85 | // swiftlint:disable:next force_unwrapping
86 | let currentRunLoop = CFRunLoopGetCurrent()!
/Users/admin/builder/spi-builder-workspace/Sources/FuturesSync/Thread.swift:16:15: note: generic struct 'ThreadLocal' does not conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ThreadLocal<T> {
| `- note: generic struct 'ThreadLocal' does not conform to the 'Sendable' protocol
17 | public typealias Constructor = () -> T
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FuturesSync'
7 |
8 | import CoreFoundation
9 | import FuturesSync
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FuturesSync'
10 |
11 | #if canImport(Darwin)
:
82 | // MARK: Default executors
83 |
84 | private let _currentRunLoopExecutor = ThreadLocal<RunLoopExecutor> {
| |- note: annotate '_currentRunLoopExecutor' 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
85 | // swiftlint:disable:next force_unwrapping
86 | let currentRunLoop = CFRunLoopGetCurrent()!
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:102: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
27 | }
28 |
29 | public final class RunLoopExecutor: ExecutorProtocol {
| `- note: class 'RunLoopExecutor' does not conform to the 'Sendable' protocol
30 | /// The type of errors this executor may return from `trySubmit(_:)`.
31 | ///
:
100 | }
101 |
102 | 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
103 | label: "main",
104 | runLoop: CFRunLoopGetMain(),
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:103:23: warning: let '_currentThreadExecutor' 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
101 | // MARK: Default executors
102 |
103 | @usableFromInline let _currentThreadExecutor = ThreadLocal {
| `- warning: let '_currentThreadExecutor' 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
104 | ThreadExecutor()
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/FuturesSync/Thread.swift:16:15: note: generic struct 'ThreadLocal' does not conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ThreadLocal<T> {
| `- note: generic struct 'ThreadLocal' does not conform to the 'Sendable' protocol
17 | public typealias Constructor = () -> T
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Executor/ThreadExecutor.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FuturesSync'
7 |
8 | import class Dispatch.DispatchSemaphore
9 | import FuturesSync
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FuturesSync'
10 |
11 | public func assertOnThreadExecutor(_ executor: ThreadExecutor) {
:
101 | // MARK: Default executors
102 |
103 | @usableFromInline let _currentThreadExecutor = ThreadLocal {
| |- note: annotate '_currentThreadExecutor' 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
104 | ThreadExecutor()
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Future/FlattenFuture.swift:17:20: error: cannot convert value of type 'Base.Output.FutureType' to closure result type 'Base.Output'
15 | public init(base: Base) {
16 | _base = .init(base: base) {
17 | $0.makeFuture()
| `- error: cannot convert value of type 'Base.Output.FutureType' to closure result type 'Base.Output'
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Futures/Stream/FlattenStream.swift:17:20: error: cannot convert value of type 'Base.Output.StreamType' to closure result type 'Base.Output'
15 | public init(base: Base) {
16 | _base = .init(base: base) {
17 | $0.makeStream()
| `- error: cannot convert value of type 'Base.Output.StreamType' to closure result type 'Base.Output'
18 | }
19 | }
[162/175] Compiling Futures StreamFuture.swift
[163/175] Compiling Futures StreamIgnoreOutputFuture.swift
[164/175] Compiling Futures StreamLastFuture.swift
[165/175] Compiling Futures StreamLastWhereFuture.swift
[166/175] Compiling Futures StreamReduceFuture.swift
[167/175] Compiling Futures StreamReduceIntoFuture.swift
[168/175] Compiling Futures StreamReplayBuffer.swift
[169/175] Compiling Futures SwitchToLatestStream.swift
[170/175] Compiling Futures TryMapStream.swift
[171/175] Compiling Futures UnfoldStream.swift
[172/175] Compiling Futures YieldStream.swift
[173/175] Compiling Futures ZipStream.swift
[174/175] Compiling Futures Task.swift
[175/175] Compiling Futures Waker.swift
BUILD FAILURE 6.0 macosSpm