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 (537c3f), with Swift 6.0 for Linux on 6 Nov 2024 14:57:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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

     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:281:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
279 |                     )
280 |                 }.flatMap {
281 |                     context.pipeline.syncOperations.removeHandler(self.httpEncoder)
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:283:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |                     context.pipeline.syncOperations.removeHandler(self.httpEncoder)
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
285 |                 }.whenComplete { result in
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:288:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |                     switch result {
287 |                     case .success:
288 |                         context.fireUserInboundEventTriggered(
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                             HTTPServerUpgradeEvents.upgradeComplete(toProtocol: proto, upgradeRequest: request)
290 |                         )
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:303:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }.flatMapError { error in
302 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
303 |             context.fireErrorCaught(error)
    |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:306:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
306 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
307 |                 request: request,
308 |                 allHeaderNames: allHeaderNames,
[405/455] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:85:36: warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// Configuration for an upgradable HTTP pipeline.
 20 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
 21 | public struct NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPServerPipelineConfiguration' conform to the 'Sendable' protocol
 22 |     /// Whether to provide assistance handling HTTP clients that pipeline
 23 |     /// their requests. Defaults to `true`. If `false`, users will need to handle clients that pipeline themselves.
    :
 83 |             future = self.eventLoop.submit {
 84 |                 try self.syncOperations.configureUpgradableHTTPServerPipeline(
 85 |                     configuration: configuration
    |                                    `- warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 86 |                 )
 87 |             }
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:204:36: warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 | /// Configuration for an upgradable HTTP pipeline.
148 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
149 | public struct NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPClientPipelineConfiguration' conform to the 'Sendable' protocol
150 |     /// The strategy to use when dealing with leftover bytes after removing the ``HTTPDecoder`` from the pipeline.
151 |     public var leftOverBytesStrategy = RemoveAfterUpgradeStrategy.dropBytes
    :
202 |             future = self.eventLoop.submit {
203 |                 try self.syncOperations.configureUpgradableHTTPClientPipeline(
204 |                     configuration: configuration
    |                                    `- warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
205 |                 )
206 |             }
[406/455] Compiling NIOHTTP1 HTTPTypes.swift
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:85:36: warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// Configuration for an upgradable HTTP pipeline.
 20 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
 21 | public struct NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPServerPipelineConfiguration' conform to the 'Sendable' protocol
 22 |     /// Whether to provide assistance handling HTTP clients that pipeline
 23 |     /// their requests. Defaults to `true`. If `false`, users will need to handle clients that pipeline themselves.
    :
 83 |             future = self.eventLoop.submit {
 84 |                 try self.syncOperations.configureUpgradableHTTPServerPipeline(
 85 |                     configuration: configuration
    |                                    `- warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPServerPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 86 |                 )
 87 |             }
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypedPipelineSetup.swift:204:36: warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 | /// Configuration for an upgradable HTTP pipeline.
148 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
149 | public struct NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult: Sendable> {
    |               `- note: consider making generic struct 'NIOUpgradableHTTPClientPipelineConfiguration' conform to the 'Sendable' protocol
150 |     /// The strategy to use when dealing with leftover bytes after removing the ``HTTPDecoder`` from the pipeline.
151 |     public var leftOverBytesStrategy = RemoveAfterUpgradeStrategy.dropBytes
    :
202 |             future = self.eventLoop.submit {
203 |                 try self.syncOperations.configureUpgradableHTTPClientPipeline(
204 |                     configuration: configuration
    |                                    `- warning: capture of 'configuration' with non-sendable type 'NIOUpgradableHTTPClientPipelineConfiguration<UpgradeResult>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
205 |                 )
206 |             }
[407/455] Emitting module NIOFoundationCompat
[408/455] Emitting module NIOHTTP1
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:274:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
272 |                 // our final cleanup steps, namely we replay the received data we buffered in the meantime and
273 |                 // then remove ourselves from the pipeline.
274 |                 self.removeExtraHandlers(context: context).flatMap {
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:274:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
272 |                 // our final cleanup steps, namely we replay the received data we buffered in the meantime and
273 |                 // then remove ourselves from the pipeline.
274 |                 self.removeExtraHandlers(context: context).flatMap {
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in an isolated closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in an isolated closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:276:34: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
274 |                 self.removeExtraHandlers(context: context).flatMap {
275 |                     self.sendUpgradeResponse(
276 |                         context: context,
    |                                  `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
277 |                         upgradeRequest: request,
278 |                         responseHeaders: finalResponseHeaders
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:281:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
279 |                     )
280 |                 }.flatMap {
281 |                     context.pipeline.syncOperations.removeHandler(self.httpEncoder)
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:283:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |                     context.pipeline.syncOperations.removeHandler(self.httpEncoder)
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
    |                                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
285 |                 }.whenComplete { result in
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:284:28: warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
    :
282 |                 }.flatMap { () -> EventLoopFuture<Void> in
283 |                     self.upgradeCompletionHandler(context)
284 |                     return upgrader.upgrade(context: context, upgradeRequest: request)
    |                            `- warning: capture of 'upgrader' with non-sendable type 'any HTTPServerProtocolUpgrader' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }.whenComplete { result in
286 |                     switch result {
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:288:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |                     switch result {
287 |                     case .success:
288 |                         context.fireUserInboundEventTriggered(
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                             HTTPServerUpgradeEvents.upgradeComplete(toProtocol: proto, upgradeRequest: request)
290 |                         )
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:303:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }.flatMapError { error in
302 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
303 |             context.fireErrorCaught(error)
    |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:306:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |             return self.handleUpgradeForProtocol(
305 |                 context: context,
306 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
307 |                 request: request,
308 |                 allHeaderNames: allHeaderNames,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:288: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 |
    :
286 |         )
287 |         .hop(to: context.eventLoop)
288 |         .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
289 |         .flatMapError { error in
290 |             // 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:291:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |         .flatMapError { error in
290 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
291 |             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
292 |             return self.handleUpgradeForProtocol(
293 |                 context: context,
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:292: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 | {
    :
290 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
291 |             context.fireErrorCaught(error)
292 |             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
293 |                 context: context,
294 |                 protocolIterator: protocolIterator,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:294:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
292 |             return self.handleUpgradeForProtocol(
293 |                 context: context,
294 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
295 |                 request: request,
296 |                 allHeaderNames: allHeaderNames,
[409/455] Compiling NIOHTTP1 ByteCollectionUtils.swift
[410/455] Compiling NIOHTTP1 HTTPDecoder.swift
[411/455] Compiling NIOHTTP1 HTTPEncoder.swift
[414/455] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[415/455] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
/host/spi-builder-workspace/Sources/NIOFileSystem/FileChunks.swift:32:17: warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 30 |
 31 |     /// The underlying buffered stream.
 32 |     private let stream: BufferedOrAnyStream<ByteBuffer>
    |                 `- warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 33 |
 34 |     /// Create a ``FileChunks`` sequence backed by wrapping an `AsyncSequence`.
/host/spi-builder-workspace/Sources/NIOFileSystem/Internal/BufferedOrAnyStream.swift:18:15: note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
16 | /// Wraps a ``BufferedStream<Element>`` or ``AnyAsyncSequence<Element>``.
17 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
18 | internal enum BufferedOrAnyStream<Element> {
   |               `- note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
19 |     case bufferedStream(BufferedStream<Element>)
20 |     case anyAsyncSequence(AnyAsyncSequence<Element>)
/host/spi-builder-workspace/Sources/NIOFileSystem/FileChunks.swift:32:17: warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 30 |
 31 |     /// The underlying buffered stream.
 32 |     private let stream: BufferedOrAnyStream<ByteBuffer>
    |                 `- warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 33 |
 34 |     /// Create a ``FileChunks`` sequence backed by wrapping an `AsyncSequence`.
/host/spi-builder-workspace/Sources/NIOFileSystem/Internal/BufferedOrAnyStream.swift:18:15: note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
16 | /// Wraps a ``BufferedStream<Element>`` or ``AnyAsyncSequence<Element>``.
17 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
18 | internal enum BufferedOrAnyStream<Element> {
   |               `- note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
19 |     case bufferedStream(BufferedStream<Element>)
20 |     case anyAsyncSequence(AnyAsyncSequence<Element>)
/host/spi-builder-workspace/Sources/NIOFileSystem/FileChunks.swift:32:17: warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 30 |
 31 |     /// The underlying buffered stream.
 32 |     private let stream: BufferedOrAnyStream<ByteBuffer>
    |                 `- warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 33 |
 34 |     /// Create a ``FileChunks`` sequence backed by wrapping an `AsyncSequence`.
/host/spi-builder-workspace/Sources/NIOFileSystem/Internal/BufferedOrAnyStream.swift:18:15: note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
16 | /// Wraps a ``BufferedStream<Element>`` or ``AnyAsyncSequence<Element>``.
17 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
18 | internal enum BufferedOrAnyStream<Element> {
   |               `- note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
19 |     case bufferedStream(BufferedStream<Element>)
20 |     case anyAsyncSequence(AnyAsyncSequence<Element>)
/host/spi-builder-workspace/Sources/NIOFileSystem/FileChunks.swift:32:17: warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 30 |
 31 |     /// The underlying buffered stream.
 32 |     private let stream: BufferedOrAnyStream<ByteBuffer>
    |                 `- warning: stored property 'stream' of 'Sendable'-conforming struct 'FileChunks' has non-sendable type 'BufferedOrAnyStream<ByteBuffer>'; this is an error in the Swift 6 language mode
 33 |
 34 |     /// Create a ``FileChunks`` sequence backed by wrapping an `AsyncSequence`.
/host/spi-builder-workspace/Sources/NIOFileSystem/Internal/BufferedOrAnyStream.swift:18:15: note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
16 | /// Wraps a ``BufferedStream<Element>`` or ``AnyAsyncSequence<Element>``.
17 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
18 | internal enum BufferedOrAnyStream<Element> {
   |               `- note: consider making generic enum 'BufferedOrAnyStream' conform to the 'Sendable' protocol
19 |     case bufferedStream(BufferedStream<Element>)
20 |     case anyAsyncSequence(AnyAsyncSequence<Element>)
[420/456] Wrapping AST for _NIOFileSystem for debugging
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:166: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 | {
    :
164 |                 .hop(to: context.eventLoop)
165 |                 .whenComplete { result in
166 |                     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
167 |                 }
168 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:166:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |                 .hop(to: context.eventLoop)
165 |                 .whenComplete { result in
166 |                     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
167 |                 }
168 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:178:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 |                 connectionHeader: connectionHeader
177 |             ).whenComplete { result in
178 |                 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
179 |                 self.findingUpgradeCompleted(context: context, requestHead: head, result)
180 |             }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:179: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 | {
    :
177 |             ).whenComplete { result in
178 |                 context.eventLoop.assertInEventLoop()
179 |                 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
180 |             }
181 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:288: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 |
    :
286 |         )
287 |         .hop(to: context.eventLoop)
288 |         .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
289 |         .flatMapError { error in
290 |             // 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:291:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |         .flatMapError { error in
290 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
291 |             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
292 |             return self.handleUpgradeForProtocol(
293 |                 context: context,
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:292: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 | {
    :
290 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
291 |             context.fireErrorCaught(error)
292 |             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
293 |                 context: context,
294 |                 protocolIterator: protocolIterator,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:294:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
292 |             return self.handleUpgradeForProtocol(
293 |                 context: context,
294 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
295 |                 request: request,
296 |                 allHeaderNames: allHeaderNames,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:326: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 | {
    :
324 |                 .hop(to: context.eventLoop)
325 |                 .whenComplete { result in
326 |                     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
327 |                 }
328 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:326:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |                 .hop(to: context.eventLoop)
325 |                 .whenComplete { result in
326 |                     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
327 |                 }
328 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:361: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 | {
    :
359 |         // then remove ourselves from the pipeline.
360 |         self.removeExtraHandlers(context: context).flatMap {
361 |             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
362 |         }.flatMap {
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:361:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 |         // then remove ourselves from the pipeline.
360 |         self.removeExtraHandlers(context: context).flatMap {
361 |             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
362 |         }.flatMap {
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:363:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
362 |         }.flatMap {
363 |             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
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:363: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 | {
    :
361 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
362 |         }.flatMap {
363 |             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
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:365: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 |
    :
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             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
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:365:39: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             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
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:368: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 | {
    :
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
368 |                 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
369 |             }
370 |     }
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:368:57: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
368 |                 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
369 |             }
370 |     }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:166: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 | {
    :
164 |                 .hop(to: context.eventLoop)
165 |                 .whenComplete { result in
166 |                     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
167 |                 }
168 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:166:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |                 .hop(to: context.eventLoop)
165 |                 .whenComplete { result in
166 |                     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
167 |                 }
168 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:178:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 |                 connectionHeader: connectionHeader
177 |             ).whenComplete { result in
178 |                 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
179 |                 self.findingUpgradeCompleted(context: context, requestHead: head, result)
180 |             }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:179: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 | {
    :
177 |             ).whenComplete { result in
178 |                 context.eventLoop.assertInEventLoop()
179 |                 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
180 |             }
181 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:288: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 |
    :
286 |         )
287 |         .hop(to: context.eventLoop)
288 |         .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
289 |         .flatMapError { error in
290 |             // 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:291:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |         .flatMapError { error in
290 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
291 |             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
292 |             return self.handleUpgradeForProtocol(
293 |                 context: context,
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:292: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 | {
    :
290 |             // No upgrade here. We want to fire the error down the pipeline, and then try another loop iteration.
291 |             context.fireErrorCaught(error)
292 |             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
293 |                 context: context,
294 |                 protocolIterator: protocolIterator,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:294:35: warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
292 |             return self.handleUpgradeForProtocol(
293 |                 context: context,
294 |                 protocolIterator: protocolIterator,
    |                                   `- warning: reference to captured var 'protocolIterator' in concurrently-executing code; this is an error in the Swift 6 language mode
295 |                 request: request,
296 |                 allHeaderNames: allHeaderNames,
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:326: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 | {
    :
324 |                 .hop(to: context.eventLoop)
325 |                 .whenComplete { result in
326 |                     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
327 |                 }
328 |
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:326:61: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |                 .hop(to: context.eventLoop)
325 |                 .whenComplete { result in
326 |                     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
327 |                 }
328 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:361: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 | {
    :
359 |         // then remove ourselves from the pipeline.
360 |         self.removeExtraHandlers(context: context).flatMap {
361 |             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
362 |         }.flatMap {
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:361:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 |         // then remove ourselves from the pipeline.
360 |         self.removeExtraHandlers(context: context).flatMap {
361 |             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
362 |         }.flatMap {
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:363:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
362 |         }.flatMap {
363 |             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
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:363: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 | {
    :
361 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
362 |         }.flatMap {
363 |             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
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:365: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 |
    :
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             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
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:365:39: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |             context.pipeline.syncOperations.removeHandler(self.httpEncoder)
364 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
365 |             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
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:368: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 | {
    :
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
368 |                 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
369 |             }
370 |     }
/host/spi-builder-workspace/Sources/NIOHTTP1/NIOTypedHTTPServerUpgradeHandler.swift:368:57: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
366 |         }.hop(to: context.eventLoop)
367 |             .whenComplete { result in
368 |                 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
369 |             }
370 |     }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[424/461] Emitting module NIOFileSystem
[425/461] Compiling NIOFileSystem Exports.swift
[427/462] Wrapping AST for NIOHTTP1 for debugging
[428/480] Wrapping AST for NIOFileSystem for debugging
[430/484] Compiling NIOWebSocket WebSocketErrorCodes.swift
[431/485] Emitting module NIOAsyncAwaitDemo
[432/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 |
[433/485] Emitting module NIOTestUtils
[434/485] Compiling NIOTestUtils ByteToMessageDecoderVerifier.swift
[435/485] Emitting module NIOHTTP1Client
[436/485] Compiling NIOHTTP1Client main.swift
[437/485] Compiling NIOAsyncAwaitDemo main.swift
[438/485] Compiling NIOAsyncAwaitDemo AsyncChannelIO.swift
[439/485] Compiling NIOAsyncAwaitDemo FullRequestResponse.swift
[441/487] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[442/487] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[444/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:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[445/487] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[446/487] Compiling NIOWebSocket SHA1.swift
[446/487] Wrapping AST for NIOHTTP1Client for debugging
[447/487] Write Objects.LinkFileList
[449/487] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[450/487] Compiling NIOWebSocket WebSocketFrame.swift
[451/487] 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 |
[452/487] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[453/487] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[453/487] Wrapping AST for NIOAsyncAwaitDemo for debugging
[454/488] Write Objects.LinkFileList
[457/488] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[458/488] Emitting module _NIOFileSystemFoundationCompat
[459/488] Compiling _NIOFileSystemFoundationCompat Date+FileInfo.swift
[460/488] Compiling NIOTestUtils EventCounterHandler.swift
[461/488] Compiling NIOTestUtils NIOHTTP1TestServer.swift
/host/spi-builder-workspace/Sources/NIOTestUtils/NIOHTTP1TestServer.swift:86:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 84 |         case .end:
 85 |             context.write(data).map {
 86 |                 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
 87 |             }.cascade(to: promise)
 88 |         }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOTestUtils/NIOHTTP1TestServer.swift:310:46: warning: capture of 'data' with non-sendable type 'HTTPServerResponsePart' (aka 'HTTPPart<HTTPResponseHead, IOData>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
308 |         try self.eventLoop.flatSubmit { () -> EventLoopFuture<Void> in
309 |             if let channel = self.currentClientChannel {
310 |                 return channel.writeAndFlush(data)
    |                                              `- warning: capture of 'data' with non-sendable type 'HTTPServerResponsePart' (aka 'HTTPPart<HTTPResponseHead, IOData>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
311 |             } else {
312 |                 return self.eventLoop.makeFailedFuture(ChannelError.ioOnClosedChannel)
/host/spi-builder-workspace/Sources/NIOHTTP1/HTTPTypes.swift:137:13: note: generic enum 'HTTPPart' does not conform to the 'Sendable' protocol
 135 | /// To indicate that a complete HTTP message has been sent or received,
 136 | /// an ``HTTPPart/end(_:)`` part must be used, even when no trailers are included.
 137 | public enum HTTPPart<HeadT: Equatable, BodyT: Equatable> {
     |             `- note: generic enum 'HTTPPart' does not conform to the 'Sendable' protocol
 138 |     /// The headers of an HTTP request or response.
 139 |     ///
[462/488] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[465/495] Wrapping AST for NIOWebSocket for debugging
[466/495] Wrapping AST for _NIOFileSystemFoundationCompat for debugging
[467/495] Linking NIOHTTP1Client
[468/495] Linking NIOAsyncAwaitDemo
[470/527] Emitting module NIOHTTP1Server
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:611:30: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
609 |
610 |     // Set the handlers that are applied to the accepted Channels
611 |     .childChannelInitializer(childChannelInitializer(channel:))
    |                              `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
612 |
613 |     // Enable SO_REUSEADDR for the accepted Channels
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:619:25: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
617 | let pipeBootstrap = NIOPipeBootstrap(group: MultiThreadedEventLoopGroup.singleton)
618 |     // Set the handlers that are applied to the accepted Channels
619 |     .channelInitializer(childChannelInitializer(channel:))
    |                         `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
620 |
621 |     .channelOption(.maxMessagesPerRead, value: 1)
[471/527] Compiling NIOHTTP1Server main.swift
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:611:30: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
609 |
610 |     // Set the handlers that are applied to the accepted Channels
611 |     .childChannelInitializer(childChannelInitializer(channel:))
    |                              `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
612 |
613 |     // Enable SO_REUSEADDR for the accepted Channels
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:619:25: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
617 | let pipeBootstrap = NIOPipeBootstrap(group: MultiThreadedEventLoopGroup.singleton)
618 |     // Set the handlers that are applied to the accepted Channels
619 |     .channelInitializer(childChannelInitializer(channel:))
    |                         `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
620 |
621 |     .channelOption(.maxMessagesPerRead, value: 1)
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:210:27: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
208 |             self.state.requestComplete()
209 |             context.eventLoop.scheduleTask(in: delay) { () -> Void in
210 |                 var buf = context.channel.allocator.buffer(capacity: string.utf8.count)
    |                           `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
211 |                 buf.writeString(string)
212 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(buf))), promise: nil)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:219:17: warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 | }
 62 |
 63 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 64 |     private enum FileIOMethod {
 65 |         case sendfile
    :
217 |                 }
218 |
219 |                 self.completeResponse(context, trailers: trailers, promise: nil)
    |                 `- warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 |             }
221 |         }
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:235:76: warning: converting non-sendable function value to '@Sendable () throws -> ()' may introduce data races
233 |                 self.buffer.writeString("line \(self.continuousCount)\n")
234 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(self.buffer)))).map {
235 |                     context.eventLoop.scheduleTask(in: .milliseconds(400), doNext)
    |                                                                            `- warning: converting non-sendable function value to '@Sendable () throws -> ()' may introduce data races
236 |                 }.whenFailure { (_: Error) in
237 |                     self.completeResponse(context, trailers: nil, promise: nil)
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:235:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 |                 self.buffer.writeString("line \(self.continuousCount)\n")
234 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(self.buffer)))).map {
235 |                     context.eventLoop.scheduleTask(in: .milliseconds(400), doNext)
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |                 }.whenFailure { (_: Error) in
237 |                     self.completeResponse(context, trailers: nil, promise: nil)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:235:76: warning: capture of 'doNext()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 |                 self.buffer.writeString("line \(self.continuousCount)\n")
234 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(self.buffer)))).map {
235 |                     context.eventLoop.scheduleTask(in: .milliseconds(400), doNext)
    |                                                                            |- warning: capture of 'doNext()' 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'
236 |                 }.whenFailure { (_: Error) in
237 |                     self.completeResponse(context, trailers: nil, promise: nil)
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:230:18: warning: concurrently-executed local function 'doNext()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
228 |             self.continuousCount = 0
229 |             self.state.requestReceived()
230 |             func doNext() {
    |                  `- warning: concurrently-executed local function 'doNext()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
231 |                 self.buffer.clear()
232 |                 self.continuousCount += 1
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:237:21: warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 | }
 62 |
 63 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 64 |     private enum FileIOMethod {
 65 |         case sendfile
    :
235 |                     context.eventLoop.scheduleTask(in: .milliseconds(400), doNext)
236 |                 }.whenFailure { (_: Error) in
237 |                     self.completeResponse(context, trailers: nil, promise: nil)
    |                     `- warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |                 }
239 |             }
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:237:43: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |                     context.eventLoop.scheduleTask(in: .milliseconds(400), doNext)
236 |                 }.whenFailure { (_: Error) in
237 |                     self.completeResponse(context, trailers: nil, 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
238 |                 }
239 |             }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:269:67: warning: converting non-sendable function value to '@Sendable () throws -> ()' may introduce data races
267 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(self.buffer)))).whenSuccess {
268 |                     if self.continuousCount < strings.count {
269 |                         context.eventLoop.scheduleTask(in: delay, doNext)
    |                                                                   `- warning: converting non-sendable function value to '@Sendable () throws -> ()' may introduce data races
270 |                     } else {
271 |                         self.completeResponse(context, trailers: nil, promise: nil)
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:268:24: warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 | }
 62 |
 63 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 64 |     private enum FileIOMethod {
 65 |         case sendfile
    :
266 |                 self.continuousCount += 1
267 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(self.buffer)))).whenSuccess {
268 |                     if self.continuousCount < strings.count {
    |                        `- warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
269 |                         context.eventLoop.scheduleTask(in: delay, doNext)
270 |                     } else {
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:269:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(self.buffer)))).whenSuccess {
268 |                     if self.continuousCount < strings.count {
269 |                         context.eventLoop.scheduleTask(in: delay, doNext)
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 |                     } else {
271 |                         self.completeResponse(context, trailers: nil, promise: nil)
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:269:67: warning: capture of 'doNext()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 |                 context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(self.buffer)))).whenSuccess {
268 |                     if self.continuousCount < strings.count {
269 |                         context.eventLoop.scheduleTask(in: delay, doNext)
    |                                                                   |- warning: capture of 'doNext()' 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'
270 |                     } else {
271 |                         self.completeResponse(context, trailers: nil, promise: nil)
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:263:18: warning: concurrently-executed local function 'doNext()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
261 |             self.continuousCount = 0
262 |             self.state.requestReceived()
263 |             func doNext() {
    |                  `- warning: concurrently-executed local function 'doNext()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
264 |                 self.buffer.clear()
265 |                 self.buffer.writeString(strings[self.continuousCount])
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:405:17: warning: capture of 'sendErrorResponse(request:_:)' with non-sendable type '(HTTPRequestHead, any Error) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
403 |             let fileHandleAndRegion = self.fileIO.openFile(path: path, eventLoop: context.eventLoop)
404 |             fileHandleAndRegion.whenFailure {
405 |                 sendErrorResponse(request: request, $0)
    |                 |- warning: capture of 'sendErrorResponse(request:_:)' with non-sendable type '(HTTPRequestHead, any Error) -> ()' 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'
406 |             }
407 |             fileHandleAndRegion.whenSuccess { (file, region) in
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:360:14: warning: concurrently-executed local function 'sendErrorResponse(request:_:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
358 |         self.buffer.clear()
359 |
360 |         func sendErrorResponse(request: HTTPRequestHead, _ error: Error) {
    |              `- warning: concurrently-executed local function 'sendErrorResponse(request:_:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
361 |             var body = context.channel.allocator.buffer(capacity: 128)
362 |             let response = { () -> HTTPResponseHead in
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:411:36: warning: capture of 'responseHead(request:fileRegion:)' with non-sendable type '(HTTPRequestHead, FileRegion) -> HTTPResponseHead' in a `@Sendable` closure; this is an error in the Swift 6 language mode
409 |                 case .nonblockingFileIO:
410 |                     var responseStarted = false
411 |                     let response = responseHead(request: request, fileRegion: region)
    |                                    |- warning: capture of 'responseHead(request:fileRegion:)' with non-sendable type '(HTTPRequestHead, FileRegion) -> HTTPResponseHead' 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'
412 |                     if region.readableBytes == 0 {
413 |                         responseStarted = true
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:414:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
412 |                     if region.readableBytes == 0 {
413 |                         responseStarted = true
414 |                         context.write(Self.wrapOutboundOut(.head(response)), 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
415 |                     }
416 |                     return self.fileIO.readChunked(
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:416:28: warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 | }
 62 |
 63 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 64 |     private enum FileIOMethod {
 65 |         case sendfile
    :
414 |                         context.write(Self.wrapOutboundOut(.head(response)), promise: nil)
415 |                     }
416 |                     return self.fileIO.readChunked(
    |                            `- warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
417 |                         fileRegion: region,
418 |                         chunkSize: 32 * 1024,
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:385:14: warning: concurrently-executed local function 'responseHead(request:fileRegion:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
383 |         }
384 |
385 |         func responseHead(request: HTTPRequestHead, fileRegion region: FileRegion) -> HTTPResponseHead {
    |              `- warning: concurrently-executed local function 'responseHead(request:fileRegion:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
386 |             var response = httpResponseHead(request: request, status: .ok)
387 |             response.headers.add(name: "Content-Length", value: "\(region.endIndex)")
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:424:29: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
422 |                         if !responseStarted {
423 |                             responseStarted = true
424 |                             context.write(Self.wrapOutboundOut(.head(response)), 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
425 |                         }
426 |                         return context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(buffer))))
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:422:29: warning: reference to captured var 'responseStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
420 |                         eventLoop: context.eventLoop
421 |                     ) { buffer in
422 |                         if !responseStarted {
    |                             `- warning: reference to captured var 'responseStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
423 |                             responseStarted = true
424 |                             context.write(Self.wrapOutboundOut(.head(response)), promise: nil)
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:423:29: warning: mutation of captured var 'responseStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
421 |                     ) { buffer in
422 |                         if !responseStarted {
423 |                             responseStarted = true
    |                             `- warning: mutation of captured var 'responseStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
424 |                             context.write(Self.wrapOutboundOut(.head(response)), promise: nil)
425 |                         }
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:428:33: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
426 |                         return context.writeAndFlush(Self.wrapOutboundOut(.body(.byteBuffer(buffer))))
427 |                     }.flatMap { () -> EventLoopFuture<Void> in
428 |                         let p = context.eventLoop.makePromise(of: Void.self)
    |                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
429 |                         self.completeResponse(context, trailers: nil, promise: p)
430 |                         return p.futureResult
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:429:25: warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 | }
 62 |
 63 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 64 |     private enum FileIOMethod {
 65 |         case sendfile
    :
427 |                     }.flatMap { () -> EventLoopFuture<Void> in
428 |                         let p = context.eventLoop.makePromise(of: Void.self)
429 |                         self.completeResponse(context, trailers: nil, promise: p)
    |                         `- warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
430 |                         return p.futureResult
431 |                     }.flatMapError { error in
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:434:29: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
432 |                         if !responseStarted {
433 |                             let response = httpResponseHead(request: request, status: .ok)
434 |                             context.write(Self.wrapOutboundOut(.head(response)), 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
435 |                             var buffer = context.channel.allocator.buffer(capacity: 100)
436 |                             buffer.writeString("fail: \(error)")
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:438:29: warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 | }
 62 |
 63 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 64 |     private enum FileIOMethod {
 65 |         case sendfile
    :
436 |                             buffer.writeString("fail: \(error)")
437 |                             context.write(Self.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
438 |                             self.state.responseComplete()
    |                             `- warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
439 |                             return context.writeAndFlush(Self.wrapOutboundOut(.end(nil)))
440 |                         } else {
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:432:29: warning: reference to captured var 'responseStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
430 |                         return p.futureResult
431 |                     }.flatMapError { error in
432 |                         if !responseStarted {
    |                             `- warning: reference to captured var 'responseStarted' in concurrently-executing code; this is an error in the Swift 6 language mode
433 |                             let response = httpResponseHead(request: request, status: .ok)
434 |                             context.write(Self.wrapOutboundOut(.head(response)), promise: nil)
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:444:34: warning: capture of 'file' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
442 |                         }
443 |                     }.whenComplete { (_: Result<Void, Error>) in
444 |                         _ = try? file.close()
    |                                  `- warning: capture of 'file' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
445 |                     }
446 |                 case .sendfile:
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:47:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 45 | ///
 46 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
 47 | public final class NIOFileHandle: FileDescriptor {
    |                    `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 48 |     public private(set) var isOpen: Bool
 49 |     private let descriptor: CInt
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
 12 | //
 13 | //===----------------------------------------------------------------------===//
 14 | import NIOCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
 15 | import NIOHTTP1
 16 | import NIOPosix
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:450:33: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
448 |                     context.write(Self.wrapOutboundOut(.head(response)), promise: nil)
449 |                     context.writeAndFlush(Self.wrapOutboundOut(.body(.fileRegion(region)))).flatMap {
450 |                         let p = context.eventLoop.makePromise(of: Void.self)
    |                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
451 |                         self.completeResponse(context, trailers: nil, promise: p)
452 |                         return p.futureResult
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:451:25: warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 | }
 62 |
 63 | private final class HTTPHandler: ChannelInboundHandler {
    |                     `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 64 |     private enum FileIOMethod {
 65 |         case sendfile
    :
449 |                     context.writeAndFlush(Self.wrapOutboundOut(.body(.fileRegion(region)))).flatMap {
450 |                         let p = context.eventLoop.makePromise(of: Void.self)
451 |                         self.completeResponse(context, trailers: nil, promise: p)
    |                         `- warning: capture of 'self' with non-sendable type 'HTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
452 |                         return p.futureResult
453 |                     }.flatMapError { (_: Error) in
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:454:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
452 |                         return p.futureResult
453 |                     }.flatMapError { (_: Error) in
454 |                         context.close()
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
455 |                     }.whenComplete { (_: Result<Void, Error>) in
456 |                         _ = try? file.close()
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:456:34: warning: capture of 'file' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 |                         context.close()
455 |                     }.whenComplete { (_: Result<Void, Error>) in
456 |                         _ = try? file.close()
    |                                  `- warning: capture of 'file' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
457 |                     }
458 |                 }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:47:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 45 | ///
 46 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
 47 | public final class NIOFileHandle: FileDescriptor {
    |                    `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 48 |     public private(set) var isOpen: Bool
 49 |     private let descriptor: CInt
/host/spi-builder-workspace/Sources/NIOHTTP1Server/main.swift:476:78: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
474 |         let promise = self.keepAlive ? promise : (promise ?? context.eventLoop.makePromise())
475 |         if !self.keepAlive {
476 |             promise!.futureResult.whenComplete { (_: Result<Void, Error>) in 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
477 |         }
478 |         self.handler = nil
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[471/527] Wrapping AST for NIOTestUtils for debugging
[472/527] Wrapping AST for NIOFoundationCompat for debugging
[475/528] Emitting module NIOWebSocketClient
[476/528] Compiling NIOWebSocketClient Client.swift
[477/528] Compiling NIOCrashTester CrashTests+HTTP.swift
[478/530] Compiling NIOCrashTester CrashTests+LoopBound.swift
[479/530] Emitting module NIOWebSocketServer
[480/530] Compiling NIOWebSocketServer Server.swift
[480/530] Wrapping AST for NIOHTTP1Server for debugging
[481/531] Write Objects.LinkFileList
[484/531] Emitting module NIOFileSystemTour
[485/531] Compiling NIOFileSystemTour NIOFileSystemTour.swift
[486/531] Compiling NIOCrashTester CrashTests+Strict.swift
[487/531] Compiling NIOCrashTester CrashTests+System.swift
[488/531] Compiling NIOCrashTester OutputGrepper.swift
[489/531] Compiling NIOPerformanceTester ChannelPipelineBenchmark.swift
[490/531] Compiling NIOPerformanceTester CircularBufferCopyToArrayBenchmark.swift
[491/531] Compiling NIOPerformanceTester CircularBufferIntoByteBufferBenchmark.swift
[492/533] 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(),
[493/533] 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 |                 }
[494/533] 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 |                 }
[495/533] 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 |                 }
[497/534] 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 |             }
[498/534] 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 |             }
[499/534] 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 |             }
[501/534] Compiling NIOPerformanceTester WebSocketFrameDecoderBenchmark.swift
[502/534] Compiling NIOPerformanceTester WebSocketFrameEncoderBenchmark.swift
[505/534] Compiling NIOPerformanceTester ByteBufferViewCopyToArrayBenchmark.swift
[506/534] Compiling NIOPerformanceTester ByteBufferViewIteratorBenchmark.swift
[507/534] Compiling NIOPerformanceTester ByteBufferWriteMultipleBenchmarks.swift
[508/534] Compiling NIOPerformanceTester ByteToMessageDecoderDecodeManySmallsBenchmark.swift
[508/534] Wrapping AST for NIOWebSocketClient for debugging
[509/534] Write Objects.LinkFileList
[510/534] Wrapping AST for NIOWebSocketServer for debugging
[511/534] Write Objects.LinkFileList
[513/534] Compiling NIOPerformanceTester NIOAsyncSequenceProducerBenchmark.swift
[514/534] Compiling NIOPerformanceTester NIOAsyncWriterSingleWritesBenchmark.swift
[515/534] Compiling NIOPerformanceTester RunIfActiveBenchmark.swift
[516/534] 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: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: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
[517/534] 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: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: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
[518/534] 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: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: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
[518/534] Wrapping AST for NIOFileSystemTour for debugging
[519/534] Write Objects.LinkFileList
[520/534] Linking NIOHTTP1Server
[522/534] 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(),
[523/535] Wrapping AST for NIOCrashTester for debugging
[524/535] Write Objects.LinkFileList
[526/535] 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: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: 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:684: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
     :
 682 |             .channelInitializer { channel in
 683 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 684 |                     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
 685 |                 }
 686 |             }
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:684: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
     :
 682 |             .channelInitializer { channel in
 683 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 684 |                     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
 685 |                 }
 686 |             }
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:787:66: warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 785 |
 786 |     let futures = (1...10_000).map { i in el1.makeSucceededFuture(i) }
 787 |     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
 788 | }
 789 |
[526/535] Linking NIOWebSocketClient
[527/535] Linking NIOWebSocketServer
[529/535] 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: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: 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:684: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
     :
 682 |             .channelInitializer { channel in
 683 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 684 |                     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
 685 |                 }
 686 |             }
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:684: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
     :
 682 |             .channelInitializer { channel in
 683 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 684 |                     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
 685 |                 }
 686 |             }
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:787:66: warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 785 |
 786 |     let futures = (1...10_000).map { i in el1.makeSucceededFuture(i) }
 787 |     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
 788 | }
 789 |
/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 {
[530/535] 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: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: 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:684: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
     :
 682 |             .channelInitializer { channel in
 683 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 684 |                     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
 685 |                 }
 686 |             }
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:684: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
     :
 682 |             .channelInitializer { channel in
 683 |                 channel.pipeline.addHTTPClientHandlers().flatMap {
 684 |                     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
 685 |                 }
 686 |             }
/host/spi-builder-workspace/Sources/NIOPerformanceTester/main.swift:787:66: warning: converting non-sendable function value to '@Sendable (Int, Int) -> Int' may introduce data races
 785 |
 786 |     let futures = (1...10_000).map { i in el1.makeSucceededFuture(i) }
 787 |     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
 788 | }
 789 |
/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 {
[530/535] Linking NIOFileSystemTour
[531/535] Linking NIOCrashTester
BUILD FAILURE 6.0 linux