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-ssh, reference 0.3.2 (01e03b), with Swift 6.0 for Linux on 4 Nov 2024 08:03:38 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

367 |                     context.flush()
368 |                 case .failure:
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:366:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 |                 switch result {
365 |                 case .success(let tcpForwardingResponse):
366 |                     try self.writeMessage(.init(.requestSuccess(.init(.tcpForwarding(tcpForwardingResponse), allocator: context.channel.allocator))), 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
367 |                     context.flush()
368 |                 case .failure:
/host/spi-builder-workspace/.build/checkouts/swift-nio/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/NIOSSH/NIOSSHHandler.swift:408:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | /// other usage models, including port forwarding. It is also able to construct somewhat
 25 | /// arbitrary secure multiplexed channels.
 26 | public final class NIOSSHHandler {
    |                    `- note: class 'NIOSSHHandler' does not conform to the 'Sendable' protocol
 27 |     internal var channel: Channel? {
 28 |         self.context.map { $0.channel }
    :
406 |             switch result {
407 |             case .success:
408 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
409 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
410 |                     promise?.fail(ChannelError.eof)
[776/818] Compiling NIOSSH SSHClientConfiguration.swift
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:285:49: warning: 'Lock' is deprecated: renamed to 'NIOLock'
283 |
284 | private enum _CustomAlgorithms {
285 |     static var transportProtectionSchemesLock = Lock()
    |                                                 |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                                 `- note: use 'NIOLock' instead
286 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
287 |     static var keyExchangeAlgorithmsLock = Lock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:285:16: warning: static property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
283 |
284 | private enum _CustomAlgorithms {
285 |     static var transportProtectionSchemesLock = Lock()
    |                |- warning: static property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'transportProtectionSchemesLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'transportProtectionSchemesLock' 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
286 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
287 |     static var keyExchangeAlgorithmsLock = Lock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286:16: warning: static property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | private enum _CustomAlgorithms {
285 |     static var transportProtectionSchemesLock = Lock()
286 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
    |                |- warning: static property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'transportProtectionSchemes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'transportProtectionSchemes' 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
287 |     static var keyExchangeAlgorithmsLock = Lock()
288 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287:44: warning: 'Lock' is deprecated: renamed to 'NIOLock'
285 |     static var transportProtectionSchemesLock = Lock()
286 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
287 |     static var keyExchangeAlgorithmsLock = Lock()
    |                                            |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                            `- note: use 'NIOLock' instead
288 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
289 |     static var publicKeyAlgorithmsLock = Lock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287:16: warning: static property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
285 |     static var transportProtectionSchemesLock = Lock()
286 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
287 |     static var keyExchangeAlgorithmsLock = Lock()
    |                |- warning: static property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'keyExchangeAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'keyExchangeAlgorithmsLock' 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
288 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
289 |     static var publicKeyAlgorithmsLock = Lock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288:16: warning: static property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
286 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
287 |     static var keyExchangeAlgorithmsLock = Lock()
288 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
    |                |- warning: static property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'keyExchangeAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'keyExchangeAlgorithms' 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
289 |     static var publicKeyAlgorithmsLock = Lock()
290 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289:42: warning: 'Lock' is deprecated: renamed to 'NIOLock'
287 |     static var keyExchangeAlgorithmsLock = Lock()
288 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
289 |     static var publicKeyAlgorithmsLock = Lock()
    |                                          |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                          `- note: use 'NIOLock' instead
290 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
291 |     static var signaturesLock = Lock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289:16: warning: static property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
287 |     static var keyExchangeAlgorithmsLock = Lock()
288 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
289 |     static var publicKeyAlgorithmsLock = Lock()
    |                |- warning: static property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'publicKeyAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'publicKeyAlgorithmsLock' 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
290 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
291 |     static var signaturesLock = Lock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290:16: warning: static property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
289 |     static var publicKeyAlgorithmsLock = Lock()
290 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
    |                |- warning: static property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'publicKeyAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'publicKeyAlgorithms' 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
291 |     static var signaturesLock = Lock()
292 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291:33: warning: 'Lock' is deprecated: renamed to 'NIOLock'
289 |     static var publicKeyAlgorithmsLock = Lock()
290 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
291 |     static var signaturesLock = Lock()
    |                                 |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                 `- note: use 'NIOLock' instead
292 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
293 | }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291:16: warning: static property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
289 |     static var publicKeyAlgorithmsLock = Lock()
290 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
291 |     static var signaturesLock = Lock()
    |                |- warning: static property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'signaturesLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'signaturesLock' 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
292 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
293 | }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292:16: warning: static property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
290 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
291 |     static var signaturesLock = Lock()
292 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
    |                |- warning: static property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'signatures' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'signatures' 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
293 | }
294 |
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:88:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |             switch self {
 87 |             case .tcpForwarding(let promise):
 88 |                 promise.succeed(result.map(GlobalRequest.TCPForwardingResponse.init))
    |                         `- warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             case .unknown(let promise):
 90 |                 promise.succeed(result?.buffer)
/host/spi-builder-workspace/Sources/NIOSSH/GlobalRequestDelegate.swift:52:19: note: consider making struct 'TCPForwardingResponse' conform to the 'Sendable' protocol
 50 |
 51 |     /// The data associated with a successful response to a TCP forwarding request.
 52 |     public struct TCPForwardingResponse: Hashable {
    |                   `- note: consider making struct 'TCPForwardingResponse' conform to the 'Sendable' protocol
 53 |         /// If requested to listen on a port, and the port the client requested was 0, this is set to the
 54 |         /// port that was actually bound. Otherwise is nil.
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:206:29: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | /// other usage models, including port forwarding. It is also able to construct somewhat
 25 | /// arbitrary secure multiplexed channels.
 26 | public final class NIOSSHHandler {
    |                    `- note: class 'NIOSSHHandler' does not conform to the 'Sendable' protocol
 27 |     internal var channel: Channel? {
 28 |         self.context.map { $0.channel }
    :
204 |                 case .success(.some(let message)):
205 |                     do {
206 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
207 |                         self.pendingWrite = false
208 |                         context.flush()
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:206:65: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 |                 case .success(.some(let message)):
205 |                     do {
206 |                         try self.writeMessage(message, 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
207 |                         self.pendingWrite = false
208 |                         context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/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/NIOSSH/NIOSSHHandler.swift:366:25: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | /// other usage models, including port forwarding. It is also able to construct somewhat
 25 | /// arbitrary secure multiplexed channels.
 26 | public final class NIOSSHHandler {
    |                    `- note: class 'NIOSSHHandler' does not conform to the 'Sendable' protocol
 27 |     internal var channel: Channel? {
 28 |         self.context.map { $0.channel }
    :
364 |                 switch result {
365 |                 case .success(let tcpForwardingResponse):
366 |                     try self.writeMessage(.init(.requestSuccess(.init(.tcpForwarding(tcpForwardingResponse), allocator: context.channel.allocator))), context: context)
    |                         `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
367 |                     context.flush()
368 |                 case .failure:
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:366:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 |                 switch result {
365 |                 case .success(let tcpForwardingResponse):
366 |                     try self.writeMessage(.init(.requestSuccess(.init(.tcpForwarding(tcpForwardingResponse), allocator: context.channel.allocator))), 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
367 |                     context.flush()
368 |                 case .failure:
/host/spi-builder-workspace/.build/checkouts/swift-nio/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/NIOSSH/NIOSSHHandler.swift:408:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | /// other usage models, including port forwarding. It is also able to construct somewhat
 25 | /// arbitrary secure multiplexed channels.
 26 | public final class NIOSSHHandler {
    |                    `- note: class 'NIOSSHHandler' does not conform to the 'Sendable' protocol
 27 |     internal var channel: Channel? {
 28 |         self.context.map { $0.channel }
    :
406 |             switch result {
407 |             case .success:
408 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
409 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
410 |                     promise?.fail(ChannelError.eof)
[777/818] Compiling NIOSSH SendsKeyExchangeMessages.swift
[778/818] Compiling NIOSSH SendsUserAuthMessages.swift
[779/818] Compiling NIOSSH SSHConnectionStateMachine.swift
[780/818] Compiling NIOSSH ActiveState.swift
[781/818] Compiling NIOSSH IdleState.swift
[782/818] Compiling NIOSSH KeyExchangeState.swift
[783/818] Compiling NIOSSH ReceivedKexInitWhenActiveState.swift
[784/818] Compiling NIOSSH ReceivedNewKeysState.swift
[785/818] Compiling NIOSSH RekeyingReceivedNewKeysState.swift
[786/818] Compiling NIOSSH RekeyingSentNewKeysState.swift
[787/818] Compiling NIOSSH RekeyingState.swift
[788/818] Compiling NIOSSH SentKexInitWhenActiveState.swift
[789/818] Compiling NIOSSH SentNewKeysState.swift
[790/818] Compiling NIOSSH SentVersionState.swift
[791/818] Compiling NIOSSH UserAuthenticationState.swift
[792/818] Compiling NIOSSH Constants.swift
[793/818] Compiling NIOSSH ClientUserAuthenticationDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[794/818] Compiling NIOSSH DenyAllServerAuthDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[795/818] Compiling NIOSSH ServerUserAuthenticationDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[796/818] Compiling NIOSSH SimplePasswordDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[797/818] Compiling NIOSSH UserAuthDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[798/818] Compiling NIOSSH UserAuthSignablePayload.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[799/818] Compiling NIOSSH UserAuthenticationMethod.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[800/818] Compiling NIOSSH UserAuthenticationStateMachine.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' 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
 29 | }
 30 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
    |                       |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'password' 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
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 27 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:24:23: warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 22 |     }
 23 |
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
    |                       |- warning: static property 'publicKey' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'publicKey' 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
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:26:23: warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
    :
 24 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 25 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 26 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
    |                       |- warning: static property 'hostBased' is not concurrency-safe because non-'Sendable' type 'NIOSSHAvailableUserAuthenticationMethods' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'hostBased' 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
 27 |
 28 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:414:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |             guard key.isValidSignature(signature, for: dataToSign) else {
413 |                 // Whoops, signature not valid.
414 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
415 |             }
416 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:429:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             // This is a weird wrinkle in public key auth: it's a request to ask whether a given key is valid, but not to validate that key itself.
428 |             // For now we do a shortcut: we just say that all keys are acceptable, rather than ask the delegate.
429 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |
431 |         case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:433:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
431 |         case .publicKey(.unknown):
432 |             // We don't known the algorithm, the auth attempt has failed.
433 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |
435 |         case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:217:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
215 | }
216 |
217 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
218 |     case success
219 |     case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:404:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |
403 |             return promise.futureResult.map { outcome in
404 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |             }
406 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:423:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 |
422 |             return promise.futureResult.map { outcome in
423 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 |             }
425 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:442:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
440 |
441 |             return promise.futureResult.map { outcome in
442 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a `@Sendable` closure; this is an error in the Swift 6 language mode
443 |             }
444 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:17:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 15 |
 16 | /// The user authentication modes available at this point in time.
 17 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 18 |     public var rawValue: UInt8
 19 |
[801/818] Compiling NIOSSH SSHEncryptablePacketPayload.swift
[802/818] Compiling NIOSSH SSHMessages.swift
[803/818] Compiling NIOSSH SSHPacketParser.swift
[804/818] Compiling NIOSSH SSHPacketSerializer.swift
[805/818] Compiling NIOSSH SSHServerConfiguration.swift
[806/818] Compiling NIOSSH SSHTerminalModes.swift
[807/818] Compiling NIOSSH AESGCM.swift
[808/818] Compiling NIOSSH SSHTransportProtection.swift
[809/819] Wrapping AST for NIOSSH for debugging
[811/838] Compiling NIOSSHClient GlueHandler.swift
[812/838] Compiling NIOSSHClient PortForwardingServer.swift
/host/spi-builder-workspace/Sources/NIOSSHClient/PortForwardingServer.swift:41:43: warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
39 |         ServerBootstrap(group: self.serverLoop, childGroup: self.group)
40 |             .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
41 |             .childChannelInitializer(self.forwardingChannelConstructor)
   |                                           `- warning: converting non-sendable function value to '@Sendable (any Channel) -> EventLoopFuture<Void>' may introduce data races
42 |             .bind(host: String(self.bindHost), port: self.bindPort)
43 |             .flatMap {
/host/spi-builder-workspace/Sources/NIOSSHClient/PortForwardingServer.swift:44:17: warning: capture of 'self' with non-sendable type 'PortForwardingServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import NIOSSH
17 |
18 | final class PortForwardingServer {
   |             `- note: class 'PortForwardingServer' does not conform to the 'Sendable' protocol
19 |     private var serverChannel: Channel?
20 |     private let serverLoop: EventLoop
   :
42 |             .bind(host: String(self.bindHost), port: self.bindPort)
43 |             .flatMap {
44 |                 self.serverChannel = $0
   |                 `- warning: capture of 'self' with non-sendable type 'PortForwardingServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |                 return $0.closeFuture
46 |             }
/host/spi-builder-workspace/Sources/NIOSSHClient/PortForwardingServer.swift:51:32: warning: capture of 'self' with non-sendable type 'PortForwardingServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | import NIOSSH
17 |
18 | final class PortForwardingServer {
   |             `- note: class 'PortForwardingServer' does not conform to the 'Sendable' protocol
19 |     private var serverChannel: Channel?
20 |     private let serverLoop: EventLoop
   :
49 |     func close() -> EventLoopFuture<Void> {
50 |         self.serverLoop.flatSubmit {
51 |             guard let server = self.serverChannel else {
   |                                `- warning: capture of 'self' with non-sendable type 'PortForwardingServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 |                 // The server wasn't created yet, so we can just shut down straight away and let
53 |                 // the OS clean us up.
[813/838] Compiling NIOSSHClient InteractivePasswordPromptDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSHClient/InteractivePasswordPromptDelegate.swift:56:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 |             }
55 |
56 |             nextChallengePromise.succeed(NIOSSHUserAuthenticationOffer(username: self.username!, serviceName: "", offer: .password(.init(password: self.password!))))
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
57 |         }
58 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: struct 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: struct 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSHClient/InteractivePasswordPromptDelegate.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
16 | import Foundation
17 | import NIOCore
18 | import NIOSSH
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
19 |
20 | /// A client user auth delegate that provides an interactive prompt for password-based user auth.
/host/spi-builder-workspace/Sources/NIOSSHClient/InteractivePasswordPromptDelegate.swift:42:16: warning: capture of 'self' with non-sendable type 'InteractivePasswordPromptDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 |
20 | /// A client user auth delegate that provides an interactive prompt for password-based user auth.
21 | final class InteractivePasswordPromptDelegate: NIOSSHClientUserAuthenticationDelegate {
   |             `- note: class 'InteractivePasswordPromptDelegate' does not conform to the 'Sendable' protocol
22 |     private let queue: DispatchQueue
23 |
   :
40 |
41 |         self.queue.async {
42 |             if self.username == nil {
   |                `- warning: capture of 'self' with non-sendable type 'InteractivePasswordPromptDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |                 print("Username: ", terminator: "")
44 |                 self.username = readLine() ?? ""
[814/838] Compiling NIOSSHPerformanceTester Benchmark.swift
[815/838] Emitting module NIOSSHPerformanceTester
[816/838] Compiling NIOSSHServer main.swift
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:79:84: warning: main actor-isolated let 'hostKey' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | // We need a host key. For now, generate it dynamically.
75 | let hostKey = NIOSSHPrivateKey(ed25519Key: .init())
   |     `- note: let declared here
76 |
77 | let bootstrap = ServerBootstrap(group: group)
78 |     .childChannelInitializer { channel in
79 |         channel.pipeline.addHandlers([NIOSSHHandler(role: .server(.init(hostKeys: [hostKey], userAuthDelegate: HardcodedPasswordDelegate(), globalRequestDelegate: RemotePortForwarderGlobalRequestDelegate())), allocator: channel.allocator, inboundChildChannelInitializer: sshChildChannelInitializer(_:_:)), ErrorHandler()])
   |                                                                                    `- warning: main actor-isolated let 'hostKey' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |     }
81 |     .serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:40:29: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
38 |     func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
39 |         guard request.username == "nio", case .password(let passwordRequest) = request.request else {
40 |             responsePromise.succeed(.failure)
   |                             `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 |             return
42 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
17 | import NIOCore
18 | import NIOPosix
19 | import NIOSSH
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
20 |
21 | // This file contains an example NIO SSH server. It's not intended for production use, it's not secure,
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:45:29: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |
44 |         if passwordRequest.password == "gottagofast" {
45 |             responsePromise.succeed(.success)
   |                             `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |         } else {
47 |             responsePromise.succeed(.failure)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:47:29: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |             responsePromise.succeed(.success)
46 |         } else {
47 |             responsePromise.succeed(.failure)
   |                             `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
48 |         }
49 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:67:47: warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |             createOutboundConnection(targetHost: target.targetHost, targetPort: target.targetPort, loop: channel.eventLoop)
66 |         }.flatMap { targetChannel in
67 |             targetChannel.pipeline.addHandler(theirs)
   |                                               `- warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |         }
69 |     case .forwardedTCPIP:
/host/spi-builder-workspace/Sources/NIOSSHServer/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
[817/838] Compiling NIOSSHPerformanceTester BenchmarkHandshake.swift
[818/838] Compiling NIOSSHServer RemotePortForwarding.swift
/host/spi-builder-workspace/Sources/NIOSSHServer/RemotePortForwarding.swift:45:17: warning: capture of 'self' with non-sendable type 'RemotePortForwarder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | // Please note that, as with the rest of this example, there are important security features missing from
 25 | // this demo.
 26 | final class RemotePortForwarder {
    |             `- note: class 'RemotePortForwarder' does not conform to the 'Sendable' protocol
 27 |     private var serverChannel: Channel?
 28 |
    :
 43 |                 // set up for data I/O.
 44 |                 let promise = loop.makePromise(of: Channel.self)
 45 |                 self.inboundSSHHandler.createChannel(promise, channelType: .forwardedTCPIP(.init(listeningHost: host, listeningPort: childChannel.localAddress!.port!, originatorAddress: childChannel.remoteAddress!))) { sshChildChannel, _ in
    |                 `- warning: capture of 'self' with non-sendable type 'RemotePortForwarder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |                     sshChildChannel.pipeline.addHandlers([DataToBufferCodec(), theirs]).flatMap {
 47 |                         sshChildChannel.setOption(ChannelOptions.allowRemoteHalfClosure, value: true)
/host/spi-builder-workspace/Sources/NIOSSHServer/RemotePortForwarding.swift:84:15: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 82 |             forwarder.beginListening(on: host, port: port, loop: promise.futureResult.eventLoop).map {
 83 |                 GlobalRequest.TCPForwardingResponse(boundPort: $0)
 84 |             }.cascade(to: promise)
    |               `- warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 85 |         case .cancel:
 86 |             guard let forwarder = self.forwarder else {
/host/spi-builder-workspace/Sources/NIOSSH/GlobalRequestDelegate.swift:52:19: note: struct 'TCPForwardingResponse' does not conform to the 'Sendable' protocol
 50 |
 51 |     /// The data associated with a successful response to a TCP forwarding request.
 52 |     public struct TCPForwardingResponse: Hashable {
    |                   `- note: struct 'TCPForwardingResponse' does not conform to the 'Sendable' protocol
 53 |         /// If requested to listen on a port, and the port the client requested was 0, this is set to the
 54 |         /// port that was actually bound. Otherwise is nil.
/host/spi-builder-workspace/Sources/NIOSSHServer/RemotePortForwarding.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
 18 | import NIOFoundationCompat
 19 | import NIOPosix
 20 | import NIOSSH
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
 21 |
 22 | // Remote port forwarding is a fun feature of SSH where a client can ask an SSH server to listen on a local
[819/838] Compiling NIOSSHServer GlueHandler.swift
[820/838] Compiling NIOSSHPerformanceTester BenchmarkLinearThroughput.swift
[821/838] Compiling NIOSSHPerformanceTester shared.swift
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/shared.swift:68:29: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 |     func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
67 |         guard case .password(let password) = request.request, password.password == self.expectedPassword else {
68 |             responsePromise.succeed(.failure)
   |                             `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
69 |             return
70 |         }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/shared.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
15 | import NIOCore
16 | import NIOEmbedded
17 | import NIOSSH
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSH'
18 |
19 | class BackToBackEmbeddedChannel {
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/shared.swift:71:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
69 |             return
70 |         }
71 |         responsePromise.succeed(.success)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 |     }
73 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:211:13: note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
209 |
210 | /// The outcome of a user authentication attempt.
211 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: enum 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
212 |     case success
213 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/shared.swift:84:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 |     func nextAuthenticationType(availableMethods: NIOSSHAvailableUserAuthenticationMethods, nextChallengePromise: EventLoopPromise<NIOSSHUserAuthenticationOffer?>) {
83 |         if availableMethods.contains(.password) {
84 |             nextChallengePromise.succeed(.init(username: "foo", serviceName: "ssh-connection", offer: .password(.init(password: self.password))))
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |         } else {
86 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: struct 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: struct 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol
134 |     public var username: String
135 |
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/shared.swift:86:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
84 |             nextChallengePromise.succeed(.init(username: "foo", serviceName: "ssh-connection", offer: .password(.init(password: self.password))))
85 |         } else {
86 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
87 |         }
88 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:133:15: note: struct 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol
131 | /// A specific offer of user authentication. This type is the one used on the client side. The
132 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
133 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: struct 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol
134 |     public var username: String
135 |
[822/838] Compiling NIOSSHPerformanceTester main.swift
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/main.swift:53:27: error: main actor-isolated var 'warning' can not be referenced from a nonisolated context
21 | // MARK: Test Harness
22 |
23 | var warning: String = ""
   |     `- note: var declared here
24 | assert({
25 |     print("======================================================")
   :
49 | let limitSet = CommandLine.arguments.dropFirst()
50 |
51 | public func measureAndPrint(desc: String, fn: () throws -> Int) rethrows {
   |             `- note: add '@MainActor' to make global function 'measureAndPrint(desc:fn:)' part of global actor 'MainActor'
52 |     if limitSet.count == 0 || limitSet.contains(desc) {
53 |         print("measuring\(warning): \(desc): ", terminator: "")
   |                           `- error: main actor-isolated var 'warning' can not be referenced from a nonisolated context
54 |         let measurements = try measure(fn)
55 |         print(measurements.reduce("") { $0 + "\($1), " })
[823/838] Compiling NIOSSHClient SimpleCLIParser.swift
[824/838] Compiling NIOSSHClient main.swift
/host/spi-builder-workspace/Sources/NIOSSHClient/main.swift:84:58: warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 82 |                 let (ours, theirs) = GlueHandler.matchedPair()
 83 |                 return childChannel.pipeline.addHandlers([SSHWrapperHandler(), ours, ErrorHandler()]).flatMap {
 84 |                     inboundChannel.pipeline.addHandlers([theirs, ErrorHandler()])
    |                                                          `- warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             }
/host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
[825/838] Emitting module NIOSSHServer
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:79:84: warning: main actor-isolated let 'hostKey' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | // We need a host key. For now, generate it dynamically.
75 | let hostKey = NIOSSHPrivateKey(ed25519Key: .init())
   |     `- note: let declared here
76 |
77 | let bootstrap = ServerBootstrap(group: group)
78 |     .childChannelInitializer { channel in
79 |         channel.pipeline.addHandlers([NIOSSHHandler(role: .server(.init(hostKeys: [hostKey], userAuthDelegate: HardcodedPasswordDelegate(), globalRequestDelegate: RemotePortForwarderGlobalRequestDelegate())), allocator: channel.allocator, inboundChildChannelInitializer: sshChildChannelInitializer(_:_:)), ErrorHandler()])
   |                                                                                    `- warning: main actor-isolated let 'hostKey' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |     }
81 |     .serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
[826/838] Emitting module NIOSSHClient
/host/spi-builder-workspace/Sources/NIOSSHClient/main.swift:84:58: warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 82 |                 let (ours, theirs) = GlueHandler.matchedPair()
 83 |                 return childChannel.pipeline.addHandlers([SSHWrapperHandler(), ours, ErrorHandler()]).flatMap {
 84 |                     inboundChannel.pipeline.addHandlers([theirs, ErrorHandler()])
    |                                                          `- warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             }
/host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:37:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     func handlerAdded(context: ChannelHandlerContext) {
 36 |         context.channel.setOption(ChannelOptions.allowRemoteHalfClosure, value: true).whenFailure { error in
 37 |             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
 38 |         }
 39 |     }
/host/spi-builder-workspace/.build/checkouts/swift-nio/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/NIOSSHClient/ExecHandler.swift:51:19: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
 49 |                 bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
 50 |                     channel.pipeline.addHandler(theirs)
 51 |                 }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
    |                   |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
    |                   `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
 52 |                     switch result {
 53 |                     case .success:
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:49:17: warning: capture of 'bootstrap' with non-sendable type 'NIOPipeBootstrap' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 47 |         context.channel.pipeline.addHandler(ours, position: .last).whenSuccess { _ in
 48 |             DispatchQueue(label: "pipe bootstrap").async {
 49 |                 bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
    |                 `- warning: capture of 'bootstrap' with non-sendable type 'NIOPipeBootstrap' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                     channel.pipeline.addHandler(theirs)
 51 |                 }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/Bootstrap.swift:2043:20: note: class 'NIOPipeBootstrap' does not conform to the 'Sendable' protocol
2041 | ///                       .takingOwnershipOfDescriptors(input: STDIN_FILENO, output: STDOUT_FILENO)
2042 | ///
2043 | public final class NIOPipeBootstrap {
     |                    `- note: class 'NIOPipeBootstrap' does not conform to the 'Sendable' protocol
2044 |     private let group: EventLoopGroup
2045 |     private var channelInitializer: Optional<ChannelInitializerCallback>
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:50:49: warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |             DispatchQueue(label: "pipe bootstrap").async {
 49 |                 bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
 50 |                     channel.pipeline.addHandler(theirs)
    |                                                 `- warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
 52 |                     switch result {
/host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:55:87: warning: capture of 'self' with non-sendable type 'ExampleExecHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 18 | import NIOSSH
 19 |
 20 | final class ExampleExecHandler: ChannelDuplexHandler {
    |             `- note: class 'ExampleExecHandler' does not conform to the 'Sendable' protocol
 21 |     typealias InboundIn = SSHChannelData
 22 |     typealias InboundOut = ByteBuffer
    :
 53 |                     case .success:
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
    |                                                                                       `- warning: capture of 'self' with non-sendable type 'ExampleExecHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
 57 |                             context.close(promise: nil)
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:56:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                             context.close(promise: nil)
 58 |                         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/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/NIOSSHClient/ExecHandler.swift:49:17: warning: capture of 'bootstrap' with non-sendable type 'NIOPipeBootstrap' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 47 |         context.channel.pipeline.addHandler(ours, position: .last).whenSuccess { _ in
 48 |             DispatchQueue(label: "pipe bootstrap").async {
 49 |                 bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
    |                 `- warning: capture of 'bootstrap' with non-sendable type 'NIOPipeBootstrap' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                     channel.pipeline.addHandler(theirs)
 51 |                 }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/Bootstrap.swift:2043:20: note: class 'NIOPipeBootstrap' does not conform to the 'Sendable' protocol
2041 | ///                       .takingOwnershipOfDescriptors(input: STDIN_FILENO, output: STDOUT_FILENO)
2042 | ///
2043 | public final class NIOPipeBootstrap {
     |                    `- note: class 'NIOPipeBootstrap' does not conform to the 'Sendable' protocol
2044 |     private let group: EventLoopGroup
2045 |     private var channelInitializer: Optional<ChannelInitializerCallback>
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:50:49: warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |             DispatchQueue(label: "pipe bootstrap").async {
 49 |                 bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
 50 |                     channel.pipeline.addHandler(theirs)
    |                                                 `- warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
 52 |                     switch result {
/host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:55:87: warning: capture of 'self' with non-sendable type 'ExampleExecHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 18 | import NIOSSH
 19 |
 20 | final class ExampleExecHandler: ChannelDuplexHandler {
    |             `- note: class 'ExampleExecHandler' does not conform to the 'Sendable' protocol
 21 |     typealias InboundIn = SSHChannelData
 22 |     typealias InboundOut = ByteBuffer
    :
 53 |                     case .success:
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
    |                                                                                       `- warning: capture of 'self' with non-sendable type 'ExampleExecHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
 57 |                             context.close(promise: nil)
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:56:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                             context.close(promise: nil)
 58 |                         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/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/NIOSSHClient/ExecHandler.swift:50:49: warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |             DispatchQueue(label: "pipe bootstrap").async {
 49 |                 bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
 50 |                     channel.pipeline.addHandler(theirs)
    |                                                 `- warning: capture of 'theirs' with non-sendable type 'GlueHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
 52 |                     switch result {
/host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:55:87: warning: capture of 'self' with non-sendable type 'ExampleExecHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 18 | import NIOSSH
 19 |
 20 | final class ExampleExecHandler: ChannelDuplexHandler {
    |             `- note: class 'ExampleExecHandler' does not conform to the 'Sendable' protocol
 21 |     typealias InboundIn = SSHChannelData
 22 |     typealias InboundOut = ByteBuffer
    :
 53 |                     case .success:
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
    |                                                                                       `- warning: capture of 'self' with non-sendable type 'ExampleExecHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
 57 |                             context.close(promise: nil)
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:56:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
    |                         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                             context.close(promise: nil)
 58 |                         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/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>
BUILD FAILURE 6.0 linux