This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of deferred with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 19

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/glessard/deferred.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/glessard/deferred
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 314713f Change dependency to the `CAtomics` package
Submodule path 'Xcode/dependencies/Atomics': checked out '4f1fedbd91b21b3182d3dfdaf36a61983bcd468f'
Submodule path 'Xcode/dependencies/CurrentQoS': checked out '090358814e98e0c649a650fdc9db140f9f022776'
Submodule 'Xcode/dependencies/Atomics' (https://github.com/glessard/swift-atomics.git) registered for path 'Xcode/dependencies/Atomics'
Submodule 'Xcode/dependencies/CurrentQoS' (https://github.com/glessard/CurrentQoS.git) registered for path 'Xcode/dependencies/CurrentQoS'
Cloning into '/Users/admin/builder/spi-builder-workspace/Xcode/dependencies/Atomics'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Xcode/dependencies/CurrentQoS'...
Cloned https://github.com/glessard/deferred.git
Revision (git rev-parse @):
314713f40694849b900c9b56f96fc0ee3469f2ea
SUCCESS checkout https://github.com/glessard/deferred.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/glessard/deferred.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version-6F35C1178C84523A.txt
[3/7] Compiling CAtomics CAtomics.c
[5/7] Compiling CurrentQoS BetterQoS.swift
[6/7] Compiling CurrentQoS CurrentQoS.swift
[7/7] Emitting module CurrentQoS
[8/20] Compiling deferred dispatch-utilities.swift
[9/20] Compiling deferred result-extensions.swift
[10/21] Compiling deferred waiter.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:48:9: warning: capture of 'handler' with non-sendable type '(Result<S, F>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |       // execute handler on the requested queue
 47 |       queue.async {
 48 |         handler(result)
    |         |- warning: capture of 'handler' with non-sendable type '(Result<S, F>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 49 |         current.deinitialize(count: 1)
 50 |         current.deallocate()
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:48:17: warning: capture of 'result' with non-sendable type 'Result<S, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | }
 32 |
 33 | func notifyWaiters<S, F>(_ queue: DispatchQueue,
    |                    `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 34 |                          _ tail: UnsafeMutablePointer<Waiter<S, F>>,
 35 |                          _ result: Result<S, F>)
    :
 46 |       // execute handler on the requested queue
 47 |       queue.async {
 48 |         handler(result)
    |                 `- warning: capture of 'result' with non-sendable type 'Result<S, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 49 |         current.deinitialize(count: 1)
 50 |         current.deallocate()
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:49:9: warning: capture of 'current' with non-sendable type 'UnsafeMutablePointer<Waiter<S, F>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 47 |       queue.async {
 48 |         handler(result)
 49 |         current.deinitialize(count: 1)
    |         `- warning: capture of 'current' with non-sendable type 'UnsafeMutablePointer<Waiter<S, F>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |         current.deallocate()
 51 |       }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:63:16: warning: capture of 'head' with non-sendable type 'UnsafeMutablePointer<Waiter<S, F>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |   // continue running on the queue of the just-resolved deferred
 62 |   queue.async {
 63 |     var head = head
    |                `- warning: capture of 'head' with non-sendable type 'UnsafeMutablePointer<Waiter<S, F>>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |     while let current = head
 65 |     {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:73:19: warning: capture of 'result' with non-sendable type 'Result<S, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | }
 32 |
 33 | func notifyWaiters<S, F>(_ queue: DispatchQueue,
    |                    `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 34 |                          _ tail: UnsafeMutablePointer<Waiter<S, F>>,
 35 |                          _ result: Result<S, F>)
    :
 71 |         // execute handler on the requested queue
 72 |         queue.async {
 73 |           handler(result)
    |                   `- warning: capture of 'result' with non-sendable type 'Result<S, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |           current.deinitialize(count: 1)
 75 |           current.deallocate()
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:63:16: warning: reference to captured var 'head' in concurrently-executing code; this is an error in the Swift 6 language mode
 61 |   // continue running on the queue of the just-resolved deferred
 62 |   queue.async {
 63 |     var head = head
    |                `- warning: reference to captured var 'head' in concurrently-executing code; this is an error in the Swift 6 language mode
 64 |     while let current = head
 65 |     {
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:73:11: warning: capture of 'handler' with non-sendable type '(Result<S, F>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |         // execute handler on the requested queue
 72 |         queue.async {
 73 |           handler(result)
    |           |- warning: capture of 'handler' with non-sendable type '(Result<S, F>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |           current.deinitialize(count: 1)
 75 |           current.deallocate()
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:73:19: warning: capture of 'result' with non-sendable type 'Result<S, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | }
 32 |
 33 | func notifyWaiters<S, F>(_ queue: DispatchQueue,
    |                    `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 34 |                          _ tail: UnsafeMutablePointer<Waiter<S, F>>,
 35 |                          _ result: Result<S, F>)
    :
 71 |         // execute handler on the requested queue
 72 |         queue.async {
 73 |           handler(result)
    |                   `- warning: capture of 'result' with non-sendable type 'Result<S, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |           current.deinitialize(count: 1)
 75 |           current.deallocate()
/Users/admin/builder/spi-builder-workspace/Source/deferred/waiter.swift:74:11: warning: capture of 'current' with non-sendable type 'UnsafeMutablePointer<Waiter<S, F>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 72 |         queue.async {
 73 |           handler(result)
 74 |           current.deinitialize(count: 1)
    |           `- warning: capture of 'current' with non-sendable type 'UnsafeMutablePointer<Waiter<S, F>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 75 |           current.deallocate()
 76 |         }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[11/21] Compiling deferred deferred.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:108:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
106 |   /// - parameter task: a computation to be performed
107 |
108 |   public convenience init(qos: DispatchQoS = .current, task: @escaping (Resolver<Success, Failure>) -> Void)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
109 |   {
110 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:132:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
130 |   /// - parameter result: the `Result` of this `Deferred`
131 |
132 |   public convenience init(qos: DispatchQoS = .current, result: Result<Success, Failure>)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
133 |   {
134 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:143:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
141 |   /// - parameter value: the value of this `Deferred`
142 |
143 |   public convenience init(qos: DispatchQoS = .current, value: Success)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
144 |   {
145 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:164:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
162 |   /// - parameter error: the error state of this `Deferred`
163 |
164 |   public convenience init(qos: DispatchQoS = .current, error: Failure)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
165 |   {
166 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:402:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
400 |   /// - parameter task: a computation to be performed
401 |
402 |   public convenience init(qos: DispatchQoS = .current, task: @escaping () throws -> Success)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
403 |   {
404 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:426:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
424 |   /// - parameter task: a computation to be performed
425 |
426 |   public convenience init(qos: DispatchQoS = .current, task: @escaping () -> Success)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
427 |   {
428 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:720:53: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
718 |   /// - parameter qos: the QoS at which the notifications should be performed; defaults to the current QoS class.
719 |
720 |   public static func CreatePair(qos: DispatchQoS = .current) -> (resolver: Resolver<Success, Failure>, deferred: Deferred<Success, Failure>)
    |                                                     |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                     `- note: The missing import of module 'CurrentQoS' will be added implicitly
721 |   {
722 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:352:55: warning: capture of 'handler' with non-sendable type '(Result<Success, Failure>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
350 |     let q = queue ?? self.queue
351 |     let resolved = current.resolution(for: Deferred.self)!
352 |     q.async(execute: { [result = resolved.pointee] in handler(result) })
    |                                                       |- warning: capture of 'handler' with non-sendable type '(Result<Success, Failure>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
353 |   }
354 |
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:352:63: warning: capture of 'result' with non-sendable type 'Result<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |                     `- note: consider making generic parameter 'Success' conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
    :
350 |     let q = queue ?? self.queue
351 |     let resolved = current.resolution(for: Deferred.self)!
352 |     q.async(execute: { [result = resolved.pointee] in handler(result) })
    |                                                               `- warning: capture of 'result' with non-sendable type 'Result<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
353 |   }
354 |
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:378:28: warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |            `- note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
    :
376 |     queue.async {
377 |       [self] in
378 |       withExtendedLifetime(self) { taskp.pointee.task(Resolver($0)) }
    |                            `- warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 |       taskp.deinitialize(count: 1)
380 |       taskp.deallocate()
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:378:36: warning: capture of 'taskp' with non-sendable type 'UnsafeMutablePointer<DeferredTask<Success, Failure>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
376 |     queue.async {
377 |       [self] in
378 |       withExtendedLifetime(self) { taskp.pointee.task(Resolver($0)) }
    |                                    `- warning: capture of 'taskp' with non-sendable type 'UnsafeMutablePointer<DeferredTask<Success, Failure>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 |       taskp.deinitialize(count: 1)
380 |       taskp.deallocate()
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:378:36: warning: capture of 'taskp' with non-sendable type 'UnsafeMutablePointer<DeferredTask<Success, Failure>>' in an isolated closure; this is an error in the Swift 6 language mode
376 |     queue.async {
377 |       [self] in
378 |       withExtendedLifetime(self) { taskp.pointee.task(Resolver($0)) }
    |                                    `- warning: capture of 'taskp' with non-sendable type 'UnsafeMutablePointer<DeferredTask<Success, Failure>>' in an isolated closure; this is an error in the Swift 6 language mode
379 |       taskp.deinitialize(count: 1)
380 |       taskp.deallocate()
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:628:28: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
618 |   /// - parameter result: the `Result` to which our `Deferred` was resolved
619 |
620 |   public func notify(handler: @escaping () -> Void)
    |                      `- note: parameter 'handler' is implicitly non-sendable
621 |   {
622 |     if let deferred = deferred
    :
626 |     else
627 |     {
628 |       queue.async(execute: handler)
    |                            `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
629 |     }
630 |   }
[12/21] Compiling deferred deferred-timeout.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-timeout.swift:73:63: warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |       {
 72 |         let queue = DispatchQueue.global(qos: qos.qosClass)
 73 |         queue.asyncAfter(deadline: deadline) { [weak self] in self?.cancel(timedOut) }
    |                                                               `- warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |       }
 75 |       return broadened
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:28:12: note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |            `- note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-timeout.swift:85:66: warning: capture of 'broadened' with non-sendable type 'Deferred<Success, any Error>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 83 |     {
 84 |       let queue = DispatchQueue.global(qos: qos.qosClass)
 85 |       queue.asyncAfter(deadline: deadline) { [weak broadened] in broadened?.cancel(timedOut) }
    |                                                                  `- warning: capture of 'broadened' with non-sendable type 'Deferred<Success, any Error>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 86 |     }
 87 |     return broadened
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:28:12: note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |            `- note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-timeout.swift:142:61: warning: capture of 'self' with non-sendable type 'Deferred<Success, Cancellation>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 |     {
141 |       let queue = DispatchQueue.global(qos: qos.qosClass)
142 |       queue.asyncAfter(deadline: deadline) { [weak self] in self?.cancel(timedOut) }
    |                                                             `- warning: capture of 'self' with non-sendable type 'Deferred<Success, Cancellation>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |     }
144 |     return self
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:28:12: note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |            `- note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
[13/21] Compiling deferred deferred-split.swift
[14/21] Compiling deferred deferred-first.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:46:93: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 44 | /// - returns: a new `Deferred`
 45 |
 46 | public func firstValue<Success, Failure, C: Collection>(_ deferreds: C, qos: DispatchQoS = .current,
    |                                                                                             |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                             `- note: The missing import of module 'CurrentQoS' will be added implicitly
 47 |                                                         cancelOthers: Bool = false) -> Deferred<Success, Failure>?
 48 |   where C.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:143:91: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
141 | /// - returns: a new `Deferred`
142 |
143 | public func firstValue<Success, Failure, S: Sequence>(_ deferreds: S, qos: DispatchQoS = .current,
    |                                                                                           |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                           `- note: The missing import of module 'CurrentQoS' will be added implicitly
144 |                                                       cancelOthers: Bool = false) -> Deferred<Success, Failure>?
145 |   where S.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:221:84: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
219 | /// - returns: a new `Deferred`
220 |
221 | public func firstResolved<Success, Failure, C>(_ deferreds: C, qos: DispatchQoS = .current,
    |                                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
222 |                                                cancelOthers: Bool = false) -> Deferred<Success, Failure>?
223 |   where C: Collection, C.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:273:94: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
271 | /// - returns: a new `Deferred`
272 |
273 | public func firstResolved<Success, Failure, S: Sequence>(_ deferreds: S, qos: DispatchQoS = .current,
    |                                                                                              |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                              `- note: The missing import of module 'CurrentQoS' will be added implicitly
274 |                                                          cancelOthers: Bool = false) -> Deferred<Success, Failure>?
275 |   where S.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:185:23: warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private struct NonEmptySequence<Element, S: Sequence>: Sequence, IteratorProtocol
    |                `- note: consider making generic struct 'NonEmptySequence' conform to the 'Sendable' protocol
101 |   where S.Element == Element
102 | {
    :
183 |       var values: [Deferred<Success, Failure>] = []
184 |       var errors: [Deferred<Failure, Never>] = []
185 |       for deferred in deferreds
    |                       `- warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |       {
187 |         let error = Deferred<Failure, Never>(queue: deferred.queue) {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:189:29: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |         let error = Deferred<Failure, Never>(queue: deferred.queue) {
188 |           error in
189 |           resolveFirstValue(first, error, deferred)
    |                             `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |         }
191 |         values.append(deferred)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:189:29: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
187 |         let error = Deferred<Failure, Never>(queue: deferred.queue) {
188 |           error in
189 |           resolveFirstValue(first, error, deferred)
    |                             `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
190 |         }
191 |         values.append(deferred)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:197:26: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
195 |       assert(errors.isEmpty == false)
196 |       let combined = combine(queue: queue, deferreds: errors)
197 |       combined.onValue { first.resolve(error: $0.last!) }
    |                          `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
198 |
199 |       // clean up (closure also retains sources)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:307:51: warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private struct NonEmptySequence<Element, S: Sequence>: Sequence, IteratorProtocol
    |                `- note: consider making generic struct 'NonEmptySequence' conform to the 'Sendable' protocol
101 |   where S.Element == Element
102 | {
    :
305 |     // because nothing prevents S from blocking on `S.Iterator.next()`
306 |     DispatchQueue.global(qos: queue.qos.qosClass).async {
307 |       let sources: [Deferred<Success, Failure>] = deferreds.map {
    |                                                   `- warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
308 |         deferred in
309 |         deferred.notify(handler: first.resolve)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:309:34: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
307 |       let sources: [Deferred<Success, Failure>] = deferreds.map {
308 |         deferred in
309 |         deferred.notify(handler: first.resolve)
    |                                  `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
310 |         return deferred
311 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:309:34: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
307 |       let sources: [Deferred<Success, Failure>] = deferreds.map {
308 |         deferred in
309 |         deferred.notify(handler: first.resolve)
    |                                  `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
310 |         return deferred
311 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:108:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
106 |   /// - parameter task: a computation to be performed
107 |
108 |   public convenience init(qos: DispatchQoS = .current, task: @escaping (Resolver<Success, Failure>) -> Void)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
109 |   {
110 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:21:65: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 19 |   /// - parameter index: an index for the computation
 20 |
 21 |   public static func inParallel(count: Int, qos: DispatchQoS = .current,
    |                                                                 |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                 `- note: The missing import of module 'CurrentQoS' will be added implicitly
 22 |                                 task: @escaping (_ index: Int) throws -> Success) -> [Deferred<Success, Failure>]
 23 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:52:65: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 50 |   /// - parameter index: an index for the computation
 51 |
 52 |   public static func inParallel(count: Int, qos: DispatchQoS = .current,
    |                                                                 |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                 `- note: The missing import of module 'CurrentQoS' will be added implicitly
 53 |                                 task: @escaping (_ index: Int) -> Success) -> [Deferred<Success, Failure>]
 54 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:82:56: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 80 |   /// - parameter element: an element to transform into a new `Deferred`
 81 |
 82 |   public func deferredMap<Success>(qos: DispatchQoS = .current,
    |                                                        |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                        `- note: The missing import of module 'CurrentQoS' will be added implicitly
 83 |                                    task: @escaping (_ element: Self.Element) throws -> Success) -> [Deferred<Success, Error>]
 84 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:96:56: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 94 |   /// - parameter element: an element to transform into a new `Deferred`
 95 |
 96 |   public func deferredMap<Success>(qos: DispatchQoS = .current,
    |                                                        |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                        `- note: The missing import of module 'CurrentQoS' will be added implicitly
 97 |                                    task: @escaping (_ element: Self.Element) -> Success) -> [Deferred<Success, Never>]
 98 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:124:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |       DispatchQueue.concurrentPerform(iterations: count) {
123 |         iteration in
124 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:126:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 |         let d = resolvers[iteration]
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         do {
128 |           let value = try task(self[index])
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:128:27: warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
127 |         do {
128 |           let value = try task(self[index])
    |                           |- warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 |           d.resolve(value: value)
130 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:124:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |       DispatchQueue.concurrentPerform(iterations: count) {
123 |         iteration in
124 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:126:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 |         let d = resolvers[iteration]
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         do {
128 |           let value = try task(self[index])
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:128:27: warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
127 |         do {
128 |           let value = try task(self[index])
    |                           |- warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 |           d.resolve(value: value)
130 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:160:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 |       DispatchQueue.concurrentPerform(iterations: count) {
159 |         iteration in
160 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:162:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 |         let d = resolvers[iteration]
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |         d.resolve(value: task(self[index]))
164 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:163:26: warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
163 |         d.resolve(value: task(self[index]))
    |                          |- warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |       }
165 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:160:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 |       DispatchQueue.concurrentPerform(iterations: count) {
159 |         iteration in
160 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:162:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 |         let d = resolvers[iteration]
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |         d.resolve(value: task(self[index]))
164 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:163:26: warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
163 |         d.resolve(value: task(self[index]))
    |                          |- warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |       }
165 |     }
[15/21] Compiling deferred deferred-parallelize.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:46:93: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 44 | /// - returns: a new `Deferred`
 45 |
 46 | public func firstValue<Success, Failure, C: Collection>(_ deferreds: C, qos: DispatchQoS = .current,
    |                                                                                             |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                             `- note: The missing import of module 'CurrentQoS' will be added implicitly
 47 |                                                         cancelOthers: Bool = false) -> Deferred<Success, Failure>?
 48 |   where C.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:143:91: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
141 | /// - returns: a new `Deferred`
142 |
143 | public func firstValue<Success, Failure, S: Sequence>(_ deferreds: S, qos: DispatchQoS = .current,
    |                                                                                           |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                           `- note: The missing import of module 'CurrentQoS' will be added implicitly
144 |                                                       cancelOthers: Bool = false) -> Deferred<Success, Failure>?
145 |   where S.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:221:84: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
219 | /// - returns: a new `Deferred`
220 |
221 | public func firstResolved<Success, Failure, C>(_ deferreds: C, qos: DispatchQoS = .current,
    |                                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
222 |                                                cancelOthers: Bool = false) -> Deferred<Success, Failure>?
223 |   where C: Collection, C.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:273:94: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
271 | /// - returns: a new `Deferred`
272 |
273 | public func firstResolved<Success, Failure, S: Sequence>(_ deferreds: S, qos: DispatchQoS = .current,
    |                                                                                              |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                              `- note: The missing import of module 'CurrentQoS' will be added implicitly
274 |                                                          cancelOthers: Bool = false) -> Deferred<Success, Failure>?
275 |   where S.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:185:23: warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private struct NonEmptySequence<Element, S: Sequence>: Sequence, IteratorProtocol
    |                `- note: consider making generic struct 'NonEmptySequence' conform to the 'Sendable' protocol
101 |   where S.Element == Element
102 | {
    :
183 |       var values: [Deferred<Success, Failure>] = []
184 |       var errors: [Deferred<Failure, Never>] = []
185 |       for deferred in deferreds
    |                       `- warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |       {
187 |         let error = Deferred<Failure, Never>(queue: deferred.queue) {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:189:29: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |         let error = Deferred<Failure, Never>(queue: deferred.queue) {
188 |           error in
189 |           resolveFirstValue(first, error, deferred)
    |                             `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |         }
191 |         values.append(deferred)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:189:29: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
187 |         let error = Deferred<Failure, Never>(queue: deferred.queue) {
188 |           error in
189 |           resolveFirstValue(first, error, deferred)
    |                             `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
190 |         }
191 |         values.append(deferred)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:197:26: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
195 |       assert(errors.isEmpty == false)
196 |       let combined = combine(queue: queue, deferreds: errors)
197 |       combined.onValue { first.resolve(error: $0.last!) }
    |                          `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
198 |
199 |       // clean up (closure also retains sources)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:307:51: warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | private struct NonEmptySequence<Element, S: Sequence>: Sequence, IteratorProtocol
    |                `- note: consider making generic struct 'NonEmptySequence' conform to the 'Sendable' protocol
101 |   where S.Element == Element
102 | {
    :
305 |     // because nothing prevents S from blocking on `S.Iterator.next()`
306 |     DispatchQueue.global(qos: queue.qos.qosClass).async {
307 |       let sources: [Deferred<Success, Failure>] = deferreds.map {
    |                                                   `- warning: capture of 'deferreds' with non-sendable type 'NonEmptySequence<S.Element, S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
308 |         deferred in
309 |         deferred.notify(handler: first.resolve)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:309:34: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
307 |       let sources: [Deferred<Success, Failure>] = deferreds.map {
308 |         deferred in
309 |         deferred.notify(handler: first.resolve)
    |                                  `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
310 |         return deferred
311 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:309:34: warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
307 |       let sources: [Deferred<Success, Failure>] = deferreds.map {
308 |         deferred in
309 |         deferred.notify(handler: first.resolve)
    |                                  `- warning: capture of 'first' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
310 |         return deferred
311 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:108:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
106 |   /// - parameter task: a computation to be performed
107 |
108 |   public convenience init(qos: DispatchQoS = .current, task: @escaping (Resolver<Success, Failure>) -> Void)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
109 |   {
110 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:21:65: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 19 |   /// - parameter index: an index for the computation
 20 |
 21 |   public static func inParallel(count: Int, qos: DispatchQoS = .current,
    |                                                                 |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                 `- note: The missing import of module 'CurrentQoS' will be added implicitly
 22 |                                 task: @escaping (_ index: Int) throws -> Success) -> [Deferred<Success, Failure>]
 23 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:52:65: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 50 |   /// - parameter index: an index for the computation
 51 |
 52 |   public static func inParallel(count: Int, qos: DispatchQoS = .current,
    |                                                                 |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                 `- note: The missing import of module 'CurrentQoS' will be added implicitly
 53 |                                 task: @escaping (_ index: Int) -> Success) -> [Deferred<Success, Failure>]
 54 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:82:56: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 80 |   /// - parameter element: an element to transform into a new `Deferred`
 81 |
 82 |   public func deferredMap<Success>(qos: DispatchQoS = .current,
    |                                                        |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                        `- note: The missing import of module 'CurrentQoS' will be added implicitly
 83 |                                    task: @escaping (_ element: Self.Element) throws -> Success) -> [Deferred<Success, Error>]
 84 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:96:56: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 94 |   /// - parameter element: an element to transform into a new `Deferred`
 95 |
 96 |   public func deferredMap<Success>(qos: DispatchQoS = .current,
    |                                                        |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                        `- note: The missing import of module 'CurrentQoS' will be added implicitly
 97 |                                    task: @escaping (_ element: Self.Element) -> Success) -> [Deferred<Success, Never>]
 98 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:124:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |       DispatchQueue.concurrentPerform(iterations: count) {
123 |         iteration in
124 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:126:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 |         let d = resolvers[iteration]
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         do {
128 |           let value = try task(self[index])
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:128:27: warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
127 |         do {
128 |           let value = try task(self[index])
    |                           |- warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 |           d.resolve(value: value)
130 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:124:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |       DispatchQueue.concurrentPerform(iterations: count) {
123 |         iteration in
124 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, any Error>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:126:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 |         let d = resolvers[iteration]
125 |         d.beginExecution()
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         do {
128 |           let value = try task(self[index])
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:128:27: warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 |         let index = self.index(self.startIndex, offsetBy: iteration)
127 |         do {
128 |           let value = try task(self[index])
    |                           |- warning: capture of 'task' with non-sendable type '(Self.Element) throws -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
129 |           d.resolve(value: value)
130 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:160:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 |       DispatchQueue.concurrentPerform(iterations: count) {
159 |         iteration in
160 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:162:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 |         let d = resolvers[iteration]
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |         d.resolve(value: task(self[index]))
164 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:163:26: warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
163 |         d.resolve(value: task(self[index]))
    |                          |- warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |       }
165 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:160:17: warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 |       DispatchQueue.concurrentPerform(iterations: count) {
159 |         iteration in
160 |         let d = resolvers[iteration]
    |                 `- warning: capture of 'resolvers' with non-sendable type '[Resolver<Success, Never>]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:162:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 |         let d = resolvers[iteration]
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |         d.resolve(value: task(self[index]))
164 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:163:26: warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |         d.beginExecution()
162 |         let index = self.index(self.startIndex, offsetBy: iteration)
163 |         d.resolve(value: task(self[index]))
    |                          |- warning: capture of 'task' with non-sendable type '(Self.Element) -> Success' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |       }
165 |     }
[16/21] Compiling deferred deferred-error.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:580:68: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
578 |   /// - parameter task: the computation to be performed
579 |
580 |   public static func Retrying(_ attempts: Int, qos: DispatchQoS = .current,
    |                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
581 |                               task: @escaping () -> Deferred) -> Deferred
582 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:670:68: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
668 |   /// - parameter task: the computation to be performed
669 |
670 |   public static func Retrying(_ attempts: Int, qos: DispatchQoS = .current,
    |                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
671 |                                task: @escaping () throws -> Success) -> Deferred
672 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:871:44: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
869 |   /// - parameter qos: the QoS at which to perform notifications for the new `Deferred`; defaults to the current QoS class.
870 |
871 |   public func deferred(qos: DispatchQoS = .current) -> Deferred<Wrapped, Invalidation>
    |                                            |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                            `- note: The missing import of module 'CurrentQoS' will be added implicitly
872 |   {
873 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:164:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
162 |   /// - parameter error: the error state of this `Deferred`
163 |
164 |   public convenience init(qos: DispatchQoS = .current, error: Failure)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
165 |   {
166 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
[17/21] Compiling deferred deferred-extras.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:580:68: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
578 |   /// - parameter task: the computation to be performed
579 |
580 |   public static func Retrying(_ attempts: Int, qos: DispatchQoS = .current,
    |                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
581 |                               task: @escaping () -> Deferred) -> Deferred
582 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:670:68: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
668 |   /// - parameter task: the computation to be performed
669 |
670 |   public static func Retrying(_ attempts: Int, qos: DispatchQoS = .current,
    |                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
671 |                                task: @escaping () throws -> Success) -> Deferred
672 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:871:44: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
869 |   /// - parameter qos: the QoS at which to perform notifications for the new `Deferred`; defaults to the current QoS class.
870 |
871 |   public func deferred(qos: DispatchQoS = .current) -> Deferred<Wrapped, Invalidation>
    |                                            |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                            `- note: The missing import of module 'CurrentQoS' will be added implicitly
872 |   {
873 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:164:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
162 |   /// - parameter error: the error state of this `Deferred`
163 |
164 |   public convenience init(qos: DispatchQoS = .current, error: Failure)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
165 |   {
166 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
[18/21] Compiling deferred deferred-combine.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:25:62: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 23 | /// - returns: a new `Deferred`
 24 |
 25 | public func combine<Success, Failure, S>(qos: DispatchQoS = .current,
    |                                                              |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                              `- note: The missing import of module 'CurrentQoS' will be added implicitly
 26 |                                          deferreds: S) -> Deferred<[Success], Failure>
 27 |   where Failure: Error, S: Sequence, S.Element == Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:165:15: warning: capture of 'deferreds' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | /// - parameter element: a new element to be accumulated
154 |
155 | public func reduce<S, T, F, U>(queue: DispatchQueue,
    |                    `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
156 |                                deferreds: S, initial: U,
157 |                                combine: @escaping (_ accumulated: U, _ element: T) -> U) -> Deferred<U, F>
    :
163 |     // because nothing prevents S from blocking on `Sequence.next()`
164 |     DispatchQueue.global(qos: queue.qos.qosClass).async {
165 |       let r = deferreds.reduce(Deferred<U, F>(queue: queue, value: initial)) {
    |               `- warning: capture of 'deferreds' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 |         (accumulator, deferred) in
167 |         deferred.beginExecution()
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:165:68: warning: capture of 'initial' with non-sendable type 'U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | /// - parameter element: a new element to be accumulated
154 |
155 | public func reduce<S, T, F, U>(queue: DispatchQueue,
    |                             `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
156 |                                deferreds: S, initial: U,
157 |                                combine: @escaping (_ accumulated: U, _ element: T) -> U) -> Deferred<U, F>
    :
163 |     // because nothing prevents S from blocking on `Sequence.next()`
164 |     DispatchQueue.global(qos: queue.qos.qosClass).async {
165 |       let r = deferreds.reduce(Deferred<U, F>(queue: queue, value: initial)) {
    |                                                                    `- warning: capture of 'initial' with non-sendable type 'U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 |         (accumulator, deferred) in
167 |         deferred.beginExecution()
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:172:25: warning: capture of 'resolver' with non-sendable type 'Resolver<U, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 |         }
171 |       }
172 |       r.notify(handler: resolver.resolve)
    |                         `- warning: capture of 'resolver' with non-sendable type 'Resolver<U, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 |       resolver.retainSource(r)
174 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:74:13: warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 72 |         {
 73 |           (queue ?? self.queue).asyncAfter(deadline: time) {
 74 |             resolver.resolve(result)
    |             `- warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 75 |           }
 76 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:74:30: warning: capture of 'result' with non-sendable type 'Result<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 72 |         {
 73 |           (queue ?? self.queue).asyncAfter(deadline: time) {
 74 |             resolver.resolve(result)
    |                              `- warning: capture of 'result' with non-sendable type 'Result<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 75 |           }
 76 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:28:21: note: consider making generic parameter 'Success' conform to the 'Sendable' protocol
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |                     `- note: consider making generic parameter 'Success' conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:130:9: warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |       resolver in
129 |       self.queue.asyncAfter(deadline: time) {
130 |         self.notify { resolver.resolve($0) }
    |         `- warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |       }
132 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:28:12: note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |            `- note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:130:23: warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |       resolver in
129 |       self.queue.asyncAfter(deadline: time) {
130 |         self.notify { resolver.resolve($0) }
    |                       `- warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |       }
132 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:130:23: warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
128 |       resolver in
129 |       self.queue.asyncAfter(deadline: time) {
130 |         self.notify { resolver.resolve($0) }
    |                       `- warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
131 |       }
132 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
[19/21] Compiling deferred deferred-delay.swift
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:25:62: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 23 | /// - returns: a new `Deferred`
 24 |
 25 | public func combine<Success, Failure, S>(qos: DispatchQoS = .current,
    |                                                              |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                              `- note: The missing import of module 'CurrentQoS' will be added implicitly
 26 |                                          deferreds: S) -> Deferred<[Success], Failure>
 27 |   where Failure: Error, S: Sequence, S.Element == Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:165:15: warning: capture of 'deferreds' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | /// - parameter element: a new element to be accumulated
154 |
155 | public func reduce<S, T, F, U>(queue: DispatchQueue,
    |                    `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
156 |                                deferreds: S, initial: U,
157 |                                combine: @escaping (_ accumulated: U, _ element: T) -> U) -> Deferred<U, F>
    :
163 |     // because nothing prevents S from blocking on `Sequence.next()`
164 |     DispatchQueue.global(qos: queue.qos.qosClass).async {
165 |       let r = deferreds.reduce(Deferred<U, F>(queue: queue, value: initial)) {
    |               `- warning: capture of 'deferreds' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 |         (accumulator, deferred) in
167 |         deferred.beginExecution()
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:165:68: warning: capture of 'initial' with non-sendable type 'U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | /// - parameter element: a new element to be accumulated
154 |
155 | public func reduce<S, T, F, U>(queue: DispatchQueue,
    |                             `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
156 |                                deferreds: S, initial: U,
157 |                                combine: @escaping (_ accumulated: U, _ element: T) -> U) -> Deferred<U, F>
    :
163 |     // because nothing prevents S from blocking on `Sequence.next()`
164 |     DispatchQueue.global(qos: queue.qos.qosClass).async {
165 |       let r = deferreds.reduce(Deferred<U, F>(queue: queue, value: initial)) {
    |                                                                    `- warning: capture of 'initial' with non-sendable type 'U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 |         (accumulator, deferred) in
167 |         deferred.beginExecution()
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:172:25: warning: capture of 'resolver' with non-sendable type 'Resolver<U, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 |         }
171 |       }
172 |       r.notify(handler: resolver.resolve)
    |                         `- warning: capture of 'resolver' with non-sendable type 'Resolver<U, F>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 |       resolver.retainSource(r)
174 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:169:50: warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
167 |         deferred.beginExecution()
168 |         return accumulator.flatMap {
169 |           u in deferred.map(queue: queue) { t in combine(u,t) }
    |                                                  |- warning: capture of 'combine' with non-sendable type '(U, T) -> U' in an isolated closure; this is an error in the Swift 6 language mode
    |                                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 |         }
171 |       }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:74:13: warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 72 |         {
 73 |           (queue ?? self.queue).asyncAfter(deadline: time) {
 74 |             resolver.resolve(result)
    |             `- warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 75 |           }
 76 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:74:30: warning: capture of 'result' with non-sendable type 'Result<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 72 |         {
 73 |           (queue ?? self.queue).asyncAfter(deadline: time) {
 74 |             resolver.resolve(result)
    |                              `- warning: capture of 'result' with non-sendable type 'Result<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 75 |           }
 76 |         }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:28:21: note: consider making generic parameter 'Success' conform to the 'Sendable' protocol
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |                     `- note: consider making generic parameter 'Success' conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:130:9: warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |       resolver in
129 |       self.queue.asyncAfter(deadline: time) {
130 |         self.notify { resolver.resolve($0) }
    |         `- warning: capture of 'self' with non-sendable type 'Deferred<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |       }
132 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:28:12: note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 26 | /// The functions `map`, `flatMap`, `notify` and others are wrappers that add functionality to the `enqueue` function.
 27 |
 28 | open class Deferred<Success, Failure: Error>
    |            `- note: generic class 'Deferred' does not conform to the 'Sendable' protocol
 29 | {
 30 |   let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:130:23: warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |       resolver in
129 |       self.queue.asyncAfter(deadline: time) {
130 |         self.notify { resolver.resolve($0) }
    |                       `- warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |       }
132 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-delay.swift:130:23: warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
128 |       resolver in
129 |       self.queue.asyncAfter(deadline: time) {
130 |         self.notify { resolver.resolve($0) }
    |                       `- warning: capture of 'resolver' with non-sendable type 'Resolver<Success, Failure>' in an isolated closure; this is an error in the Swift 6 language mode
131 |       }
132 |     }
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:542:15: note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
540 | }
541 |
542 | public struct Resolver<Success, Failure: Error>
    |               `- note: consider making generic struct 'Resolver' conform to the 'Sendable' protocol
543 | {
544 |   private weak var deferred: Deferred<Success, Failure>?
[20/21] Emitting module deferred
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-combine.swift:25:62: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 23 | /// - returns: a new `Deferred`
 24 |
 25 | public func combine<Success, Failure, S>(qos: DispatchQoS = .current,
    |                                                              |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                              `- note: The missing import of module 'CurrentQoS' will be added implicitly
 26 |                                          deferreds: S) -> Deferred<[Success], Failure>
 27 |   where Failure: Error, S: Sequence, S.Element == Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:580:68: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
578 |   /// - parameter task: the computation to be performed
579 |
580 |   public static func Retrying(_ attempts: Int, qos: DispatchQoS = .current,
    |                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
581 |                               task: @escaping () -> Deferred) -> Deferred
582 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:670:68: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
668 |   /// - parameter task: the computation to be performed
669 |
670 |   public static func Retrying(_ attempts: Int, qos: DispatchQoS = .current,
    |                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
671 |                                task: @escaping () throws -> Success) -> Deferred
672 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-extras.swift:871:44: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
869 |   /// - parameter qos: the QoS at which to perform notifications for the new `Deferred`; defaults to the current QoS class.
870 |
871 |   public func deferred(qos: DispatchQoS = .current) -> Deferred<Wrapped, Invalidation>
    |                                            |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                            `- note: The missing import of module 'CurrentQoS' will be added implicitly
872 |   {
873 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:46:93: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 44 | /// - returns: a new `Deferred`
 45 |
 46 | public func firstValue<Success, Failure, C: Collection>(_ deferreds: C, qos: DispatchQoS = .current,
    |                                                                                             |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                             `- note: The missing import of module 'CurrentQoS' will be added implicitly
 47 |                                                         cancelOthers: Bool = false) -> Deferred<Success, Failure>?
 48 |   where C.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:143:91: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
141 | /// - returns: a new `Deferred`
142 |
143 | public func firstValue<Success, Failure, S: Sequence>(_ deferreds: S, qos: DispatchQoS = .current,
    |                                                                                           |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                           `- note: The missing import of module 'CurrentQoS' will be added implicitly
144 |                                                       cancelOthers: Bool = false) -> Deferred<Success, Failure>?
145 |   where S.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:221:84: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
219 | /// - returns: a new `Deferred`
220 |
221 | public func firstResolved<Success, Failure, C>(_ deferreds: C, qos: DispatchQoS = .current,
    |                                                                                    |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                    `- note: The missing import of module 'CurrentQoS' will be added implicitly
222 |                                                cancelOthers: Bool = false) -> Deferred<Success, Failure>?
223 |   where C: Collection, C.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-first.swift:273:94: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
271 | /// - returns: a new `Deferred`
272 |
273 | public func firstResolved<Success, Failure, S: Sequence>(_ deferreds: S, qos: DispatchQoS = .current,
    |                                                                                              |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                                              `- note: The missing import of module 'CurrentQoS' will be added implicitly
274 |                                                          cancelOthers: Bool = false) -> Deferred<Success, Failure>?
275 |   where S.Element: Deferred<Success, Failure>
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:21:65: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 19 |   /// - parameter index: an index for the computation
 20 |
 21 |   public static func inParallel(count: Int, qos: DispatchQoS = .current,
    |                                                                 |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                 `- note: The missing import of module 'CurrentQoS' will be added implicitly
 22 |                                 task: @escaping (_ index: Int) throws -> Success) -> [Deferred<Success, Failure>]
 23 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:52:65: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 50 |   /// - parameter index: an index for the computation
 51 |
 52 |   public static func inParallel(count: Int, qos: DispatchQoS = .current,
    |                                                                 |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                                 `- note: The missing import of module 'CurrentQoS' will be added implicitly
 53 |                                 task: @escaping (_ index: Int) -> Success) -> [Deferred<Success, Failure>]
 54 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:82:56: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 80 |   /// - parameter element: an element to transform into a new `Deferred`
 81 |
 82 |   public func deferredMap<Success>(qos: DispatchQoS = .current,
    |                                                        |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                        `- note: The missing import of module 'CurrentQoS' will be added implicitly
 83 |                                    task: @escaping (_ element: Self.Element) throws -> Success) -> [Deferred<Success, Error>]
 84 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred-parallelize.swift:96:56: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
 94 |   /// - parameter element: an element to transform into a new `Deferred`
 95 |
 96 |   public func deferredMap<Success>(qos: DispatchQoS = .current,
    |                                                        |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                        `- note: The missing import of module 'CurrentQoS' will be added implicitly
 97 |                                    task: @escaping (_ element: Self.Element) -> Success) -> [Deferred<Success, Never>]
 98 |   {
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:108:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
106 |   /// - parameter task: a computation to be performed
107 |
108 |   public convenience init(qos: DispatchQoS = .current, task: @escaping (Resolver<Success, Failure>) -> Void)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
109 |   {
110 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:132:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
130 |   /// - parameter result: the `Result` of this `Deferred`
131 |
132 |   public convenience init(qos: DispatchQoS = .current, result: Result<Success, Failure>)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
133 |   {
134 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:143:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
141 |   /// - parameter value: the value of this `Deferred`
142 |
143 |   public convenience init(qos: DispatchQoS = .current, value: Success)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
144 |   {
145 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:164:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
162 |   /// - parameter error: the error state of this `Deferred`
163 |
164 |   public convenience init(qos: DispatchQoS = .current, error: Failure)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
165 |   {
166 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:402:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
400 |   /// - parameter task: a computation to be performed
401 |
402 |   public convenience init(qos: DispatchQoS = .current, task: @escaping () throws -> Success)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
403 |   {
404 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:426:47: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
424 |   /// - parameter task: a computation to be performed
425 |
426 |   public convenience init(qos: DispatchQoS = .current, task: @escaping () -> Success)
    |                                               |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                               `- note: The missing import of module 'CurrentQoS' will be added implicitly
427 |   {
428 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
/Users/admin/builder/spi-builder-workspace/Source/deferred/deferred.swift:720:53: warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
718 |   /// - parameter qos: the QoS at which the notifications should be performed; defaults to the current QoS class.
719 |
720 |   public static func CreatePair(qos: DispatchQoS = .current) -> (resolver: Resolver<Success, Failure>, deferred: Deferred<Success, Failure>)
    |                                                     |- warning: static property 'current' cannot be used in a default argument value because 'CurrentQoS' was not imported by this file; this is an error in the Swift 6 language mode
    |                                                     `- note: The missing import of module 'CurrentQoS' will be added implicitly
721 |   {
722 |     let queue = DispatchQueue(label: "deferred", qos: qos, target: .global(qos: qos.qosClass))
[21/21] Compiling deferred deferred-state.swift
Build complete! (22.05s)
Fetching https://github.com/glessard/CurrentQoS
Fetching https://github.com/glessard/CAtomics
[1/150] Fetching currentqos
[151/3287] Fetching currentqos, catomics
Fetched https://github.com/glessard/CAtomics from cache (1.06s)
Fetched https://github.com/glessard/CurrentQoS from cache (1.06s)
Computing version for https://github.com/glessard/CAtomics
Computed https://github.com/glessard/CAtomics at 6.5.1 (2.51s)
Computing version for https://github.com/glessard/CurrentQoS
Computed https://github.com/glessard/CurrentQoS at 1.2.2 (0.66s)
Creating working copy for https://github.com/glessard/CurrentQoS
Working copy of https://github.com/glessard/CurrentQoS resolved at 1.2.2
Creating working copy for https://github.com/glessard/CAtomics
Working copy of https://github.com/glessard/CAtomics resolved at 6.5.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "catomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.5.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/glessard/CAtomics"
    },
    {
      "identity" : "currentqos",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/glessard/CurrentQoS"
    }
  ],
  "manifest_display_name" : "deferred",
  "name" : "deferred",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "deferred",
      "targets" : [
        "deferred"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "deferredTests",
      "module_type" : "SwiftTarget",
      "name" : "deferredTests",
      "path" : "Tests/deferredTests",
      "sources" : [
        "AlignmentTests.swift",
        "DeferredCombinationTests.swift",
        "DeferredDelayTests.swift",
        "DeferredExamples.swift",
        "DeferredExtrasTests.swift",
        "DeferredSelectionTests.swift",
        "DeferredTests.swift",
        "DeferredTimeoutTests.swift",
        "DeferredTimingTests.swift",
        "DeletionTests.swift",
        "ResolverTests.swift",
        "TestError.swift",
        "XCTestManifests.swift",
        "nzRandom.swift",
        "xctest-helpers.swift"
      ],
      "target_dependencies" : [
        "deferred"
      ],
      "type" : "test"
    },
    {
      "c99name" : "deferred",
      "module_type" : "SwiftTarget",
      "name" : "deferred",
      "path" : "Source/deferred",
      "product_dependencies" : [
        "CAtomics",
        "CurrentQoS"
      ],
      "product_memberships" : [
        "deferred"
      ],
      "sources" : [
        "deferred-combine.swift",
        "deferred-delay.swift",
        "deferred-error.swift",
        "deferred-extras.swift",
        "deferred-first.swift",
        "deferred-parallelize.swift",
        "deferred-split.swift",
        "deferred-state.swift",
        "deferred-timeout.swift",
        "deferred.swift",
        "dispatch-utilities.swift",
        "result-extensions.swift",
        "waiter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.