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

Failed to build swift-nio, reference main (d83638), with Swift 6.0 for macOS (SPM) on 15 Nov 2024 19:13:32 UTC.

Build Command

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

Build Log

 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:288:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |                     switch result {
287 |                     case .success:
288 |                         context.fireUserInboundEventTriggered(
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                             HTTPServerUpgradeEvents.upgradeComplete(toProtocol: proto, upgradeRequest: request)
290 |                         )
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:303:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }.flatMapError { error in
302 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
303 |             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
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:306:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
306 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
307 |                 request: request,
308 |                 allHeaderNames: allHeaderNames,
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:375:73: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
373 |
374 |         return .andAllSucceed(
375 |             self.extraHTTPHandlers.map { context.pipeline.removeHandler($0) },
    |                                                                         `- warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
376 |             on: context.eventLoop
377 |         )
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:85: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
 19 | /// Configuration for an upgradable HTTP pipeline.
 20 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
 21 | public struct NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPServerPipelineConfiguration' conform to the 'Sendable' protocol
 22 |     /// Whether to provide assistance handling HTTP clients that pipeline
 23 |     /// their requests. Defaults to `true`. If `false`, users will need to handle clients that pipeline themselves.
    :
 83 |             future = self.eventLoop.submit {
 84 |                 try self.syncOperations.configureUpgradableHTTPServerPipeline(
 85 |                     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
 86 |                 )
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:204: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
147 | /// Configuration for an upgradable HTTP pipeline.
148 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
149 | public struct NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPClientPipelineConfiguration' conform to the 'Sendable' protocol
150 |     /// The strategy to use when dealing with leftover bytes after removing the ``HTTPDecoder`` from the pipeline.
151 |     public var leftOverBytesStrategy = RemoveAfterUpgradeStrategy.dropBytes
    :
202 |             future = self.eventLoop.submit {
203 |                 try self.syncOperations.configureUpgradableHTTPClientPipeline(
204 |                     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
205 |                 )
206 |             }
[400/434] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:184:14: warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
182 |
183 |         self.handleUpgrade(context: context, request: request, requestedProtocols: requestedProtocols)
184 |             .hop(to: context.eventLoop)  // the user might return a future from another EventLoop.
    |              |- warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
185 |             .whenSuccess { callback in
186 |                 context.eventLoop.assertInEventLoop()
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:186:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
184 |             .hop(to: context.eventLoop)  // the user might return a future from another EventLoop.
185 |             .whenSuccess { callback in
186 |                 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
187 |                 if let callback = callback {
188 |                     self.gotUpgrader(upgrader: callback)
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:231:38: warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 |         guard let proto = protocolIterator.next() else {
230 |             // We're done! No suitable protocol for upgrade.
231 |             return context.eventLoop.makeSucceededFuture(nil)
    |                                      |- warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
232 |         }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:301:11: warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
299 |                 }
300 |             }
301 |         }.flatMapError { error in
    |           |- warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
302 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
303 |             context.fireErrorCaught(error)
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:274:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
272 |                 // our final cleanup steps, namely we replay the received data we buffered in the meantime and
273 |                 // then remove ourselves from the pipeline.
274 |                 self.removeExtraHandlers(context: context).flatMap {
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:274:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
272 |                 // our final cleanup steps, namely we replay the received data we buffered in the meantime and
273 |                 // then remove ourselves from the pipeline.
274 |                 self.removeExtraHandlers(context: context).flatMap {
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in an isolated closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in an isolated closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:276:34: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
274 |                 self.removeExtraHandlers(context: context).flatMap {
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
    |                                  `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
277 |                         upgradeRequest: request,
278 |                         responseHeaders: finalResponseHeaders
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:281:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
279 |                     )
280 |                 }.flatMap {
281 |                     context.pipeline.syncOperations.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
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:283:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |                     context.pipeline.syncOperations.removeHandler(self.httpEncoder)
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
285 |                 }.whenComplete { result in
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:288:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |                     switch result {
287 |                     case .success:
288 |                         context.fireUserInboundEventTriggered(
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                             HTTPServerUpgradeEvents.upgradeComplete(toProtocol: proto, upgradeRequest: request)
290 |                         )
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:303:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }.flatMapError { error in
302 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
303 |             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
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:306:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
306 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
307 |                 request: request,
308 |                 allHeaderNames: allHeaderNames,
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:375:73: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
373 |
374 |         return .andAllSucceed(
375 |             self.extraHTTPHandlers.map { context.pipeline.removeHandler($0) },
    |                                                                         `- warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
376 |             on: context.eventLoop
377 |         )
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:85: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
 19 | /// Configuration for an upgradable HTTP pipeline.
 20 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
 21 | public struct NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPServerPipelineConfiguration' conform to the 'Sendable' protocol
 22 |     /// Whether to provide assistance handling HTTP clients that pipeline
 23 |     /// their requests. Defaults to `true`. If `false`, users will need to handle clients that pipeline themselves.
    :
 83 |             future = self.eventLoop.submit {
 84 |                 try self.syncOperations.configureUpgradableHTTPServerPipeline(
 85 |                     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
 86 |                 )
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:204: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
147 | /// Configuration for an upgradable HTTP pipeline.
148 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
149 | public struct NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPClientPipelineConfiguration' conform to the 'Sendable' protocol
150 |     /// The strategy to use when dealing with leftover bytes after removing the ``HTTPDecoder`` from the pipeline.
151 |     public var leftOverBytesStrategy = RemoveAfterUpgradeStrategy.dropBytes
    :
202 |             future = self.eventLoop.submit {
203 |                 try self.syncOperations.configureUpgradableHTTPClientPipeline(
204 |                     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
205 |                 )
206 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:100:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |                     position: position,
 99 |                     leftOverBytesStrategy: leftOverBytesStrategy,
100 |                     withClientUpgrade: upgrade
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
101 |                 )
102 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:62:17: note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:145:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |                     leftOverBytesStrategy: leftOverBytesStrategy,
144 |                     enableOutboundHeaderValidation: enableOutboundHeaderValidation,
145 |                     withClientUpgrade: upgrade
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |                 )
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:62:17: note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:194:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |                     enableOutboundHeaderValidation: enableOutboundHeaderValidation,
193 |                     encoderConfiguration: encoderConfiguration,
194 |                     withClientUpgrade: upgrade
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |                 )
196 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:62:17: note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:362:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPServerUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any HTTPServerProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 |                     position: position,
361 |                     withPipeliningAssistance: pipelining,
362 |                     withServerUpgrade: upgrade,
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPServerUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any HTTPServerProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |                     withErrorHandling: errorHandling,
364 |                     withOutboundHeaderValidation: headerValidation,
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:31:17: note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
[402/434] Compiling NIOHTTP1 HTTPPipelineSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:100:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |                     position: position,
 99 |                     leftOverBytesStrategy: leftOverBytesStrategy,
100 |                     withClientUpgrade: upgrade
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
101 |                 )
102 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:62:17: note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:145:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |                     leftOverBytesStrategy: leftOverBytesStrategy,
144 |                     enableOutboundHeaderValidation: enableOutboundHeaderValidation,
145 |                     withClientUpgrade: upgrade
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |                 )
147 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:62:17: note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:194:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |                     enableOutboundHeaderValidation: enableOutboundHeaderValidation,
193 |                     encoderConfiguration: encoderConfiguration,
194 |                     withClientUpgrade: upgrade
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPClientUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any NIOHTTPClientProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |                 )
196 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:62:17: note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPPipelineSetup.swift:362:40: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPServerUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any HTTPServerProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 |                     position: position,
361 |                     withPipeliningAssistance: pipelining,
362 |                     withServerUpgrade: upgrade,
    |                                        `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPServerUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any HTTPServerProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |                     withErrorHandling: errorHandling,
364 |                     withOutboundHeaderValidation: headerValidation,
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:31:17: note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
[403/434] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerPipelineHandler.swift:444:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
442 |                 self.lifecycleState = .quiescingCompleted
443 |                 context.write(data).flatMap {
444 |                     context.close()
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
445 |                 }.cascade(to: promise)
446 |             case .acceptingEvents, .quiescingWaitingForRequestEnd:
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
[404/434] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerPipelineHandler.swift:444:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
442 |                 self.lifecycleState = .quiescingCompleted
443 |                 context.write(data).flatMap {
444 |                     context.close()
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
445 |                 }.cascade(to: promise)
446 |             case .acceptingEvents, .quiescingWaitingForRequestEnd:
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
[407/434] Emitting module NIOHTTP1
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:231:38: warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 |         guard let proto = protocolIterator.next() else {
230 |             // We're done! No suitable protocol for upgrade.
231 |             return context.eventLoop.makeSucceededFuture(nil)
    |                                      |- warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
232 |         }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:301:11: warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
299 |                 }
300 |             }
301 |         }.flatMapError { error in
    |           |- warning: type '() -> Void' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
302 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
303 |             context.fireErrorCaught(error)
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:274:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
272 |                 // our final cleanup steps, namely we replay the received data we buffered in the meantime and
273 |                 // then remove ourselves from the pipeline.
274 |                 self.removeExtraHandlers(context: context).flatMap {
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:274:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
272 |                 // our final cleanup steps, namely we replay the received data we buffered in the meantime and
273 |                 // then remove ourselves from the pipeline.
274 |                 self.removeExtraHandlers(context: context).flatMap {
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in an isolated closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in an isolated closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:276:34: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
274 |                 self.removeExtraHandlers(context: context).flatMap {
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
    |                                  `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
277 |                         upgradeRequest: request,
278 |                         responseHeaders: finalResponseHeaders
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:281:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
279 |                     )
280 |                 }.flatMap {
281 |                     context.pipeline.syncOperations.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
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:283:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |                     context.pipeline.syncOperations.removeHandler(self.httpEncoder)
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
285 |                 }.whenComplete { result in
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:288:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |                     switch result {
287 |                     case .success:
288 |                         context.fireUserInboundEventTriggered(
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                             HTTPServerUpgradeEvents.upgradeComplete(toProtocol: proto, upgradeRequest: request)
290 |                         )
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:303:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }.flatMapError { error in
302 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
303 |             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
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:306:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
306 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
307 |                 request: request,
308 |                 allHeaderNames: allHeaderNames,
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:276:38: warning: type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' does not conform to the 'Sendable' protocol; 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: Sendable
 21 |
    :
274 |         guard let proto = protocolIterator.next() else {
275 |             // We're done! No suitable protocol for upgrade.
276 |             return context.eventLoop.makeSucceededFuture(nil)
    |                                      `- warning: type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
277 |         }
278 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:308:10: warning: type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' does not conform to the 'Sendable' protocol; 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: Sendable
 21 |
    :
306 |         .hop(to: context.eventLoop)
307 |         .map { (upgrader, $0, proto) }
308 |         .flatMapError { error in
    |          `- warning: type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
309 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
310 |             context.fireErrorCaught(error)
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:307: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: Sendable
 21 |
    :
305 |         )
306 |         .hop(to: context.eventLoop)
307 |         .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
308 |         .flatMapError { error in
309 |             // 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/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:310:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
308 |         .flatMapError { error in
309 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
310 |             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
311 |             return self.handleUpgradeForProtocol(
312 |                 context: context,
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:311: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
 76 | /// the odds of someone needing to upgrade midway through the lifetime of a connection are very low.
 77 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
 78 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler,
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 79 |     RemovableChannelHandler
 80 | {
    :
309 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
310 |             context.fireErrorCaught(error)
311 |             return self.handleUpgradeForProtocol(
    |                    `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 |                 context: context,
313 |                 protocolIterator: protocolIterator,
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:313:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
311 |             return self.handleUpgradeForProtocol(
312 |                 context: context,
313 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
314 |                 request: request,
315 |                 allHeaderNames: allHeaderNames,
[408/434] Compiling NIOHTTP1 ByteCollectionUtils.swift
[409/434] Compiling NIOHTTP1 HTTPDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:334:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
332 |                 .map {
333 |                     // Let the other handlers be removed before continuing with upgrade.
334 |                     self.upgradeCompletionHandler(context)
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
335 |                     self.upgradeState = .upgradingAddingHandlers
336 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:338:21: warning: capture of 'upgrader' with non-sendable type 'any NIOHTTPClientProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
    :
336 |                 }
337 |                 .flatMap {
338 |                     upgrader.upgrade(context: context, upgradeResponse: response)
    |                     `- warning: capture of 'upgrader' with non-sendable type 'any NIOHTTPClientProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 |                 }
340 |                 .map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:338:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
336 |                 }
337 |                 .flatMap {
338 |                     upgrader.upgrade(context: context, upgradeResponse: response)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 |                 }
340 |                 .map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:347:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |                     while self.receivedMessages.count > 0 {
346 |                         let bufferedPart = self.receivedMessages.removeFirst()
347 |                         context.fireChannelRead(bufferedPart)
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                     }
349 |                     if fireReadComplete {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:359:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 |                 }
358 |                 .whenComplete { _ in
359 |                     context.pipeline.syncOperations.removeHandler(context: context, promise: nil)
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 |                 }
361 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:370:84: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
368 |         }
369 |
370 |         let removeFutures = self.httpHandlers.map { context.pipeline.removeHandler($0) }
    |                                                                                    `- warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
371 |         return .andAllSucceed(removeFutures, on: context.eventLoop)
372 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:334:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
332 |                 .map {
333 |                     // Let the other handlers be removed before continuing with upgrade.
334 |                     self.upgradeCompletionHandler(context)
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
335 |                     self.upgradeState = .upgradingAddingHandlers
336 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:338:21: warning: capture of 'upgrader' with non-sendable type 'any NIOHTTPClientProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 60 | /// a protocol on a client-side channel.
 61 | /// It has the option of denying this upgrade based upon the server response.
 62 | public protocol NIOHTTPClientProtocolUpgrader {
    |                 `- note: protocol 'NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
 63 |
 64 |     /// The protocol this upgrader knows how to support.
    :
336 |                 }
337 |                 .flatMap {
338 |                     upgrader.upgrade(context: context, upgradeResponse: response)
    |                     `- warning: capture of 'upgrader' with non-sendable type 'any NIOHTTPClientProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 |                 }
340 |                 .map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:338:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
336 |                 }
337 |                 .flatMap {
338 |                     upgrader.upgrade(context: context, upgradeResponse: response)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 |                 }
340 |                 .map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:347:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 |                     while self.receivedMessages.count > 0 {
346 |                         let bufferedPart = self.receivedMessages.removeFirst()
347 |                         context.fireChannelRead(bufferedPart)
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |                     }
349 |                     if fireReadComplete {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:359:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 |                 }
358 |                 .whenComplete { _ in
359 |                     context.pipeline.syncOperations.removeHandler(context: context, promise: nil)
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 |                 }
361 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1/NIOHTTPClientUpgradeHandler.swift:370:84: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
368 |         }
369 |
370 |         let removeFutures = self.httpHandlers.map { context.pipeline.removeHandler($0) }
    |                                                                                    `- warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
371 |         return .andAllSucceed(removeFutures, on: context.eventLoop)
372 |     }
[412/461] Compiling NIOFileSystem Exports.swift
[413/461] Emitting module NIOFileSystem
[414/461] Compiling _NIOFileSystemFoundationCompat Date+FileInfo.swift
[415/461] Compiling _NIOFileSystemFoundationCompat Data+FileSystem.swift
[416/461] Emitting module _NIOFileSystemFoundationCompat
[417/461] Compiling NIOWebSocket WebSocketOpcode.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOWebSocket/WebSocketOpcode.swift:60:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 | extension WebSocketOpcode: CaseIterable {
 60 |     public static var allCases = (0..<0x10).map { WebSocketOpcode(rawValue: $0) }
    |                       |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 | }
 62 |
[418/462] Compiling NIOAsyncAwaitDemo AsyncChannelIO.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncAwaitDemo/AsyncChannelIO.swift:27:112: warning: type 'RequestResponseHandler<HTTPRequestHead, NIOHTTPClientResponseFull>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 |     func start() async throws -> AsyncChannelIO<Request, Response> {
27 |         try await channel.pipeline.addHandler(RequestResponseHandler<HTTPRequestHead, NIOHTTPClientResponseFull>())
   |                                                                                                                `- warning: type 'RequestResponseHandler<HTTPRequestHead, NIOHTTPClientResponseFull>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 |             .get()
29 |         return self
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncAwaitDemo/FullRequestResponse.swift:43:20: note: generic class 'RequestResponseHandler' does not conform to the 'Sendable' protocol
 41 | /// `RequestResponseHandler` requires that the `Response`s arrive on `Channel` in the same order as the `Request`s
 42 | /// were submitted.
 43 | public final class RequestResponseHandler<Request, Response>: ChannelDuplexHandler {
    |                    `- note: generic class 'RequestResponseHandler' does not conform to the 'Sendable' protocol
 44 |     public typealias InboundIn = Response
 45 |     public typealias InboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncAwaitDemo/AsyncChannelIO.swift:34:32: warning: type 'Request' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
19 | struct AsyncChannelIO<Request, Response> {
   |                       `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
20 |     let channel: Channel
21 |
   :
32 |     func sendRequest(_ request: Request) async throws -> Response {
33 |         let responsePromise: EventLoopPromise<Response> = channel.eventLoop.makePromise()
34 |         try await self.channel.writeAndFlush((request, responsePromise)).get()
   |                                `- warning: type 'Request' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 |         return try await responsePromise.futureResult.get()
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncAwaitDemo/AsyncChannelIO.swift:35:55: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
19 | struct AsyncChannelIO<Request, Response> {
   |                                `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
20 |     let channel: Channel
21 |
   :
33 |         let responsePromise: EventLoopPromise<Response> = channel.eventLoop.makePromise()
34 |         try await self.channel.writeAndFlush((request, responsePromise)).get()
35 |         return try await responsePromise.futureResult.get()
   |                                                       `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 |     }
37 |
[419/462] Compiling NIOAsyncAwaitDemo main.swift
[420/462] Emitting module NIOAsyncAwaitDemo
[421/462] Compiling NIOAsyncAwaitDemo FullRequestResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOAsyncAwaitDemo/FullRequestResponse.swift:102:17: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 41 | /// `RequestResponseHandler` requires that the `Response`s arrive on `Channel` in the same order as the `Request`s
 42 | /// were submitted.
 43 | public final class RequestResponseHandler<Request, Response>: ChannelDuplexHandler {
    |                                                    `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
 44 |     public typealias InboundIn = Response
 45 |     public typealias InboundOut = Never
    :
100 |         let promise = self.promiseBuffer.removeFirst()
101 |
102 |         promise.succeed(response)
    |                 `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |     }
104 |
[422/462] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift:37:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 |             )
36 |             context.writeAndFlush(Self.wrapOutboundOut(frame)).whenComplete { (_: Result<Void, Error>) in
37 |                 context.close(promise: nil)
   |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 |             }
39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
[422/462] Write Objects.LinkFileList
[424/462] Emitting module NIOHTTP1Client
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1Client/main.swift:88:41: warning: type 'HTTPEchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | let line = readLine(strippingNewline: true)!
 20 |
 21 | private final class HTTPEchoHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPEchoHandler' does not conform to the 'Sendable' protocol
 22 |     public typealias InboundIn = HTTPClientResponsePart
 23 |     public typealias OutboundOut = HTTPClientRequestPart
    :
 86 |             leftOverBytesStrategy: .fireError
 87 |         ).flatMap {
 88 |             channel.pipeline.addHandler(HTTPEchoHandler())
    |                                         `- warning: type 'HTTPEchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |         }
 90 |     }
[425/462] Compiling NIOHTTP1Client main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1Client/main.swift:88:41: warning: type 'HTTPEchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | let line = readLine(strippingNewline: true)!
 20 |
 21 | private final class HTTPEchoHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPEchoHandler' does not conform to the 'Sendable' protocol
 22 |     public typealias InboundIn = HTTPClientResponsePart
 23 |     public typealias OutboundOut = HTTPClientRequestPart
    :
 86 |             leftOverBytesStrategy: .fireError
 87 |         ).flatMap {
 88 |             channel.pipeline.addHandler(HTTPEchoHandler())
    |                                         `- warning: type 'HTTPEchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |         }
 90 |     }
[426/462] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[427/462] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[427/462] Write Objects.LinkFileList
[429/462] Compiling NIOWebSocket WebSocketErrorCodes.swift
[430/462] Compiling NIOWebSocket SHA1.swift
[431/462] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOWebSocket/NIOWebSocketServerUpgrader.swift:335:7: warning: type 'UpgradeResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
315 | }
316 |
317 | private func _upgrade<UpgradeResult>(
    |                       `- note: consider making generic parameter 'UpgradeResult' conform to the 'Sendable' protocol
318 |     channel: Channel,
319 |     upgradeRequest: HTTPRequestHead,
    :
333 |             try channel.pipeline.syncOperations.addHandler(WebSocketProtocolErrorHandler())
334 |         }
335 |     }.flatMap {
    |       `- warning: type 'UpgradeResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 |         upgradePipelineHandler(channel, upgradeRequest)
337 |     }
[432/462] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[433/462] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOWebSocket/NIOWebSocketClientUpgrader.swift:205:6: warning: type 'UpgradeResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
187 | /// Called when the upgrade response has been flushed and it is safe to mutate the channel
188 | /// pipeline. Adds channel handlers for websocket frame encoding, decoding and errors.
189 | private func _upgrade<UpgradeResult>(
    |                       `- note: consider making generic parameter 'UpgradeResult' conform to the 'Sendable' protocol
190 |     channel: Channel,
191 |     upgradeResponse: HTTPResponseHead,
    :
203 |         }
204 |     }
205 |     .flatMap {
    |      `- warning: type 'UpgradeResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
206 |         upgradePipelineHandler(channel, upgradeResponse)
207 |     }
[434/462] Compiling NIOWebSocket WebSocketFrame.swift
[435/462] Emitting module NIOWebSocket
/Users/admin/builder/spi-builder-workspace/Sources/NIOWebSocket/WebSocketOpcode.swift:60:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 | extension WebSocketOpcode: CaseIterable {
 60 |     public static var allCases = (0..<0x10).map { WebSocketOpcode(rawValue: $0) }
    |                       |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 | }
 62 |
[436/462] Emitting module NIOTestUtils
[437/462] Compiling NIOTestUtils ByteToMessageDecoderVerifier.swift
[438/462] Compiling NIOTestUtils EventCounterHandler.swift
[439/462] Compiling NIOTestUtils NIOHTTP1TestServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOTestUtils/NIOHTTP1TestServer.swift:130:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |         case .end:
129 |             context.write(data).map {
130 |                 context.close(promise: nil)
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |             }.cascade(to: promise)
132 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1644:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1642 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1643 | /// `ChannelHandler`.
1644 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1645 |     // visible for ChannelPipeline to modify
1646 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOTestUtils/NIOHTTP1TestServer.swift:266:52: warning: type 'AggregateBodyHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
134 | }
135 |
136 | private final class AggregateBodyHandler: ChannelInboundHandler {
    |                     `- note: class 'AggregateBodyHandler' does not conform to the 'Sendable' protocol
137 |     typealias InboundIn = HTTPServerRequestPart
138 |     typealias InboundOut = HTTPServerRequestPart
    :
264 |         channel.pipeline.configureHTTPServerPipeline().flatMap {
265 |             if self.aggregateBody {
266 |                 return channel.pipeline.addHandler(AggregateBodyHandler())
    |                                                    `- warning: type 'AggregateBodyHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
267 |             } else {
268 |                 return self.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/NIOTestUtils/NIOHTTP1TestServer.swift:271:41: warning: type 'WebServerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 98 | extension BlockingQueue: @unchecked Sendable where Element: Sendable {}
 99 |
100 | private final class WebServerHandler: ChannelDuplexHandler {
    |                     `- note: class 'WebServerHandler' does not conform to the 'Sendable' protocol
101 |     typealias InboundIn = HTTPServerRequestPart
102 |     typealias OutboundIn = HTTPServerResponsePart
    :
269 |             }
270 |         }.flatMap {
271 |             channel.pipeline.addHandler(WebServerHandler(webServer: self))
    |                                         `- warning: type 'WebServerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
272 |         }.flatMap {
273 |             channel.pipeline.addHandler(TransformerHandler())
/Users/admin/builder/spi-builder-workspace/Sources/NIOTestUtils/NIOHTTP1TestServer.swift:273:41: warning: type 'TransformerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 | /// A helper handler to transform a Sendable response into a
 53 | /// non-Sendable one, to manage warnings.
 54 | private final class TransformerHandler: ChannelOutboundHandler {
    |                     `- note: class 'TransformerHandler' does not conform to the 'Sendable' protocol
 55 |     typealias OutboundIn = SendableHTTPServerResponsePart
 56 |     typealias OutboundOut = HTTPServerResponsePart
    :
271 |             channel.pipeline.addHandler(WebServerHandler(webServer: self))
272 |         }.flatMap {
273 |             channel.pipeline.addHandler(TransformerHandler())
    |                                         `- warning: type 'TransformerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
274 |         }.whenSuccess {
275 |             _ = channel.setOption(.autoRead, value: true)
[440/499] Emitting module NIOHTTP1Server
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:646:30: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
644 |
645 |     // Set the handlers that are applied to the accepted Channels
646 |     .childChannelInitializer(childChannelInitializer(channel:))
    |                              `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
647 |
648 |     // Enable SO_REUSEADDR for the accepted Channels
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:654:25: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
652 | let pipeBootstrap = NIOPipeBootstrap(group: MultiThreadedEventLoopGroup.singleton)
653 |     // Set the handlers that are applied to the accepted Channels
654 |     .channelInitializer(childChannelInitializer(channel:))
    |                         `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
655 |
656 |     .channelOption(.maxMessagesPerRead, value: 1)
[441/499] Compiling NIOHTTP1Server main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:646:30: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
644 |
645 |     // Set the handlers that are applied to the accepted Channels
646 |     .childChannelInitializer(childChannelInitializer(channel:))
    |                              `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
647 |
648 |     // Enable SO_REUSEADDR for the accepted Channels
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:654:25: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
652 | let pipeBootstrap = NIOPipeBootstrap(group: MultiThreadedEventLoopGroup.singleton)
653 |     // Set the handlers that are applied to the accepted Channels
654 |     .channelInitializer(childChannelInitializer(channel:))
    |                         `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
655 |
656 |     .channelOption(.maxMessagesPerRead, value: 1)
/Users/admin/builder/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:635:37: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 65 |     private enum FileIOMethod {
 66 |         case sendfile
    :
633 | func childChannelInitializer(channel: Channel) -> EventLoopFuture<Void> {
634 |     channel.pipeline.configureHTTPServerPipeline(withErrorHandling: true).flatMap {
635 |         channel.pipeline.addHandler(HTTPHandler(fileIO: fileIO, htdocsPath: htdocs))
    |                                     `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
636 |     }
637 | }
[441/499] Linking NIOAsyncAwaitDemo
[442/499] Write Objects.LinkFileList
[443/499] Applying NIOAsyncAwaitDemo
[444/499] Linking NIOHTTP1Client
[445/499] Applying NIOHTTP1Client
[446/499] Linking NIOHTTP1Server
[448/499] Compiling NIOPerformanceTester NIOAsyncSequenceProducerBenchmark.swift
[449/499] Compiling NIOPerformanceTester NIOAsyncWriterSingleWritesBenchmark.swift
[450/501] Emitting module NIOWebSocketClient
[451/501] Compiling NIOWebSocketClient Client.swift
[451/501] Applying NIOHTTP1Server
[453/501] Emitting module NIOFileSystemTour
[454/501] Compiling NIOFileSystemTour NIOFileSystemTour.swift
[455/501] Compiling NIOPerformanceTester CircularBufferIntoByteBufferBenchmark.swift
[456/501] Compiling NIOPerformanceTester DeadlineNowBenchmark.swift
[457/501] Compiling NIOPerformanceTester ExecuteBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:39:26: warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class ExecuteBenchmark: Benchmark {
   |             `- note: class 'ExecuteBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
37 |         try! self.loop.submit {
38 |             var counter: Int = 0
39 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:41:21: warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
39 |             for _ in 0..<self.numTasks {
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
   |                     `- warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
42 |                 }
43 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:51:26: warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class ExecuteBenchmark: Benchmark {
   |             `- note: class 'ExecuteBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
49 |     func run() -> Int {
50 |         try! self.loop.submit {
51 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 |                 self.dg.enter()
53 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:55:21: warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class ExecuteBenchmark: Benchmark {
   |             `- note: class 'ExecuteBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
53 |
54 |                 self.loop.execute {
55 |                     self.counter &+= 1
   |                     `- warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |                     self.dg.leave()
57 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/LockBenchmark.swift:54:17: warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | import NIOPosix
19 |
20 | final class NIOLockBenchmark: Benchmark {
   |             `- note: class 'NIOLockBenchmark' does not conform to the 'Sendable' protocol
21 |     private let numberOfThreads: Int
22 |     private let lockOperationsPerThread: Int
   :
52 |         for _ in 0..<self.numberOfThreads {
53 |             _ = self.threadPool.runIfActive(eventLoop: self.group.next()) {
54 |                 self.sem1.signal()
   |                 `- warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |                 self.sem2.wait()
56 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/LockBenchmark.swift:59:25: warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOPosix
19 |
20 | final class NIOLockBenchmark: Benchmark {
   |             `- note: class 'NIOLockBenchmark' does not conform to the 'Sendable' protocol
21 |     private let numberOfThreads: Int
22 |     private let lockOperationsPerThread: Int
   :
57 |                 for _ in 0..<self.lockOperationsPerThread {
58 |                     self.lock.withLock {
59 |                         self.opsDone &+= 1
   |                         `- warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in an isolated closure; this is an error in the Swift 6 language mode
60 |                     }
61 |                 }
[458/501] Compiling NIOPerformanceTester LockBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:39:26: warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class ExecuteBenchmark: Benchmark {
   |             `- note: class 'ExecuteBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
37 |         try! self.loop.submit {
38 |             var counter: Int = 0
39 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:41:21: warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
39 |             for _ in 0..<self.numTasks {
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
   |                     `- warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
42 |                 }
43 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:51:26: warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class ExecuteBenchmark: Benchmark {
   |             `- note: class 'ExecuteBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
49 |     func run() -> Int {
50 |         try! self.loop.submit {
51 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 |                 self.dg.enter()
53 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ExecuteBenchmark.swift:55:21: warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class ExecuteBenchmark: Benchmark {
   |             `- note: class 'ExecuteBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
53 |
54 |                 self.loop.execute {
55 |                     self.counter &+= 1
   |                     `- warning: capture of 'self' with non-sendable type 'ExecuteBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |                     self.dg.leave()
57 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/LockBenchmark.swift:54:17: warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | import NIOPosix
19 |
20 | final class NIOLockBenchmark: Benchmark {
   |             `- note: class 'NIOLockBenchmark' does not conform to the 'Sendable' protocol
21 |     private let numberOfThreads: Int
22 |     private let lockOperationsPerThread: Int
   :
52 |         for _ in 0..<self.numberOfThreads {
53 |             _ = self.threadPool.runIfActive(eventLoop: self.group.next()) {
54 |                 self.sem1.signal()
   |                 `- warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |                 self.sem2.wait()
56 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/LockBenchmark.swift:59:25: warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOPosix
19 |
20 | final class NIOLockBenchmark: Benchmark {
   |             `- note: class 'NIOLockBenchmark' does not conform to the 'Sendable' protocol
21 |     private let numberOfThreads: Int
22 |     private let lockOperationsPerThread: Int
   :
57 |                 for _ in 0..<self.lockOperationsPerThread {
58 |                     self.lock.withLock {
59 |                         self.opsDone &+= 1
   |                         `- warning: capture of 'self' with non-sendable type 'NIOLockBenchmark' in an isolated closure; this is an error in the Swift 6 language mode
60 |                     }
61 |                 }
[458/501] Write Objects.LinkFileList
[460/501] Compiling NIOPerformanceTester ChannelPipelineBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ChannelPipelineBenchmark.swift:42:50: warning: type 'ChannelPipelineBenchmark.NoOpHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 |
17 | final class ChannelPipelineBenchmark: Benchmark {
18 |     private final class NoOpHandler: ChannelInboundHandler, RemovableChannelHandler {
   |                         `- note: class 'NoOpHandler' does not conform to the 'Sendable' protocol
19 |         typealias InboundIn = Any
20 |     }
   :
40 |             let handler = NoOpHandler()
41 |             self.handlers.append(handler)
42 |             try self.channel.pipeline.addHandler(handler).wait()
   |                                                  `- warning: type 'ChannelPipelineBenchmark.NoOpHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         }
44 |         let handler = ConsumingHandler()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ChannelPipelineBenchmark.swift:46:46: warning: type 'ChannelPipelineBenchmark.ConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |         typealias InboundIn = Any
20 |     }
21 |     private final class ConsumingHandler: ChannelInboundHandler, RemovableChannelHandler {
   |                         `- note: class 'ConsumingHandler' does not conform to the 'Sendable' protocol
22 |         typealias InboundIn = Any
23 |
   :
44 |         let handler = ConsumingHandler()
45 |         self.handlers.append(handler)
46 |         try self.channel.pipeline.addHandler(handler).wait()
   |                                              `- warning: type 'ChannelPipelineBenchmark.ConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
47 |     }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ChannelPipelineBenchmark.swift:53:54: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |         self.handlers.removeAll()
52 |         for handler in handlersToRemove {
53 |             try! self.channel.pipeline.removeHandler(handler).wait()
   |                                                      `- warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 |         }
55 |     }
[461/501] Compiling NIOPerformanceTester CircularBufferCopyToArrayBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ChannelPipelineBenchmark.swift:42:50: warning: type 'ChannelPipelineBenchmark.NoOpHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 |
17 | final class ChannelPipelineBenchmark: Benchmark {
18 |     private final class NoOpHandler: ChannelInboundHandler, RemovableChannelHandler {
   |                         `- note: class 'NoOpHandler' does not conform to the 'Sendable' protocol
19 |         typealias InboundIn = Any
20 |     }
   :
40 |             let handler = NoOpHandler()
41 |             self.handlers.append(handler)
42 |             try self.channel.pipeline.addHandler(handler).wait()
   |                                                  `- warning: type 'ChannelPipelineBenchmark.NoOpHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         }
44 |         let handler = ConsumingHandler()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ChannelPipelineBenchmark.swift:46:46: warning: type 'ChannelPipelineBenchmark.ConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |         typealias InboundIn = Any
20 |     }
21 |     private final class ConsumingHandler: ChannelInboundHandler, RemovableChannelHandler {
   |                         `- note: class 'ConsumingHandler' does not conform to the 'Sendable' protocol
22 |         typealias InboundIn = Any
23 |
   :
44 |         let handler = ConsumingHandler()
45 |         self.handlers.append(handler)
46 |         try self.channel.pipeline.addHandler(handler).wait()
   |                                              `- warning: type 'ChannelPipelineBenchmark.ConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
47 |     }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/ChannelPipelineBenchmark.swift:53:54: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |         self.handlers.removeAll()
52 |         for handler in handlersToRemove {
53 |             try! self.channel.pipeline.removeHandler(handler).wait()
   |                                                      `- warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 |         }
55 |     }
[461/501] Write Objects.LinkFileList
[463/501] Compiling NIOCrashTester CrashTests+System.swift
[464/501] Compiling NIOPerformanceTester WebSocketFrameDecoderBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/WebSocketFrameEncoderBenchmark.swift:70:47: warning: type 'WriteConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     func setUp() throws {
 69 |         // We want the pipeline walk to have some cost.
 70 |         try! self.channel.pipeline.addHandler(WriteConsumingHandler()).wait()
    |                                               `- warning: type 'WriteConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         for _ in 0..<3 {
 72 |             try! self.channel.pipeline.addHandler(NoOpOutboundHandler()).wait()
    :
132 | }
133 |
134 | private final class WriteConsumingHandler: ChannelOutboundHandler {
    |                     `- note: class 'WriteConsumingHandler' does not conform to the 'Sendable' protocol
135 |     typealias OutboundIn = Any
136 |     typealias OutboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/WebSocketFrameEncoderBenchmark.swift:72:51: warning: type 'NoOpOutboundHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |         try! self.channel.pipeline.addHandler(WriteConsumingHandler()).wait()
 71 |         for _ in 0..<3 {
 72 |             try! self.channel.pipeline.addHandler(NoOpOutboundHandler()).wait()
    |                                                   `- warning: type 'NoOpOutboundHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 73 |         }
 74 |         try! self.channel.pipeline.syncOperations.addHandler(WebSocketFrameEncoder())
    :
127 | }
128 |
129 | private final class NoOpOutboundHandler: ChannelOutboundHandler {
    |                     `- note: class 'NoOpOutboundHandler' does not conform to the 'Sendable' protocol
130 |     typealias OutboundIn = Any
131 |     typealias OutboundOut = Any
[465/501] Compiling NIOPerformanceTester WebSocketFrameEncoderBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/WebSocketFrameEncoderBenchmark.swift:70:47: warning: type 'WriteConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |     func setUp() throws {
 69 |         // We want the pipeline walk to have some cost.
 70 |         try! self.channel.pipeline.addHandler(WriteConsumingHandler()).wait()
    |                                               `- warning: type 'WriteConsumingHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         for _ in 0..<3 {
 72 |             try! self.channel.pipeline.addHandler(NoOpOutboundHandler()).wait()
    :
132 | }
133 |
134 | private final class WriteConsumingHandler: ChannelOutboundHandler {
    |                     `- note: class 'WriteConsumingHandler' does not conform to the 'Sendable' protocol
135 |     typealias OutboundIn = Any
136 |     typealias OutboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/WebSocketFrameEncoderBenchmark.swift:72:51: warning: type 'NoOpOutboundHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |         try! self.channel.pipeline.addHandler(WriteConsumingHandler()).wait()
 71 |         for _ in 0..<3 {
 72 |             try! self.channel.pipeline.addHandler(NoOpOutboundHandler()).wait()
    |                                                   `- warning: type 'NoOpOutboundHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 73 |         }
 74 |         try! self.channel.pipeline.syncOperations.addHandler(WebSocketFrameEncoder())
    :
127 | }
128 |
129 | private final class NoOpOutboundHandler: ChannelOutboundHandler {
    |                     `- note: class 'NoOpOutboundHandler' does not conform to the 'Sendable' protocol
130 |     typealias OutboundIn = Any
131 |     typealias OutboundOut = Any
[466/501] Compiling NIOCrashTester CrashTests+Strict.swift
[467/501] Compiling NIOCrashTester CrashTests+HTTP.swift
[468/501] Compiling NIOCrashTester OutputGrepper.swift
[469/501] Compiling NIOCrashTester CrashTests+LoopBound.swift
[470/501] Compiling NIOCrashTester CrashTestSuites.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOCrashTester/CrashTestSuites.swift:16:5: warning: let 'crashTestSuites' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | #if !canImport(Darwin) || os(macOS)
16 | let crashTestSuites: [String: Any] = [
   |     |- warning: let 'crashTestSuites' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'crashTestSuites' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     "EventLoopCrashTests": EventLoopCrashTests(),
18 |     "ByteBufferCrashTests": ByteBufferCrashTests(),
/Users/admin/builder/spi-builder-workspace/Sources/NIOCrashTester/CrashTests+EventLoop.swift:86:21: warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 84 |             func f() {
 85 |                 el.scheduleTask(in: .nanoseconds(0)) { [f] in
 86 |                     f()
    |                     |- warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 87 |                 }.futureResult.whenFailure { [f] error in
 88 |                     guard case .some(.shutdown) = error as? EventLoopError else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCrashTester/CrashTests+EventLoop.swift:91:21: warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |                         exit(3)
 90 |                     }
 91 |                     f()
    |                     |- warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |                 }
 93 |             }
[471/501] Compiling NIOCrashTester CrashTests+EventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOCrashTester/CrashTests+EventLoop.swift:86:21: warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 84 |             func f() {
 85 |                 el.scheduleTask(in: .nanoseconds(0)) { [f] in
 86 |                     f()
    |                     |- warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 87 |                 }.futureResult.whenFailure { [f] error in
 88 |                     guard case .some(.shutdown) = error as? EventLoopError else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCrashTester/CrashTests+EventLoop.swift:91:21: warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |                         exit(3)
 90 |                     }
 91 |                     f()
    |                     |- warning: capture of 'f' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |                 }
 93 |             }
[472/501] Compiling NIOCrashTester CrashTests+ByteBuffer.swift
[473/501] Compiling NIOCrashTester main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOCrashTester/CrashTestSuites.swift:16:5: warning: let 'crashTestSuites' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | #if !canImport(Darwin) || os(macOS)
16 | let crashTestSuites: [String: Any] = [
   |     |- warning: let 'crashTestSuites' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'crashTestSuites' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     "EventLoopCrashTests": EventLoopCrashTests(),
18 |     "ByteBufferCrashTests": ByteBufferCrashTests(),
[474/501] Emitting module NIOCrashTester
/Users/admin/builder/spi-builder-workspace/Sources/NIOCrashTester/CrashTestSuites.swift:16:5: warning: let 'crashTestSuites' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | #if !canImport(Darwin) || os(macOS)
16 | let crashTestSuites: [String: Any] = [
   |     |- warning: let 'crashTestSuites' is not concurrency-safe because non-'Sendable' type '[String : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'crashTestSuites' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     "EventLoopCrashTests": EventLoopCrashTests(),
18 |     "ByteBufferCrashTests": ByteBufferCrashTests(),
[474/501] Write Objects.LinkFileList
[476/501] Compiling NIOPerformanceTester Benchmark.swift
[477/501] Compiling NIOPerformanceTester ByteBufferViewContainsBenchmark.swift
[478/501] Compiling NIOPerformanceTester ByteBufferViewCopyToArrayBenchmark.swift
[479/501] Compiling NIOPerformanceTester ByteBufferViewIteratorBenchmark.swift
[480/501] Compiling NIOPerformanceTester ByteBufferWriteMultipleBenchmarks.swift
[481/501] Compiling NIOPerformanceTester ByteToMessageDecoderDecodeManySmallsBenchmark.swift
[482/501] Emitting module NIOWebSocketServer
[483/501] Compiling NIOWebSocketServer Server.swift
[483/501] Write Objects.LinkFileList
[485/501] Compiling NIOPerformanceTester RunIfActiveBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:39:26: warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class SchedulingAndRunningBenchmark: Benchmark {
   |             `- note: class 'SchedulingAndRunningBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
37 |         try! self.loop.submit {
38 |             var counter: Int = 0
39 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:41:21: warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
39 |             for _ in 0..<self.numTasks {
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
   |                     `- warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
42 |                 }
43 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:51:26: warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class SchedulingAndRunningBenchmark: Benchmark {
   |             `- note: class 'SchedulingAndRunningBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
49 |     func run() -> Int {
50 |         try! self.loop.submit {
51 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 |                 self.dg.enter()
53 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:55:21: warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class SchedulingAndRunningBenchmark: Benchmark {
   |             `- note: class 'SchedulingAndRunningBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
53 |
54 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
55 |                     self.counter &+= 1
   |                     `- warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |                     self.dg.leave()
57 |                 }
[486/501] Compiling NIOPerformanceTester SchedulingAndRunningBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:39:26: warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class SchedulingAndRunningBenchmark: Benchmark {
   |             `- note: class 'SchedulingAndRunningBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
37 |         try! self.loop.submit {
38 |             var counter: Int = 0
39 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:41:21: warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
39 |             for _ in 0..<self.numTasks {
40 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
41 |                     counter &+= 1
   |                     `- warning: mutation of captured var 'counter' in concurrently-executing code; this is an error in the Swift 6 language mode
42 |                 }
43 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:51:26: warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class SchedulingAndRunningBenchmark: Benchmark {
   |             `- note: class 'SchedulingAndRunningBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
49 |     func run() -> Int {
50 |         try! self.loop.submit {
51 |             for _ in 0..<self.numTasks {
   |                          `- warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 |                 self.dg.enter()
53 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/SchedulingAndRunningBenchmark.swift:55:21: warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | import NIOPosix
18 |
19 | final class SchedulingAndRunningBenchmark: Benchmark {
   |             `- note: class 'SchedulingAndRunningBenchmark' does not conform to the 'Sendable' protocol
20 |     private var group: MultiThreadedEventLoopGroup!
21 |     private var loop: EventLoop!
   :
53 |
54 |                 self.loop.scheduleTask(in: .nanoseconds(0)) {
55 |                     self.counter &+= 1
   |                     `- warning: capture of 'self' with non-sendable type 'SchedulingAndRunningBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |                     self.dg.leave()
57 |                 }
[487/501] Compiling NIOPerformanceTester TCPThroughputBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/TCPThroughputBenchmark.swift:120:57: warning: type 'TCPThroughputBenchmark.ServerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 35 |     private var serverEventLoop: EventLoop!
 36 |
 37 |     final class ServerHandler: ChannelInboundHandler {
    |                 `- note: class 'ServerHandler' does not conform to the 'Sendable' protocol
 38 |         public typealias InboundIn = ByteBuffer
 39 |         public typealias OutboundOut = ByteBuffer
    :
118 |             .childChannelInitializer { channel in
119 |                 self.serverHandler = ServerHandler(connectionEstablishedPromise)
120 |                 return channel.pipeline.addHandler(self.serverHandler)
    |                                                         `- warning: type 'TCPThroughputBenchmark.ServerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |             }
122 |             .bind(host: "127.0.0.1", port: 0)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:166:41: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 164 |     .childChannelInitializer { channel in
 165 |         channel.pipeline.configureHTTPServerPipeline(withPipeliningAssistance: true).flatMap {
 166 |             channel.pipeline.addHandler(SimpleHTTPServer())
     |                                         `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 167 |         }
 168 |     }.bind(host: "127.0.0.1", port: 0).wait()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/TCPThroughputBenchmark.swift:119:17: warning: capture of 'self' with non-sendable type 'TCPThroughputBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 22 |
 23 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
 24 | final class TCPThroughputBenchmark: Benchmark {
    |             `- note: class 'TCPThroughputBenchmark' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let messages: Int
    :
117 |         self.serverChannel = try ServerBootstrap(group: self.group)
118 |             .childChannelInitializer { channel in
119 |                 self.serverHandler = ServerHandler(connectionEstablishedPromise)
    |                 `- warning: capture of 'self' with non-sendable type 'TCPThroughputBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 |                 return channel.pipeline.addHandler(self.serverHandler)
121 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/TCPThroughputBenchmark.swift:168:13: warning: capture of 'serverHandler' with non-sendable type 'TCPThroughputBenchmark.ServerHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     private var serverEventLoop: EventLoop!
 36 |
 37 |     final class ServerHandler: ChannelInboundHandler {
    |                 `- note: class 'ServerHandler' does not conform to the 'Sendable' protocol
 38 |         public typealias InboundIn = ByteBuffer
 39 |         public typealias OutboundOut = ByteBuffer
    :
166 |
167 |         self.serverEventLoop.execute {
168 |             serverHandler.send(message, times: messages)
    |             `- warning: capture of 'serverHandler' with non-sendable type 'TCPThroughputBenchmark.ServerHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 |         }
170 |         try isDonePromise.futureResult.wait()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:50:45: warning: type 'UDPBenchmark.EchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 48 |             .channelOption(.datagramVectorReadMessageCount, value: self.vectorReads)
 49 |             .channelInitializer { channel in
 50 |                 channel.pipeline.addHandler(EchoHandler())
    |                                             `- warning: type 'UDPBenchmark.EchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 51 |             }
 52 |             .bind(to: address)
    :
 88 |
 89 | extension UDPBenchmark {
 90 |     final class EchoHandler: ChannelInboundHandler {
    |                 `- note: class 'EchoHandler' does not conform to the 'Sendable' protocol
 91 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
 92 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:70:52: warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |                     )
 69 |                 )
 70 |                 return channel.pipeline.addHandler(handler)
    |                                                    `- warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |             }
 72 |             .bind(to: address)
    :
106 |     }
107 |
108 |     final class EchoHandlerClient: ChannelInboundHandler, RemovableChannelHandler {
    |                 `- note: class 'EchoHandlerClient' does not conform to the 'Sendable' protocol
109 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
110 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:75:93: warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 73 |             .wait()
 74 |
 75 |         self.clientHandler = try self.client.pipeline.handler(type: EchoHandlerClient.self).wait()
    |                                                                                             `- warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |     }
 77 |
    :
106 |     }
107 |
108 |     final class EchoHandlerClient: ChannelInboundHandler, RemovableChannelHandler {
    |                 `- note: class 'EchoHandlerClient' does not conform to the 'Sendable' protocol
109 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
110 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:65:34: warning: capture of 'self' with non-sendable type 'UDPBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | import NIOPosix
 16 |
 17 | final class UDPBenchmark {
    |             `- note: class 'UDPBenchmark' does not conform to the 'Sendable' protocol
 18 |     /// Request to send.
 19 |     private let data: ByteBuffer
    :
 63 |                     config: .init(
 64 |                         remoteAddress: remoteAddress,
 65 |                         request: self.data,
    |                                  `- warning: capture of 'self' with non-sendable type 'UDPBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 66 |                         requests: self.numberOfRequests,
 67 |                         writesPerFlush: self.vectorWrites
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:238:17: warning: capture of 'self' with non-sendable type 'UDPBenchmark.EchoHandlerClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 |     }
107 |
108 |     final class EchoHandlerClient: ChannelInboundHandler, RemovableChannelHandler {
    |                 `- note: class 'EchoHandlerClient' does not conform to the 'Sendable' protocol
109 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
110 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
    :
236 |             let p = self.eventLoop.makePromise(of: Void.self)
237 |             self.eventLoop.execute {
238 |                 self._run(promise: p)
    |                 `- warning: capture of 'self' with non-sendable type 'UDPBenchmark.EchoHandlerClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |             }
240 |             return p.futureResult
[488/501] Compiling NIOPerformanceTester UDPBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/TCPThroughputBenchmark.swift:120:57: warning: type 'TCPThroughputBenchmark.ServerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 35 |     private var serverEventLoop: EventLoop!
 36 |
 37 |     final class ServerHandler: ChannelInboundHandler {
    |                 `- note: class 'ServerHandler' does not conform to the 'Sendable' protocol
 38 |         public typealias InboundIn = ByteBuffer
 39 |         public typealias OutboundOut = ByteBuffer
    :
118 |             .childChannelInitializer { channel in
119 |                 self.serverHandler = ServerHandler(connectionEstablishedPromise)
120 |                 return channel.pipeline.addHandler(self.serverHandler)
    |                                                         `- warning: type 'TCPThroughputBenchmark.ServerHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |             }
122 |             .bind(host: "127.0.0.1", port: 0)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:166:41: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 164 |     .childChannelInitializer { channel in
 165 |         channel.pipeline.configureHTTPServerPipeline(withPipeliningAssistance: true).flatMap {
 166 |             channel.pipeline.addHandler(SimpleHTTPServer())
     |                                         `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 167 |         }
 168 |     }.bind(host: "127.0.0.1", port: 0).wait()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/TCPThroughputBenchmark.swift:119:17: warning: capture of 'self' with non-sendable type 'TCPThroughputBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 22 |
 23 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
 24 | final class TCPThroughputBenchmark: Benchmark {
    |             `- note: class 'TCPThroughputBenchmark' does not conform to the 'Sendable' protocol
 25 |
 26 |     private let messages: Int
    :
117 |         self.serverChannel = try ServerBootstrap(group: self.group)
118 |             .childChannelInitializer { channel in
119 |                 self.serverHandler = ServerHandler(connectionEstablishedPromise)
    |                 `- warning: capture of 'self' with non-sendable type 'TCPThroughputBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 |                 return channel.pipeline.addHandler(self.serverHandler)
121 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/TCPThroughputBenchmark.swift:168:13: warning: capture of 'serverHandler' with non-sendable type 'TCPThroughputBenchmark.ServerHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     private var serverEventLoop: EventLoop!
 36 |
 37 |     final class ServerHandler: ChannelInboundHandler {
    |                 `- note: class 'ServerHandler' does not conform to the 'Sendable' protocol
 38 |         public typealias InboundIn = ByteBuffer
 39 |         public typealias OutboundOut = ByteBuffer
    :
166 |
167 |         self.serverEventLoop.execute {
168 |             serverHandler.send(message, times: messages)
    |             `- warning: capture of 'serverHandler' with non-sendable type 'TCPThroughputBenchmark.ServerHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 |         }
170 |         try isDonePromise.futureResult.wait()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:50:45: warning: type 'UDPBenchmark.EchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 48 |             .channelOption(.datagramVectorReadMessageCount, value: self.vectorReads)
 49 |             .channelInitializer { channel in
 50 |                 channel.pipeline.addHandler(EchoHandler())
    |                                             `- warning: type 'UDPBenchmark.EchoHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 51 |             }
 52 |             .bind(to: address)
    :
 88 |
 89 | extension UDPBenchmark {
 90 |     final class EchoHandler: ChannelInboundHandler {
    |                 `- note: class 'EchoHandler' does not conform to the 'Sendable' protocol
 91 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
 92 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:70:52: warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 68 |                     )
 69 |                 )
 70 |                 return channel.pipeline.addHandler(handler)
    |                                                    `- warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |             }
 72 |             .bind(to: address)
    :
106 |     }
107 |
108 |     final class EchoHandlerClient: ChannelInboundHandler, RemovableChannelHandler {
    |                 `- note: class 'EchoHandlerClient' does not conform to the 'Sendable' protocol
109 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
110 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:75:93: warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 73 |             .wait()
 74 |
 75 |         self.clientHandler = try self.client.pipeline.handler(type: EchoHandlerClient.self).wait()
    |                                                                                             `- warning: type 'UDPBenchmark.EchoHandlerClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |     }
 77 |
    :
106 |     }
107 |
108 |     final class EchoHandlerClient: ChannelInboundHandler, RemovableChannelHandler {
    |                 `- note: class 'EchoHandlerClient' does not conform to the 'Sendable' protocol
109 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
110 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:65:34: warning: capture of 'self' with non-sendable type 'UDPBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 15 | import NIOPosix
 16 |
 17 | final class UDPBenchmark {
    |             `- note: class 'UDPBenchmark' does not conform to the 'Sendable' protocol
 18 |     /// Request to send.
 19 |     private let data: ByteBuffer
    :
 63 |                     config: .init(
 64 |                         remoteAddress: remoteAddress,
 65 |                         request: self.data,
    |                                  `- warning: capture of 'self' with non-sendable type 'UDPBenchmark' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 66 |                         requests: self.numberOfRequests,
 67 |                         writesPerFlush: self.vectorWrites
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/UDPBenchmark.swift:238:17: warning: capture of 'self' with non-sendable type 'UDPBenchmark.EchoHandlerClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 |     }
107 |
108 |     final class EchoHandlerClient: ChannelInboundHandler, RemovableChannelHandler {
    |                 `- note: class 'EchoHandlerClient' does not conform to the 'Sendable' protocol
109 |         typealias InboundIn = AddressedEnvelope<ByteBuffer>
110 |         typealias OutboundOut = AddressedEnvelope<ByteBuffer>
    :
236 |             let p = self.eventLoop.makePromise(of: Void.self)
237 |             self.eventLoop.execute {
238 |                 self._run(promise: p)
    |                 `- warning: capture of 'self' with non-sendable type 'UDPBenchmark.EchoHandlerClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |             }
240 |             return p.futureResult
[489/501] Compiling NIOPerformanceTester main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:166:41: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 164 |     .childChannelInitializer { channel in
 165 |         channel.pipeline.configureHTTPServerPipeline(withPipeliningAssistance: true).flatMap {
 166 |             channel.pipeline.addHandler(SimpleHTTPServer())
     |                                         `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 167 |         }
 168 |     }.bind(host: "127.0.0.1", port: 0).wait()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:640:37: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 638 |         withErrorHandling: true
 639 |     ).flatMap {
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
     |                                     `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:642:37: warning: type 'MeasuringHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
     |                                     `- warning: type 'MeasuringHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 643 |     }.wait()
 644 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:642:37: warning: capture of 'measuringHandler' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
     |                                     `- warning: capture of 'measuringHandler' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 643 |     }.wait()
 644 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:669:87: warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 667 |     try! clientChannel.eventLoop.flatSubmit {
 668 |         let promise = clientChannel.eventLoop.makePromise(of: Void.self)
 669 |         clientChannel.pipeline.syncOperations.write(NIOAny(HTTPClientRequestPart.head(head)), promise: nil)
     |                                                                                       `- warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 670 |         clientChannel.pipeline.syncOperations.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)), promise: promise)
 671 |         return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:696:91: warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 694 |         try! clientChannel.eventLoop.flatSubmit {
 695 |             let promise = clientChannel.eventLoop.makePromise(of: Void.self)
 696 |             clientChannel.pipeline.syncOperations.write(NIOAny(HTTPClientRequestPart.head(head)), promise: nil)
     |                                                                                           `- warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 697 |             clientChannel.pipeline.syncOperations.writeAndFlush(
 698 |                 NIOAny(HTTPClientRequestPart.end(nil)),
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:798:66: warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 796 |
 797 |     let futures = (1...10_000).map { i in el1.makeSucceededFuture(i) }
 798 |     return try! EventLoopFuture<Int>.reduce(0, futures, on: el1, +).wait()
     |                                                                  `- warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 799 | }
 800 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:62:27: error: main actor-isolated var 'warning' can not be referenced from a nonisolated context
  28 | // MARK: Test Harness
  29 |
  30 | var warning: String = ""
     |     `- note: var declared here
  31 | assert(
  32 |     {
     :
  58 | let limitSet = CommandLine.arguments.dropFirst()
  59 |
  60 | public func measureAndPrint(desc: String, fn: () throws -> Int) rethrows {
     |             `- note: add '@MainActor' to make global function 'measureAndPrint(desc:fn:)' part of global actor 'MainActor'
  61 |     if limitSet.isEmpty || limitSet.contains(desc) {
  62 |         print("measuring\(warning): \(desc): ", terminator: "")
     |                           `- error: main actor-isolated var 'warning' can not be referenced from a nonisolated context
  63 |         let measurements = try measure(fn)
  64 |         print(measurements.reduce(into: "") { $0.append("\($1), ") })
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:91:27: error: expression is 'async' but is not marked with 'await'
  89 | public func measureAndPrint(desc: String, fn: () async throws -> Int) async rethrows {
  90 |     if limitSet.isEmpty || limitSet.contains(desc) {
  91 |         print("measuring\(warning): \(desc): ", terminator: "")
     |                           |- error: expression is 'async' but is not marked with 'await'
     |                           `- note: property access is 'async'
  92 |         let measurements = try await measure(fn)
  93 |         print(measurements.reduce(into: "") { $0.append("\($1), ") })
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:207:47: warning: capture of 'self' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 205 |         if case .end(nil) = reqPart {
 206 |             if self.remainingNumberOfRequests <= 0 {
 207 |                 context.channel.close().map { self.doneRequests }.cascade(to: self.isDonePromise)
     |                                               `- warning: capture of 'self' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 208 |             } else {
 209 |                 self.doneRequests += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:212:58: error: main actor-isolated var 'head' can not be referenced from a nonisolated context
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 201 |     }
 202 |
 203 |     func channelRead(context: ChannelHandlerContext, data: NIOAny) {
     |          `- note: add '@MainActor' to make instance method 'channelRead(context:data:)' part of global actor 'MainActor'
 204 |         let reqPart = Self.unwrapInboundIn(data)
 205 |         if case .end(nil) = reqPart {
     :
 210 |                 self.remainingNumberOfRequests -= 1
 211 |
 212 |                 context.write(Self.wrapOutboundOut(.head(head)), promise: nil)
     |                                                          `- error: main actor-isolated var 'head' can not be referenced from a nonisolated context
 213 |                 context.writeAndFlush(Self.wrapOutboundOut(.end(nil)), promise: nil)
 214 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:615:21: warning: capture of 'self' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 613 |             if self.remainingNumberOfRequests > 0 {
 614 |                 context.eventLoop.execute {
 615 |                     self.kickOff(channel: channel)
     |                     `- warning: capture of 'self' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 616 |                 }
 617 |             } else {
[490/501] Compiling NIOPerformanceTester resources.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:166:41: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 164 |     .childChannelInitializer { channel in
 165 |         channel.pipeline.configureHTTPServerPipeline(withPipeliningAssistance: true).flatMap {
 166 |             channel.pipeline.addHandler(SimpleHTTPServer())
     |                                         `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 167 |         }
 168 |     }.bind(host: "127.0.0.1", port: 0).wait()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:640:37: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 638 |         withErrorHandling: true
 639 |     ).flatMap {
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
     |                                     `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:642:37: warning: type 'MeasuringHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
     |                                     `- warning: type 'MeasuringHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 643 |     }.wait()
 644 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:642:37: warning: capture of 'measuringHandler' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
     |                                     `- warning: capture of 'measuringHandler' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 643 |     }.wait()
 644 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:669:87: warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 667 |     try! clientChannel.eventLoop.flatSubmit {
 668 |         let promise = clientChannel.eventLoop.makePromise(of: Void.self)
 669 |         clientChannel.pipeline.syncOperations.write(NIOAny(HTTPClientRequestPart.head(head)), promise: nil)
     |                                                                                       `- warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 670 |         clientChannel.pipeline.syncOperations.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)), promise: promise)
 671 |         return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:696:91: warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 694 |         try! clientChannel.eventLoop.flatSubmit {
 695 |             let promise = clientChannel.eventLoop.makePromise(of: Void.self)
 696 |             clientChannel.pipeline.syncOperations.write(NIOAny(HTTPClientRequestPart.head(head)), promise: nil)
     |                                                                                           `- warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 697 |             clientChannel.pipeline.syncOperations.writeAndFlush(
 698 |                 NIOAny(HTTPClientRequestPart.end(nil)),
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:798:66: warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 796 |
 797 |     let futures = (1...10_000).map { i in el1.makeSucceededFuture(i) }
 798 |     return try! EventLoopFuture<Int>.reduce(0, futures, on: el1, +).wait()
     |                                                                  `- warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 799 | }
 800 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:62:27: error: main actor-isolated var 'warning' can not be referenced from a nonisolated context
  28 | // MARK: Test Harness
  29 |
  30 | var warning: String = ""
     |     `- note: var declared here
  31 | assert(
  32 |     {
     :
  58 | let limitSet = CommandLine.arguments.dropFirst()
  59 |
  60 | public func measureAndPrint(desc: String, fn: () throws -> Int) rethrows {
     |             `- note: add '@MainActor' to make global function 'measureAndPrint(desc:fn:)' part of global actor 'MainActor'
  61 |     if limitSet.isEmpty || limitSet.contains(desc) {
  62 |         print("measuring\(warning): \(desc): ", terminator: "")
     |                           `- error: main actor-isolated var 'warning' can not be referenced from a nonisolated context
  63 |         let measurements = try measure(fn)
  64 |         print(measurements.reduce(into: "") { $0.append("\($1), ") })
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:91:27: error: expression is 'async' but is not marked with 'await'
  89 | public func measureAndPrint(desc: String, fn: () async throws -> Int) async rethrows {
  90 |     if limitSet.isEmpty || limitSet.contains(desc) {
  91 |         print("measuring\(warning): \(desc): ", terminator: "")
     |                           |- error: expression is 'async' but is not marked with 'await'
     |                           `- note: property access is 'async'
  92 |         let measurements = try await measure(fn)
  93 |         print(measurements.reduce(into: "") { $0.append("\($1), ") })
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:207:47: warning: capture of 'self' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 205 |         if case .end(nil) = reqPart {
 206 |             if self.remainingNumberOfRequests <= 0 {
 207 |                 context.channel.close().map { self.doneRequests }.cascade(to: self.isDonePromise)
     |                                               `- warning: capture of 'self' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 208 |             } else {
 209 |                 self.doneRequests += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:212:58: error: main actor-isolated var 'head' can not be referenced from a nonisolated context
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 201 |     }
 202 |
 203 |     func channelRead(context: ChannelHandlerContext, data: NIOAny) {
     |          `- note: add '@MainActor' to make instance method 'channelRead(context:data:)' part of global actor 'MainActor'
 204 |         let reqPart = Self.unwrapInboundIn(data)
 205 |         if case .end(nil) = reqPart {
     :
 210 |                 self.remainingNumberOfRequests -= 1
 211 |
 212 |                 context.write(Self.wrapOutboundOut(.head(head)), promise: nil)
     |                                                          `- error: main actor-isolated var 'head' can not be referenced from a nonisolated context
 213 |                 context.writeAndFlush(Self.wrapOutboundOut(.end(nil)), promise: nil)
 214 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:615:21: warning: capture of 'self' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 613 |             if self.remainingNumberOfRequests > 0 {
 614 |                 context.eventLoop.execute {
 615 |                     self.kickOff(channel: channel)
     |                     `- warning: capture of 'self' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 616 |                 }
 617 |             } else {
[491/501] Emitting module NIOPerformanceTester
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:166:41: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 164 |     .childChannelInitializer { channel in
 165 |         channel.pipeline.configureHTTPServerPipeline(withPipeliningAssistance: true).flatMap {
 166 |             channel.pipeline.addHandler(SimpleHTTPServer())
     |                                         `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 167 |         }
 168 |     }.bind(host: "127.0.0.1", port: 0).wait()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:640:37: warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  99 | // MARK: Utilities
 100 |
 101 | private final class SimpleHTTPServer: ChannelInboundHandler {
     |                     `- note: class 'SimpleHTTPServer' does not conform to the 'Sendable' protocol
 102 |     typealias InboundIn = HTTPServerRequestPart
 103 |     typealias OutboundOut = HTTPServerResponsePart
     :
 638 |         withErrorHandling: true
 639 |     ).flatMap {
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
     |                                     `- warning: type 'SimpleHTTPServer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:642:37: warning: type 'MeasuringHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
     |                                     `- warning: type 'MeasuringHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 643 |     }.wait()
 644 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:642:37: warning: capture of 'measuringHandler' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 567 |
 568 | try measureAndPrint(desc: "no-net_http1_1k_reqs_1_conn") {
 569 |     final class MeasuringHandler: ChannelDuplexHandler {
     |                 `- note: class 'MeasuringHandler' does not conform to the 'Sendable' protocol
 570 |         typealias InboundIn = Never
 571 |         typealias InboundOut = ByteBuffer
     :
 640 |         channel.pipeline.addHandler(SimpleHTTPServer())
 641 |     }.flatMap {
 642 |         channel.pipeline.addHandler(measuringHandler, position: .first)
     |                                     `- warning: capture of 'measuringHandler' with non-sendable type 'MeasuringHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 643 |     }.wait()
 644 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:661:45: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 659 |         .channelInitializer { channel in
 660 |             channel.pipeline.addHTTPClientHandlers().flatMap {
 661 |                 channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                             `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 662 |             }
 663 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:669:87: warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 667 |     try! clientChannel.eventLoop.flatSubmit {
 668 |         let promise = clientChannel.eventLoop.makePromise(of: Void.self)
 669 |         clientChannel.pipeline.syncOperations.write(NIOAny(HTTPClientRequestPart.head(head)), promise: nil)
     |                                                                                       `- warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 670 |         clientChannel.pipeline.syncOperations.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)), promise: promise)
 671 |         return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: type 'RepeatedRequests' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:688:49: warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
 177 | final class RepeatedRequests: ChannelInboundHandler {
     |             `- note: class 'RepeatedRequests' does not conform to the 'Sendable' protocol
 178 |     typealias InboundIn = HTTPClientResponsePart
 179 |     typealias OutboundOut = HTTPClientRequestPart
     :
 686 |             .channelInitializer { channel in
 687 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 688 |                     channel.pipeline.addHandler(repeatedRequestsHandler)
     |                                                 `- warning: capture of 'repeatedRequestsHandler' with non-sendable type 'RepeatedRequests' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 689 |                 }
 690 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:696:91: warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 172 | }
 173 |
 174 | var head = HTTPRequestHead(version: .http1_1, method: .GET, uri: "/perf-test-1")
     |     `- note: var declared here
 175 | head.headers.add(name: "Host", value: "localhost")
 176 |
     :
 694 |         try! clientChannel.eventLoop.flatSubmit {
 695 |             let promise = clientChannel.eventLoop.makePromise(of: Void.self)
 696 |             clientChannel.pipeline.syncOperations.write(NIOAny(HTTPClientRequestPart.head(head)), promise: nil)
     |                                                                                           `- warning: main actor-isolated var 'head' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 697 |             clientChannel.pipeline.syncOperations.writeAndFlush(
 698 |                 NIOAny(HTTPClientRequestPart.end(nil)),
/Users/admin/builder/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:798:66: warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 796 |
 797 |     let futures = (1...10_000).map { i in el1.makeSucceededFuture(i) }
 798 |     return try! EventLoopFuture<Int>.reduce(0, futures, on: el1, +).wait()
     |                                                                  `- warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 799 | }
 800 |
[491/501] Linking NIOWebSocketServer
[491/501] Linking NIOWebSocketClient
[491/501] Linking NIOCrashTester
[491/501] Linking NIOFileSystemTour
BUILD FAILURE 6.0 macosSpm