The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of async-kit, reference 1.21.0 (6f3615), with Swift 6.2 (beta) for Linux on 23 Aug 2025 16:18:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

 48 |
 49 |     /// Divides the first future by the second and stores the quotient in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:53:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 51 |
 52 |     /// Returns the remainder of dividing the first future by the second
 53 |     public static func % (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 % $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 54 |
 55 |     /// Divides the first future by the second and stores the remainder in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:63:140: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 61 | extension EventLoopFuture where Value: BinaryInteger {
 62 |     /// Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument
 63 |     public static func < (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 < $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:63:140: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 61 | extension EventLoopFuture where Value: BinaryInteger {
 62 |     /// Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument
 63 |     public static func < (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 < $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:66:141: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
 66 |     public static func <= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 <= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:66:141: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
 66 |     public static func <= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 <= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:69:141: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
 69 |     public static func >= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 >= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:69:141: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
 69 |     public static func >= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 >= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:72:140: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
 72 |     public static func > (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 > $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 73 | }
 74 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:72:140: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
 72 |     public static func > (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 > $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 73 | }
 74 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:79:135: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 77 | extension EventLoopFuture where Value: BinaryInteger {
 78 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the left
 79 |     public static func << (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 << $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 80 |
 81 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the left in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:79:135: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 77 | extension EventLoopFuture where Value: BinaryInteger {
 78 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the left
 79 |     public static func << (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 << $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 80 |
 81 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the left in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:85:135: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 83 |
 84 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the right
 85 |     public static func >> (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 >> $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 86 |
 87 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the right in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:85:135: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 83 |
 84 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the right
 85 |     public static func >> (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 >> $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 86 |
 87 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the right in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:91:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 89 |
 90 |     /// Returns the result of performing a bitwise AND operation on the two given futures
 91 |     public static func & (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 & $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 92 |
 93 |     /// Stores the result of performing a bitwise AND operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:97:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 95 |
 96 |     /// Returns the result of performing a bitwise OR operation on the two given futures
 97 |     public static func | (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 | $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 98 |
 99 |     /// Stores the result of performing a bitwise OR operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:103:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
101 |
102 |     /// Returns the result of performing a bitwise XOR operation on the two given futures
103 |     public static func ^ (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 ^ $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
104 |
105 |     /// Stores the result of performing a bitwise XOR operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:109:83: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
107 |
108 |     /// Returns the result of performing a bitwise NOT operation on the given future
109 |     public static prefix func ~ (x: EventLoopFuture) -> EventLoopFuture { x.map { ~$0 } }
    |                                                                                   `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
110 | }
111 |
[583/602] Compiling AsyncKit Future+Try.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:7:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
  5 | extension EventLoopFuture where Value: Numeric {
  6 |     /// Adds two futures and produces their sum
  7 |     public static func + (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 + $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
  8 |
  9 |     /// Adds two futures and stores the result in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:13:118: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 11 |
 12 |     /// Subtracts one future from another and produces their difference
 13 |     public static func - (_ lhs: EventLoopFuture, _ rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 - $1 } }
    |                                                                                                                      `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 14 |
 15 |     /// Subtracts the second future from the first and stores the difference in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:19:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 17 |
 18 |     /// Multiplies two futures and produces their product
 19 |     public static func * (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 * $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 20 |
 21 |     /// Multiplies two futures and stores the result in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:29:155: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 27 | extension EventLoopFuture {
 28 |     /// Adds two futures and produces their sum
 29 |     public static func + <T>(lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture where Value == Array<T>, T: Equatable { lhs.and(rhs).map { $0 + $1 } }
    |                                                                                                                                                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 30 |
 31 |     /// Adds two futures and stores the result in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:36:38: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 34 |     /// Subtracts one future from another and produces their difference
 35 |     public static func - <T>(lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture where Value == Array<T>, T: Equatable {
 36 |         lhs.and(rhs).map { l, r in l.filter { !r.contains($0) } }
    |                                      `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 37 |     }
 38 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:47:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 45 | extension EventLoopFuture where Value: BinaryInteger {
 46 |     /// Returns the quotient of dividing the first future by the second
 47 |     public static func / (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 / $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 48 |
 49 |     /// Divides the first future by the second and stores the quotient in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:53:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 51 |
 52 |     /// Returns the remainder of dividing the first future by the second
 53 |     public static func % (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 % $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 54 |
 55 |     /// Divides the first future by the second and stores the remainder in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:63:140: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 61 | extension EventLoopFuture where Value: BinaryInteger {
 62 |     /// Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument
 63 |     public static func < (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 < $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:63:140: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 61 | extension EventLoopFuture where Value: BinaryInteger {
 62 |     /// Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument
 63 |     public static func < (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 < $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:66:141: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
 66 |     public static func <= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 <= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:66:141: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
 66 |     public static func <= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 <= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:69:141: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
 69 |     public static func >= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 >= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:69:141: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
 69 |     public static func >= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 >= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:72:140: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
 72 |     public static func > (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 > $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 73 | }
 74 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:72:140: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
 72 |     public static func > (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 > $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 73 | }
 74 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:79:135: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 77 | extension EventLoopFuture where Value: BinaryInteger {
 78 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the left
 79 |     public static func << (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 << $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 80 |
 81 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the left in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:79:135: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 77 | extension EventLoopFuture where Value: BinaryInteger {
 78 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the left
 79 |     public static func << (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 << $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 80 |
 81 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the left in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:85:135: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 83 |
 84 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the right
 85 |     public static func >> (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 >> $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 86 |
 87 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the right in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:85:135: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 83 |
 84 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the right
 85 |     public static func >> (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 >> $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 86 |
 87 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the right in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:91:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 89 |
 90 |     /// Returns the result of performing a bitwise AND operation on the two given futures
 91 |     public static func & (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 & $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 92 |
 93 |     /// Stores the result of performing a bitwise AND operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:97:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 95 |
 96 |     /// Returns the result of performing a bitwise OR operation on the two given futures
 97 |     public static func | (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 | $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 98 |
 99 |     /// Stores the result of performing a bitwise OR operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:103:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
101 |
102 |     /// Returns the result of performing a bitwise XOR operation on the two given futures
103 |     public static func ^ (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 ^ $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
104 |
105 |     /// Stores the result of performing a bitwise XOR operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:109:83: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
107 |
108 |     /// Returns the result of performing a bitwise NOT operation on the given future
109 |     public static prefix func ~ (x: EventLoopFuture) -> EventLoopFuture { x.map { ~$0 } }
    |                                                                                   `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
110 | }
111 |
[584/602] Compiling AsyncKit FutureOperators.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:7:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
  5 | extension EventLoopFuture where Value: Numeric {
  6 |     /// Adds two futures and produces their sum
  7 |     public static func + (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 + $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
  8 |
  9 |     /// Adds two futures and stores the result in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:13:118: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 11 |
 12 |     /// Subtracts one future from another and produces their difference
 13 |     public static func - (_ lhs: EventLoopFuture, _ rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 - $1 } }
    |                                                                                                                      `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 14 |
 15 |     /// Subtracts the second future from the first and stores the difference in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:19:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 17 |
 18 |     /// Multiplies two futures and produces their product
 19 |     public static func * (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 * $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 20 |
 21 |     /// Multiplies two futures and stores the result in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:29:155: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 27 | extension EventLoopFuture {
 28 |     /// Adds two futures and produces their sum
 29 |     public static func + <T>(lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture where Value == Array<T>, T: Equatable { lhs.and(rhs).map { $0 + $1 } }
    |                                                                                                                                                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 30 |
 31 |     /// Adds two futures and stores the result in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:36:38: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 34 |     /// Subtracts one future from another and produces their difference
 35 |     public static func - <T>(lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture where Value == Array<T>, T: Equatable {
 36 |         lhs.and(rhs).map { l, r in l.filter { !r.contains($0) } }
    |                                      `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 37 |     }
 38 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:47:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 45 | extension EventLoopFuture where Value: BinaryInteger {
 46 |     /// Returns the quotient of dividing the first future by the second
 47 |     public static func / (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 / $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 48 |
 49 |     /// Divides the first future by the second and stores the quotient in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:53:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 51 |
 52 |     /// Returns the remainder of dividing the first future by the second
 53 |     public static func % (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 % $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 54 |
 55 |     /// Divides the first future by the second and stores the remainder in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:63:140: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 61 | extension EventLoopFuture where Value: BinaryInteger {
 62 |     /// Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument
 63 |     public static func < (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 < $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:63:140: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 61 | extension EventLoopFuture where Value: BinaryInteger {
 62 |     /// Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument
 63 |     public static func < (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 < $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:66:141: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
 66 |     public static func <= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 <= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:66:141: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 64 |
 65 |     /// Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument
 66 |     public static func <= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 <= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:69:141: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
 69 |     public static func >= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 >= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:69:141: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 67 |
 68 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument
 69 |     public static func >= (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 >= $1 } }
    |                                                                                                                                             `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:72:140: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
 72 |     public static func > (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 > $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 73 | }
 74 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:72:140: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 70 |
 71 |     /// Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument
 72 |     public static func > (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture<Bool> { lhs.and(rhs).map { $0 > $1 } }
    |                                                                                                                                            `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 73 | }
 74 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:79:135: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 77 | extension EventLoopFuture where Value: BinaryInteger {
 78 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the left
 79 |     public static func << (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 << $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 80 |
 81 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the left in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:79:135: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 77 | extension EventLoopFuture where Value: BinaryInteger {
 78 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the left
 79 |     public static func << (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 << $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 80 |
 81 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the left in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:85:135: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 83 |
 84 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the right
 85 |     public static func >> (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 >> $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 86 |
 87 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the right in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:85:135: warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 83 |
 84 |     /// Returns the result of shifting a future’s binary representation the specified number of digits to the right
 85 |     public static func >> (lhs: EventLoopFuture, rhs: EventLoopFuture<some BinaryInteger>) -> EventLoopFuture { lhs.and(rhs).map { $0 >> $1 } }
    |                                                                                                                                       `- warning: capture of non-Sendable type '(some BinaryInteger).Type' in an isolated closure
 86 |
 87 |     /// Stores the result of shifting a future’s binary representation the specified number of digits to the right in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:91:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 89 |
 90 |     /// Returns the result of performing a bitwise AND operation on the two given futures
 91 |     public static func & (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 & $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 92 |
 93 |     /// Stores the result of performing a bitwise AND operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:97:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 95 |
 96 |     /// Returns the result of performing a bitwise OR operation on the two given futures
 97 |     public static func | (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 | $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 98 |
 99 |     /// Stores the result of performing a bitwise OR operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:103:114: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
101 |
102 |     /// Returns the result of performing a bitwise XOR operation on the two given futures
103 |     public static func ^ (lhs: EventLoopFuture, rhs: EventLoopFuture) -> EventLoopFuture { lhs.and(rhs).map { $0 ^ $1 } }
    |                                                                                                                  `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
104 |
105 |     /// Stores the result of performing a bitwise XOR operation on the two given futures in the left-hand-side variable
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift:109:83: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
107 |
108 |     /// Returns the result of performing a bitwise NOT operation on the given future
109 |     public static prefix func ~ (x: EventLoopFuture) -> EventLoopFuture { x.map { ~$0 } }
    |                                                                                   `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
110 | }
111 |
[585/602] Compiling AsyncKit Future+Miscellaneous.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:16:28: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
14 |         _ transform: @escaping (Value) -> NewValue
15 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
16 |         return self.map { !$0.isEmpty ? transform($0) : alternate() }
   |                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
17 |     }
18 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:14:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
12 |     public func nonemptyMap<NewValue>(
13 |         or alternate: @escaping @autoclosure () -> NewValue,
14 |         _ transform: @escaping (Value) -> NewValue
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
15 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
16 |         return self.map { !$0.isEmpty ? transform($0) : alternate() }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:35:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
33 |         _ transform: @escaping (Value) throws -> NewValue
34 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
35 |         return self.flatMapThrowing { !$0.isEmpty ? try transform($0) : alternate() }
   |                                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
36 |     }
37 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:33:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
31 |     public func nonemptyFlatMapThrowing<NewValue>(
32 |         or alternate: @escaping @autoclosure () -> NewValue,
33 |         _ transform: @escaping (Value) throws -> NewValue
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
34 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
35 |         return self.flatMapThrowing { !$0.isEmpty ? try transform($0) : alternate() }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:62:32: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
60 |         _ transform: @escaping (Value) -> EventLoopFuture<NewValue>
61 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
62 |         return self.flatMap { !$0.isEmpty ? transform($0) : alternate() }
   |                                `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
63 |     }
64 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:60:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
58 |     public func nonemptyFlatMap<NewValue>(
59 |         orFlat alternate: @escaping @autoclosure () -> EventLoopFuture<NewValue>,
60 |         _ transform: @escaping (Value) -> EventLoopFuture<NewValue>
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
61 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
62 |         return self.flatMap { !$0.isEmpty ? transform($0) : alternate() }
[586/602] Compiling AsyncKit Future+Nonempty.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:16:28: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
14 |         _ transform: @escaping (Value) -> NewValue
15 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
16 |         return self.map { !$0.isEmpty ? transform($0) : alternate() }
   |                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
17 |     }
18 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:14:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
12 |     public func nonemptyMap<NewValue>(
13 |         or alternate: @escaping @autoclosure () -> NewValue,
14 |         _ transform: @escaping (Value) -> NewValue
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
15 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
16 |         return self.map { !$0.isEmpty ? transform($0) : alternate() }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:35:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
33 |         _ transform: @escaping (Value) throws -> NewValue
34 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
35 |         return self.flatMapThrowing { !$0.isEmpty ? try transform($0) : alternate() }
   |                                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
36 |     }
37 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:33:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
31 |     public func nonemptyFlatMapThrowing<NewValue>(
32 |         or alternate: @escaping @autoclosure () -> NewValue,
33 |         _ transform: @escaping (Value) throws -> NewValue
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
34 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
35 |         return self.flatMapThrowing { !$0.isEmpty ? try transform($0) : alternate() }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:62:32: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
60 |         _ transform: @escaping (Value) -> EventLoopFuture<NewValue>
61 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
62 |         return self.flatMap { !$0.isEmpty ? transform($0) : alternate() }
   |                                `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
63 |     }
64 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:60:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
58 |     public func nonemptyFlatMap<NewValue>(
59 |         orFlat alternate: @escaping @autoclosure () -> EventLoopFuture<NewValue>,
60 |         _ transform: @escaping (Value) -> EventLoopFuture<NewValue>
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
61 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
62 |         return self.flatMap { !$0.isEmpty ? transform($0) : alternate() }
[587/602] Compiling AsyncKit Future+Optional.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:16:28: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
14 |         _ transform: @escaping (Value) -> NewValue
15 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
16 |         return self.map { !$0.isEmpty ? transform($0) : alternate() }
   |                            `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
17 |     }
18 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:14:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
12 |     public func nonemptyMap<NewValue>(
13 |         or alternate: @escaping @autoclosure () -> NewValue,
14 |         _ transform: @escaping (Value) -> NewValue
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
15 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
16 |         return self.map { !$0.isEmpty ? transform($0) : alternate() }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:35:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
33 |         _ transform: @escaping (Value) throws -> NewValue
34 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
35 |         return self.flatMapThrowing { !$0.isEmpty ? try transform($0) : alternate() }
   |                                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
36 |     }
37 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:33:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
31 |     public func nonemptyFlatMapThrowing<NewValue>(
32 |         or alternate: @escaping @autoclosure () -> NewValue,
33 |         _ transform: @escaping (Value) throws -> NewValue
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
34 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
35 |         return self.flatMapThrowing { !$0.isEmpty ? try transform($0) : alternate() }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:62:32: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
60 |         _ transform: @escaping (Value) -> EventLoopFuture<NewValue>
61 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
62 |         return self.flatMap { !$0.isEmpty ? transform($0) : alternate() }
   |                                `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
63 |     }
64 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Nonempty.swift:60:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
58 |     public func nonemptyFlatMap<NewValue>(
59 |         orFlat alternate: @escaping @autoclosure () -> EventLoopFuture<NewValue>,
60 |         _ transform: @escaping (Value) -> EventLoopFuture<NewValue>
   |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
61 |     ) -> EventLoopFuture<NewValue> where Value: Collection {
62 |         return self.flatMap { !$0.isEmpty ? transform($0) : alternate() }
[588/602] Compiling AsyncKit Optional+StrictMap.swift
[589/602] Compiling AsyncKit Exports.swift
[590/602] Compiling AsyncKit EventLoopConnectionPool.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:185:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
183 |     ) -> EventLoopFuture<Result> {
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
186 |                 self.releaseConnection(conn, logger: logger)
187 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:182:11: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
180 |     public func withConnection<Result>(
181 |         logger: Logger,
182 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
183 |     ) -> EventLoopFuture<Result> {
184 |         self.requestConnection(logger: logger).flatMap { conn in
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:186:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
186 |                 self.releaseConnection(conn, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
187 |             }
188 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:186:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
186 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
187 |             }
188 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:180:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
178 |     ///   - closure: Callback that accepts the pooled connection.
179 |     /// - Returns: A future containing the result of the closure.
180 |     public func withConnection<Result>(
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
181 |         logger: Logger,
182 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:231:79: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
229 |         } else {
230 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
231 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
232 |             return promise.futureResult
233 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:231:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
229 |         } else {
230 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
231 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
232 |             return promise.futureResult
233 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:224:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
222 |     ///   - eventLoop: Preferred event loop for the new connection.
223 |     /// - Returns: A future containing the requested connection.
224 |     public func requestConnection(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
225 |         /// N.B.: This particular pattern (the use of a promise to forward the result when off the event loop)
226 |         /// is straight out of NIO's `EventLoopFuture.fold()` implementation.
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:260:63: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
261 |                 logger.trace("Waiter already removed when timeout task fired", metadata: ["waiter": .stringConvertible(waiterId)])
262 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:260:23: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                       `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
261 |                 logger.trace("Waiter already removed when timeout task fired", metadata: ["waiter": .stringConvertible(waiterId)])
262 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:258:88: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
256 |         let waiterId = self.idGenerator.wrappingIncrementThenLoad(ordering: .relaxed)
257 |         let promise = self.eventLoop.makePromise(of: Source.Connection.self)
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
    |                                                                                        `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:278:27: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
278 |             self?.waiters.removeValue(forKey: waiterId)
    |                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
279 |         }
280 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:278:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
278 |             self?.waiters.removeValue(forKey: waiterId)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
279 |         }
280 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:275:51: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
273 |         self.waiters[waiterId] = (logger: logger, promise: promise, timeoutTask: timeoutTask)
274 |
275 |         promise.futureResult.whenComplete { [weak self] _ in
    |                                                   `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
286 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
286 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:237:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
235 |
236 |     /// Actual implementation of ``EventLoopConnectionPool/requestConnection(logger:)``.
237 |     private func _requestConnection0(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
238 |         self.eventLoop.assertInEventLoop()
239 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:290:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
288 |                 self._releaseConnection0($0, logger: logger)
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
291 |                 logger.error("Opening new connection for pool failed", metadata: ["error": .string(String(reflecting: error))])
292 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:289:49: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
    |                                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
290 |                 self?.activeConnections -= 1
291 |                 logger.error("Opening new connection for pool failed", metadata: ["error": .string(String(reflecting: error))])
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
326 |             self._releaseConnection0(connection, logger: logger)
327 |         } else {
328 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
329 |         }
330 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
326 |             self._releaseConnection0(connection, logger: logger)
327 |         } else {
328 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
329 |         }
330 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:324:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
322 |     ///   - connection: Connection to release back to the pool.
323 |     ///   - logger: For trace and debug logs.
324 |     public func releaseConnection(_ connection: Source.Connection, logger: Logger) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
325 |         if self.eventLoop.inEventLoop {
326 |             self._releaseConnection0(connection, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:363:38: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
363 |                 for conninfo in self.available where !conninfo.connection.isClosed {
    |                                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
364 |                     if conninfo.lastUse + self.maxIdleTimeBeforePruning < .now() {
365 |                         self.logger.debug("Pruning idle connection.")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:363:33: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
363 |                 for conninfo in self.available where !conninfo.connection.isClosed {
    |                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
364 |                     if conninfo.lastUse + self.maxIdleTimeBeforePruning < .now() {
365 |                         self.logger.debug("Pruning idle connection.")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:360:26: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
358 |                 initialDelay: pruningInterval,
359 |                 delay: pruningInterval
360 |             ) { [unowned self] _ in
    |                          `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:401:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
399 |         } else {
400 |             let promise = self.eventLoop.makePromise(of: Void.self)
401 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
402 |             return promise.futureResult
403 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:396:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
394 |     ///
395 |     /// Connection pools must be closed before they deinitialize.
396 |     public func close() -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
397 |         if self.eventLoop.inEventLoop {
398 |             return self._close0()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:429:28: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
427 |
428 |         return pruningCancellationPromise.futureResult.flatMap {
429 |             self.available.map {
    |                            `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
430 |                 $0.connection.close()
431 |             }.flatten(on: self.eventLoop)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:429:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
427 |
428 |         return pruningCancellationPromise.futureResult.flatMap {
429 |             self.available.map {
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
430 |                 $0.connection.close()
431 |             }.flatten(on: self.eventLoop)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:406:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
404 |     }
405 |
406 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
407 |         self.eventLoop.assertInEventLoop()
408 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:433:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
431 |             }.flatten(on: self.eventLoop)
432 |         }.map {
433 |             self.activeConnections = 0
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
434 |             self.available.removeAll()
435 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:406:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
404 |     }
405 |
406 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
407 |         self.eventLoop.assertInEventLoop()
408 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:434:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
432 |         }.map {
433 |             self.activeConnections = 0
434 |             self.available.removeAll()
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
435 |         }
436 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:442:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
441 |         } else {
442 |             self.eventLoop.submit { (self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
443 |         }
444 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:442:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
441 |         } else {
442 |             self.eventLoop.submit { (self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
443 |         }
444 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:438:31: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
436 |     }
437 |
438 |     internal/*testable*/ func poolState() -> EventLoopFuture<(known: Int, active: Int, open: Int)> {
    |                               `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
439 |         if self.eventLoop.inEventLoop {
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:340:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
338 |             guard !self.didShutdown else {
339 |                 DispatchQueue.global().async {
340 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
341 |                     callback(ConnectionPoolError.shutdown)
342 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:334:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
332 |     /// > Warning: Any invocation of the callback represents a signal that the pool has fully shut
333 |     /// > down. This is true even if the error parameter is non-`nil`; errors are purely advisory.
334 |     public func shutdownGracefully(_ callback: @escaping ((any Error)?) -> Void) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
335 |         // Protect access to shared state.
336 |         guard self.lock.withLock({
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:367:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
365 |             pool.close().whenComplete { result in
366 |                 shutdownQueue.async {
367 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
368 |                     shutdownGroup.leave()
369 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:367:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
365 |             pool.close().whenComplete { result in
366 |                 shutdownQueue.async {
367 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
368 |                     shutdownGroup.leave()
369 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[591/602] Compiling AsyncKit EventLoopGroupConnectionPool.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:185:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
183 |     ) -> EventLoopFuture<Result> {
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
186 |                 self.releaseConnection(conn, logger: logger)
187 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:182:11: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
180 |     public func withConnection<Result>(
181 |         logger: Logger,
182 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
183 |     ) -> EventLoopFuture<Result> {
184 |         self.requestConnection(logger: logger).flatMap { conn in
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:186:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
186 |                 self.releaseConnection(conn, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
187 |             }
188 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:186:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
186 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
187 |             }
188 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:180:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
178 |     ///   - closure: Callback that accepts the pooled connection.
179 |     /// - Returns: A future containing the result of the closure.
180 |     public func withConnection<Result>(
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
181 |         logger: Logger,
182 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:231:79: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
229 |         } else {
230 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
231 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
232 |             return promise.futureResult
233 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:231:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
229 |         } else {
230 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
231 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
232 |             return promise.futureResult
233 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:224:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
222 |     ///   - eventLoop: Preferred event loop for the new connection.
223 |     /// - Returns: A future containing the requested connection.
224 |     public func requestConnection(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
225 |         /// N.B.: This particular pattern (the use of a promise to forward the result when off the event loop)
226 |         /// is straight out of NIO's `EventLoopFuture.fold()` implementation.
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:260:63: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
261 |                 logger.trace("Waiter already removed when timeout task fired", metadata: ["waiter": .stringConvertible(waiterId)])
262 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:260:23: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                       `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
261 |                 logger.trace("Waiter already removed when timeout task fired", metadata: ["waiter": .stringConvertible(waiterId)])
262 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:258:88: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
256 |         let waiterId = self.idGenerator.wrappingIncrementThenLoad(ordering: .relaxed)
257 |         let promise = self.eventLoop.makePromise(of: Source.Connection.self)
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
    |                                                                                        `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:278:27: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
278 |             self?.waiters.removeValue(forKey: waiterId)
    |                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
279 |         }
280 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:278:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
278 |             self?.waiters.removeValue(forKey: waiterId)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
279 |         }
280 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:275:51: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
273 |         self.waiters[waiterId] = (logger: logger, promise: promise, timeoutTask: timeoutTask)
274 |
275 |         promise.futureResult.whenComplete { [weak self] _ in
    |                                                   `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
286 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
286 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:237:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
235 |
236 |     /// Actual implementation of ``EventLoopConnectionPool/requestConnection(logger:)``.
237 |     private func _requestConnection0(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
238 |         self.eventLoop.assertInEventLoop()
239 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:290:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
288 |                 self._releaseConnection0($0, logger: logger)
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
291 |                 logger.error("Opening new connection for pool failed", metadata: ["error": .string(String(reflecting: error))])
292 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:289:49: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
    |                                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
290 |                 self?.activeConnections -= 1
291 |                 logger.error("Opening new connection for pool failed", metadata: ["error": .string(String(reflecting: error))])
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
326 |             self._releaseConnection0(connection, logger: logger)
327 |         } else {
328 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
329 |         }
330 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
326 |             self._releaseConnection0(connection, logger: logger)
327 |         } else {
328 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
329 |         }
330 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:324:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
322 |     ///   - connection: Connection to release back to the pool.
323 |     ///   - logger: For trace and debug logs.
324 |     public func releaseConnection(_ connection: Source.Connection, logger: Logger) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
325 |         if self.eventLoop.inEventLoop {
326 |             self._releaseConnection0(connection, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:363:38: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
363 |                 for conninfo in self.available where !conninfo.connection.isClosed {
    |                                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
364 |                     if conninfo.lastUse + self.maxIdleTimeBeforePruning < .now() {
365 |                         self.logger.debug("Pruning idle connection.")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:363:33: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
363 |                 for conninfo in self.available where !conninfo.connection.isClosed {
    |                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
364 |                     if conninfo.lastUse + self.maxIdleTimeBeforePruning < .now() {
365 |                         self.logger.debug("Pruning idle connection.")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:360:26: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
358 |                 initialDelay: pruningInterval,
359 |                 delay: pruningInterval
360 |             ) { [unowned self] _ in
    |                          `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:401:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
399 |         } else {
400 |             let promise = self.eventLoop.makePromise(of: Void.self)
401 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
402 |             return promise.futureResult
403 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:396:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
394 |     ///
395 |     /// Connection pools must be closed before they deinitialize.
396 |     public func close() -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
397 |         if self.eventLoop.inEventLoop {
398 |             return self._close0()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:429:28: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
427 |
428 |         return pruningCancellationPromise.futureResult.flatMap {
429 |             self.available.map {
    |                            `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
430 |                 $0.connection.close()
431 |             }.flatten(on: self.eventLoop)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:429:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
427 |
428 |         return pruningCancellationPromise.futureResult.flatMap {
429 |             self.available.map {
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
430 |                 $0.connection.close()
431 |             }.flatten(on: self.eventLoop)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:406:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
404 |     }
405 |
406 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
407 |         self.eventLoop.assertInEventLoop()
408 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:433:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
431 |             }.flatten(on: self.eventLoop)
432 |         }.map {
433 |             self.activeConnections = 0
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
434 |             self.available.removeAll()
435 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:406:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
404 |     }
405 |
406 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
407 |         self.eventLoop.assertInEventLoop()
408 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:434:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
432 |         }.map {
433 |             self.activeConnections = 0
434 |             self.available.removeAll()
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
435 |         }
436 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:442:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
441 |         } else {
442 |             self.eventLoop.submit { (self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
443 |         }
444 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:442:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
441 |         } else {
442 |             self.eventLoop.submit { (self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
443 |         }
444 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:438:31: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
436 |     }
437 |
438 |     internal/*testable*/ func poolState() -> EventLoopFuture<(known: Int, active: Int, open: Int)> {
    |                               `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
439 |         if self.eventLoop.inEventLoop {
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:340:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
338 |             guard !self.didShutdown else {
339 |                 DispatchQueue.global().async {
340 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
341 |                     callback(ConnectionPoolError.shutdown)
342 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:334:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
332 |     /// > Warning: Any invocation of the callback represents a signal that the pool has fully shut
333 |     /// > down. This is true even if the error parameter is non-`nil`; errors are purely advisory.
334 |     public func shutdownGracefully(_ callback: @escaping ((any Error)?) -> Void) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
335 |         // Protect access to shared state.
336 |         guard self.lock.withLock({
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:367:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
365 |             pool.close().whenComplete { result in
366 |                 shutdownQueue.async {
367 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
368 |                     shutdownGroup.leave()
369 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:367:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
365 |             pool.close().whenComplete { result in
366 |                 shutdownQueue.async {
367 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
368 |                     shutdownGroup.leave()
369 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[592/602] Compiling AsyncKit EventLoop+Concurrency.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:185:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
183 |     ) -> EventLoopFuture<Result> {
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
186 |                 self.releaseConnection(conn, logger: logger)
187 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:182:11: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
180 |     public func withConnection<Result>(
181 |         logger: Logger,
182 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
183 |     ) -> EventLoopFuture<Result> {
184 |         self.requestConnection(logger: logger).flatMap { conn in
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:186:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
186 |                 self.releaseConnection(conn, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
187 |             }
188 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:186:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
184 |         self.requestConnection(logger: logger).flatMap { conn in
185 |             closure(conn).always { _ in
186 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
187 |             }
188 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:180:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
178 |     ///   - closure: Callback that accepts the pooled connection.
179 |     /// - Returns: A future containing the result of the closure.
180 |     public func withConnection<Result>(
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
181 |         logger: Logger,
182 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:231:79: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
229 |         } else {
230 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
231 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
232 |             return promise.futureResult
233 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:231:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
229 |         } else {
230 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
231 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
232 |             return promise.futureResult
233 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:224:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
222 |     ///   - eventLoop: Preferred event loop for the new connection.
223 |     /// - Returns: A future containing the requested connection.
224 |     public func requestConnection(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
225 |         /// N.B.: This particular pattern (the use of a promise to forward the result when off the event loop)
226 |         /// is straight out of NIO's `EventLoopFuture.fold()` implementation.
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:260:63: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
261 |                 logger.trace("Waiter already removed when timeout task fired", metadata: ["waiter": .stringConvertible(waiterId)])
262 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:260:23: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                       `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
261 |                 logger.trace("Waiter already removed when timeout task fired", metadata: ["waiter": .stringConvertible(waiterId)])
262 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:258:88: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
256 |         let waiterId = self.idGenerator.wrappingIncrementThenLoad(ordering: .relaxed)
257 |         let promise = self.eventLoop.makePromise(of: Source.Connection.self)
258 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
    |                                                                                        `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
259 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
260 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:278:27: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
278 |             self?.waiters.removeValue(forKey: waiterId)
    |                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
279 |         }
280 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:278:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
278 |             self?.waiters.removeValue(forKey: waiterId)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
279 |         }
280 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:275:51: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
273 |         self.waiters[waiterId] = (logger: logger, promise: promise, timeoutTask: timeoutTask)
274 |
275 |         promise.futureResult.whenComplete { [weak self] _ in
    |                                                   `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
276 |             logger.trace("Connection request completed", metadata: ["waiter": .stringConvertible(waiterId)])
277 |             timeoutTask.cancel()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
286 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:288:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
286 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:237:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
235 |
236 |     /// Actual implementation of ``EventLoopConnectionPool/requestConnection(logger:)``.
237 |     private func _requestConnection0(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
238 |         self.eventLoop.assertInEventLoop()
239 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:290:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
288 |                 self._releaseConnection0($0, logger: logger)
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
290 |                 self?.activeConnections -= 1
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
291 |                 logger.error("Opening new connection for pool failed", metadata: ["error": .string(String(reflecting: error))])
292 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:289:49: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
287 |                 logger.trace("New connection successful, servicing waitlist")
288 |                 self._releaseConnection0($0, logger: logger)
289 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
    |                                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
290 |                 self?.activeConnections -= 1
291 |                 logger.error("Opening new connection for pool failed", metadata: ["error": .string(String(reflecting: error))])
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
326 |             self._releaseConnection0(connection, logger: logger)
327 |         } else {
328 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
329 |         }
330 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
326 |             self._releaseConnection0(connection, logger: logger)
327 |         } else {
328 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
329 |         }
330 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:324:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
322 |     ///   - connection: Connection to release back to the pool.
323 |     ///   - logger: For trace and debug logs.
324 |     public func releaseConnection(_ connection: Source.Connection, logger: Logger) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
325 |         if self.eventLoop.inEventLoop {
326 |             self._releaseConnection0(connection, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:363:38: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
363 |                 for conninfo in self.available where !conninfo.connection.isClosed {
    |                                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
364 |                     if conninfo.lastUse + self.maxIdleTimeBeforePruning < .now() {
365 |                         self.logger.debug("Pruning idle connection.")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:363:33: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
363 |                 for conninfo in self.available where !conninfo.connection.isClosed {
    |                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
364 |                     if conninfo.lastUse + self.maxIdleTimeBeforePruning < .now() {
365 |                         self.logger.debug("Pruning idle connection.")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:360:26: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
358 |                 initialDelay: pruningInterval,
359 |                 delay: pruningInterval
360 |             ) { [unowned self] _ in
    |                          `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
361 |                 var prunedConnections: Set<ObjectIdentifier> = []
362 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:401:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
399 |         } else {
400 |             let promise = self.eventLoop.makePromise(of: Void.self)
401 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
402 |             return promise.futureResult
403 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:396:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
394 |     ///
395 |     /// Connection pools must be closed before they deinitialize.
396 |     public func close() -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
397 |         if self.eventLoop.inEventLoop {
398 |             return self._close0()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:429:28: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
427 |
428 |         return pruningCancellationPromise.futureResult.flatMap {
429 |             self.available.map {
    |                            `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
430 |                 $0.connection.close()
431 |             }.flatten(on: self.eventLoop)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:429:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
427 |
428 |         return pruningCancellationPromise.futureResult.flatMap {
429 |             self.available.map {
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
430 |                 $0.connection.close()
431 |             }.flatten(on: self.eventLoop)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:406:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
404 |     }
405 |
406 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
407 |         self.eventLoop.assertInEventLoop()
408 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:433:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
431 |             }.flatten(on: self.eventLoop)
432 |         }.map {
433 |             self.activeConnections = 0
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
434 |             self.available.removeAll()
435 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:406:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
404 |     }
405 |
406 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
407 |         self.eventLoop.assertInEventLoop()
408 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:434:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
432 |         }.map {
433 |             self.activeConnections = 0
434 |             self.available.removeAll()
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
435 |         }
436 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:442:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
441 |         } else {
442 |             self.eventLoop.submit { (self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
443 |         }
444 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:442:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
441 |         } else {
442 |             self.eventLoop.submit { (self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
443 |         }
444 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:438:31: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
436 |     }
437 |
438 |     internal/*testable*/ func poolState() -> EventLoopFuture<(known: Int, active: Int, open: Int)> {
    |                               `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
439 |         if self.eventLoop.inEventLoop {
440 |             self.eventLoop.makeSucceededFuture((self.available.count, self.activeConnections, self.available.filter { !$0.connection.isClosed }.count))
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:340:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
338 |             guard !self.didShutdown else {
339 |                 DispatchQueue.global().async {
340 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
341 |                     callback(ConnectionPoolError.shutdown)
342 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:334:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
332 |     /// > Warning: Any invocation of the callback represents a signal that the pool has fully shut
333 |     /// > down. This is true even if the error parameter is non-`nil`; errors are purely advisory.
334 |     public func shutdownGracefully(_ callback: @escaping ((any Error)?) -> Void) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
335 |         // Protect access to shared state.
336 |         guard self.lock.withLock({
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:367:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
365 |             pool.close().whenComplete { result in
366 |                 shutdownQueue.async {
367 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
368 |                     shutdownGroup.leave()
369 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:367:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
365 |             pool.close().whenComplete { result in
366 |                 shutdownQueue.async {
367 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
368 |                     shutdownGroup.leave()
369 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[593/602] Compiling AsyncKit ConnectionPoolError.swift
[594/602] Compiling AsyncKit ConnectionPoolItem.swift
[595/602] Compiling AsyncKit ConnectionPoolSource.swift
[596/602] Emitting module AsyncKit
[597/602] Compiling AsyncKit EventLoopFutureQueue.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:19:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 20 |     }
 21 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:17:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 15 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
 16 |     public func mapEach<Result>(
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 35 |     }
 36 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:32:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 30 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of key path values.
 31 |     public func mapEach<Result>(
 32 |         _ keyPath: KeyPath<Value.Element, Result>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:52:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 53 |     }
 54 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:50:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 48 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
 49 |     public func mapEachCompact<Result>(
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 68 |     }
 69 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:65:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 63 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of non-nil key path values.
 64 |     public func mapEachCompact<Result>(
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:30: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                              `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:82:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 80 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 81 |     public func mapEachFlat<ResultSegment: Sequence>(
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:82:11: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 80 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 81 |     public func mapEachFlat<ResultSegment: Sequence>(
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
    |           `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:30: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                              `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
102 |     }
103 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
102 |     }
103 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:99:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 97 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 98 |     public func mapEachFlat<ResultSegment: Sequence>(
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:99:11: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 97 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 98 |     public func mapEachFlat<ResultSegment: Sequence>(
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
    |           `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:42: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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 non-Sendable type 'Value.Type' in an isolated closure
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:118:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
116 |     public func flatMapEach<Result>(
117 |         on eventLoop: any EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:140:39: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
    |                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
141 |     }
142 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:138:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
136 |     public func flatMapEach(
137 |         on eventLoop: any EventLoop,
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:42: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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 non-Sendable type 'Value.Type' in an isolated closure
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:157:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
155 |     public func flatMapEachCompact<Result>(
156 |         on eventLoop: any EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:181:24: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
181 |             return try sequence.map(transform)
    |                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
182 |         }
183 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:178:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
176 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
177 |     public func flatMapEachThrowing<Result>(
178 |         _ transform: @escaping (_ element: Value.Element) throws -> Result
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:203:24: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
203 |             return try sequence.compactMap(transform)
    |                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
204 |         }
205 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:200:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
198 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
199 |     public func flatMapEachCompactThrowing<Result>(
200 |         _ transform: @escaping (_ element: Value.Element) throws -> Result?
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:221:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
223 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:217:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
218 |         var results: [Result] = []
219 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:217:48: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                                                `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
218 |         var results: [Result] = []
219 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:231:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
232 |                 fut.flatMap { transform(elem) }
233 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:229:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
227 |     /// An overload of `sequencedFlatMapEach(_:)` which returns a `Void` future instead
228 |     /// of `[Void]` when the result type of the transform closure is `Void`.
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:229:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
227 |     /// An overload of `sequencedFlatMapEach(_:)` which returns a `Void` future instead
228 |     /// of `[Void]` when the result type of the transform closure is `Void`.
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:244:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
242 |
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:240:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
241 |         var results: [Result] = []
242 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:240:55: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
241 |         var results: [Result] = []
242 |
[598/602] Compiling AsyncKit Future+Collection.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:19:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 20 |     }
 21 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:17:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 15 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
 16 |     public func mapEach<Result>(
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 35 |     }
 36 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:32:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 30 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of key path values.
 31 |     public func mapEach<Result>(
 32 |         _ keyPath: KeyPath<Value.Element, Result>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:52:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 53 |     }
 54 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:50:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 48 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
 49 |     public func mapEachCompact<Result>(
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 68 |     }
 69 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:65:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 63 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of non-nil key path values.
 64 |     public func mapEachCompact<Result>(
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:30: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                              `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:82:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 80 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 81 |     public func mapEachFlat<ResultSegment: Sequence>(
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:82:11: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 80 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 81 |     public func mapEachFlat<ResultSegment: Sequence>(
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
    |           `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:30: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                              `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
102 |     }
103 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
102 |     }
103 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:99:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 97 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 98 |     public func mapEachFlat<ResultSegment: Sequence>(
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:99:11: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 97 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 98 |     public func mapEachFlat<ResultSegment: Sequence>(
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
    |           `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:42: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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 non-Sendable type 'Value.Type' in an isolated closure
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:118:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
116 |     public func flatMapEach<Result>(
117 |         on eventLoop: any EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:140:39: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
    |                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
141 |     }
142 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:138:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
136 |     public func flatMapEach(
137 |         on eventLoop: any EventLoop,
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:42: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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 non-Sendable type 'Value.Type' in an isolated closure
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:157:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
155 |     public func flatMapEachCompact<Result>(
156 |         on eventLoop: any EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:181:24: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
181 |             return try sequence.map(transform)
    |                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
182 |         }
183 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:178:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
176 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
177 |     public func flatMapEachThrowing<Result>(
178 |         _ transform: @escaping (_ element: Value.Element) throws -> Result
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:203:24: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
203 |             return try sequence.compactMap(transform)
    |                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
204 |         }
205 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:200:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
198 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
199 |     public func flatMapEachCompactThrowing<Result>(
200 |         _ transform: @escaping (_ element: Value.Element) throws -> Result?
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:221:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
223 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:217:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
218 |         var results: [Result] = []
219 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:217:48: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                                                `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
218 |         var results: [Result] = []
219 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:231:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
232 |                 fut.flatMap { transform(elem) }
233 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:229:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
227 |     /// An overload of `sequencedFlatMapEach(_:)` which returns a `Void` future instead
228 |     /// of `[Void]` when the result type of the transform closure is `Void`.
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:229:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
227 |     /// An overload of `sequencedFlatMapEach(_:)` which returns a `Void` future instead
228 |     /// of `[Void]` when the result type of the transform closure is `Void`.
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:244:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
242 |
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:240:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
241 |         var results: [Result] = []
242 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:240:55: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
241 |         var results: [Result] = []
242 |
[599/602] Compiling AsyncKit Future+Conjunctions.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:19:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 20 |     }
 21 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:17:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 15 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
 16 |     public func mapEach<Result>(
 17 |         _ transform: @escaping (_ element: Value.Element) -> Result
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 18 |     ) -> EventLoopFuture<[Result]> {
 19 |         return self.map { $0.map(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:34:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 32 |         _ keyPath: KeyPath<Value.Element, Result>
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 35 |     }
 36 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:32:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 30 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of key path values.
 31 |     public func mapEach<Result>(
 32 |         _ keyPath: KeyPath<Value.Element, Result>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 33 |     ) -> EventLoopFuture<[Result]> {
 34 |         return self.map { $0.map { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:52:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 53 |     }
 54 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:50:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 48 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
 49 |     public func mapEachCompact<Result>(
 50 |         _ transform: @escaping (_ element: Value.Element) -> Result?
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 51 |     ) -> EventLoopFuture<[Result]> {
 52 |         return self.map { $0.compactMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:67:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 68 |     }
 69 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:65:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 63 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of non-nil key path values.
 64 |     public func mapEachCompact<Result>(
 65 |         _ keyPath: KeyPath<Value.Element, Result?>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 66 |     ) -> EventLoopFuture<[Result]> {
 67 |         return self.map { $0.compactMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:30: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                              `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:84:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 85 |     }
 86 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:82:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 80 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 81 |     public func mapEachFlat<ResultSegment: Sequence>(
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:82:11: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 80 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 81 |     public func mapEachFlat<ResultSegment: Sequence>(
 82 |         _ transform: @escaping (_ element: Value.Element) -> ResultSegment
    |           `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 83 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
 84 |         return self.map { $0.flatMap(transform) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:30: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                              `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
102 |     }
103 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:101:27: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
    |                           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
102 |     }
103 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:99:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
 97 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 98 |     public func mapEachFlat<ResultSegment: Sequence>(
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:99:11: warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
 97 |     /// - returns: A new `EventLoopFuture` that wraps the flattened sequence of transformed elements.
 98 |     public func mapEachFlat<ResultSegment: Sequence>(
 99 |         _ keyPath: KeyPath<Value.Element, ResultSegment>
    |           `- warning: capture of non-Sendable type 'ResultSegment.Type' in an isolated closure
100 |     ) -> EventLoopFuture<[ResultSegment.Element]> {
101 |         return self.map { $0.flatMap { $0[keyPath: keyPath] } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:120:42: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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 non-Sendable type 'Value.Type' in an isolated closure
121 |     }
122 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:118:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
116 |     public func flatMapEach<Result>(
117 |         on eventLoop: any EventLoop,
118 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
119 |     ) -> EventLoopFuture<[Result]> {
120 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { $0.append($1) } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:140:39: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
    |                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
141 |     }
142 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:138:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
136 |     public func flatMapEach(
137 |         on eventLoop: any EventLoop,
138 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
139 |     ) -> EventLoopFuture<Void> {
140 |         self.flatMap { .andAllSucceed($0.map(transform), on: eventLoop) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:159:42: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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 non-Sendable type 'Value.Type' in an isolated closure
160 |     }
161 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:157:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
155 |     public func flatMapEachCompact<Result>(
156 |         on eventLoop: any EventLoop,
157 |         _ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Result?>
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
158 |     ) -> EventLoopFuture<[Result]> {
159 |         self.flatMap { .reduce(into: [], $0.map(transform), on: eventLoop) { res, elem in elem.map { res.append($0) } } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:181:24: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
181 |             return try sequence.map(transform)
    |                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
182 |         }
183 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:178:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
176 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
177 |     public func flatMapEachThrowing<Result>(
178 |         _ transform: @escaping (_ element: Value.Element) throws -> Result
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
179 |     ) -> EventLoopFuture<[Result]> {
180 |         return self.flatMapThrowing { sequence -> [Result] in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:203:24: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
203 |             return try sequence.compactMap(transform)
    |                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
204 |         }
205 |     }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:200:11: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
198 |     /// - returns: A new `EventLoopFuture` that wraps the sequence of transformed elements.
199 |     public func flatMapEachCompactThrowing<Result>(
200 |         _ transform: @escaping (_ element: Value.Element) throws -> Result?
    |           `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
201 |     ) -> EventLoopFuture<[Result]> {
202 |         return self.flatMapThrowing { sequence -> [Result] in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:221:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
219 |
220 |         return self.flatMap {
221 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
222 |                 fut.flatMap { transform(elem).map { results.append($0) } }
223 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:217:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
218 |         var results: [Result] = []
219 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:217:48: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                                                `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
218 |         var results: [Result] = []
219 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:231:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
232 |                 fut.flatMap { transform(elem) }
233 |             }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:229:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
227 |     /// An overload of `sequencedFlatMapEach(_:)` which returns a `Void` future instead
228 |     /// of `[Void]` when the result type of the transform closure is `Void`.
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:229:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
227 |     /// An overload of `sequencedFlatMapEach(_:)` which returns a `Void` future instead
228 |     /// of `[Void]` when the result type of the transform closure is `Void`.
229 |     public func sequencedFlatMapEach(_ transform: @escaping (_ element: Value.Element) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                                        `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
230 |         return self.flatMap {
231 |             $0.reduce(self.eventLoop.future()) { fut, elem in
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:244:13: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
242 |
243 |         return self.flatMap {
244 |             $0.reduce(self.eventLoop.future()) { fut, elem in
    |             `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
245 |                 fut.flatMap { transform(elem).map {
246 |                     $0.map { results.append($0) }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:240:17: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                 `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
241 |         var results: [Result] = []
242 |
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift:240:55: warning: capture of non-Sendable type 'Value.Type' in an isolated closure
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]> {
    |                                                       `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure
241 |         var results: [Result] = []
242 |
[600/602] Compiling AsyncKit EventLoopGroup+Throwing.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:44:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
42 |     public func sequencedFlatMapEach<Result>(
43 |         on eventLoop: any EventLoop,
44 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Result>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 |     ) -> EventLoopFuture<[Result]> {
46 |         return self.reduce(eventLoop.future([])) { fut, elem in fut.flatMap { res in transform(elem).map { res + [$0] } } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:53:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
51 |     public func sequencedFlatMapEach(
52 |         on eventLoop: any EventLoop,
53 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Void>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 |     ) -> EventLoopFuture<Void> {
55 |         return self.reduce(eventLoop.future()) { fut, elem in fut.flatMap { transform(elem) } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:63:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
61 |     public func sequencedFlatMapEachCompact<Result>(
62 |         on eventLoop: any EventLoop,
63 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Result?>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
64 |     ) -> EventLoopFuture<[Result]> {
65 |         return self.reduce(eventLoop.future([])) { fut, elem in fut.flatMap { res in transform(elem).map { res + [$0].compactMap { $0 } } } }
[601/602] Compiling AsyncKit Collection+Flatten.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:44:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
42 |     public func sequencedFlatMapEach<Result>(
43 |         on eventLoop: any EventLoop,
44 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Result>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 |     ) -> EventLoopFuture<[Result]> {
46 |         return self.reduce(eventLoop.future([])) { fut, elem in fut.flatMap { res in transform(elem).map { res + [$0] } } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:53:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
51 |     public func sequencedFlatMapEach(
52 |         on eventLoop: any EventLoop,
53 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Void>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 |     ) -> EventLoopFuture<Void> {
55 |         return self.reduce(eventLoop.future()) { fut, elem in fut.flatMap { transform(elem) } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:63:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
61 |     public func sequencedFlatMapEachCompact<Result>(
62 |         on eventLoop: any EventLoop,
63 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Result?>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
64 |     ) -> EventLoopFuture<[Result]> {
65 |         return self.reduce(eventLoop.future([])) { fut, elem in fut.flatMap { res in transform(elem).map { res + [$0].compactMap { $0 } } } }
[602/602] Compiling AsyncKit EventLoopFutureQueue+Sequence.swift
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:44:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
42 |     public func sequencedFlatMapEach<Result>(
43 |         on eventLoop: any EventLoop,
44 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Result>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 |     ) -> EventLoopFuture<[Result]> {
46 |         return self.reduce(eventLoop.future([])) { fut, elem in fut.flatMap { res in transform(elem).map { res + [$0] } } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:53:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
51 |     public func sequencedFlatMapEach(
52 |         on eventLoop: any EventLoop,
53 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Void>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 |     ) -> EventLoopFuture<Void> {
55 |         return self.reduce(eventLoop.future()) { fut, elem in fut.flatMap { transform(elem) } }
/host/spi-builder-workspace/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift:63:11: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
61 |     public func sequencedFlatMapEachCompact<Result>(
62 |         on eventLoop: any EventLoop,
63 |         _ transform: @escaping (_ element: Element) -> EventLoopFuture<Result?>
   |           `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
64 |     ) -> EventLoopFuture<[Result]> {
65 |         return self.reduce(eventLoop.future([])) { fut, elem in fut.flatMap { res in transform(elem).map { res + [$0].compactMap { $0 } } } }
Build complete! (197.03s)
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.10"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.