The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-nio-ssh, reference 0.4.0 (c997b6), with Swift 6.1 for macOS (SPM) on 16 Sep 2025 08:13:42 UTC.

Swift 6 data race errors: 17

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 28 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 29 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 30 |     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: add '@MainActor' to make static property 'hostBased' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:32: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 31 |
 32 |     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: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:416:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
414 |             guard key.isValidSignature(signature, for: dataToSign) else {
415 |                 // Whoops, signature not valid.
416 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
417 |             }
418 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:437:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
435 |                 } catch {
436 |                     // Certificate validation failed
437 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
438 |                 }
439 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:469:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
467 |                     )
468 |                     // Certificate is valid
469 |                     return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:472:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
472 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
473 |                 }
474 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:476:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
474 |             }
475 |             // For now we do a shortcut: we just say that all non-certificate keys are acceptable, rather than ask the delegate.
476 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
477 |
478 |         case .publicKey(.unknown):
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:480:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
478 |         case .publicKey(.unknown):
479 |             // We don't known the algorithm, the auth attempt has failed.
480 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
481 |
482 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:426:25: warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
424 |                 // This is a certificate and we have trusted CAs configured
425 |                 do {
426 |                     let criticalOptions = try certifiedKey.validate(
    |                         `- warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
427 |                         principal: request.username,
428 |                         type: .user,
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
404 |
405 |             return promise.futureResult.map { outcome in
406 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
407 |             }
408 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
449 |
450 |             return promise.futureResult.map { outcome in
451 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
452 |             }
453 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
487 |
488 |             return promise.futureResult.map { outcome in
489 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
490 |             }
491 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
[337/360] Compiling NIOSSH UserAuthSignablePayload.swift
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
147 | /// A specific offer of user authentication. This type is the one used on the client side. The
148 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
149 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
150 |     public var username: String
151 |
/Users/admin/builder/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
147 | /// A specific offer of user authentication. This type is the one used on the client side. The
148 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
149 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
150 |     public var username: String
151 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 26 |     }
 27 |
 28 |     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: add '@MainActor' to make static property 'publicKey' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:29: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 27 |
 28 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 29 |     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: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:30: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 28 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 29 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 30 |     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: add '@MainActor' to make static property 'hostBased' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:32: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 31 |
 32 |     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: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:416:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
414 |             guard key.isValidSignature(signature, for: dataToSign) else {
415 |                 // Whoops, signature not valid.
416 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
417 |             }
418 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:437:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
435 |                 } catch {
436 |                     // Certificate validation failed
437 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
438 |                 }
439 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:469:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
467 |                     )
468 |                     // Certificate is valid
469 |                     return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:472:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
472 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
473 |                 }
474 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:476:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
474 |             }
475 |             // For now we do a shortcut: we just say that all non-certificate keys are acceptable, rather than ask the delegate.
476 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
477 |
478 |         case .publicKey(.unknown):
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:480:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
478 |         case .publicKey(.unknown):
479 |             // We don't known the algorithm, the auth attempt has failed.
480 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
481 |
482 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:426:25: warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
424 |                 // This is a certificate and we have trusted CAs configured
425 |                 do {
426 |                     let criticalOptions = try certifiedKey.validate(
    |                         `- warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
427 |                         principal: request.username,
428 |                         type: .user,
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
404 |
405 |             return promise.futureResult.map { outcome in
406 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
407 |             }
408 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
449 |
450 |             return promise.futureResult.map { outcome in
451 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
452 |             }
453 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
487 |
488 |             return promise.futureResult.map { outcome in
489 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
490 |             }
491 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
[338/360] Compiling NIOSSH UserAuthenticationMethod.swift
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
147 | /// A specific offer of user authentication. This type is the one used on the client side. The
148 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
149 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
150 |     public var username: String
151 |
/Users/admin/builder/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
147 | /// A specific offer of user authentication. This type is the one used on the client side. The
148 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
149 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
150 |     public var username: String
151 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 26 |     }
 27 |
 28 |     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: add '@MainActor' to make static property 'publicKey' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:29: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 27 |
 28 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 29 |     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: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:30: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 28 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 29 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 30 |     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: add '@MainActor' to make static property 'hostBased' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:32: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 31 |
 32 |     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: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:416:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
414 |             guard key.isValidSignature(signature, for: dataToSign) else {
415 |                 // Whoops, signature not valid.
416 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
417 |             }
418 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:437:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
435 |                 } catch {
436 |                     // Certificate validation failed
437 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
438 |                 }
439 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:469:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
467 |                     )
468 |                     // Certificate is valid
469 |                     return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:472:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
472 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
473 |                 }
474 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:476:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
474 |             }
475 |             // For now we do a shortcut: we just say that all non-certificate keys are acceptable, rather than ask the delegate.
476 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
477 |
478 |         case .publicKey(.unknown):
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:480:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
478 |         case .publicKey(.unknown):
479 |             // We don't known the algorithm, the auth attempt has failed.
480 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
481 |
482 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:426:25: warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
424 |                 // This is a certificate and we have trusted CAs configured
425 |                 do {
426 |                     let criticalOptions = try certifiedKey.validate(
    |                         `- warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
427 |                         principal: request.username,
428 |                         type: .user,
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
404 |
405 |             return promise.futureResult.map { outcome in
406 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
407 |             }
408 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
449 |
450 |             return promise.futureResult.map { outcome in
451 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
452 |             }
453 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
487 |
488 |             return promise.futureResult.map { outcome in
489 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
490 |             }
491 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
[339/360] Compiling NIOSSH UserAuthenticationStateMachine.swift
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
147 | /// A specific offer of user authentication. This type is the one used on the client side. The
148 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
149 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
150 |     public var username: String
151 |
/Users/admin/builder/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
147 | /// A specific offer of user authentication. This type is the one used on the client side. The
148 | /// associated server side type is `NIOSSHUserAuthenticationRequest`.
149 | public struct NIOSSHUserAuthenticationOffer {
    |               `- note: consider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol
150 |     public var username: String
151 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 26 |     }
 27 |
 28 |     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: add '@MainActor' to make static property 'publicKey' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:29: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 27 |
 28 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 29 |     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: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:30: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 28 |     public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
 29 |     public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
 30 |     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: add '@MainActor' to make static property 'hostBased' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:32: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
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
    :
 30 |     public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
 31 |
 32 |     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: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:416:34: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
414 |             guard key.isValidSignature(signature, for: dataToSign) else {
415 |                 // Whoops, signature not valid.
416 |                 return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                  `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
417 |             }
418 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:437:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
435 |                 } catch {
436 |                     // Certificate validation failed
437 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
438 |                 }
439 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:469:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
467 |                     )
468 |                     // Certificate is valid
469 |                     return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:472:38: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
470 |                 } catch {
471 |                     // Certificate validation failed, reject it
472 |                     return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                                      `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
473 |                 }
474 |             }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:476:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
474 |             }
475 |             // For now we do a shortcut: we just say that all non-certificate keys are acceptable, rather than ask the delegate.
476 |             return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
477 |
478 |         case .publicKey(.unknown):
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:480:30: warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
478 |         case .publicKey(.unknown):
479 |             // We don't known the algorithm, the auth attempt has failed.
480 |             return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
    |                              `- warning: type 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol
481 |
482 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
233 | }
234 |
235 | enum NIOSSHUserAuthenticationResponseMessage {
    |      `- note: consider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol
236 |     case success
237 |     case failure(SSHMessage.UserAuthFailureMessage)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:426:25: warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
424 |                 // This is a certificate and we have trusted CAs configured
425 |                 do {
426 |                     let criticalOptions = try certifiedKey.validate(
    |                         `- warning: initialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it
427 |                         principal: request.username,
428 |                         type: .user,
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
404 |
405 |             return promise.futureResult.map { outcome in
406 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
407 |             }
408 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
449 |
450 |             return promise.futureResult.map { outcome in
451 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
452 |             }
453 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
487 |
488 |             return promise.futureResult.map { outcome in
489 |                 .init(outcome, supportedMethods: supportedMethods)
    |                                                  `- warning: capture of 'supportedMethods' with non-sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure
490 |             }
491 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 19 | /// not as a separate authentication method. When using certificates, the publicKey
 20 | /// method is used with a certified key.
 21 | public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
    |               `- note: consider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol
 22 |     public var rawValue: UInt8
 23 |
[340/360] Compiling NIOSSH NIOSSHPrivateKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286: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
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287: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
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     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: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288: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
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289: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
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     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: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290: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
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291: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
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     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: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292: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
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293: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
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     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: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             switch self {
 90 |             case .tcpForwarding(let promise):
 91 |                 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
 92 |             case .unknown(let promise):
 93 |                 promise.succeed(result?.buffer)
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                                                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:25: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:411:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
409 |             switch result {
410 |             case .success:
411 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
412 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
413 |                     promise?.fail(ChannelError.eof)
[341/360] Compiling NIOSSH NIOSSHPublicKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286: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
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287: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
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     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: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288: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
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289: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
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     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: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290: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
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291: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
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     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: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292: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
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293: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
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     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: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             switch self {
 90 |             case .tcpForwarding(let promise):
 91 |                 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
 92 |             case .unknown(let promise):
 93 |                 promise.succeed(result?.buffer)
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                                                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:25: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:411:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
409 |             switch result {
410 |             case .success:
411 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
412 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
413 |                     promise?.fail(ChannelError.eof)
[342/360] Compiling NIOSSH NIOSSHSignature.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286: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
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287: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
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     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: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288: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
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289: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
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     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: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290: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
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291: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
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     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: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292: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
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293: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
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     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: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             switch self {
 90 |             case .tcpForwarding(let promise):
 91 |                 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
 92 |             case .unknown(let promise):
 93 |                 promise.succeed(result?.buffer)
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                                                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:25: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:411:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
409 |             switch result {
410 |             case .success:
411 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
412 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
413 |                     promise?.fail(ChannelError.eof)
[343/360] Compiling NIOSSH NIOSSHError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286: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
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287: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
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     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: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288: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
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289: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
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     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: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290: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
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291: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
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     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: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292: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
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293: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
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     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: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             switch self {
 90 |             case .tcpForwarding(let promise):
 91 |                 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
 92 |             case .unknown(let promise):
 93 |                 promise.succeed(result?.buffer)
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                                                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:25: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:411:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
409 |             switch result {
410 |             case .success:
411 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
412 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
413 |                     promise?.fail(ChannelError.eof)
[344/360] Compiling NIOSSH NIOSSHHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286: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
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287: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
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     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: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288: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
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289: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
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     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: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290: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
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291: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
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     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: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292: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
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293: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
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     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: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             switch self {
 90 |             case .tcpForwarding(let promise):
 91 |                 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
 92 |             case .unknown(let promise):
 93 |                 promise.succeed(result?.buffer)
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                                                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:25: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:411:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
409 |             switch result {
410 |             case .success:
411 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
412 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
413 |                     promise?.fail(ChannelError.eof)
[345/360] Compiling NIOSSH NIOSSHSendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286: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
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287: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
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     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: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288: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
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289: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
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     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: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290: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
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291: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
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     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: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292: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
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- 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: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293: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
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     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: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             switch self {
 90 |             case .tcpForwarding(let promise):
 91 |                 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
 92 |             case .unknown(let promise):
 93 |                 promise.succeed(result?.buffer)
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                                                                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
210 |                         self.pendingWrite = false
211 |                         context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:25: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     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
370 |                     context.flush()
371 |                 case .failure:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:411:23: warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
 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 }
    :
409 |             switch result {
410 |             case .success:
411 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-sendable type 'NIOSSHHandler' in a '@Sendable' closure
412 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
413 |                     promise?.fail(ChannelError.eof)
[346/360] Compiling NIOSSH Role.swift
[347/360] Compiling NIOSSH SSHClientConfiguration.swift
[348/360] Compiling NIOSSH SSHEncryptablePacketPayload.swift
[349/360] Compiling NIOSSH SSHMessages.swift
[350/360] Compiling NIOSSH SSHPacketParser.swift
[351/360] Compiling NIOSSH SSHPacketSerializer.swift
[352/379] Compiling NIOSSHPerformanceTester BenchmarkLinearThroughput.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkLinearThroughput.swift:39:49: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
37 |         let clientHandler = NIOSSHHandler(role: self.clientRole, allocator: self.b2b.client.allocator, inboundChildChannelInitializer: nil)
38 |
39 |         try self.b2b.client.pipeline.addHandler(clientHandler).wait()
   |                                                 `- warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
40 |         try self.b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: self.b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
41 |         try self.b2b.interactInMemory()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkLinearThroughput.swift:40:49: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
38 |
39 |         try self.b2b.client.pipeline.addHandler(clientHandler).wait()
40 |         try self.b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: self.b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
   |                                                 `- warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
41 |         try self.b2b.interactInMemory()
42 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
[353/379] Compiling NIOSSHClient GlueHandler.swift
[354/379] Compiling NIOSSHClient InteractivePasswordPromptDelegate.swift
[355/379] Compiling NIOSSHPerformanceTester Benchmark.swift
[356/379] Emitting module NIOSSHPerformanceTester
[357/379] Compiling NIOSSHPerformanceTester BenchmarkHandshake.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkHandshake.swift:38:48: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
36 |             b2b.server.connect(to: try .init(unixDomainSocketPath: "/foo"), promise: nil)
37 |
38 |             try b2b.client.pipeline.addHandler(NIOSSHHandler(role: self.clientRole, allocator: b2b.client.allocator, inboundChildChannelInitializer: nil)).wait()
   |                                                `- warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
39 |             try b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
40 |             try b2b.interactInMemory()
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkHandshake.swift:39:48: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
37 |
38 |             try b2b.client.pipeline.addHandler(NIOSSHHandler(role: self.clientRole, allocator: b2b.client.allocator, inboundChildChannelInitializer: nil)).wait()
39 |             try b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
   |                                                `- warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
40 |             try b2b.interactInMemory()
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
[358/379] Compiling NIOSSHPerformanceTester shared.swift
[359/379] Compiling NIOSSHPerformanceTester main.swift
[360/379] Emitting module NIOSSHClient
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHClient/main.swift:52:39: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 50 | let bootstrap = ClientBootstrap(group: group)
 51 |     .channelInitializer { channel in
 52 |         channel.pipeline.addHandlers([NIOSSHHandler(role: .client(.init(userAuthDelegate: InteractivePasswordPromptDelegate(username: parseResult.user, password: parseResult.password), serverAuthDelegate: AcceptAllHostKeysDelegate())), allocator: channel.allocator, inboundChildChannelInitializer: nil), ErrorHandler()])
    |                                       `- warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 53 |     }
 54 |     .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
[361/379] Compiling NIOSSHClient ExecHandler.swift
/Users/admin/builder/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:
[362/379] Compiling NIOSSHClient PortForwardingServer.swift
[362/379] Write Objects.LinkFileList
[364/379] Compiling NIOSSHClient main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHClient/main.swift:52:39: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 50 | let bootstrap = ClientBootstrap(group: group)
 51 |     .channelInitializer { channel in
 52 |         channel.pipeline.addHandlers([NIOSSHHandler(role: .client(.init(userAuthDelegate: InteractivePasswordPromptDelegate(username: parseResult.user, password: parseResult.password), serverAuthDelegate: AcceptAllHostKeysDelegate())), allocator: channel.allocator, inboundChildChannelInitializer: nil), ErrorHandler()])
    |                                       `- warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
 53 |     }
 54 |     .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
[365/379] Compiling NIOSSHClient SimpleCLIParser.swift
[365/379] Write Objects.LinkFileList
[367/379] Compiling NIOSSHServer main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHServer/main.swift:79:39: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
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: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
80 |     }
81 |     .serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
[368/379] Compiling NIOSSHServer DataToBufferCodec.swift
[369/379] Compiling NIOSSHServer RemotePortForwarding.swift
[370/379] Compiling NIOSSHServer GlueHandler.swift
[371/379] Emitting module NIOSSHServer
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHServer/main.swift:79:39: warning: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
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: conformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
80 |     }
81 |     .serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 79 |
 80 | @available(*, unavailable)
 81 | extension NIOSSHHandler: Sendable {}
    | `- note: conformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here
 82 |
 83 | extension NIOSSHHandler {
[372/379] Compiling NIOSSHServer ExecHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOSSHServer/ExecHandler.swift:123:23: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
121 |                     .channelInitializer { pipeChannel in
122 |                         pipeChannel.pipeline.addHandler(theirs)
123 |                     }.withPipes(inputDescriptor: outPipe.fileHandleForReading.fileDescriptor, outputDescriptor: inPipe.fileHandleForWriting.fileDescriptor).wait()
    |                       |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
    |                       `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
124 |
125 |                 // Ok, great, we've sorted stdout and stdin. For stderr we need a different strategy: we just park a thread for this.
[372/379] Write Objects.LinkFileList
[373/379] Linking NIOSSHPerformanceTester
[374/379] Linking NIOSSHClient
[375/379] Applying NIOSSHPerformanceTester
[376/379] Linking NIOSSHServer
[377/379] Applying NIOSSHClient
[378/379] Applying NIOSSHServer
Build complete! (11.09s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.81.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-nio-ssh",
  "name" : "swift-nio-ssh",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "NIOSSH",
      "targets" : [
        "NIOSSH"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NIOSSHServer",
      "targets" : [
        "NIOSSHServer"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NIOSSHPerformanceTester",
      "targets" : [
        "NIOSSHPerformanceTester"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NIOSSHClient",
      "targets" : [
        "NIOSSHClient"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NIOSSHTests",
      "module_type" : "SwiftTarget",
      "name" : "NIOSSHTests",
      "path" : "Tests/NIOSSHTests",
      "product_dependencies" : [
        "NIOCore",
        "NIOEmbedded",
        "NIOFoundationCompat"
      ],
      "sources" : [
        "AESGCMTests.swift",
        "ByteBuffer+SSHTests.swift",
        "CertificateAuthenticationIntegrationTests.swift",
        "CertifiedKeyTests.swift",
        "ChildChannelMultiplexerTests.swift",
        "ECKeyExchangeTests.swift",
        "EndToEndTests.swift",
        "FuzzResultTests.swift",
        "HostKeyTests.swift",
        "SSHConfigurationCertificateTests.swift",
        "SSHConnectionStateMachineTests.swift",
        "SSHEncryptedTrafficTests.swift",
        "SSHHandlerTests.swift",
        "SSHKeyExchangeCertificateTests.swift",
        "SSHKeyExchangeStateMachineTests.swift",
        "SSHMessagesTests.swift",
        "SSHPackerSerializerTests.swift",
        "SSHPacketParserTests.swift",
        "UserAuthenticationStateMachineTests.swift",
        "Utilities.swift",
        "UtilitiesTests.swift"
      ],
      "target_dependencies" : [
        "NIOSSH"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NIOSSHServer",
      "module_type" : "SwiftTarget",
      "name" : "NIOSSHServer",
      "path" : "Sources/NIOSSHServer",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix",
        "NIOFoundationCompat",
        "Crypto"
      ],
      "product_memberships" : [
        "NIOSSHServer"
      ],
      "sources" : [
        "DataToBufferCodec.swift",
        "ExecHandler.swift",
        "GlueHandler.swift",
        "RemotePortForwarding.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "NIOSSH"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NIOSSHPerformanceTester",
      "module_type" : "SwiftTarget",
      "name" : "NIOSSHPerformanceTester",
      "path" : "Sources/NIOSSHPerformanceTester",
      "product_dependencies" : [
        "NIOCore",
        "NIOEmbedded",
        "Crypto"
      ],
      "product_memberships" : [
        "NIOSSHPerformanceTester"
      ],
      "sources" : [
        "Benchmark.swift",
        "BenchmarkHandshake.swift",
        "BenchmarkLinearThroughput.swift",
        "main.swift",
        "shared.swift"
      ],
      "target_dependencies" : [
        "NIOSSH"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NIOSSHClient",
      "module_type" : "SwiftTarget",
      "name" : "NIOSSHClient",
      "path" : "Sources/NIOSSHClient",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix",
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "NIOSSHClient"
      ],
      "sources" : [
        "ExecHandler.swift",
        "GlueHandler.swift",
        "InteractivePasswordPromptDelegate.swift",
        "PortForwardingServer.swift",
        "SimpleCLIParser.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "NIOSSH"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NIOSSH",
      "module_type" : "SwiftTarget",
      "name" : "NIOSSH",
      "path" : "Sources/NIOSSH",
      "product_dependencies" : [
        "NIOCore",
        "NIOConcurrencyHelpers",
        "NIOFoundationCompat",
        "Crypto",
        "Atomics"
      ],
      "product_memberships" : [
        "NIOSSH",
        "NIOSSHServer",
        "NIOSSHPerformanceTester",
        "NIOSSHClient"
      ],
      "sources" : [
        "ByteBuffer+SSH.swift",
        "CSPRNG/CSPRNG.swift",
        "Child Channels/ChildChannelOptions.swift",
        "Child Channels/ChildChannelStateMachine.swift",
        "Child Channels/ChildChannelUserEvents.swift",
        "Child Channels/ChildChannelWindowManager.swift",
        "Child Channels/ChildChannelWritabilityManager.swift",
        "Child Channels/OutboundFlowController.swift",
        "Child Channels/SSHChannelData.swift",
        "Child Channels/SSHChannelIdentifier.swift",
        "Child Channels/SSHChannelMultiplexer.swift",
        "Child Channels/SSHChannelType.swift",
        "Child Channels/SSHChildChannel.swift",
        "Connection State Machine/Operations/AcceptsChannelMessages.swift",
        "Connection State Machine/Operations/AcceptsKeyExchangeMessages.swift",
        "Connection State Machine/Operations/AcceptsUserAuthMessages.swift",
        "Connection State Machine/Operations/AcceptsVersionMessages.swift",
        "Connection State Machine/Operations/SendsChannelMessages.swift",
        "Connection State Machine/Operations/SendsKeyExchangeMessages.swift",
        "Connection State Machine/Operations/SendsUserAuthMessages.swift",
        "Connection State Machine/SSHConnectionStateMachine.swift",
        "Connection State Machine/States/ActiveState.swift",
        "Connection State Machine/States/IdleState.swift",
        "Connection State Machine/States/KeyExchangeState.swift",
        "Connection State Machine/States/ReceivedKexInitWhenActiveState.swift",
        "Connection State Machine/States/ReceivedNewKeysState.swift",
        "Connection State Machine/States/RekeyingReceivedNewKeysState.swift",
        "Connection State Machine/States/RekeyingSentNewKeysState.swift",
        "Connection State Machine/States/RekeyingState.swift",
        "Connection State Machine/States/SentKexInitWhenActiveState.swift",
        "Connection State Machine/States/SentNewKeysState.swift",
        "Connection State Machine/States/SentVersionState.swift",
        "Connection State Machine/States/UserAuthenticationState.swift",
        "Constants.swift",
        "GlobalRequestDelegate.swift",
        "Key Exchange/ECDHCompatibleKey.swift",
        "Key Exchange/EllipticCurveKeyExchange.swift",
        "Key Exchange/SSHKeyExchangeResult.swift",
        "Key Exchange/SSHKeyExchangeStateMachine.swift",
        "Keys And Signatures/ClientServerAuthenticationDelegate.swift",
        "Keys And Signatures/CustomKeys.swift",
        "Keys And Signatures/NIOSSHCertifiedPublicKey.swift",
        "Keys And Signatures/NIOSSHPrivateKey.swift",
        "Keys And Signatures/NIOSSHPublicKey.swift",
        "Keys And Signatures/NIOSSHSignature.swift",
        "NIOSSHError.swift",
        "NIOSSHHandler.swift",
        "NIOSSHSendable.swift",
        "Role.swift",
        "SSHClientConfiguration.swift",
        "SSHEncryptablePacketPayload.swift",
        "SSHMessages.swift",
        "SSHPacketParser.swift",
        "SSHPacketSerializer.swift",
        "SSHServerConfiguration.swift",
        "SSHTerminalModes.swift",
        "TransportProtection/AESGCM.swift",
        "TransportProtection/SSHTransportProtection.swift",
        "User Authentication/ClientUserAuthenticationDelegate.swift",
        "User Authentication/DenyAllServerAuthDelegate.swift",
        "User Authentication/ServerUserAuthenticationDelegate.swift",
        "User Authentication/SimplePasswordDelegate.swift",
        "User Authentication/UserAuthDelegate.swift",
        "User Authentication/UserAuthSignablePayload.swift",
        "User Authentication/UserAuthenticationMethod.swift",
        "User Authentication/UserAuthenticationStateMachine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/joannis/swift-nio-ssh/0.4.0
Repository:               Joannis/swift-nio-ssh
Swift version used:       6.1
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target:                   NIOSSH
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'NIOSSH'...
Finished extracting symbol information for 'NIOSSH'. (4.22s)
Building documentation for 'NIOSSH'...
Finished building documentation for 'NIOSSH' (0.39s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/joannis/swift-nio-ssh/0.4.0
Building for debugging...
[0/7] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit Identifier.swift
[7/53] Compiling SymbolKit KindIdentifier.swift
[8/53] Compiling SymbolKit Location.swift
[9/53] Compiling SymbolKit Mutability.swift
[10/57] Compiling SymbolKit Mixin+Equals.swift
[11/57] Compiling SymbolKit Mixin+Hash.swift
[12/57] Compiling SymbolKit Mixin.swift
[13/57] Compiling SymbolKit LineList.swift
[14/57] Compiling SymbolKit Position.swift
[15/57] Emitting module SymbolKit
[16/57] Compiling SymbolKit DeclarationFragments.swift
[17/57] Compiling SymbolKit Fragment.swift
[18/57] Compiling SymbolKit FragmentKind.swift
[19/57] Compiling SymbolKit FunctionParameter.swift
[20/57] Compiling SymbolKit FunctionSignature.swift
[21/57] Compiling SymbolKit Names.swift
[22/57] Compiling SymbolKit SPI.swift
[23/57] Compiling SymbolKit Snippet.swift
[24/57] Compiling SymbolKit Extension.swift
[25/57] Compiling SymbolKit GenericConstraint.swift
[26/57] Compiling SymbolKit GenericParameter.swift
[27/57] Compiling SymbolKit Generics.swift
[28/57] Compiling SymbolKit Namespace.swift
[29/57] Compiling SymbolKit SemanticVersion.swift
[30/57] Compiling SymbolKit AccessControl.swift
[31/57] Compiling SymbolKit Availability.swift
[32/57] Compiling SymbolKit AvailabilityItem.swift
[33/57] Compiling SymbolKit Domain.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.07s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
Build of target: 'NIOSSH' complete! (1.95s)
    1266
9	/Users/admin/builder/spi-builder-workspace/.docs/joannis/swift-nio-ssh/0.4.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/joannis/swift-nio-ssh/0.4.0
File count: 1266
Doc size:   9.0MB
Preparing doc bundle ...
Uploading prod-joannis-swift-nio-ssh-0.4.0-bde9f518.zip to s3://spi-docs-inbox/prod-joannis-swift-nio-ssh-0.4.0-bde9f518.zip
Copying... [11%]
Copying... [22%]
Copying... [32%]
Copying... [43%]
Copying... [50%]
Copying... [61%]
Copying... [72%]
Copying... [83%]
Copying... [90%]
Copying... [100%]
Done.