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 Linux on 15 Nov 2024 19:12:51 UTC.

Build Command

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

Build Log

 78 | public final class NIOTypedHTTPServerUpgradeHandler<UpgradeResult: Sendable>: ChannelInboundHandler,
    |                    `- note: generic class 'NIOTypedHTTPServerUpgradeHandler' does not conform to the 'Sendable' protocol
 79 |     RemovableChannelHandler
 80 | {
    :
222 |             self.upgradeResultPromise.fail(error)
223 |             context.fireErrorCaught(error)
224 |             context.pipeline.removeHandler(self, promise: nil)
    |                                            `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 |
226 |         case .fireErrorCaughtAndStartUnbuffering(let error):
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:253:44: warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; 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 | {
    :
251 |             }
252 |             self.upgradeResultPromise.succeed(value)
253 |             context.pipeline.removeHandler(self, promise: nil)
    |                                            `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
254 |
255 |         case .none:
/host/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 |
/host/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)
/host/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.
/host/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,
/host/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>
/host/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,
/host/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,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:356:44: warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; 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 | {
    :
354 |             self.upgradeResultPromise.fail(error)
355 |             context.fireErrorCaught(error)
356 |             context.pipeline.removeHandler(self, promise: nil)
    |                                            `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
357 |
358 |         case .none:
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:345:21: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
343 |                 .hop(to: context.eventLoop)
344 |                 .whenComplete { result in
345 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                     `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
346 |                 }
347 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:345:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 |                 .hop(to: context.eventLoop)
344 |                 .whenComplete { result in
345 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                                                             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
346 |                 }
347 |
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:380:13: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
378 |         // then remove ourselves from the pipeline.
379 |         self.removeExtraHandlers(context: context).flatMap {
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
    |             `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 |         }.flatMap {
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:380:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
378 |         // then remove ourselves from the pipeline.
379 |         self.removeExtraHandlers(context: context).flatMap {
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 |         }.flatMap {
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:382:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
381 |         }.flatMap {
382 |             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
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:382:59: 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 | {
    :
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
381 |         }.flatMap {
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
    |                                                           `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:384:13: 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 |
    :
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
    |             `- warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:384:39: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
    |                                       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:387:17: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
387 |                 self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: (requestHead, proto))
    |                 `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |             }
389 |     }
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:387:57: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
387 |                 self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: (requestHead, proto))
    |                                                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |             }
389 |     }
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:413:73: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
411 |
412 |         return .andAllSucceed(
413 |             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
414 |             on: context.eventLoop
415 |         )
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:429:48: warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; 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 | {
    :
427 |             case .fireChannelReadCompleteAndRemoveHandler:
428 |                 context.fireChannelReadComplete()
429 |                 context.pipeline.removeHandler(self, promise: nil)
    |                                                `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |                 return
431 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:185:21: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
183 |                 .hop(to: context.eventLoop)
184 |                 .whenComplete { result in
185 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                     `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |                 }
187 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:185:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 .hop(to: context.eventLoop)
184 |                 .whenComplete { result in
185 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                                                             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |                 }
187 |
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:197:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |                 connectionHeader: connectionHeader
196 |             ).whenComplete { result in
197 |                 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
198 |                 self.findingUpgradeCompleted(context: context, requestHead: head, result)
199 |             }
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:198:17: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
196 |             ).whenComplete { result in
197 |                 context.eventLoop.assertInEventLoop()
198 |                 self.findingUpgradeCompleted(context: context, requestHead: head, result)
    |                 `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |             }
200 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:224:44: warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; 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 | {
    :
222 |             self.upgradeResultPromise.fail(error)
223 |             context.fireErrorCaught(error)
224 |             context.pipeline.removeHandler(self, promise: nil)
    |                                            `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
225 |
226 |         case .fireErrorCaughtAndStartUnbuffering(let error):
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:253:44: warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; 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 | {
    :
251 |             }
252 |             self.upgradeResultPromise.succeed(value)
253 |             context.pipeline.removeHandler(self, promise: nil)
    |                                            `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
254 |
255 |         case .none:
/host/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 |
/host/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)
/host/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.
/host/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,
/host/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>
/host/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,
/host/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,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:356:44: warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; 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 | {
    :
354 |             self.upgradeResultPromise.fail(error)
355 |             context.fireErrorCaught(error)
356 |             context.pipeline.removeHandler(self, promise: nil)
    |                                            `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
357 |
358 |         case .none:
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:345:21: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
343 |                 .hop(to: context.eventLoop)
344 |                 .whenComplete { result in
345 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                     `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
346 |                 }
347 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:345:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 |                 .hop(to: context.eventLoop)
344 |                 .whenComplete { result in
345 |                     self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: nil)
    |                                                             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
346 |                 }
347 |
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:380:13: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
378 |         // then remove ourselves from the pipeline.
379 |         self.removeExtraHandlers(context: context).flatMap {
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
    |             `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 |         }.flatMap {
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:380:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
378 |         // then remove ourselves from the pipeline.
379 |         self.removeExtraHandlers(context: context).flatMap {
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 |         }.flatMap {
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:382:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
381 |         }.flatMap {
382 |             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
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:382:59: 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 | {
    :
380 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
381 |         }.flatMap {
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
    |                                                           `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:384:13: 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 |
    :
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
    |             `- warning: capture of 'upgrader' with non-sendable type 'any NIOTypedHTTPServerProtocolUpgrader<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:384:39: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
382 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
383 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
384 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
    |                                       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:387:17: warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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 | {
    :
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
387 |                 self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: (requestHead, proto))
    |                 `- warning: capture of 'self' with non-sendable type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |             }
389 |     }
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:387:57: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |         }.hop(to: context.eventLoop)
386 |             .whenComplete { result in
387 |                 self.upgradingHandlerCompleted(context: context, result, requestHeadAndProtocol: (requestHead, proto))
    |                                                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |             }
389 |     }
/host/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>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:413:73: warning: type 'any RemovableChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
411 |
412 |         return .andAllSucceed(
413 |             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
414 |             on: context.eventLoop
415 |         )
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:429:48: warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; 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 | {
    :
427 |             case .fireChannelReadCompleteAndRemoveHandler:
428 |                 context.fireChannelReadComplete()
429 |                 context.pipeline.removeHandler(self, promise: nil)
    |                                                `- warning: type 'NIOTypedHTTPServerUpgradeHandler<UpgradeResult>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |                 return
431 |
[428/462] Wrapping AST for NIOFileSystem for debugging
[430/462] Wrapping AST for NIOHTTP1 for debugging
[432/484] Compiling NIOWebSocket WebSocketErrorCodes.swift
[433/485] Emitting module NIOAsyncAwaitDemo
[434/485] Compiling NIOAsyncAwaitDemo AsyncChannelIO.swift
/host/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
/host/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
/host/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 |     }
/host/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 |
[435/485] Compiling NIOAsyncAwaitDemo FullRequestResponse.swift
/host/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 |
[436/485] Compiling NIOWebSocket WebSocketOpcode.swift
/host/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 |
[437/485] Emitting module NIOHTTP1Client
/host/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 |     }
[438/485] Compiling NIOHTTP1Client main.swift
/host/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 |     }
[439/485] Compiling NIOAsyncAwaitDemo main.swift
[440/485] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
/host/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 |     }
[441/485] Compiling NIOWebSocket SHA1.swift
/host/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 |     }
[442/486] Emitting module NIOTestUtils
[443/486] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[444/487] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[446/487] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[447/487] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[449/487] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
/host/spi-builder-workspace/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift:381:27: warning: 'retroactive' attribute does not apply; 'ContiguousBytes' is declared in this module; this is an error in the Swift 6 language mode
379 | // MARK: - Conformances
380 | #if compiler(>=6.0)
381 | extension ByteBufferView: @retroactive ContiguousBytes {}
    |                           `- warning: 'retroactive' attribute does not apply; 'ContiguousBytes' is declared in this module; this is an error in the Swift 6 language mode
382 | extension ByteBufferView: @retroactive DataProtocol {}
383 | extension ByteBufferView: @retroactive MutableDataProtocol {}
/host/spi-builder-workspace/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift:382:27: warning: 'retroactive' attribute does not apply; 'DataProtocol' is declared in this module; this is an error in the Swift 6 language mode
380 | #if compiler(>=6.0)
381 | extension ByteBufferView: @retroactive ContiguousBytes {}
382 | extension ByteBufferView: @retroactive DataProtocol {}
    |                           `- warning: 'retroactive' attribute does not apply; 'DataProtocol' is declared in this module; this is an error in the Swift 6 language mode
383 | extension ByteBufferView: @retroactive MutableDataProtocol {}
384 | #else
/host/spi-builder-workspace/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift:383:27: warning: 'retroactive' attribute does not apply; 'MutableDataProtocol' is declared in this module; this is an error in the Swift 6 language mode
381 | extension ByteBufferView: @retroactive ContiguousBytes {}
382 | extension ByteBufferView: @retroactive DataProtocol {}
383 | extension ByteBufferView: @retroactive MutableDataProtocol {}
    |                           `- warning: 'retroactive' attribute does not apply; 'MutableDataProtocol' is declared in this module; this is an error in the Swift 6 language mode
384 | #else
385 | extension ByteBufferView: ContiguousBytes {}
[450/487] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
/host/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 |         }
/host/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>
[450/488] Wrapping AST for NIOAsyncAwaitDemo for debugging
[452/488] Emitting module NIOWebSocket
/host/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 |
[453/488] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
/host/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 |     }
[454/488] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
/host/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 |     }
[454/488] Write Objects.LinkFileList
[456/488] Wrapping AST for NIOHTTP1Client for debugging
[457/488] Write Objects.LinkFileList
[459/488] Compiling NIOWebSocket WebSocketFrame.swift
[460/489] Wrapping AST for NIOFoundationCompat for debugging
[462/492] Compiling NIOTestUtils EventCounterHandler.swift
[463/492] Compiling NIOTestUtils NIOHTTP1TestServer.swift
/host/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 |         }
/host/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>
/host/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()
/host/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())
/host/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)
[464/492] Compiling NIOTestUtils ByteToMessageDecoderVerifier.swift
[465/495] Compiling _NIOFileSystemFoundationCompat Date+FileInfo.swift
[466/495] Compiling _NIOFileSystemFoundationCompat Data+FileSystem.swift
[467/495] Emitting module _NIOFileSystemFoundationCompat
[469/519] Emitting module NIOHTTP1Server
/host/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
/host/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)
[470/519] Compiling NIOHTTP1Server main.swift
/host/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
/host/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)
/host/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 | }
[471/519] Linking NIOAsyncAwaitDemo
[472/519] Linking NIOHTTP1Client
[473/529] Wrapping AST for NIOWebSocket for debugging
[475/529] Wrapping AST for NIOTestUtils for debugging
[476/531] Wrapping AST for _NIOFileSystemFoundationCompat for debugging
[478/531] Compiling NIOCrashTester CrashTests+Strict.swift
[479/532] Emitting module NIOWebSocketClient
[480/532] Compiling NIOWebSocketClient Client.swift
[481/532] Compiling NIOPerformanceTester DeadlineNowBenchmark.swift
/host/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
/host/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 |             }
/host/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 |
/host/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 |                 }
/host/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 |
/host/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 |                 }
[482/532] Compiling NIOPerformanceTester ExecuteBenchmark.swift
/host/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
/host/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 |             }
/host/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 |
/host/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 |                 }
/host/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 |
/host/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 |                 }
[483/532] Compiling NIOPerformanceTester LockBenchmark.swift
/host/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
/host/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 |             }
/host/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 |
/host/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 |                 }
/host/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 |
/host/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 |                 }
[483/532] Wrapping AST for NIOHTTP1Server for debugging
[484/532] Write Objects.LinkFileList
[486/534] Compiling NIOCrashTester CrashTests+System.swift
[487/535] Compiling NIOCrashTester CrashTestSuites.swift
/host/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(),
/host/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 {
/host/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 |             }
[488/535] Compiling NIOCrashTester CrashTests+ByteBuffer.swift
/host/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(),
/host/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 {
/host/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 |             }
[489/535] Compiling NIOCrashTester CrashTests+HTTP.swift
[490/535] Compiling NIOCrashTester CrashTests+LoopBound.swift
[491/535] Compiling NIOPerformanceTester ChannelPipelineBenchmark.swift
/host/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()
/host/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 |
/host/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 |     }
[492/535] Compiling NIOPerformanceTester CircularBufferCopyToArrayBenchmark.swift
/host/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()
/host/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 |
/host/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 |     }
[493/535] Compiling NIOPerformanceTester CircularBufferIntoByteBufferBenchmark.swift
/host/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()
/host/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 |
/host/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 |     }
[495/535] Compiling NIOPerformanceTester WebSocketFrameDecoderBenchmark.swift
/host/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
/host/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
[496/535] Compiling NIOPerformanceTester WebSocketFrameEncoderBenchmark.swift
/host/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
/host/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
[497/535] Compiling NIOCrashTester OutputGrepper.swift
[498/535] Emitting module NIOWebSocketServer
[499/535] Compiling NIOWebSocketServer Server.swift
[499/536] Wrapping AST for NIOWebSocketClient for debugging
[500/536] Write Objects.LinkFileList
[504/536] Compiling NIOPerformanceTester ByteToMessageDecoderDecodeManySmallsBenchmark.swift
[505/536] Compiling NIOPerformanceTester Benchmark.swift
[506/536] Compiling NIOPerformanceTester ByteBufferViewContainsBenchmark.swift
[507/536] Compiling NIOPerformanceTester ByteBufferViewCopyToArrayBenchmark.swift
[508/536] Emitting module NIOFileSystemTour
[509/536] Compiling NIOFileSystemTour NIOFileSystemTour.swift
[510/536] Compiling NIOCrashTester CrashTests+EventLoop.swift
/host/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 {
/host/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 |             }
[512/536] Emitting module NIOCrashTester
/host/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(),
[513/537] Compiling NIOCrashTester main.swift
/host/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(),
[514/538] Wrapping AST for NIOWebSocketServer for debugging
[516/538] Write Objects.LinkFileList
[517/538] Linking NIOHTTP1Server
[518/538] Wrapping AST for NIOFileSystemTour for debugging
[519/538] Write Objects.LinkFileList
[521/538] Compiling NIOPerformanceTester NIOAsyncSequenceProducerBenchmark.swift
[522/538] Compiling NIOPerformanceTester NIOAsyncWriterSingleWritesBenchmark.swift
[523/538] Compiling NIOPerformanceTester RunIfActiveBenchmark.swift
[524/538] Compiling NIOPerformanceTester SchedulingAndRunningBenchmark.swift
/host/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
/host/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 |             }
/host/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 |
/host/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 |                 }
/host/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)
/host/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()
/host/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 |             }
/host/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()
/host/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>
/host/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>
/host/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>
/host/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
/host/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
[525/538] Compiling NIOPerformanceTester TCPThroughputBenchmark.swift
/host/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
/host/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 |             }
/host/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 |
/host/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 |                 }
/host/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)
/host/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()
/host/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 |             }
/host/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()
/host/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>
/host/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>
/host/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>
/host/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
/host/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
[526/538] Compiling NIOPerformanceTester UDPBenchmark.swift
/host/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
/host/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 |             }
/host/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 |
/host/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 |                 }
/host/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)
/host/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()
/host/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 |             }
/host/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()
/host/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>
/host/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>
/host/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>
/host/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
/host/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
[527/538] Emitting module NIOPerformanceTester
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:26:8: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  24 |
  25 | // Use unbuffered stdout to help detect exactly which test was running in the event of a crash.
  26 | setbuf(stdout, nil)
     |        `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  27 |
  28 | // MARK: Test Harness
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/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()
/host/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)
/host/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 |
/host/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 |
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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
/host/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 |             }
/host/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 |             }
/host/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 |             }
/host/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)),
/host/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 |
[527/538] Wrapping AST for NIOCrashTester for debugging
[528/538] Write Objects.LinkFileList
[529/538] Linking NIOWebSocketClient
[531/538] Compiling NIOPerformanceTester main.swift
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:26:8: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  24 |
  25 | // Use unbuffered stdout to help detect exactly which test was running in the event of a crash.
  26 | setbuf(stdout, nil)
     |        `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  27 |
  28 | // MARK: Test Harness
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/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()
/host/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)
/host/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 |
/host/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 |
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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
/host/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 |             }
/host/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 |             }
/host/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 |             }
/host/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)),
/host/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 |
/host/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), ") })
/host/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), ") })
/host/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
/host/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 |             }
/host/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 {
[532/538] Compiling NIOPerformanceTester resources.swift
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:26:8: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  24 |
  25 | // Use unbuffered stdout to help detect exactly which test was running in the event of a crash.
  26 | setbuf(stdout, nil)
     |        `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  27 |
  28 | // MARK: Test Harness
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/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()
/host/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)
/host/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 |
/host/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 |
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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
/host/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 |             }
/host/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 |             }
/host/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 |             }
/host/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)),
/host/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 |
/host/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), ") })
/host/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), ") })
/host/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
/host/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 |             }
/host/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 {
[532/538] Linking NIOWebSocketServer
[532/538] Linking NIOFileSystemTour
[532/538] Linking NIOCrashTester
BUILD FAILURE 6.0 linux