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 async-kit, reference 1.20.0 (e048c8), with Swift 6.0 for Linux on 1 Dec 2024 12:10:26 UTC.

Swift 6 data race errors: 8

Build Command

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

Build Log

    |                     `- warning: capture of 'self' with non-sendable type 'EventLoopGroupConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 |                     callback(ConnectionPoolError.shutdown)
292 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:291:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
291 |                     callback(ConnectionPoolError.shutdown)
    |                     |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> 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'
292 |                 }
293 |                 return false
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoop/EventLoop+Concurrency.swift:22:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |     @available(*, deprecated, renamed: "makeFutureWithTask(_:)")
18 |     @inlinable
19 |     public func performWithTask<Value>(
   |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |         _ body: @escaping @Sendable () async throws -> Value
21 |     ) -> EventLoopFuture<Value> {
22 |         return self.makeFutureWithTask(body)
   |                     `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 |     }
24 | }
[600/605] Compiling AsyncKit EventLoopGroupConnectionPool.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:127:48: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     ///   - closure: Callback that accepts the pooled connection.
122 |     /// - Returns: A future containing the result of the closure.
123 |     public func withConnection<Result>(
    |                                `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
    |                                                `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:128:13: warning: capture of 'closure' with non-sendable type '(Source.Connection) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
    |             |- warning: capture of 'closure' with non-sendable type '(Source.Connection) -> EventLoopFuture<Result>' 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 |                 self.releaseConnection(conn, logger: logger)
130 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:40: warning: capture of 'conn' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                                        `- warning: capture of 'conn' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:79: warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:38: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:187:39: warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
185 |             if !conn.isClosed {
186 |                 logger.trace("Using available connection")
187 |                 return self.eventLoop.makeSucceededFuture(conn)
    |                                       `- warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
188 |             } else {
189 |                 logger.debug("Pruning defunct connection")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:19: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                   `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:13: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |             `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:227:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
229 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:38: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:63: warning: capture of 'connection' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                                               `- warning: capture of 'connection' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:67: warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
286 |             logger.debug("Servicing connection waitlist item with id \(waiter.key)")
287 |             waiter.value.timeoutTask.cancel()
288 |             self._requestConnection0(logger: waiter.value.logger).cascade(to: waiter.value.promise)
    |                                                                   `- warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
289 |         }
290 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:305:38: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
303 |         } else {
304 |             let promise = self.eventLoop.makePromise(of: Void.self)
305 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
306 |             return promise.futureResult
307 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:13: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
326 |             $0.close()
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
    |             `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
329 |             self.available.removeAll()
330 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:290:21: warning: capture of 'self' with non-sendable type 'EventLoopGroupConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | ///     }
 20 | ///
 21 | public final class EventLoopGroupConnectionPool<Source> where Source: ConnectionPoolSource  {
    |                    `- note: generic class 'EventLoopGroupConnectionPool' does not conform to the 'Sendable' protocol
 22 |     /// Creates new connections when needed. See `ConnectionPoolSource`.
 23 |     public let source: Source
    :
288 |             guard !self.didShutdown else {
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of 'self' with non-sendable type 'EventLoopGroupConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 |                     callback(ConnectionPoolError.shutdown)
292 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:291:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
291 |                     callback(ConnectionPoolError.shutdown)
    |                     |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> 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'
292 |                 }
293 |                 return false
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoop/EventLoop+Concurrency.swift:22:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |     @available(*, deprecated, renamed: "makeFutureWithTask(_:)")
18 |     @inlinable
19 |     public func performWithTask<Value>(
   |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |         _ body: @escaping @Sendable () async throws -> Value
21 |     ) -> EventLoopFuture<Value> {
22 |         return self.makeFutureWithTask(body)
   |                     `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 |     }
24 | }
[601/605] Compiling AsyncKit EventLoop+Concurrency.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:127:48: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     ///   - closure: Callback that accepts the pooled connection.
122 |     /// - Returns: A future containing the result of the closure.
123 |     public func withConnection<Result>(
    |                                `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
    |                                                `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:128:13: warning: capture of 'closure' with non-sendable type '(Source.Connection) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
    |             |- warning: capture of 'closure' with non-sendable type '(Source.Connection) -> EventLoopFuture<Result>' 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 |                 self.releaseConnection(conn, logger: logger)
130 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:40: warning: capture of 'conn' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                                        `- warning: capture of 'conn' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:79: warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:38: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:187:39: warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
185 |             if !conn.isClosed {
186 |                 logger.trace("Using available connection")
187 |                 return self.eventLoop.makeSucceededFuture(conn)
    |                                       `- warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
188 |             } else {
189 |                 logger.debug("Pruning defunct connection")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:19: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                   `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:13: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |             `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:227:17: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
    |                 `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
229 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:38: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:63: warning: capture of 'connection' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                                               `- warning: capture of 'connection' with non-sendable type 'Source.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:67: warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
286 |             logger.debug("Servicing connection waitlist item with id \(waiter.key)")
287 |             waiter.value.timeoutTask.cancel()
288 |             self._requestConnection0(logger: waiter.value.logger).cascade(to: waiter.value.promise)
    |                                                                   `- warning: type 'Source.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
289 |         }
290 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:305:38: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
303 |         } else {
304 |             let promise = self.eventLoop.makePromise(of: Void.self)
305 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
306 |             return promise.futureResult
307 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:13: warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | ///         // use conn
 21 | ///     }
 22 | public final class EventLoopConnectionPool<Source> where Source: ConnectionPoolSource {
    |                    `- note: generic class 'EventLoopConnectionPool' does not conform to the 'Sendable' protocol
 23 |     private typealias WaitlistItem = (logger: Logger, promise: EventLoopPromise<Source.Connection>, timeoutTask: Scheduled<Void>)
 24 |
    :
326 |             $0.close()
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
    |             `- warning: capture of 'self' with non-sendable type 'EventLoopConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
329 |             self.available.removeAll()
330 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:290:21: warning: capture of 'self' with non-sendable type 'EventLoopGroupConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | ///     }
 20 | ///
 21 | public final class EventLoopGroupConnectionPool<Source> where Source: ConnectionPoolSource  {
    |                    `- note: generic class 'EventLoopGroupConnectionPool' does not conform to the 'Sendable' protocol
 22 |     /// Creates new connections when needed. See `ConnectionPoolSource`.
 23 |     public let source: Source
    :
288 |             guard !self.didShutdown else {
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of 'self' with non-sendable type 'EventLoopGroupConnectionPool<Source>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 |                     callback(ConnectionPoolError.shutdown)
292 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:291:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
291 |                     callback(ConnectionPoolError.shutdown)
    |                     |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> 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'
292 |                 }
293 |                 return false
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoop/EventLoop+Concurrency.swift:22:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |     @available(*, deprecated, renamed: "makeFutureWithTask(_:)")
18 |     @inlinable
19 |     public func performWithTask<Value>(
   |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |         _ body: @escaping @Sendable () async throws -> Value
21 |     ) -> EventLoopFuture<Value> {
22 |         return self.makeFutureWithTask(body)
   |                     `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 |     }
24 | }
[602/605] Emitting module AsyncKit
/host/spi-builder-workspace/Sources/AsyncKit/EventLoop/EventLoop+Concurrency.swift:22:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |     @available(*, deprecated, renamed: "makeFutureWithTask(_:)")
18 |     @inlinable
19 |     public func performWithTask<Value>(
   |                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |         _ body: @escaping @Sendable () async throws -> Value
21 |     ) -> EventLoopFuture<Value> {
22 |         return self.makeFutureWithTask(body)
   |                     `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 |     }
24 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoop/EventLoopGroup+Concurrency.swift:28:27: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 |
24 |     @inlinable
25 |     public func makeFutureWithTask<Value>(
   |                                    `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
26 |         _ body: @escaping @Sendable () async throws -> Value
27 |     ) -> EventLoopFuture<Value> {
28 |         return self.any().makeFutureWithTask(body)
   |                           `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:20:19: warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 14 |     /// - Note: This is esssentially just a heterogenous version of `.whenAllSucceed()`.
 15 |     @inlinable
 16 |     public static func whenTheySucceed<A, B>(
    |                                           `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 17 |         _ fA: EventLoopFuture<A>, _ fB: EventLoopFuture<B>,
 18 |         file: StaticString = #file, line: UInt = #line
 19 |     ) -> EventLoopFuture<(A, B)> where Value == (A, B) {
 20 |         return fA.and(fB)
    |                   `- warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 21 |     }
 22 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:475:16: warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
472 |     /// common implementation to simplify the already absurd tuple element count overloads.
473 |     @inlinable
474 |     internal/*private*/ func whenTheySucceed0<V>(_ future: EventLoopFuture<V>, _ put: @escaping (V) -> Void, _ check: @escaping (V) -> Value?) -> EventLoopPromise<Value> {
    |                                               `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
475 |         future.hop(to: self.futureResult.eventLoop).whenComplete {
    |                `- warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:478:26: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
478 |                     self.completeWith(.failure(error))
    |                          `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:481:30: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
481 |                         self.completeWith(.success(output))
    |                              `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
482 |                     } else {
483 |                         put(value)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:480:37: warning: capture of 'check' with non-sendable type '(V) -> Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
478 |                     self.completeWith(.failure(error))
479 |                 case .success(let value):
480 |                     if let output = check(value) {
    |                                     |- warning: capture of 'check' with non-sendable type '(V) -> Value?' 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'
481 |                         self.completeWith(.success(output))
482 |                     } else {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:483:25: warning: capture of 'put' with non-sendable type '(V) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
481 |                         self.completeWith(.success(output))
482 |                     } else {
483 |                         put(value)
    |                         |- warning: capture of 'put' with non-sendable type '(V) -> 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'
484 |                     }
485 |             }
[603/605] Compiling AsyncKit EventLoopFutureQueue.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:74:31: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     ///
 69 |     /// - Returns: The resulting future from the `generator` closure passed in.
 70 |     public func append<Value>(
    |                        `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 71 |         onPrevious next: ContinueCondition = .complete,
 72 |         generator: @escaping () -> EventLoopFuture<Value>
 73 |     ) -> EventLoopFuture<Value> {
 74 |         return self.eventLoop.flatSubmit {
    |                               `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
 76 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:45: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     ///
 69 |     /// - Returns: The resulting future from the `generator` closure passed in.
 70 |     public func append<Value>(
    |                        `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 71 |         onPrevious next: ContinueCondition = .complete,
 72 |         generator: @escaping () -> EventLoopFuture<Value>
    :
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                             `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:75:27: warning: capture of 'self' with non-sendable type 'EventLoopFutureQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 |
  3 | /// Allows you to queue closures that produce an `EventLoopFuture`, so each future only gets run if the previous ones complete, succeed, or fail.
  4 | public final class EventLoopFutureQueue {
    |                    `- note: class 'EventLoopFutureQueue' does not conform to the 'Sendable' protocol
  5 |
  6 |     /// Under what conditions an appended closure should be run.
    :
 73 |     ) -> EventLoopFuture<Value> {
 74 |         return self.eventLoop.flatSubmit {
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
    |                           `- warning: capture of 'self' with non-sendable type 'EventLoopFutureQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 76 |
 77 |             switch next {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:77:20: warning: capture of 'next' with non-sendable type 'EventLoopFutureQueue.ContinueCondition' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Under what conditions an appended closure should be run.
  7 |     public enum ContinueCondition {
    |                 `- note: consider making enum 'ContinueCondition' conform to the 'Sendable' protocol
  8 |
  9 |         /// Run closure on the previous future's success.
    :
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
 76 |
 77 |             switch next {
    |                    `- warning: capture of 'next' with non-sendable type 'EventLoopFutureQueue.ContinueCondition' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             case .success:
 79 |                 self.current.whenComplete { result in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:55: warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                                       |- warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' 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'
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:55: warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                                       |- warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' 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'
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:19:34: warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
    |                                  |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result' 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'
 20 |     }
 21 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                                                `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     }
 36 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in an isolated closure; this is an error in the Swift 6 language mode
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                                                `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in an isolated closure; this is an error in the Swift 6 language mode
 35 |     }
 36 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:52:41: warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
    |                                         |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result?' 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'
 53 |     }
 54 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:55: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                                                       `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |     }
 69 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:55: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in an isolated closure; this is an error in the Swift 6 language mode
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                                                       `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in an isolated closure; this is an error in the Swift 6 language mode
 68 |     }
 69 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:38: warning: capture of 'transform' with non-sendable type '(Value.Element) -> ResultSegment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                                      |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> ResultSegment' 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'
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:52: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                                                    `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 |     }
103 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:52: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                                                    `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in an isolated closure; this is an error in the Swift 6 language mode
102 |     }
103 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:14: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |              `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:49: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                                                 |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:140:46: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
    |                                              |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
141 |     }
142 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:14: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |              `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:49: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                                                 |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:181:37: warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
181 |             return try sequence.map(transform)
    |                                     |- warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result' 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'
182 |         }
183 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:203:44: warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
203 |             return try sequence.compactMap(transform)
    |                                            |- warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result?' 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'
204 |         }
205 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in an isolated closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in an isolated closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' 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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in an isolated closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:20:19: warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 14 |     /// - Note: This is esssentially just a heterogenous version of `.whenAllSucceed()`.
 15 |     @inlinable
 16 |     public static func whenTheySucceed<A, B>(
    |                                           `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 17 |         _ fA: EventLoopFuture<A>, _ fB: EventLoopFuture<B>,
 18 |         file: StaticString = #file, line: UInt = #line
 19 |     ) -> EventLoopFuture<(A, B)> where Value == (A, B) {
 20 |         return fA.and(fB)
    |                   `- warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 21 |     }
 22 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:475:16: warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
472 |     /// common implementation to simplify the already absurd tuple element count overloads.
473 |     @inlinable
474 |     internal/*private*/ func whenTheySucceed0<V>(_ future: EventLoopFuture<V>, _ put: @escaping (V) -> Void, _ check: @escaping (V) -> Value?) -> EventLoopPromise<Value> {
    |                                               `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
475 |         future.hop(to: self.futureResult.eventLoop).whenComplete {
    |                `- warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:478:26: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
478 |                     self.completeWith(.failure(error))
    |                          `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:481:30: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
481 |                         self.completeWith(.success(output))
    |                              `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
482 |                     } else {
483 |                         put(value)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:480:37: warning: capture of 'check' with non-sendable type '(V) -> Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
478 |                     self.completeWith(.failure(error))
479 |                 case .success(let value):
480 |                     if let output = check(value) {
    |                                     |- warning: capture of 'check' with non-sendable type '(V) -> Value?' 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'
481 |                         self.completeWith(.success(output))
482 |                     } else {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:483:25: warning: capture of 'put' with non-sendable type '(V) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
481 |                         self.completeWith(.success(output))
482 |                     } else {
483 |                         put(value)
    |                         |- warning: capture of 'put' with non-sendable type '(V) -> 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'
484 |                     }
485 |             }
[604/605] Compiling AsyncKit Future+Collection.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:74:31: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     ///
 69 |     /// - Returns: The resulting future from the `generator` closure passed in.
 70 |     public func append<Value>(
    |                        `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 71 |         onPrevious next: ContinueCondition = .complete,
 72 |         generator: @escaping () -> EventLoopFuture<Value>
 73 |     ) -> EventLoopFuture<Value> {
 74 |         return self.eventLoop.flatSubmit {
    |                               `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
 76 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:45: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     ///
 69 |     /// - Returns: The resulting future from the `generator` closure passed in.
 70 |     public func append<Value>(
    |                        `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 71 |         onPrevious next: ContinueCondition = .complete,
 72 |         generator: @escaping () -> EventLoopFuture<Value>
    :
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                             `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:75:27: warning: capture of 'self' with non-sendable type 'EventLoopFutureQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 |
  3 | /// Allows you to queue closures that produce an `EventLoopFuture`, so each future only gets run if the previous ones complete, succeed, or fail.
  4 | public final class EventLoopFutureQueue {
    |                    `- note: class 'EventLoopFutureQueue' does not conform to the 'Sendable' protocol
  5 |
  6 |     /// Under what conditions an appended closure should be run.
    :
 73 |     ) -> EventLoopFuture<Value> {
 74 |         return self.eventLoop.flatSubmit {
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
    |                           `- warning: capture of 'self' with non-sendable type 'EventLoopFutureQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 76 |
 77 |             switch next {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:77:20: warning: capture of 'next' with non-sendable type 'EventLoopFutureQueue.ContinueCondition' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Under what conditions an appended closure should be run.
  7 |     public enum ContinueCondition {
    |                 `- note: consider making enum 'ContinueCondition' conform to the 'Sendable' protocol
  8 |
  9 |         /// Run closure on the previous future's success.
    :
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
 76 |
 77 |             switch next {
    |                    `- warning: capture of 'next' with non-sendable type 'EventLoopFutureQueue.ContinueCondition' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             case .success:
 79 |                 self.current.whenComplete { result in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:55: warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                                       |- warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' 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'
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:55: warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                                       |- warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' 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'
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:19:34: warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
    |                                  |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result' 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'
 20 |     }
 21 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                                                `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     }
 36 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in an isolated closure; this is an error in the Swift 6 language mode
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                                                `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in an isolated closure; this is an error in the Swift 6 language mode
 35 |     }
 36 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:52:41: warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
    |                                         |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result?' 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'
 53 |     }
 54 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:55: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                                                       `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |     }
 69 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:55: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in an isolated closure; this is an error in the Swift 6 language mode
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                                                       `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in an isolated closure; this is an error in the Swift 6 language mode
 68 |     }
 69 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:38: warning: capture of 'transform' with non-sendable type '(Value.Element) -> ResultSegment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                                      |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> ResultSegment' 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'
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:52: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                                                    `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 |     }
103 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:52: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                                                    `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in an isolated closure; this is an error in the Swift 6 language mode
102 |     }
103 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:14: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |              `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:49: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                                                 |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:140:46: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
    |                                              |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
141 |     }
142 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:14: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |              `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:49: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                                                 |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:181:37: warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
181 |             return try sequence.map(transform)
    |                                     |- warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result' 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'
182 |         }
183 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:203:44: warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
203 |             return try sequence.compactMap(transform)
    |                                            |- warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result?' 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'
204 |         }
205 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in an isolated closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in an isolated closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' 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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in an isolated closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:20:19: warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 14 |     /// - Note: This is esssentially just a heterogenous version of `.whenAllSucceed()`.
 15 |     @inlinable
 16 |     public static func whenTheySucceed<A, B>(
    |                                           `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 17 |         _ fA: EventLoopFuture<A>, _ fB: EventLoopFuture<B>,
 18 |         file: StaticString = #file, line: UInt = #line
 19 |     ) -> EventLoopFuture<(A, B)> where Value == (A, B) {
 20 |         return fA.and(fB)
    |                   `- warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 21 |     }
 22 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:475:16: warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
472 |     /// common implementation to simplify the already absurd tuple element count overloads.
473 |     @inlinable
474 |     internal/*private*/ func whenTheySucceed0<V>(_ future: EventLoopFuture<V>, _ put: @escaping (V) -> Void, _ check: @escaping (V) -> Value?) -> EventLoopPromise<Value> {
    |                                               `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
475 |         future.hop(to: self.futureResult.eventLoop).whenComplete {
    |                `- warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:478:26: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
478 |                     self.completeWith(.failure(error))
    |                          `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:481:30: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
481 |                         self.completeWith(.success(output))
    |                              `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
482 |                     } else {
483 |                         put(value)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:480:37: warning: capture of 'check' with non-sendable type '(V) -> Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
478 |                     self.completeWith(.failure(error))
479 |                 case .success(let value):
480 |                     if let output = check(value) {
    |                                     |- warning: capture of 'check' with non-sendable type '(V) -> Value?' 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'
481 |                         self.completeWith(.success(output))
482 |                     } else {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:483:25: warning: capture of 'put' with non-sendable type '(V) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
481 |                         self.completeWith(.success(output))
482 |                     } else {
483 |                         put(value)
    |                         |- warning: capture of 'put' with non-sendable type '(V) -> 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'
484 |                     }
485 |             }
[605/605] Compiling AsyncKit Future+Conjunctions.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:74:31: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     ///
 69 |     /// - Returns: The resulting future from the `generator` closure passed in.
 70 |     public func append<Value>(
    |                        `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 71 |         onPrevious next: ContinueCondition = .complete,
 72 |         generator: @escaping () -> EventLoopFuture<Value>
 73 |     ) -> EventLoopFuture<Value> {
 74 |         return self.eventLoop.flatSubmit {
    |                               `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
 76 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:45: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     ///
 69 |     /// - Returns: The resulting future from the `generator` closure passed in.
 70 |     public func append<Value>(
    |                        `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 71 |         onPrevious next: ContinueCondition = .complete,
 72 |         generator: @escaping () -> EventLoopFuture<Value>
    :
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                             `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:75:27: warning: capture of 'self' with non-sendable type 'EventLoopFutureQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 |
  3 | /// Allows you to queue closures that produce an `EventLoopFuture`, so each future only gets run if the previous ones complete, succeed, or fail.
  4 | public final class EventLoopFutureQueue {
    |                    `- note: class 'EventLoopFutureQueue' does not conform to the 'Sendable' protocol
  5 |
  6 |     /// Under what conditions an appended closure should be run.
    :
 73 |     ) -> EventLoopFuture<Value> {
 74 |         return self.eventLoop.flatSubmit {
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
    |                           `- warning: capture of 'self' with non-sendable type 'EventLoopFutureQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 76 |
 77 |             switch next {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:77:20: warning: capture of 'next' with non-sendable type 'EventLoopFutureQueue.ContinueCondition' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 |
  6 |     /// Under what conditions an appended closure should be run.
  7 |     public enum ContinueCondition {
    |                 `- note: consider making enum 'ContinueCondition' conform to the 'Sendable' protocol
  8 |
  9 |         /// Run closure on the previous future's success.
    :
 75 |             let promise = self.eventLoop.makePromise(of: Void.self)
 76 |
 77 |             switch next {
    |                    `- warning: capture of 'next' with non-sendable type 'EventLoopFutureQueue.ContinueCondition' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             case .success:
 79 |                 self.current.whenComplete { result in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:55: warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                                       |- warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' 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'
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift:96:55: warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |             }
 95 |
 96 |             let next = promise.futureResult.flatMap { generator() }
    |                                                       |- warning: capture of 'generator' with non-sendable type '() -> EventLoopFuture<Value>' 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'
 97 |             self.current = next.map { _ in () }
 98 |             return next
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:19:34: warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
    |                                  |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result' 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'
 20 |     }
 21 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                                                `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     }
 36 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in an isolated closure; this is an error in the Swift 6 language mode
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                                                `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result>' in an isolated closure; this is an error in the Swift 6 language mode
 35 |     }
 36 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:52:41: warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
    |                                         |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> Result?' 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'
 53 |     }
 54 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:55: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                                                       `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |     }
 69 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:55: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in an isolated closure; this is an error in the Swift 6 language mode
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                                                       `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, Result?>' in an isolated closure; this is an error in the Swift 6 language mode
 68 |     }
 69 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:38: warning: capture of 'transform' with non-sendable type '(Value.Element) -> ResultSegment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                                      |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> ResultSegment' 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'
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:52: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                                                    `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 |     }
103 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:52: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                                                    `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Value.Element, ResultSegment>' in an isolated closure; this is an error in the Swift 6 language mode
102 |     }
103 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:14: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |              `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
114 |     /// - returns: A new `EventLoopFuture` that wraps the results
115 |     ///   of all the `EventLoopFuture`s returned from the closure.
116 |     public func flatMapEach<Result>(
    |                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
117 |         on eventLoop: EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:49: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
    |                                                 |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:140:46: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
    |                                              |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
141 |     }
142 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:14: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |              `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:25: warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 |     /// - returns: A new `EventLoopFuture` that wraps the non-nil results
154 |     ///   of all the `EventLoopFuture`s returned from the closure.
155 |     public func flatMapEachCompact<Result>(
    |                                    `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
156 |         on eventLoop: EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                         `- warning: type 'Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:49: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
    |                                                 |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:181:37: warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
181 |             return try sequence.map(transform)
    |                                     |- warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result' 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'
182 |         }
183 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:203:44: warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
203 |             return try sequence.compactMap(transform)
    |                                            |- warning: capture of 'transform' with non-sendable type '(Value.Element) throws -> Result?' 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'
204 |         }
205 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in an isolated closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result>' 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'
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 |     ///
216 |     /// Neither of these are provided by the original version of the method.
217 |     public func sequencedFlatMapEach<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>) -> EventLoopFuture<[Result]> {
    |                                      `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
218 |         var results: [Result] = []
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:222:53: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
    |                                                     `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
223 |             }
224 |         }.transform(to: results)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in an isolated closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' 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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<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'
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:232:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
232 |                 fut.flatMap { transform(elem) }
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 |             }
234 |         }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in an isolated closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:31: warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                               |- warning: capture of 'transform' with non-sendable type '(Value.Element) -> EventLoopFuture<Result?>' 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'
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:245:41: warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
    |                                         `- warning: capture of 'elem' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 |                     $0.map { results.append($0) }
247 |                 } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
238 |     /// by allowing result values to be `nil`. Such results are not included in the
239 |     /// output array.
240 |     public func sequencedFlatMapEachCompact<Result>(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]> {
    |                                             `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
241 |         var results: [Result] = []
242 |
    :
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: capture of 'results' with non-sendable type '[Result]' in an isolated closure; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:246:30: warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
    |                              `- warning: mutation of captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
247 |                 } }
248 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:20:19: warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 14 |     /// - Note: This is esssentially just a heterogenous version of `.whenAllSucceed()`.
 15 |     @inlinable
 16 |     public static func whenTheySucceed<A, B>(
    |                                           `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 17 |         _ fA: EventLoopFuture<A>, _ fB: EventLoopFuture<B>,
 18 |         file: StaticString = #file, line: UInt = #line
 19 |     ) -> EventLoopFuture<(A, B)> where Value == (A, B) {
 20 |         return fA.and(fB)
    |                   `- warning: type 'B' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 21 |     }
 22 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:475:16: warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
472 |     /// common implementation to simplify the already absurd tuple element count overloads.
473 |     @inlinable
474 |     internal/*private*/ func whenTheySucceed0<V>(_ future: EventLoopFuture<V>, _ put: @escaping (V) -> Void, _ check: @escaping (V) -> Value?) -> EventLoopPromise<Value> {
    |                                               `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
475 |         future.hop(to: self.futureResult.eventLoop).whenComplete {
    |                `- warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:478:26: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
476 |             switch $0 {
477 |                 case .failure(let error):
478 |                     self.completeWith(.failure(error))
    |                          `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:481:30: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
479 |                 case .success(let value):
480 |                     if let output = check(value) {
481 |                         self.completeWith(.success(output))
    |                              `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
482 |                     } else {
483 |                         put(value)
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:480:37: warning: capture of 'check' with non-sendable type '(V) -> Value?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
478 |                     self.completeWith(.failure(error))
479 |                 case .success(let value):
480 |                     if let output = check(value) {
    |                                     |- warning: capture of 'check' with non-sendable type '(V) -> Value?' 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'
481 |                         self.completeWith(.success(output))
482 |                     } else {
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Conjunctions.swift:483:25: warning: capture of 'put' with non-sendable type '(V) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
481 |                         self.completeWith(.success(output))
482 |                     } else {
483 |                         put(value)
    |                         |- warning: capture of 'put' with non-sendable type '(V) -> 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'
484 |                     }
485 |             }
Build complete! (87.53s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.61.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    }
  ],
  "manifest_display_name" : "async-kit",
  "name" : "async-kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncKit",
      "targets" : [
        "AsyncKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncKitTests",
      "path" : "Tests/AsyncKitTests",
      "sources" : [
        "AsyncConnectionPoolTests.swift",
        "AsyncKitTestsCommon.swift",
        "Collection+FlattenTests.swift",
        "ConnectionPoolTests.swift",
        "EventLoop+ConcurrencyTests.swift",
        "EventLoopFutureQueueTests.swift",
        "EventLoopGroup+FutureTests.swift",
        "Future+CollectionTests.swift",
        "Future+ConjunctionTests.swift",
        "Future+MiscellaneousTests.swift",
        "Future+NonemptyTests.swift",
        "Future+OptionalTests.swift",
        "Future+TransformTests.swift",
        "Future+TryTests.swift",
        "FutureOperatorsTests.swift"
      ],
      "target_dependencies" : [
        "AsyncKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncKit",
      "module_type" : "SwiftTarget",
      "name" : "AsyncKit",
      "path" : "Sources/AsyncKit",
      "product_dependencies" : [
        "Logging",
        "NIOCore",
        "NIOEmbedded",
        "NIOPosix",
        "Collections",
        "Algorithms"
      ],
      "product_memberships" : [
        "AsyncKit"
      ],
      "sources" : [
        "ConnectionPool/ConnectionPoolError.swift",
        "ConnectionPool/ConnectionPoolItem.swift",
        "ConnectionPool/ConnectionPoolSource.swift",
        "ConnectionPool/EventLoopConnectionPool.swift",
        "ConnectionPool/EventLoopGroupConnectionPool.swift",
        "EventLoop/EventLoop+Concurrency.swift",
        "EventLoop/EventLoop+Flatten.swift",
        "EventLoop/EventLoop+Future.swift",
        "EventLoop/EventLoopGroup+Concurrency.swift",
        "EventLoop/EventLoopGroup+Throwing.swift",
        "EventLoopFuture/Collection+Flatten.swift",
        "EventLoopFuture/EventLoopFutureQueue+Sequence.swift",
        "EventLoopFuture/EventLoopFutureQueue.swift",
        "EventLoopFuture/Future+Collection.swift",
        "EventLoopFuture/Future+Conjunctions.swift",
        "EventLoopFuture/Future+Miscellaneous.swift",
        "EventLoopFuture/Future+Nonempty.swift",
        "EventLoopFuture/Future+Optional.swift",
        "EventLoopFuture/Future+Transform.swift",
        "EventLoopFuture/Future+Try.swift",
        "EventLoopFuture/FutureOperators.swift",
        "EventLoopFuture/Optional+StrictMap.swift",
        "Exports.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.