The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-ssh, reference citadel2 (d88989), with Swift 6.3 for Android on 14 Sep 2026 14:23:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

490 |             }
491 |         }
/host/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 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[833/878] Compiling NIOSSH UserAuthSignablePayload.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:229:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
227 |
228 | /// The outcome of a user authentication attempt.
229 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
230 |     case success
231 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift: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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift: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 |
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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)
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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 |
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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]
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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 |
/host/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 |
/host/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)
/host/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 |             }
/host/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)
/host/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
/host/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)
/host/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 |             }
/host/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)
/host/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):
/host/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)
/host/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:
/host/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)
/host/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 [#no-usage]
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 [#no-usage]
427 |                         principal: request.username,
428 |                         type: .user,
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
407 |             }
408 |
/host/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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
452 |             }
453 |
/host/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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
490 |             }
491 |         }
/host/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 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[834/878] Compiling NIOSSH UserAuthenticationMethod.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:229:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
227 |
228 | /// The outcome of a user authentication attempt.
229 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
230 |     case success
231 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift: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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift: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 |
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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)
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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 |
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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]
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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 |
/host/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 |
/host/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)
/host/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 |             }
/host/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)
/host/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
/host/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)
/host/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 |             }
/host/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)
/host/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):
/host/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)
/host/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:
/host/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)
/host/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 [#no-usage]
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 [#no-usage]
427 |                         principal: request.username,
428 |                         type: .user,
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
407 |             }
408 |
/host/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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
452 |             }
453 |
/host/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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
490 |             }
491 |         }
/host/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 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[835/878] Compiling NIOSSH UserAuthenticationStateMachine.swift
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
26 |
27 |     public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
28 |         responsePromise.succeed(.failure)
   |                         `- warning: type 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol
29 |     }
30 | }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:229:13: note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
227 |
228 | /// The outcome of a user authentication attempt.
229 | public enum NIOSSHUserAuthenticationOutcome {
    |             `- note: consider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol
230 |     case success
231 |     case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |             // We need to nil out our copy because any future calls must return nil
30 |             self.authRequest = nil
31 |             nextChallengePromise.succeed(authRequest)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift: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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |             nextChallengePromise.succeed(authRequest)
32 |         } else {
33 |             nextChallengePromise.succeed(nil)
   |                                  `- warning: type 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
34 |         }
35 |     }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift: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 |
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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)
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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 |
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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]
/host/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 [#MutableGlobalVariable]
 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 [#MutableGlobalVariable]
    |                       |- 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 |
/host/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 |
/host/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)
/host/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 |             }
/host/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)
/host/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
/host/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)
/host/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 |             }
/host/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)
/host/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):
/host/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)
/host/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:
/host/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)
/host/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 [#no-usage]
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 [#no-usage]
427 |                         principal: request.username,
428 |                         type: .user,
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
407 |             }
408 |
/host/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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
452 |             }
453 |
/host/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 |
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: warning: capture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
490 |             }
491 |         }
/host/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 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[836/878] Compiling NIOSSH GlobalRequestDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[837/878] Compiling NIOSSH ECDHCompatibleKey.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[838/878] Compiling NIOSSH EllipticCurveKeyExchange.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[839/878] Compiling NIOSSH SSHKeyExchangeResult.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[840/878] Compiling NIOSSH SSHKeyExchangeStateMachine.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[841/878] Compiling NIOSSH ClientServerAuthenticationDelegate.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[842/878] Compiling NIOSSH CustomKeys.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[843/878] Compiling NIOSSH NIOSSHCertifiedPublicKey.swift
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
543 | extension SSHKeyExchangeStateMachine {
544 |     // For now this is a static list.
545 |     static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
    |                |- warning: static property 'bundledKeyExchangeImplementations' is not concurrency-safe because non-'Sendable' type '[any NIOSSHKeyExchangeAlgorithmProtocol.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
546 |         EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
547 |         EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
416 |
417 |         /// A certificate valid for identifying a user.
418 |         public static let user = CertificateType(rawValue: 1)
    |                           |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 |
420 |         /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
408 |     /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
409 |     /// wrapping the base type.
410 |     public struct CertificateType: RawRepresentable {
    |                   `- note: consider making struct 'CertificateType' conform to the 'Sendable' protocol
411 |         public var rawValue: UInt32
412 |
    :
419 |
420 |         /// A certificate valid for identifying a host.
421 |         public static let host = CertificateType(rawValue: 2)
    |                           |- warning: static property 'host' is not concurrency-safe because non-'Sendable' type 'NIOSSHCertifiedPublicKey.CertificateType' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
422 |     }
423 | }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[844/878] Compiling NIOSSH SendsKeyExchangeMessages.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[845/878] Compiling NIOSSH SendsUserAuthMessages.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[846/878] Compiling NIOSSH SSHConnectionStateMachine.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[847/878] Compiling NIOSSH ActiveState.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[848/878] Compiling NIOSSH IdleState.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[849/878] Compiling NIOSSH KeyExchangeState.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[850/878] Compiling NIOSSH ReceivedKexInitWhenActiveState.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[851/878] Compiling NIOSSH ReceivedNewKeysState.swift
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
  70 |     var username: String? { attributes.username }
  71 |
  72 |     static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
     |                |- warning: static property 'bundledTransportProtectionSchemes' is not concurrency-safe because non-'Sendable' type '[any NIOSSHTransportProtection.Type]' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
     |                |- note: add '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  73 |         AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
  74 |     ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[852/878] Compiling NIOSSH SSHChannelIdentifier.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[853/878] Compiling NIOSSH SSHChannelMultiplexer.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[854/878] Compiling NIOSSH SSHChannelType.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[855/878] Compiling NIOSSH SSHChildChannel.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[856/878] Compiling NIOSSH AcceptsChannelMessages.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[857/878] Compiling NIOSSH AcceptsKeyExchangeMessages.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[858/878] Compiling NIOSSH AcceptsUserAuthMessages.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[859/878] Compiling NIOSSH AcceptsVersionMessages.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[860/878] Compiling NIOSSH SendsChannelMessages.swift
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:677:27: warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 675 |                 self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
 676 |             }
 677 |             self.pipeline.fireChannelRead(NIOAny(data))
     |                           `- warning: 'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
 678 |
 679 |         case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:847:57: warning: type 'Any' does not conform to the 'Sendable' protocol
 845 |
 846 |         if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
 847 |             self.pipeline.fireUserInboundEventTriggered(userEvent)
     |                                                         `- warning: type 'Any' does not conform to the 'Sendable' protocol
 848 |         } else if message.wantReply {
 849 |             // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 57 |
 58 |         if let future = result {
 59 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 60 |         } else {
 61 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                 `- warning: capture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: note: class 'Attributes' does not conform to the 'Sendable' protocol
  58 |     }
  59 |
  60 |     class Attributes {
     |           `- note: class 'Attributes' does not conform to the 'Sendable' protocol
  61 |         var username: String? = nil
  62 |     }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                 `- warning: capture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 139 |     }
 140 |
 141 |     struct UserAuthRequestMessage: Equatable {
     |            `- note: consider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol
 142 |         // SSH_MSG_USERAUTH_REQUEST
 143 |         static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: capture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
66 |      to ignore banners.
67 |      */
68 |     struct UserAuthBanner {
   |            `- note: consider making struct 'UserAuthBanner' conform to the 'Sendable' protocol
69 |         /**
70 |          The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                        `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure [#SendableMetatypes]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 73 |
 74 |             let connectionAttributes = self.connectionAttributes
 75 |             return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
    |                                                                                                                                                           `- warning: reference to captured var 'banner' in concurrently-executing code [#SendableClosureCaptures]
 76 |         } else {
 77 |             return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 91 |
 92 |         if let future = result {
 93 |             return .possibleFutureMessage(future.map(Self.transform(_:)))
    |                                                           `- warning: converting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races
 94 |         } else {
 95 |             return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[861/878] Compiling NIOSSH SSHEncryptablePacketPayload.swift
[862/878] Compiling NIOSSH SSHMessages.swift
[863/878] Compiling NIOSSH SSHPacketParser.swift
[864/878] Compiling NIOSSH SSHPacketSerializer.swift
[865/878] Compiling NIOSSH SSHServerConfiguration.swift
[866/878] Compiling NIOSSH SSHTerminalModes.swift
[867/878] Compiling NIOSSH AESGCM.swift
[868/878] Compiling NIOSSH SSHTransportProtection.swift
[869/881] Wrapping AST for NIOSSH for debugging
[871/898] Compiling NIOSSHClient GlueHandler.swift
[872/898] Compiling NIOSSHClient PortForwardingServer.swift
[873/898] Emitting module NIOSSHServer
/host/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)
/host/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 {
[874/898] Compiling NIOSSHPerformanceTester Benchmark.swift
[875/898] Compiling NIOSSHPerformanceTester BenchmarkHandshake.swift
/host/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()
/host/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 {
/host/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 |         }
/host/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 {
[876/898] Compiling NIOSSHPerformanceTester main.swift
[877/898] Compiling NIOSSHPerformanceTester BenchmarkLinearThroughput.swift
/host/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()
/host/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 {
/host/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 |
/host/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 {
[878/898] Emitting module NIOSSHPerformanceTester
[879/898] Compiling NIOSSHPerformanceTester shared.swift
[880/898] Compiling NIOSSHClient InteractivePasswordPromptDelegate.swift
[881/898] Emitting module NIOSSHClient
/host/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)
/host/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 {
[882/898] Compiling NIOSSHClient ExecHandler.swift
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:51:19: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#DeprecatedDeclaration]
 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:)' [#DeprecatedDeclaration]
    |                   `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
 52 |                     switch result {
 53 |                     case .success:
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:50:49: warning: capture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure [#SendableClosureCaptures]
 48 |             DispatchQueue(label: "pipe bootstrap").async {
 49 |                 bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
 50 |                     channel.pipeline.addHandler(theirs)
    |                                                 `- warning: capture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure [#SendableClosureCaptures]
 51 |                 }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
 52 |                     switch result {
/host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:55:87: warning: capture of 'self' with non-Sendable type 'ExampleExecHandler' in a '@Sendable' closure [#SendableClosureCaptures]
 18 | import NIOSSH
 19 |
 20 | final class ExampleExecHandler: ChannelDuplexHandler {
    |             `- note: class 'ExampleExecHandler' does not conform to the 'Sendable' protocol
 21 |     typealias InboundIn = SSHChannelData
 22 |     typealias InboundOut = ByteBuffer
    :
 53 |                     case .success:
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
    |                                                                                       `- warning: capture of 'self' with non-Sendable type 'ExampleExecHandler' in a '@Sendable' closure [#SendableClosureCaptures]
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
 57 |                             context.close(promise: nil)
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:56:25: warning: capture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure [#SendableClosureCaptures]
 54 |                         // We need to exec a thing.
 55 |                         let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
 56 |                         context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
    |                         `- warning: capture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure [#SendableClosureCaptures]
 57 |                             context.close(promise: nil)
 58 |                         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1859:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1857 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1858 | /// `ChannelHandler`.
1859 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1860 |     // visible for ChannelPipeline to modify
1861 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:103:37: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
101 |             // We just write to stderr directly, pipe channel can't help us here.
102 |             bytes.withUnsafeReadableBytes { str in
103 |                 let rc = fwrite(str.baseAddress, 1, str.count, stderr)
    |                                     |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                                     |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                     `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
104 |                 precondition(rc == str.count)
105 |             }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[883/898] Compiling NIOSSHClient SimpleCLIParser.swift
[884/898] Compiling NIOSSHClient main.swift
/host/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)
/host/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 {
[885/898] Compiling NIOSSHServer main.swift
/host/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)
/host/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 {
[886/899] Compiling NIOSSHServer GlueHandler.swift
BUILD FAILURE 6.3 android