The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Futures, reference master (518a3f), with Swift 6.0 for Linux on 26 Nov 2024 13:26:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

    | `- 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 | }
[131/176] Compiling Futures ChannelSlotBounded.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[132/176] Compiling Futures ChannelSlotUnbounded.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[133/176] Compiling Futures Context.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[134/176] Compiling Futures Either.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[135/176] Compiling Futures Executor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[136/176] Compiling Futures QueueExecutor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[137/176] Compiling Futures RunLoopExecutor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[138/176] Compiling Futures ThreadExecutor.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[139/176] Compiling Futures Extensions.swift
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
[140/176] Compiling Futures StreamContainsWhereFuture.swift
[141/176] Compiling Futures StreamFirstFuture.swift
[142/176] Compiling Futures StreamFirstWhereFuture.swift
[143/176] Compiling Futures StreamForwardFuture.swift
[144/176] Compiling Futures StreamFuture.swift
[145/176] Compiling Futures StreamIgnoreOutputFuture.swift
[146/176] Compiling Futures StreamLastFuture.swift
[147/176] Compiling Futures StreamLastWhereFuture.swift
[148/176] Compiling Futures StreamReduceFuture.swift
[149/176] Compiling Futures StreamReduceIntoFuture.swift
[150/176] Compiling Futures StreamReplayBuffer.swift
[151/176] Compiling Futures SwitchToLatestStream.swift
[152/176] Compiling Futures TryMapStream.swift
[153/176] Compiling Futures UnfoldStream.swift
[154/176] Compiling Futures YieldStream.swift
[155/176] Compiling Futures ZipStream.swift
[156/176] Compiling Futures Task.swift
[157/176] Compiling Futures Waker.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[158/176] Emitting module Futures
/host/spi-builder-workspace/Sources/Futures/Cancellable.swift:109:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension AnyCancellable {
109 |     public static var empty = AnyCancellable {}
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | }
111 |
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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 |
/host/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 | }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:17:12: warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            `- warning: let 'COMMON_MODES' is not concurrency-safe because non-'Sendable' type 'CFRunLoopMode' (aka 'CFString') may have shared mutable state; this is an error in the Swift 6 language mode
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/Futures/Executor/RunLoopExecutor.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  6 | //
  7 |
  8 | import CoreFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
  9 | import FuturesSync
 10 |
    :
 15 | #else
 16 | /// :nodoc:
 17 | public let COMMON_MODES = kCFRunLoopCommonModes!
    |            |- note: annotate 'COMMON_MODES' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 | // swiftlint:disable:previous force_unwrapping
 19 | #endif
/host/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()!
/host/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 |
/host/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()!
/host/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(),
/host/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 | }
/host/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 |
/host/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 | }
/host/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 |         }
/host/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 |         }
[159/176] Compiling Futures FlattenStream.swift
/host/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 |         }
[160/176] Compiling Futures ForEachStream.swift
/host/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 |         }
[161/176] Compiling Futures GenerateStream.swift
/host/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/176] Compiling Futures HandleEventsStream.swift
/host/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 |         }
[163/176] Compiling Futures JoinStream.swift
/host/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 |         }
[164/176] Compiling Futures JustStream.swift
/host/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 |         }
[165/176] Compiling Futures LatestStream.swift
/host/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 |         }
[166/176] Compiling Futures LazyStream.swift
/host/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 |         }
[167/176] Compiling Futures MapKeyPathStream.swift
/host/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 |         }
[168/176] Compiling Futures MapResultStream.swift
/host/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 |         }
[169/176] Compiling Futures MapStream.swift
/host/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 |         }
[170/176] Compiling Futures MatchEitherStream.swift
/host/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 |         }
[171/176] Compiling Futures MatchOptionalStream.swift
/host/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 |         }
[172/176] Compiling Futures MatchResultStream.swift
/host/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 |         }
[173/176] Compiling Futures MergeAllStream.swift
/host/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 |         }
[174/176] Compiling Futures MergeStream.swift
/host/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 |         }
[175/176] Compiling Futures MulticastStream.swift
/host/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 |         }
[176/176] Compiling Futures NeverStream.swift
/host/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 |         }
BUILD FAILURE 6.0 linux