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 main (e048c8), with Swift 6.2 (beta) for Linux on 21 Jun 2025 21:44:01 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

[121/384] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[122/384] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[123/384] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[124/384] Compiling HashTreeCollections TreeSet+Extras.swift
[125/384] Compiling HashTreeCollections TreeSet+Filter.swift
[126/391] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[127/391] Compiling NIOConcurrencyHelpers atomics.swift
[128/391] Compiling BitCollections BitArray+Invariants.swift
[129/391] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[130/391] Compiling Logging MetadataProvider.swift
[131/391] Emitting module Logging
[132/391] Compiling Logging Locks.swift
[133/391] Compiling _NIODataStructures Heap.swift
[134/391] Emitting module _NIODataStructures
[136/392] Compiling Logging Logging.swift
[137/393] Compiling NIOConcurrencyHelpers NIOLock.swift
[139/393] Compiling NIOConcurrencyHelpers lock.swift
[151/419] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[152/419] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[153/419] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[154/419] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[155/419] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[156/419] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[157/419] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[158/419] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[159/419] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[160/419] Compiling BitCollections BitArray+Shifts.swift
[161/419] Compiling BitCollections BitArray+Testing.swift
[162/419] Compiling BitCollections BitArray._UnsafeHandle.swift
[163/419] Compiling BitCollections BitArray.swift
[164/419] Compiling BitCollections BitSet+BidirectionalCollection.swift
[165/419] Compiling BitCollections BitSet+Codable.swift
[166/419] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[167/419] Compiling OrderedCollections OrderedSet+Sendable.swift
[168/419] Compiling OrderedCollections OrderedSet+SubSequence.swift
[169/419] Compiling OrderedCollections OrderedSet+Testing.swift
[170/419] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[171/419] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[172/419] Compiling OrderedCollections OrderedSet.swift
[173/419] Compiling OrderedCollections _UnsafeBitset.swift
[174/419] Compiling HashTreeCollections TreeDictionary+Merge.swift
[175/419] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[176/419] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[177/419] Compiling HashTreeCollections TreeDictionary+Values.swift
[178/419] Compiling Algorithms Keyed.swift
[179/419] Compiling Algorithms MinMax.swift
[180/419] Compiling Algorithms RandomSample.swift
[181/419] Compiling Algorithms Reductions.swift
[182/419] Compiling Algorithms Rotate.swift
[183/419] Compiling Algorithms Split.swift
[184/419] Compiling Algorithms Stride.swift
[185/419] Compiling Algorithms Suffix.swift
[186/419] Compiling Algorithms Partition.swift
[187/419] Compiling Algorithms Permutations.swift
[188/419] Compiling Algorithms Product.swift
[189/419] Compiling Algorithms FlattenCollection.swift
[190/419] Compiling Algorithms Grouped.swift
[191/419] Compiling Algorithms Indexed.swift
[192/419] Compiling Algorithms Intersperse.swift
[193/419] Compiling Algorithms Joined.swift
[201/426] Compiling Algorithms Chunked.swift
[202/426] Compiling Algorithms Combinations.swift
[207/426] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[208/426] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[209/426] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[210/426] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[211/426] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[212/426] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[213/426] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[214/426] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[215/426] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[216/426] Compiling HashTreeCollections TreeSet.swift
[217/426] Compiling Algorithms Compacted.swift
[218/426] Compiling Algorithms Cycle.swift
[221/426] Compiling Algorithms EitherSequence.swift
[222/426] Compiling Algorithms FirstNonNil.swift
[230/429] Emitting module DequeModule
[250/430] Compiling Algorithms AdjacentPairs.swift
[251/430] Compiling Algorithms Chain.swift
[254/490] Compiling NIOCore ByteBuffer-conversions.swift
[255/490] Compiling NIOCore ByteBuffer-core.swift
[256/490] Compiling NIOCore ByteBuffer-hex.swift
[257/490] Compiling NIOCore ByteBuffer-int.swift
[258/490] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[259/490] Compiling NIOCore CircularBuffer.swift
[260/490] Compiling NIOCore Codec.swift
[261/490] Compiling NIOCore ConvenienceOptionSupport.swift
[262/490] Compiling NIOCore DeadChannel.swift
[263/490] Compiling NIOCore DispatchQueue+WithFuture.swift
[264/490] Compiling NIOCore EventLoop+Deprecated.swift
[265/490] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[268/490] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[269/490] Compiling NIOCore BSDSocketAPI.swift
[270/490] Compiling NIOCore ByteBuffer-aux.swift
[271/490] Compiling NIOCore NIOAsyncWriter.swift
[272/490] Compiling NIOCore ByteBuffer-multi-int.swift
[273/490] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[274/490] Compiling NIOCore ByteBuffer-views.swift
[275/490] Compiling NIOCore Channel.swift
[276/490] Compiling NIOCore ChannelHandler.swift
[277/490] Compiling NIOCore ChannelHandlers.swift
[278/490] Compiling NIOCore ChannelInvoker.swift
[287/490] Emitting module BitCollections
[288/490] Compiling NIOCore AddressedEnvelope.swift
[289/490] Compiling NIOCore AsyncAwaitSupport.swift
[290/490] Compiling NIOCore AsyncChannel.swift
[291/490] Compiling NIOCore AsyncChannelHandler.swift
[292/490] Compiling NIOCore AsyncChannelInboundStream.swift
[293/490] Compiling NIOCore AsyncChannelOutboundWriter.swift
[294/490] Compiling NIOCore NIOAsyncSequenceProducer.swift
[295/490] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[302/490] Compiling NIOCore ChannelOption.swift
[303/490] Compiling NIOCore ChannelPipeline.swift
[306/499] Compiling NIOCore Linux.swift
[307/499] Compiling NIOCore MarkedCircularBuffer.swift
[308/499] Compiling NIOCore MulticastChannel.swift
[309/499] Compiling NIOCore NIOAny.swift
[310/499] Compiling NIOCore NIOCloseOnErrorHandler.swift
[311/499] Compiling NIOCore NIOLoopBound.swift
[312/499] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[313/499] Compiling NIOCore NIOScheduledCallback.swift
[314/499] Compiling NIOCore NIOSendable.swift
[315/499] Compiling NIOCore RecvByteBufferAllocator.swift
[331/499] Emitting module OrderedCollections
[352/500] Emitting module _RopeModule
[388/509] Compiling NIOCore EventLoop+SerialExecutor.swift
[389/509] Compiling NIOCore EventLoop.swift
[390/509] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[391/509] Compiling NIOCore EventLoopFuture+Deprecated.swift
[392/509] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[393/509] Compiling NIOCore EventLoopFuture.swift
[394/509] Compiling NIOCore FileDescriptor.swift
[395/509] Compiling NIOCore FileHandle.swift
[396/509] Compiling NIOCore FileRegion.swift
[397/509] Compiling NIOCore GlobalSingletons.swift
[398/509] Compiling NIOCore IO.swift
[410/509] Compiling _RopeModule Rope+Join.swift
[411/509] Compiling _RopeModule Rope+MutatingForEach.swift
[412/509] Compiling _RopeModule Rope+Remove.swift
[413/509] Compiling _RopeModule Rope+RemoveSubrange.swift
[414/509] Compiling _RopeModule Rope+Split.swift
[415/509] Compiling _RopeModule Optional Utilities.swift
[416/509] Compiling _RopeModule String Utilities.swift
[417/509] Compiling _RopeModule String.Index+ABI.swift
[418/509] Compiling _RopeModule _CharacterRecognizer.swift
[419/509] Emitting module Algorithms
[421/510] Compiling NIOCore IOData.swift
[422/510] Compiling NIOCore IPProtocol.swift
[423/510] Compiling NIOCore IntegerBitPacking.swift
[424/510] Compiling NIOCore IntegerTypes.swift
[425/510] Compiling NIOCore Interfaces.swift
[437/510] Emitting module HashTreeCollections
[478/514] Emitting module Collections
[479/514] Compiling Collections Collections.swift
[489/515] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[490/515] Compiling NIOCore SocketAddresses.swift
[491/515] Compiling NIOCore SocketOptionProvider.swift
[492/515] Compiling NIOCore SystemCallHelpers.swift
[493/515] Compiling NIOCore TimeAmount+Duration.swift
[494/515] Compiling NIOCore TypeAssistedChannelHandler.swift
[495/515] Compiling NIOCore UniversalBootstrapSupport.swift
[496/515] Compiling NIOCore Utilities.swift
[515/515] Emitting module NIOCore
[517/566] Compiling NIOEmbedded AsyncTestingChannel.swift
[518/566] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[519/566] Emitting module NIOEmbedded
[520/566] Compiling NIOEmbedded Embedded.swift
[522/567] Compiling NIOPosix SelectableChannel.swift
[523/567] Compiling NIOPosix SelectableEventLoop.swift
[524/567] Compiling NIOPosix SelectorEpoll.swift
[525/567] Compiling NIOPosix SelectorGeneric.swift
[526/567] Compiling NIOPosix SelectorKqueue.swift
[527/567] Compiling NIOPosix SelectorUring.swift
[528/567] Compiling NIOPosix ServerSocket.swift
[529/567] Compiling NIOPosix Socket.swift
[530/567] Compiling NIOPosix SocketChannel.swift
[531/567] Compiling NIOPosix SocketProtocols.swift
[532/567] Compiling NIOPosix System.swift
[533/567] Compiling NIOPosix Thread.swift
[534/567] Compiling NIOPosix Pool.swift
[535/567] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[536/567] Compiling NIOPosix PosixSingletons.swift
[537/567] Compiling NIOPosix RawSocketBootstrap.swift
[538/567] Compiling NIOPosix Resolver.swift
[539/567] Compiling NIOPosix Selectable.swift
[540/573] Compiling NIOPosix ThreadPosix.swift
[541/573] Compiling NIOPosix ThreadWindows.swift
[542/573] Compiling NIOPosix UnsafeTransfer.swift
[543/573] Compiling NIOPosix Utilities.swift
[544/573] Compiling NIOPosix VsockAddress.swift
[545/573] Compiling NIOPosix VsockChannelEvents.swift
[546/573] Emitting module NIOPosix
[547/573] Compiling NIOPosix BSDSocketAPICommon.swift
[548/573] Compiling NIOPosix BSDSocketAPIPosix.swift
[549/573] Compiling NIOPosix BSDSocketAPIWindows.swift
[550/573] Compiling NIOPosix BaseSocket.swift
[551/573] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[552/573] Compiling NIOPosix BaseSocketChannel.swift
[553/573] Compiling NIOPosix BaseStreamSocketChannel.swift
[554/573] Compiling NIOPosix NIOThreadPool.swift
[555/573] Compiling NIOPosix NonBlockingFileIO.swift
[556/573] Compiling NIOPosix PendingDatagramWritesManager.swift
[557/573] Compiling NIOPosix PendingWritesManager.swift
[558/573] Compiling NIOPosix PipeChannel.swift
[559/573] Compiling NIOPosix PipePair.swift
[560/573] Compiling NIOPosix IO.swift
[561/573] Compiling NIOPosix IntegerBitPacking.swift
[562/573] Compiling NIOPosix IntegerTypes.swift
[563/573] Compiling NIOPosix Linux.swift
[564/573] Compiling NIOPosix LinuxCPUSet.swift
[565/573] Compiling NIOPosix LinuxUring.swift
[566/573] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[567/573] Compiling NIOPosix Bootstrap.swift
[568/573] Compiling NIOPosix ControlMessage.swift
[569/573] Compiling NIOPosix DatagramVectorReadManager.swift
[570/573] Compiling NIOPosix Errors+Any.swift
[571/573] Compiling NIOPosix FileDescriptor.swift
[572/573] Compiling NIOPosix GetaddrinfoResolver.swift
[573/573] Compiling NIOPosix HappyEyeballs.swift
[575/596] 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: 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: 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: 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 } } } }
[576/596] 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: 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: 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: 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 } } } }
[577/596] 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: 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: 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: 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 } } } }
[578/598] 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() }
[579/598] 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() }
[580/598] 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() }
[581/598] Compiling AsyncKit Future+Transform.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 |
[582/598] 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 |
[583/598] 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 |
[584/598] Compiling AsyncKit Optional+StrictMap.swift
[585/598] Compiling AsyncKit Exports.swift
[586/598] Compiling AsyncKit EventLoopConnectionPool.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:128:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
129 |                 self.releaseConnection(conn, logger: logger)
130 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:125:11: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
123 |     public func withConnection<Result>(
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:123:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
121 |     ///   - closure: Callback that accepts the pooled connection.
122 |     /// - Returns: A future containing the result of the closure.
123 |     public func withConnection<Result>(
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:79: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:163:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
161 |     ///     - eventLoop: Preferred event loop for the new connection.
162 |     /// - returns: A future containing the requested connection.
163 |     public func requestConnection(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
164 |         /// N.B.: This particular pattern (the use of a promise to forward the result when off the event loop)
165 |         /// is straight out of NIO's `EventLoopFuture.fold()` implementation.
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:63: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:23: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                       `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:197:88: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
195 |         let waiterId = self.idGenerator.wrappingIncrementThenLoad(ordering: .relaxed)
196 |         let promise = self.eventLoop.makePromise(of: Source.Connection.self)
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
    |                                                                                        `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:27: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:212:51: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
210 |         self.waiters[waiterId] = (logger: logger, promise: promise, timeoutTask: timeoutTask)
211 |
212 |         promise.futureResult.whenComplete { [weak self] _ in
    |                                                   `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:176:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
174 |
175 |     /// Actual implementation of ``requestConnection(logger:)``.
176 |     private func _requestConnection0(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
177 |         self.eventLoop.assertInEventLoop()
178 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:227:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
229 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:226:49: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
    |                                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
227 |                 self?.activeConnections -= 1
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:257:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
255 |     ///     - connection: Connection to release back to the pool.
256 |     ///     - logger: For trace and debug logs.
257 |     public func releaseConnection(_ connection: Source.Connection, logger: Logger) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
258 |         if self.eventLoop.inEventLoop {
259 |             self._releaseConnection0(connection, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:305:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
303 |         } else {
304 |             let promise = self.eventLoop.makePromise(of: Void.self)
305 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
306 |             return promise.futureResult
307 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:300:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
298 |     ///
299 |     /// Connection pools must be closed before they deinitialize.
300 |     public func close() -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
301 |         if self.eventLoop.inEventLoop {
302 |             return self._close0()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
326 |             $0.close()
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
329 |             self.available.removeAll()
330 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:310:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
308 |     }
309 |
310 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
311 |         self.eventLoop.assertInEventLoop()
312 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:329:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
329 |             self.available.removeAll()
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
330 |         }
331 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:290:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
288 |             guard !self.didShutdown else {
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
291 |                     callback(ConnectionPoolError.shutdown)
292 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:284:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
282 |     /// - Warning: Any invocation of the callback represents a signal that the pool has fully shut
283 |     ///   down. This is true even if the error parameter is non-`nil`; errors are purely advisory.
284 |     public func shutdownGracefully(_ callback: @escaping (Error?) -> Void) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
285 |         // Protect access to shared state.
286 |         guard self.lock.withLock({
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
318 |                     shutdownGroup.leave()
319 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[587/598] Compiling AsyncKit EventLoopGroupConnectionPool.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:128:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
129 |                 self.releaseConnection(conn, logger: logger)
130 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:125:11: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
123 |     public func withConnection<Result>(
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:123:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
121 |     ///   - closure: Callback that accepts the pooled connection.
122 |     /// - Returns: A future containing the result of the closure.
123 |     public func withConnection<Result>(
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:79: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:163:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
161 |     ///     - eventLoop: Preferred event loop for the new connection.
162 |     /// - returns: A future containing the requested connection.
163 |     public func requestConnection(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
164 |         /// N.B.: This particular pattern (the use of a promise to forward the result when off the event loop)
165 |         /// is straight out of NIO's `EventLoopFuture.fold()` implementation.
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:63: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:23: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                       `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:197:88: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
195 |         let waiterId = self.idGenerator.wrappingIncrementThenLoad(ordering: .relaxed)
196 |         let promise = self.eventLoop.makePromise(of: Source.Connection.self)
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
    |                                                                                        `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:27: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:212:51: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
210 |         self.waiters[waiterId] = (logger: logger, promise: promise, timeoutTask: timeoutTask)
211 |
212 |         promise.futureResult.whenComplete { [weak self] _ in
    |                                                   `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:176:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
174 |
175 |     /// Actual implementation of ``requestConnection(logger:)``.
176 |     private func _requestConnection0(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
177 |         self.eventLoop.assertInEventLoop()
178 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:227:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
229 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:226:49: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
    |                                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
227 |                 self?.activeConnections -= 1
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:257:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
255 |     ///     - connection: Connection to release back to the pool.
256 |     ///     - logger: For trace and debug logs.
257 |     public func releaseConnection(_ connection: Source.Connection, logger: Logger) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
258 |         if self.eventLoop.inEventLoop {
259 |             self._releaseConnection0(connection, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:305:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
303 |         } else {
304 |             let promise = self.eventLoop.makePromise(of: Void.self)
305 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
306 |             return promise.futureResult
307 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:300:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
298 |     ///
299 |     /// Connection pools must be closed before they deinitialize.
300 |     public func close() -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
301 |         if self.eventLoop.inEventLoop {
302 |             return self._close0()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
326 |             $0.close()
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
329 |             self.available.removeAll()
330 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:310:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
308 |     }
309 |
310 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
311 |         self.eventLoop.assertInEventLoop()
312 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:329:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
329 |             self.available.removeAll()
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
330 |         }
331 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:290:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
288 |             guard !self.didShutdown else {
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
291 |                     callback(ConnectionPoolError.shutdown)
292 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:284:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
282 |     /// - Warning: Any invocation of the callback represents a signal that the pool has fully shut
283 |     ///   down. This is true even if the error parameter is non-`nil`; errors are purely advisory.
284 |     public func shutdownGracefully(_ callback: @escaping (Error?) -> Void) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
285 |         // Protect access to shared state.
286 |         guard self.lock.withLock({
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
318 |                     shutdownGroup.leave()
319 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[588/598] Compiling AsyncKit EventLoop+Concurrency.swift
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:128:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
129 |                 self.releaseConnection(conn, logger: logger)
130 |             }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:125:11: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
123 |     public func withConnection<Result>(
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
    |           `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
126 |     ) -> EventLoopFuture<Result> {
127 |         self.requestConnection(logger: logger).flatMap { conn in
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:129:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
127 |         self.requestConnection(logger: logger).flatMap { conn in
128 |             closure(conn).always { _ in
129 |                 self.releaseConnection(conn, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:123:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
121 |     ///   - closure: Callback that accepts the pooled connection.
122 |     /// - Returns: A future containing the result of the closure.
123 |     public func withConnection<Result>(
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
124 |         logger: Logger,
125 |         _ closure: @escaping (Source.Connection) -> EventLoopFuture<Result>
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:79: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:170:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
168 |         } else {
169 |             let promise = self.eventLoop.makePromise(of: Source.Connection.self)
170 |             self.eventLoop.execute { self._requestConnection0(logger: logger).cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
171 |             return promise.futureResult
172 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:163:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
161 |     ///     - eventLoop: Preferred event loop for the new connection.
162 |     /// - returns: A future containing the requested connection.
163 |     public func requestConnection(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
164 |         /// N.B.: This particular pattern (the use of a promise to forward the result when off the event loop)
165 |         /// is straight out of NIO's `EventLoopFuture.fold()` implementation.
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:63: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                                                               `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:199:23: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
    |                       `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
200 |                 logger.trace("Waiter \(waiterId) already removed when timeout task fired")
201 |                 return
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:197:88: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
195 |         let waiterId = self.idGenerator.wrappingIncrementThenLoad(ordering: .relaxed)
196 |         let promise = self.eventLoop.makePromise(of: Source.Connection.self)
197 |         let timeoutTask = self.eventLoop.scheduleTask(in: self.requestTimeout) { [weak self] in
    |                                                                                        `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
198 |             // Try to avoid a spurious log message and failure if the waiter has already been removed from the list.
199 |             guard self?.waiters.removeValue(forKey: waiterId) != nil else {
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:27: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:215:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
215 |             self?.waiters.removeValue(forKey: waiterId)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
216 |         }
217 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:212:51: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
210 |         self.waiters[waiterId] = (logger: logger, promise: promise, timeoutTask: timeoutTask)
211 |
212 |         promise.futureResult.whenComplete { [weak self] _ in
    |                                                   `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
213 |             logger.trace("Connection request with ID \(waiterId) completed")
214 |             timeoutTask.cancel()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:22: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                      `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:225:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
223 |                 // On success, "release" the new connection to the pool and let the waitlist logic take over
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:176:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
174 |
175 |     /// Actual implementation of ``requestConnection(logger:)``.
176 |     private func _requestConnection0(logger: Logger) -> EventLoopFuture<Source.Connection> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
177 |         self.eventLoop.assertInEventLoop()
178 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:227:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
227 |                 self?.activeConnections -= 1
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
229 |                 return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:226:49: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
224 |                 logger.trace("New connection successful, servicing waitlist")
225 |                 self._releaseConnection0($0, logger: logger)
226 |             }.flatMapErrorWithEventLoop { [weak self] error, eventLoop in
    |                                                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
227 |                 self?.activeConnections -= 1
228 |                 logger.error("Opening new connection for pool failed: \(String(reflecting: error))")
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:43: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                           `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:261:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
259 |             self._releaseConnection0(connection, logger: logger)
260 |         } else {
261 |             self.eventLoop.execute { self._releaseConnection0(connection, logger: logger) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
262 |         }
263 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:257:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
255 |     ///     - connection: Connection to release back to the pool.
256 |     ///     - logger: For trace and debug logs.
257 |     public func releaseConnection(_ connection: Source.Connection, logger: Logger) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
258 |         if self.eventLoop.inEventLoop {
259 |             self._releaseConnection0(connection, logger: logger)
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:305:38: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
303 |         } else {
304 |             let promise = self.eventLoop.makePromise(of: Void.self)
305 |             self.eventLoop.execute { self._close0().cascade(to: promise) }
    |                                      `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
306 |             return promise.futureResult
307 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:300:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
298 |     ///
299 |     /// Connection pools must be closed before they deinitialize.
300 |     public func close() -> EventLoopFuture<Void> {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
301 |         if self.eventLoop.inEventLoop {
302 |             return self._close0()
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:328:13: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
326 |             $0.close()
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
    |             `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
329 |             self.available.removeAll()
330 |         }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:310:18: warning: capture of non-Sendable type 'Source.Type' in an isolated closure
308 |     }
309 |
310 |     private func _close0() -> EventLoopFuture<Void> {
    |                  `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure
311 |         self.eventLoop.assertInEventLoop()
312 |
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:329:13: warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
327 |         }.flatten(on: self.eventLoop).map {
328 |             self.activeConnections = 0
329 |             self.available.removeAll()
    |             `- warning: capture of non-Sendable type 'Source.Connection.Type' in an isolated closure
330 |         }
331 |     }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:290:21: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
288 |             guard !self.didShutdown else {
289 |                 DispatchQueue.global().async {
290 |                     self.logger.warning("Connection pool can not be shut down more than once.")
    |                     `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
291 |                     callback(ConnectionPoolError.shutdown)
292 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:284:17: warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
282 |     /// - Warning: Any invocation of the callback represents a signal that the pool has fully shut
283 |     ///   down. This is true even if the error parameter is non-`nil`; errors are purely advisory.
284 |     public func shutdownGracefully(_ callback: @escaping (Error?) -> Void) {
    |                 `- warning: capture of non-Sendable type 'Source.Type' in an isolated closure; this is an error in the Swift 6 language mode
285 |         // Protect access to shared state.
286 |         guard self.lock.withLock({
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:21: warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                     `- warning: mutation of captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
318 |                     shutdownGroup.leave()
319 |                 }
/host/spi-builder-workspace/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift:317:31: warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 |             pool.close().whenComplete { result in
316 |                 shutdownQueue.async() {
317 |                     outcome = outcome.flatMap { result }
    |                               `- warning: reference to captured var 'outcome' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
318 |                     shutdownGroup.leave()
319 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[589/598] Emitting module AsyncKit
[590/598] Compiling AsyncKit EventLoop+Flatten.swift
[591/598] Compiling AsyncKit EventLoop+Future.swift
[592/598] Compiling AsyncKit EventLoopGroup+Concurrency.swift
[593/598] 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: 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: 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: 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 |
[594/598] 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: 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: 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: 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 |
[595/598] 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: 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: 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: 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 |
[596/598] Compiling AsyncKit ConnectionPoolError.swift
[597/598] Compiling AsyncKit ConnectionPoolItem.swift
[598/598] Compiling AsyncKit ConnectionPoolSource.swift
Build complete! (164.91s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.61.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    }
  ],
  "manifest_display_name" : "async-kit",
  "name" : "async-kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncKit",
      "targets" : [
        "AsyncKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncKitTests",
      "path" : "Tests/AsyncKitTests",
      "sources" : [
        "AsyncConnectionPoolTests.swift",
        "AsyncKitTestsCommon.swift",
        "Collection+FlattenTests.swift",
        "ConnectionPoolTests.swift",
        "EventLoop+ConcurrencyTests.swift",
        "EventLoopFutureQueueTests.swift",
        "EventLoopGroup+FutureTests.swift",
        "Future+CollectionTests.swift",
        "Future+ConjunctionTests.swift",
        "Future+MiscellaneousTests.swift",
        "Future+NonemptyTests.swift",
        "Future+OptionalTests.swift",
        "Future+TransformTests.swift",
        "Future+TryTests.swift",
        "FutureOperatorsTests.swift"
      ],
      "target_dependencies" : [
        "AsyncKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncKit",
      "module_type" : "SwiftTarget",
      "name" : "AsyncKit",
      "path" : "Sources/AsyncKit",
      "product_dependencies" : [
        "Logging",
        "NIOCore",
        "NIOEmbedded",
        "NIOPosix",
        "Collections",
        "Algorithms"
      ],
      "product_memberships" : [
        "AsyncKit"
      ],
      "sources" : [
        "ConnectionPool/ConnectionPoolError.swift",
        "ConnectionPool/ConnectionPoolItem.swift",
        "ConnectionPool/ConnectionPoolSource.swift",
        "ConnectionPool/EventLoopConnectionPool.swift",
        "ConnectionPool/EventLoopGroupConnectionPool.swift",
        "EventLoop/EventLoop+Concurrency.swift",
        "EventLoop/EventLoop+Flatten.swift",
        "EventLoop/EventLoop+Future.swift",
        "EventLoop/EventLoopGroup+Concurrency.swift",
        "EventLoop/EventLoopGroup+Throwing.swift",
        "EventLoopFuture/Collection+Flatten.swift",
        "EventLoopFuture/EventLoopFutureQueue+Sequence.swift",
        "EventLoopFuture/EventLoopFutureQueue.swift",
        "EventLoopFuture/Future+Collection.swift",
        "EventLoopFuture/Future+Conjunctions.swift",
        "EventLoopFuture/Future+Miscellaneous.swift",
        "EventLoopFuture/Future+Nonempty.swift",
        "EventLoopFuture/Future+Optional.swift",
        "EventLoopFuture/Future+Transform.swift",
        "EventLoopFuture/Future+Try.swift",
        "EventLoopFuture/FutureOperators.swift",
        "EventLoopFuture/Optional+StrictMap.swift",
        "Exports.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.