The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of NIOAsyncWebSockets, reference 1.0.1 (a50f5f), with Swift 6.0 for macOS (SPM) on 12 Oct 2024 12:07:26 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samalone/nio-async-websockets.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/samalone/nio-async-websockets
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a50f5f4 Remove @available and @_spi attributes
Cloned https://github.com/samalone/nio-async-websockets.git
Revision (git rev-parse @):
a50f5f4d1c0446d36b2bd3b157f7f845e1f0133e
SUCCESS checkout https://github.com/samalone/nio-async-websockets.git at 1.0.1
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-nio.git
[1/2038] Fetching swift-docc-plugin
[83/3607] Fetching swift-docc-plugin, swift-atomics
[540/19052] Fetching swift-docc-plugin, swift-atomics, swift-collections
[604/22195] Fetching swift-docc-plugin, swift-atomics, swift-collections, swift-docc-symbolkit
[10861/92512] Fetching swift-docc-plugin, swift-atomics, swift-collections, swift-docc-symbolkit, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (5.68s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (5.68s)
Fetched https://github.com/apple/swift-docc-plugin from cache (5.68s)
Fetched https://github.com/apple/swift-atomics.git from cache (5.68s)
Fetched https://github.com/apple/swift-nio.git from cache (5.68s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.62.0 (0.69s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.62.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "nio-async-websockets",
      "name": "NIOAsyncWebSockets",
      "url": "https://github.com/samalone/nio-async-websockets.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/nio-async-websockets",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.74.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.3.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/samalone/nio-async-websockets.git
[1/34] Fetching nio-async-websockets
Fetched https://github.com/samalone/nio-async-websockets.git from cache (1.57s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.74.0 (0.71s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
[1/3656] Fetching swift-system
Fetched https://github.com/apple/swift-collections.git from cache (1.06s)
Fetched https://github.com/apple/swift-system.git from cache (1.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.74s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.74.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
Creating working copy for https://github.com/samalone/nio-async-websockets.git
Working copy of https://github.com/samalone/nio-async-websockets.git resolved at 1.0.1 (a50f5f4)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
warning: '.resolve-product-dependencies': dependency 'nio-async-websockets' is not used by any target
Found 1 product dependencies
  - swift-nio
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/samalone/nio-async-websockets.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/27] Write sources
[13/27] Write swift-version--4A847ED0836F2485.txt
[14/27] Compiling CNIOWindows shim.c
[15/27] Compiling CNIOWindows WSAStartup.c
[16/27] Compiling CNIOLinux liburing_shims.c
[17/27] Compiling CNIOLinux shim.c
[18/52] Compiling CNIOSHA1 c_nio_sha1.c
[19/52] Compiling CNIOLLHTTP c_nio_http.c
[20/52] Write sources
[21/52] Compiling _AtomicsShims.c
[22/52] Compiling CNIOLLHTTP c_nio_api.c
[23/71] Compiling CNIOLLHTTP c_nio_llhttp.c
[25/71] Emitting module _NIOBase64
[25/71] Compiling CNIODarwin shim.c
[26/71] Compiling c-nioatomics.c
[27/71] Compiling c-atomics.c
[29/77] Compiling _NIOBase64 Base64.swift
[30/77] Compiling Atomics ManagedAtomic.swift
[31/77] Compiling Atomics ManagedAtomicLazyReference.swift
[32/78] Compiling Atomics UnsafeAtomic.swift
[33/78] Compiling Atomics UnsafeAtomicLazyReference.swift
[36/80] Compiling Atomics AtomicStorage.swift
[37/80] Compiling Atomics AtomicValue.swift
[38/80] Compiling Atomics AtomicMemoryOrderings.swift
[39/80] Compiling Atomics DoubleWord.swift
[42/80] Compiling Atomics PointerConformances.swift
[43/80] Compiling Atomics Primitives.native.swift
[44/80] Compiling Atomics AtomicBool.swift
[45/80] Compiling Atomics IntegerConformances.swift
[46/80] Compiling Atomics Primitives.shims.swift
[47/80] Compiling Atomics AtomicInteger.swift
[48/80] Compiling Atomics OptionalRawRepresentable.swift
[49/80] Compiling Atomics RawRepresentable.swift
[56/80] Compiling Atomics AtomicOptionalWrappable.swift
[57/80] Compiling Atomics AtomicReference.swift
[58/80] Compiling Atomics IntegerOperations.swift
[59/80] Compiling Atomics Unmanaged extensions.swift
[60/80] Compiling DequeModule _UnsafeWrappedBuffer.swift
[61/80] Emitting module DequeModule
[64/80] Compiling _NIODataStructures _TinyArray.swift
[65/80] Compiling _NIODataStructures PriorityQueue.swift
[66/80] Emitting module _NIODataStructures
[67/80] Compiling _NIODataStructures Heap.swift
[68/80] Emitting module NIOConcurrencyHelpers
[69/80] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[70/80] Compiling NIOConcurrencyHelpers NIOLock.swift
[71/80] Compiling NIOConcurrencyHelpers lock.swift
[72/80] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[73/80] Compiling NIOConcurrencyHelpers atomics.swift
[80/80] Emitting module Atomics
[81/139] Compiling NIOCore Interfaces.swift
[82/139] Compiling NIOCore Linux.swift
[83/139] Compiling NIOCore MarkedCircularBuffer.swift
[84/139] Compiling NIOCore MulticastChannel.swift
[85/139] Compiling NIOCore NIOAny.swift
[86/139] Compiling NIOCore NIOCloseOnErrorHandler.swift
[87/145] Compiling NIOCore AddressedEnvelope.swift
[88/145] Compiling NIOCore AsyncAwaitSupport.swift
[89/145] Compiling NIOCore AsyncChannel.swift
[90/145] Compiling NIOCore AsyncChannelInboundStream.swift
[91/145] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[92/145] Compiling NIOCore AsyncChannelOutboundWriter.swift
[93/145] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[94/145] Compiling NIOCore NIOLoopBound.swift
[95/145] Compiling NIOCore NIOSendable.swift
[96/145] Compiling NIOCore PointerHelpers.swift
[97/145] Compiling NIOCore RecvByteBufferAllocator.swift
[98/145] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[99/145] Compiling NIOCore SocketAddresses.swift
[100/145] Compiling NIOCore SocketOptionProvider.swift
[101/145] Compiling NIOCore SystemCallHelpers.swift
[102/145] Compiling NIOCore TimeAmount+Duration.swift
[103/145] Compiling NIOCore TypeAssistedChannelHandler.swift
[104/145] Compiling NIOCore UniversalBootstrapSupport.swift
[105/145] Compiling NIOCore Utilities.swift
[106/145] Compiling NIOCore ConvenienceOptionSupport.swift
[107/145] Compiling NIOCore DeadChannel.swift
[108/145] Compiling NIOCore DispatchQueue+WithFuture.swift
[109/145] Compiling NIOCore EventLoop+Deprecated.swift
[110/145] Compiling NIOCore EventLoop+SerialExecutor.swift
[111/145] Compiling NIOCore EventLoop.swift
[112/145] Compiling NIOCore GlobalSingletons.swift
[113/145] Compiling NIOCore IO.swift
[114/145] Compiling NIOCore IOData.swift
[115/145] Compiling NIOCore IPProtocol.swift
[116/145] Compiling NIOCore IntegerBitPacking.swift
[117/145] Compiling NIOCore IntegerTypes.swift
[118/145] Compiling NIOCore NIOAsyncSequenceProducer.swift
[119/145] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[120/145] Compiling NIOCore NIOAsyncWriter.swift
[121/145] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[122/145] Compiling NIOCore BSDSocketAPI.swift
[123/145] Compiling NIOCore ByteBuffer-aux.swift
[124/145] Compiling NIOCore ByteBuffer-conversions.swift
[125/145] Compiling NIOCore EventLoopFuture+Deprecated.swift
[126/145] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[127/145] Compiling NIOCore EventLoopFuture.swift
[128/145] Compiling NIOCore FileDescriptor.swift
[129/145] Compiling NIOCore FileHandle.swift
[130/145] Compiling NIOCore FileRegion.swift
[131/145] Compiling NIOCore ByteBuffer-core.swift
[132/145] Compiling NIOCore ByteBuffer-hexdump.swift
[133/145] Compiling NIOCore ByteBuffer-int.swift
[134/145] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[135/145] Compiling NIOCore ByteBuffer-multi-int.swift
[136/145] Compiling NIOCore ByteBuffer-views.swift
[137/145] Compiling NIOCore Channel.swift
[138/145] Compiling NIOCore ChannelHandler.swift
[139/145] Compiling NIOCore ChannelHandlers.swift
[140/145] Compiling NIOCore ChannelInvoker.swift
[141/145] Compiling NIOCore ChannelOption.swift
[142/145] Compiling NIOCore ChannelPipeline.swift
[143/145] Compiling NIOCore CircularBuffer.swift
[144/145] Compiling NIOCore Codec.swift
[145/145] Emitting module NIOCore
[146/195] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[147/195] Compiling NIOEmbedded AsyncTestingChannel.swift
[148/195] Emitting module NIOEmbedded
[149/195] Compiling NIOEmbedded Embedded.swift
[150/195] Compiling NIOPosix BSDSocketAPICommon.swift
[151/195] Compiling NIOPosix BSDSocketAPIPosix.swift
[152/195] Compiling NIOPosix BSDSocketAPIWindows.swift
[153/195] Compiling NIOPosix BaseSocket.swift
[154/195] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[155/200] Compiling NIOPosix PipePair.swift
[156/200] Compiling NIOPosix PointerHelpers.swift
[157/200] Compiling NIOPosix Pool.swift
[158/200] Compiling NIOPosix PooledRecvBufferAllocator.swift
[159/200] Compiling NIOPosix PosixSingletons.swift
[160/200] Compiling NIOPosix ThreadPosix.swift
[161/200] Compiling NIOPosix ThreadWindows.swift
[162/200] Compiling NIOPosix Utilities.swift
[163/200] Compiling NIOPosix VsockAddress.swift
[164/200] Compiling NIOPosix VsockChannelEvents.swift
[165/200] Emitting module NIOPosix
[166/200] Compiling NIOPosix SelectorEpoll.swift
[167/200] Compiling NIOPosix SelectorGeneric.swift
[168/200] Compiling NIOPosix SelectorKqueue.swift
[169/200] Compiling NIOPosix SelectorUring.swift
[170/200] Compiling NIOPosix ServerSocket.swift
[171/200] Compiling NIOPosix RawSocketBootstrap.swift
[172/200] Compiling NIOPosix Resolver.swift
[173/200] Compiling NIOPosix Selectable.swift
[174/200] Compiling NIOPosix SelectableChannel.swift
[175/200] Compiling NIOPosix SelectableEventLoop.swift
[176/200] Compiling NIOPosix FileDescriptor.swift
[177/200] Compiling NIOPosix GetaddrinfoResolver.swift
[178/200] Compiling NIOPosix HappyEyeballs.swift
[179/200] Compiling NIOPosix IO.swift
[180/200] Compiling NIOPosix IntegerBitPacking.swift
[181/200] Compiling NIOPosix Socket.swift
[182/200] Compiling NIOPosix SocketChannel.swift
[183/200] Compiling NIOPosix SocketProtocols.swift
[184/200] Compiling NIOPosix System.swift
[185/200] Compiling NIOPosix Thread.swift
[186/200] Compiling NIOPosix IntegerTypes.swift
[187/200] Compiling NIOPosix Linux.swift
[188/200] Compiling NIOPosix LinuxCPUSet.swift
[189/200] Compiling NIOPosix LinuxUring.swift
[190/200] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[191/200] Compiling NIOPosix NIOThreadPool.swift
[192/200] Compiling NIOPosix NonBlockingFileIO.swift
[193/200] Compiling NIOPosix PendingDatagramWritesManager.swift
[194/200] Compiling NIOPosix PendingWritesManager.swift
[195/200] Compiling NIOPosix PipeChannel.swift
[196/200] Compiling NIOPosix BaseSocketChannel.swift
[197/200] Compiling NIOPosix BaseStreamSocketChannel.swift
[198/200] Compiling NIOPosix Bootstrap.swift
[199/200] Compiling NIOPosix ControlMessage.swift
[200/200] Compiling NIOPosix DatagramVectorReadManager.swift
[201/202] Emitting module NIO
[202/202] Compiling NIO Exports.swift
[203/219] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[204/220] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[205/220] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[206/220] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[207/220] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[208/220] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[209/220] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[210/220] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[211/220] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[212/220] Compiling NIOHTTP1 HTTPEncoder.swift
[213/220] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[214/220] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[215/220] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[216/220] Compiling NIOHTTP1 HTTPTypes.swift
[217/220] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[218/220] Compiling NIOHTTP1 ByteCollectionUtils.swift
[219/220] Compiling NIOHTTP1 HTTPDecoder.swift
[220/220] Emitting module NIOHTTP1
[221/230] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[222/231] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[223/231] Compiling NIOWebSocket SHA1.swift
[224/231] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[225/231] Compiling NIOWebSocket WebSocketErrorCodes.swift
[226/231] Compiling NIOWebSocket WebSocketOpcode.swift
[227/231] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[228/231] Compiling NIOWebSocket WebSocketFrame.swift
[229/231] Emitting module NIOWebSocket
[230/231] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[231/231] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[232/241] Compiling NIOAsyncWebSockets NIOWebSocketClientUpgrader.swift
[233/241] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgraderStateMachine.swift
[234/241] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgradeHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPClientUpgradeHandler.swift:200:21: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPClientUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// It will only upgrade to the protocol that is returned first in the list and does not currently
 75 | /// have the capability to upgrade to multiple simultaneous layered protocols.
 76 | public final class NIOTypedHTTPClientUpgradeHandler<UpgradeResult: Sendable>: ChannelDuplexHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPClientUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias OutboundIn = HTTPClientRequestPart
 78 |     public typealias OutboundOut = HTTPClientRequestPart
    :
198 |                 .hop(to: context.eventLoop)
199 |                 .whenComplete { result in
200 |                     self.upgradingHandlerCompleted(context: context, result)
    |                     `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPClientUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
201 |                 }
202 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPClientUpgradeHandler.swift:200:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
198 |                 .hop(to: context.eventLoop)
199 |                 .whenComplete { result in
200 |                     self.upgradingHandlerCompleted(context: context, result)
    |                                                             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
201 |                 }
202 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPClientUpgradeHandler.swift:224:17: warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPClientProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 18 | /// a protocol on a client-side channel.
 19 | /// It has the option of denying this upgrade based upon the server response.
 20 | public protocol NIOTypedHTTPClientProtocolUpgrader<UpgradeResult> {
    |                 `- note: protocol 'NIOTypedHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 21 |     associatedtype UpgradeResult: Sendable
 22 |
    :
222 |         self.removeHTTPHandlers(context: context)
223 |             .flatMap {
224 |                 upgrader.upgrade(channel: context.channel, upgradeResponse: responseHead)
    |                 `- warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPClientProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 |             }.hop(to: context.eventLoop)
226 |             .whenComplete { result in
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPClientUpgradeHandler.swift:224:43: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |         self.removeHTTPHandlers(context: context)
223 |             .flatMap {
224 |                 upgrader.upgrade(channel: context.channel, upgradeResponse: responseHead)
    |                                           `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 |             }.hop(to: context.eventLoop)
226 |             .whenComplete { result in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPClientUpgradeHandler.swift:227:17: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPClientUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// It will only upgrade to the protocol that is returned first in the list and does not currently
 75 | /// have the capability to upgrade to multiple simultaneous layered protocols.
 76 | public final class NIOTypedHTTPClientUpgradeHandler<UpgradeResult: Sendable>: ChannelDuplexHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPClientUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias OutboundIn = HTTPClientRequestPart
 78 |     public typealias OutboundOut = HTTPClientRequestPart
    :
225 |             }.hop(to: context.eventLoop)
226 |             .whenComplete { result in
227 |                 self.upgradingHandlerCompleted(context: context, result)
    |                 `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPClientUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
228 |             }
229 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPClientUpgradeHandler.swift:227:57: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 |             }.hop(to: context.eventLoop)
226 |             .whenComplete { result in
227 |                 self.upgradingHandlerCompleted(context: context, result)
    |                                                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
228 |             }
229 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
[235/241] Compiling NIOAsyncWebSockets HTTPTypedPipelineSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/HTTPTypedPipelineSetup.swift:86:36: warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 18 |
 19 | /// Configuration for an upgradable HTTP pipeline.
 20 | public struct NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPServerPipelineConfiguration' conform to the 'Sendable' protocol
 21 |     /// Whether to provide assistance handling HTTP clients that pipeline
 22 |     /// their requests. Defaults to `true`. If `false`, users will need to handle clients that pipeline themselves.
    :
 84 |             future = self.eventLoop.submit {
 85 |                 try self.syncOperations.configureUpgradableHTTPServerPipeline(
 86 |                     configuration: configuration
    |                                    `- warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                 )
 88 |             }
[236/241] Emitting module NIOAsyncWebSockets
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:260:17: warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 17 | /// An object that implements `NIOTypedHTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 18 | /// a protocol on a server-side channel.
 19 | public protocol NIOTypedHTTPServerProtocolUpgrader<UpgradeResult> {
    |                 `- note: protocol 'NIOTypedHTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 20 |     associatedtype UpgradeResult
 21 |
    :
258 |         )
259 |         .hop(to: context.eventLoop)
260 |         .map { (upgrader, $0, proto) }
    |                 `- warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 |         .flatMapError { error in
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:263:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 |         .flatMapError { error in
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
263 |             context.fireErrorCaught(error)
    |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
264 |             return self.handleUpgradeForProtocol(context: context, protocolIterator: protocolIterator, request: request, allHeaderNames: allHeaderNames, connectionHeader: connectionHeader)
265 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:264:20: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
263 |             context.fireErrorCaught(error)
264 |             return self.handleUpgradeForProtocol(context: context, protocolIterator: protocolIterator, request: request, allHeaderNames: allHeaderNames, connectionHeader: connectionHeader)
    |                    `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |         }
266 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:264:86: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
263 |             context.fireErrorCaught(error)
264 |             return self.handleUpgradeForProtocol(context: context, protocolIterator: protocolIterator, request: request, allHeaderNames: allHeaderNames, connectionHeader: connectionHeader)
    |                                                                                      `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
265 |         }
266 |     }
[237/241] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgradeHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:162:21: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
160 |                 .hop(to: context.eventLoop)
161 |                 .whenComplete { result in
162 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                     `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                 }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:162:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 |                 .hop(to: context.eventLoop)
161 |                 .whenComplete { result in
162 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                                                             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                 }
164 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:174:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 |                 connectionHeader: connectionHeader
173 |             ).whenComplete { result in
174 |                 context.eventLoop.assertInEventLoop()
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 |                 self.findingUpgradeCompleted(context: context, requestHead: head, result)
176 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:175:17: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
173 |             ).whenComplete { result in
174 |                 context.eventLoop.assertInEventLoop()
175 |                 self.findingUpgradeCompleted(context: context, requestHead: head, result)
    |                 `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 |             }
177 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:260:17: warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 17 | /// An object that implements `NIOTypedHTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 18 | /// a protocol on a server-side channel.
 19 | public protocol NIOTypedHTTPServerProtocolUpgrader<UpgradeResult> {
    |                 `- note: protocol 'NIOTypedHTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 20 |     associatedtype UpgradeResult
 21 |
    :
258 |         )
259 |         .hop(to: context.eventLoop)
260 |         .map { (upgrader, $0, proto) }
    |                 `- warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 |         .flatMapError { error in
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:263:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 |         .flatMapError { error in
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
263 |             context.fireErrorCaught(error)
    |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
264 |             return self.handleUpgradeForProtocol(context: context, protocolIterator: protocolIterator, request: request, allHeaderNames: allHeaderNames, connectionHeader: connectionHeader)
265 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:264:20: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
263 |             context.fireErrorCaught(error)
264 |             return self.handleUpgradeForProtocol(context: context, protocolIterator: protocolIterator, request: request, allHeaderNames: allHeaderNames, connectionHeader: connectionHeader)
    |                    `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |         }
266 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:264:86: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
262 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
263 |             context.fireErrorCaught(error)
264 |             return self.handleUpgradeForProtocol(context: context, protocolIterator: protocolIterator, request: request, allHeaderNames: allHeaderNames, connectionHeader: connectionHeader)
    |                                                                                      `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
265 |         }
266 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:287:21: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
285 |                 .hop(to: context.eventLoop)
286 |                 .whenComplete { result in
287 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                     `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
288 |                 }
289 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:287:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 .hop(to: context.eventLoop)
286 |                 .whenComplete { result in
287 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                                                             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
288 |                 }
289 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:322:13: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
320 |         // then remove ourselves from the pipeline.
321 |         self.removeExtraHandlers(context: context).flatMap {
322 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
    |             `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 |         }.flatMap {
324 |             context.pipeline.removeHandler(self.httpEncoder)
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:322:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
320 |         // then remove ourselves from the pipeline.
321 |         self.removeExtraHandlers(context: context).flatMap {
322 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 |         }.flatMap {
324 |             context.pipeline.removeHandler(self.httpEncoder)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:324:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
322 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
323 |         }.flatMap {
324 |             context.pipeline.removeHandler(self.httpEncoder)
    |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
325 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
326 |             return upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:324:44: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
322 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
323 |         }.flatMap {
324 |             context.pipeline.removeHandler(self.httpEncoder)
    |                                            `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
325 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
326 |             return upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:326:20: warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 17 | /// An object that implements `NIOTypedHTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 18 | /// a protocol on a server-side channel.
 19 | public protocol NIOTypedHTTPServerProtocolUpgrader<UpgradeResult> {
    |                 `- note: protocol 'NIOTypedHTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 20 |     associatedtype UpgradeResult
 21 |
    :
324 |             context.pipeline.removeHandler(self.httpEncoder)
325 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
326 |             return upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
    |                    `- warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
327 |         }.hop(to: context.eventLoop)
328 |         .whenComplete { result in
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:326:46: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |             context.pipeline.removeHandler(self.httpEncoder)
325 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
326 |             return upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
    |                                              `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
327 |         }.hop(to: context.eventLoop)
328 |         .whenComplete { result in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:329:13: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 | /// requests that we choose to punt on it entirely and not allow it. As it happens this is mostly fine:
 75 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 76 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler, RemovableChannelHandler {
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 77 |     public typealias InboundIn = HTTPServerRequestPart
 78 |     public typealias InboundOut = HTTPServerRequestPart
    :
327 |         }.hop(to: context.eventLoop)
328 |         .whenComplete { result in
329 |             self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: (requestHead, proto))
    |             `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |         }
331 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:329:53: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
327 |         }.hop(to: context.eventLoop)
328 |         .whenComplete { result in
329 |             self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: (requestHead, proto))
    |                                                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |         }
331 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1417:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1415 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1416 | /// `ChannelHandler`.
1417 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1418 |     // visible for ChannelPipeline to modify
1419 |     fileprivate var next: Optional<ChannelHandlerContext>
[238/241] Compiling NIOAsyncWebSockets SHA1.swift
[239/241] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgraderStateMachine.swift
[240/241] Compiling NIOAsyncWebSockets NIOWebSocketServerUpgrader.swift
[241/241] Compiling NIOAsyncWebSockets NIOTypedPipelineSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedPipelineSetup.swift:67:36: warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | // MARK: - Client pipeline configuration
 13 | /// Configuration for an upgradable HTTP pipeline.
 14 | public struct NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPClientPipelineConfiguration' conform to the 'Sendable' protocol
 15 |     /// The strategy to use when dealing with leftover bytes after removing the ``HTTPDecoder`` from the pipeline.
 16 |     public var leftOverBytesStrategy = RemoveAfterUpgradeStrategy.dropBytes
    :
 65 |             future = self.eventLoop.submit {
 66 |                 try self.syncOperations.configureUpgradableHTTPClientPipeline(
 67 |                     configuration: configuration
    |                                    `- warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |                 )
 69 |             }
Build complete! (49.97s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.12.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "NIOAsyncWebSockets",
  "name" : "NIOAsyncWebSockets",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "NIOAsyncWebSockets",
      "targets" : [
        "NIOAsyncWebSockets"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NIOAsyncWebSocketsTests",
      "module_type" : "SwiftTarget",
      "name" : "NIOAsyncWebSocketsTests",
      "path" : "Tests/NIOAsyncWebSocketsTests",
      "sources" : [
        "NIOAsyncWebSocketsTests.swift"
      ],
      "target_dependencies" : [
        "NIOAsyncWebSockets"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NIOAsyncWebSockets",
      "module_type" : "SwiftTarget",
      "name" : "NIOAsyncWebSockets",
      "path" : "Sources/NIOAsyncWebSockets",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOWebSocket",
        "NIOPosix"
      ],
      "product_memberships" : [
        "NIOAsyncWebSockets"
      ],
      "sources" : [
        "HTTPTypedPipelineSetup.swift",
        "NIOTypedHTTPClientUpgradeHandler.swift",
        "NIOTypedHTTPClientUpgraderStateMachine.swift",
        "NIOTypedHTTPServerUpgradeHandler.swift",
        "NIOTypedHTTPServerUpgraderStateMachine.swift",
        "NIOTypedPipelineSetup.swift",
        "NIOWebSocketClientUpgrader.swift",
        "NIOWebSocketServerUpgrader.swift",
        "SHA1.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.