The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-ssh, reference citadel2 (d88989), with Swift 6.4 for Android on 24 Sep 2026 16:26:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Wellz26/swift-nio-ssh.git
Reference: citadel2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Wellz26/swift-nio-ssh
 * branch            citadel2   -> FETCH_HEAD
 * [new branch]      citadel2   -> origin/citadel2
HEAD is now at d88989f Merge: don't send a window adjust after a locally-initiated close
Cloned https://github.com/Wellz26/swift-nio-ssh.git
Revision (git rev-parse @):
d88989f3d3bb1dfb2a38ce4af598afbf7fc3095c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Wellz26/swift-nio-ssh.git at citadel2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Wellz26/swift-nio-ssh.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-docc-plugin
[1/18549] Fetching swift-crypto
[929/20894] Fetching swift-crypto, swift-docc-plugin
[1906/22775] Fetching swift-crypto, swift-docc-plugin, swift-atomics
Fetched https://github.com/apple/swift-docc-plugin (0.60s)
[3922/20430] Fetching swift-crypto, swift-atomics
[20431/106521] Fetching swift-crypto, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.25s)
[13073/87972] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git (3.43s)
Fetched https://github.com/apple/swift-nio.git (3.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.35s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/6916] Fetching swift-system
[3874/34618] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.25s)
Fetched https://github.com/apple/swift-collections.git (1.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.25s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.58s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 41]
[Pre-planning 1 / 927]
[Planning 888 / 927]
[Planning deferred tasks]
[Starting]
[96 / 672] DequeModule
[172 / 698] InternalCollectionsUtilities
[176 / 707] _NIOBase64
[177 / 707] _NIOBase64
[188 / 707] NIOConcurrencyHelpers
[189 / 707] InternalCollectionsUtilities
[199 / 707] NIOConcurrencyHelpers
[200 / 707] _NIOBase64
[202 / 708] _NIODataStructures
[211 / 708] NIOConcurrencyHelpers
[213 / 708] SpanPreview
[214 / 708] SpanPreview
[216 / 709] _NIODataStructures
[220 / 709] _NIODataStructures
[222 / 710] InternalCollectionsUtilities
[224 / 710] NIOConcurrencyHelpers
[227 / 710] CryptoBoringWrapper
[228 / 710] CryptoBoringWrapper
[228 / 710] Crypto
[230 / 710] _NIOBase64
[236 / 715] CNIOOpenBSD
[239 / 715] SpanPreview
[247 / 715] SpanPreview
[251 / 716]
[257 / 718] CNIOAtomics
[262 / 738] Crypto
[263 / 738] Atomics
[264 / 747] CNIOAtomics
[267 / 747] CCryptoBoringSSL
[268 / 747] CCryptoBoringSSL
[269 / 747] Crypto
[274 / 747] CCryptoBoringSSL
[276 / 747] CCryptoBoringSSL
[276 / 747] CryptoBoringWrapper
[278 / 747] CCryptoBoringSSL
[279 / 748] CCryptoBoringSSL
[281 / 748] CCryptoBoringSSL
[282 / 748] CCryptoBoringSSL
[290 / 748] CCryptoBoringSSL
[291 / 748] CCryptoBoringSSL
[294 / 748] CCryptoBoringSSL
[297 / 748] CCryptoBoringSSL
[299 / 748] CCryptoBoringSSL
[300 / 748] DequeModule
[302 / 748] DequeModule
[307 / 748] CCryptoBoringSSL
[308 / 748] CCryptoBoringSSL
[311 / 748] CCryptoBoringSSL
[313 / 748] CCryptoBoringSSL
[315 / 748] CCryptoBoringSSL
[316 / 748] CCryptoBoringSSL
[318 / 748] CCryptoBoringSSL
[319 / 748] CCryptoBoringSSL
[322 / 748] CCryptoBoringSSL
[327 / 748] CCryptoBoringSSL
[331 / 748] CCryptoBoringSSL
[335 / 748] CCryptoBoringSSL
[338 / 748] CCryptoBoringSSL
[339 / 748] CCryptoBoringSSL
[341 / 748] CCryptoBoringSSL
[343 / 748] CCryptoBoringSSL
[345 / 748] CCryptoBoringSSL
[346 / 748] CCryptoBoringSSL
[347 / 748] CCryptoBoringSSL
[350 / 748] CCryptoBoringSSL
[351 / 748] CCryptoBoringSSL
[353 / 748] CCryptoBoringSSL
[354 / 748] CCryptoBoringSSL
[355 / 748] CCryptoBoringSSL
[356 / 748] CCryptoBoringSSL
[358 / 748] CCryptoBoringSSL
[359 / 748] CCryptoBoringSSL
[362 / 748] CCryptoBoringSSL
[363 / 748] CCryptoBoringSSL
[365 / 748] CCryptoBoringSSL
[367 / 748] CCryptoBoringSSL
[368 / 748] CCryptoBoringSSL
[370 / 748] CCryptoBoringSSL
[371 / 748] CCryptoBoringSSL
[372 / 748] CCryptoBoringSSL
[373 / 748] CCryptoBoringSSL
[374 / 748] CCryptoBoringSSL
[376 / 748] CCryptoBoringSSL
[379 / 748] CCryptoBoringSSL
[382 / 748] CCryptoBoringSSL
[386 / 748] CCryptoBoringSSL
[390 / 748] CCryptoBoringSSL
[393 / 748] CCryptoBoringSSL
[400 / 748] CCryptoBoringSSL
[409 / 748] CCryptoBoringSSL
[414 / 748] CCryptoBoringSSL
[415 / 748] CCryptoBoringSSL
[419 / 748] CCryptoBoringSSL
[422 / 748] CCryptoBoringSSL
[423 / 748] CCryptoBoringSSL
[427 / 748] CCryptoBoringSSL
[428 / 748] CCryptoBoringSSL
[430 / 748] CCryptoBoringSSL
[431 / 748] CCryptoBoringSSL
[433 / 748] CCryptoBoringSSL
[434 / 748] CCryptoBoringSSL
[437 / 748] CCryptoBoringSSL
[438 / 748] CCryptoBoringSSL
[440 / 748] CCryptoBoringSSL
[441 / 748] CCryptoBoringSSL
[442 / 748] CCryptoBoringSSL
[445 / 748] CCryptoBoringSSL
[446 / 748] CCryptoBoringSSL
[449 / 748] CCryptoBoringSSL
[451 / 748] CCryptoBoringSSL
[452 / 748] CCryptoBoringSSL
[454 / 748] CCryptoBoringSSL
[455 / 748] CCryptoBoringSSL
[456 / 748] CCryptoBoringSSL
[459 / 748] CCryptoBoringSSL
[461 / 748] CCryptoBoringSSL
[463 / 748] CCryptoBoringSSL
[466 / 748] CCryptoBoringSSL
[471 / 748] CCryptoBoringSSL
[474 / 748] CCryptoBoringSSL
[476 / 748] CCryptoBoringSSL
[478 / 748] CCryptoBoringSSL
[479 / 748] CCryptoBoringSSL
[484 / 748] CCryptoBoringSSL
[486 / 748] CCryptoBoringSSL
[487 / 748] CCryptoBoringSSL
[490 / 748] CCryptoBoringSSL
[492 / 748] CCryptoBoringSSL
[495 / 748] CCryptoBoringSSL
[500 / 748] CCryptoBoringSSL
[505 / 748] CCryptoBoringSSL
[510 / 748] CCryptoBoringSSL
[511 / 748] CCryptoBoringSSL
[514 / 748] CCryptoBoringSSL
[519 / 748] CCryptoBoringSSL
[521 / 748] CCryptoBoringSSL
[523 / 748] CCryptoBoringSSL
[528 / 748] CCryptoBoringSSL
[529 / 748] CCryptoBoringSSL
[533 / 748] CCryptoBoringSSL
[535 / 748] CCryptoBoringSSL
[537 / 748] CCryptoBoringSSL
[538 / 748] CCryptoBoringSSL
[540 / 748] CCryptoBoringSSL
[542 / 748] CCryptoBoringSSL
[544 / 748] CCryptoBoringSSL
[545 / 748] CCryptoBoringSSL
[546 / 748] CCryptoBoringSSL
[548 / 748] CCryptoBoringSSL
[550 / 748] CCryptoBoringSSL
[551 / 748] CCryptoBoringSSL
[552 / 748] CCryptoBoringSSL
[554 / 748] CCryptoBoringSSL
[555 / 748] CCryptoBoringSSL
[557 / 748] CCryptoBoringSSL
[559 / 748] CCryptoBoringSSL
[561 / 748] CCryptoBoringSSL
[564 / 748] CCryptoBoringSSL
[566 / 748] CCryptoBoringSSL
[570 / 748] CCryptoBoringSSL
[574 / 748] CCryptoBoringSSL
[579 / 748] CCryptoBoringSSL
[584 / 748] CCryptoBoringSSL
[585 / 748] CCryptoBoringSSL
[586 / 748] CCryptoBoringSSL
[590 / 748] CCryptoBoringSSL
[592 / 748] CCryptoBoringSSL
[595 / 748] CCryptoBoringSSL
[597 / 748] CCryptoBoringSSL
[600 / 748] CCryptoBoringSSL
[601 / 748] CCryptoBoringSSL
[602 / 748] CCryptoBoringSSL
[604 / 748] CCryptoBoringSSL
[605 / 748] CCryptoBoringSSL
[608 / 748] CCryptoBoringSSL
[612 / 748] CCryptoBoringSSL
[616 / 748] CCryptoBoringSSL
[621 / 748] CCryptoBoringSSL
[625 / 748] CCryptoBoringSSL
[630 / 748] CCryptoBoringSSL
[632 / 748] CCryptoBoringSSL
[633 / 748] CCryptoBoringSSL
[635 / 748] CCryptoBoringSSL
[636 / 748] CCryptoBoringSSL
[637 / 748] CCryptoBoringSSL
[638 / 748] CCryptoBoringSSL
[641 / 748] CCryptoBoringSSL
[642 / 748] CCryptoBoringSSL
[644 / 748] CCryptoBoringSSL
[645 / 748] CCryptoBoringSSL
[646 / 748] CCryptoBoringSSL
[650 / 748] InternalCollectionsUtilities
[652 / 748] DequeModule
[653 / 748] DequeModule
[655 / 748] DequeModule-product
[658 / 748] CryptoBoringWrapper
[662 / 748] CryptoBoringWrapper
[663 / 748] DequeModule
[665 / 748] Crypto-product
[666 / 748] Crypto-product
[667 / 748] Crypto-product
[669 / 748] Atomics
[670 / 748] Atomics-product
[671 / 748] Atomics-product
[673 / 749] NIOCore
[675 / 749] DequeModule
[677 / 749] Atomics
[680 / 750] CNIOWindows
[684 / 759] NIOCore
[685 / 760] NIOCore
[686 / 760] Atomics
[688 / 761] NIOCore
[689 / 761] NIOCore
[690 / 761] CCryptoBoringSSL
[690 / 761] NIOCore
[692 / 761] Atomics
[696 / 761] NIOConcurrencyHelpers
[697 / 761] CCryptoBoringSSLShims
[699 / 761] Crypto
[699 / 761] NIOCore
[699 / 762] NIOCore
[717 / 772] NIOEmbedded
[718 / 781] NIOPosix
[719 / 781] NIOPosix
[719 / 781] NIOEmbedded
[722 / 781] NIOEmbedded
[733 / 781] NIOPosix
[733 / 782] NIOFoundationEssentialsCompat
[735 / 782] NIOPosix
[736 / 783] NIOPosix
[736 / 783] NIOFoundationEssentialsCompat
[739 / 783] NIOFoundationEssentialsCompat
[741 / 783] NIOEmbedded
[742 / 783] NIOEmbedded
[742 / 783] NIOPosix
[750 / 786] NIO
[757 / 788]
[760 / 792] NIOFoundationCompat
[761 / 792] NIOFoundationCompat
[762 / 792] NIOFoundationCompat
[768 / 793] NIOSSH
[772 / 803] NIOSSH
[772 / 803] NIOPosix
[774 / 803] NIOSSH
[775 / 803] NIOSSH
[776 / 803] NIOSSH
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/ChildChannelOptions.swift:71:5: warning: 'public' modifier is redundant for struct declared in a public extension
69 |
70 |     /// `UsernameOption` allows users to query the authenticated username of the channel.
71 |     public struct UsernameOption: ChannelOption {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
72 |         public typealias Value = String?
73 |
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
  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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
     |                |- 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 |     ]
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                           |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                           |- 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 | }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286:16: warning: static property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- warning: static property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'transportProtectionSchemesLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287:16: warning: static property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
    |                |- warning: static property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'transportProtectionSchemes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288:16: warning: static property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- warning: static property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'keyExchangeAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289:16: warning: static property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
    |                |- warning: static property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'keyExchangeAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290:16: warning: static property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- warning: static property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'publicKeyAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291:16: warning: static property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
    |                |- warning: static property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'publicKeyAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292:16: warning: static property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- warning: static property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'signaturesLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293:16: warning: static property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
    |                |- warning: static property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'signatures' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[777 / 803] NIOSSH
[778 / 804] NIOSSH
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                       |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[784 / 804] NIOFoundationCompat
[786 / 804] NIOSSHServer-product
[788 / 805]
[790 / 811] NIOSSHServer-product
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/ChildChannelOptions.swift:71:5: warning: 'public' modifier is redundant for struct declared in a public extension
69 |
70 |     /// `UsernameOption` allows users to query the authenticated username of the channel.
71 |     public struct UsernameOption: ChannelOption {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
72 |         public typealias Value = String?
73 |
[791 / 811] NIOSSHServer-product
[792 / 811] NIOSSHServer-product
/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 {
[793 / 811] NIOSSHServer-product
[795 / 811]
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286:16: warning: static property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
284 |
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
    |                |- warning: static property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'transportProtectionSchemesLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287:16: warning: static property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
285 | private enum _CustomAlgorithms {
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
    |                |- warning: static property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'transportProtectionSchemes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288:16: warning: static property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
286 |     static var transportProtectionSchemesLock = NIOLock()
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
    |                |- warning: static property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'keyExchangeAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289:16: warning: static property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
287 |     static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
    |                |- warning: static property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'keyExchangeAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290:16: warning: static property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
288 |     static var keyExchangeAlgorithmsLock = NIOLock()
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
    |                |- warning: static property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'publicKeyAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291:16: warning: static property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
289 |     static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
    |                |- warning: static property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'publicKeyAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292:16: warning: static property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
290 |     static var publicKeyAlgorithmsLock = NIOLock()
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
    |                |- warning: static property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'signaturesLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
294 | }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293:16: warning: static property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
291 |     static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
292 |     static var signaturesLock = NIOLock()
293 |     static var signatures: [NIOSSHSignatureProtocol.Type] = []
    |                |- warning: static property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: convert 'signatures' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'signatures' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 | }
295 |
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 89 |             switch self {
 90 |             case .tcpForwarding(let promise):
 91 |                 promise.succeed(result.map(GlobalRequest.TCPForwardingResponse.init))
    |                         `- warning: type 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 92 |             case .unknown(let promise):
 93 |                 promise.succeed(result?.buffer)
/host/spi-builder-workspace/Sources/NIOSSH/GlobalRequestDelegate.swift:52:19: note: consider making struct 'TCPForwardingResponse' conform to the 'Sendable' protocol
 50 |
 51 |     /// The data associated with a successful response to a TCP forwarding request.
 52 |     public struct TCPForwardingResponse: Hashable {
    |                   `- note: consider making struct 'TCPForwardingResponse' conform to the 'Sendable' protocol
 53 |         /// If requested to listen on a port, and the port the client requested was 0, this is set to the
 54 |         /// port that was actually bound. Otherwise is nil.
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: warning: capture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 24 | /// other usage models, including port forwarding. It is also able to construct somewhat
 25 | /// arbitrary secure multiplexed channels.
 26 | public final class NIOSSHHandler {
    |                    `- note: class 'NIOSSHHandler' does not conform to the 'Sendable' protocol
 27 |     internal var channel: Channel? {
 28 |         self.context.map { $0.channel }
    :
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                             `- warning: capture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
210 |                         self.pendingWrite = false
211 |                         context.flush()
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: warning: capture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
207 |                 case .success(.some(let message)):
208 |                     do {
209 |                         try self.writeMessage(message, context: context)
    |                                                                 `- warning: capture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
210 |                         self.pendingWrite = false
211 |                         context.flush()
/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/NIOSSH/NIOSSHHandler.swift:369:25: warning: capture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 24 | /// other usage models, including port forwarding. It is also able to construct somewhat
 25 | /// arbitrary secure multiplexed channels.
 26 | public final class NIOSSHHandler {
    |                    `- note: class 'NIOSSHHandler' does not conform to the 'Sendable' protocol
 27 |     internal var channel: Channel? {
 28 |         self.context.map { $0.channel }
    :
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     try self.writeMessage(.init(.requestSuccess(.init(.tcpForwarding(tcpForwardingResponse), allocator: context.channel.allocator))), context: context)
    |                         `- warning: capture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
370 |                     context.flush()
371 |                 case .failure:
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: warning: capture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
367 |                 switch result {
368 |                 case .success(let tcpForwardingResponse):
369 |                     try self.writeMessage(.init(.requestSuccess(.init(.tcpForwarding(tcpForwardingResponse), allocator: context.channel.allocator))), context: context)
    |                                                                                                                         `- warning: capture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
370 |                     context.flush()
371 |                 case .failure:
/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/NIOSSH/NIOSSHHandler.swift:411:23: warning: capture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 24 | /// other usage models, including port forwarding. It is also able to construct somewhat
 25 | /// arbitrary secure multiplexed channels.
 26 | public final class NIOSSHHandler {
    |                    `- note: class 'NIOSSHHandler' does not conform to the 'Sendable' protocol
 27 |     internal var channel: Channel? {
 28 |         self.context.map { $0.channel }
    :
409 |             switch result {
410 |             case .success:
411 |                 guard self.context != nil else {
    |                       `- warning: capture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
412 |                     // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
413 |                     promise?.fail(ChannelError.eof)
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[799 / 819] NIOSSHClient-product
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
  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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
     |                |- 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>
/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 {
[802 / 819] NIOSSHPerformanceTester-product
/host/spi-builder-workspace/Sources/NIOSSHServer/ExecHandler.swift:117:49: warning: type 'GlueHandler' does not conform to the 'Sendable' protocol
115 |
116 |                 let (ours, theirs) = GlueHandler.matchedPair()
117 |                 try channel.pipeline.addHandler(ours).wait()
    |                                                 `- warning: type 'GlueHandler' does not conform to the 'Sendable' protocol
118 |
119 |                 _ = try NIOPipeBootstrap(group: channel.eventLoop)
/host/spi-builder-workspace/Sources/NIOSSHServer/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
/host/spi-builder-workspace/Sources/NIOSSHServer/ExecHandler.swift:123:23: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
121 |                     .channelInitializer { pipeChannel in
122 |                         pipeChannel.pipeline.addHandler(theirs)
123 |                     }.withPipes(inputDescriptor: outPipe.fileHandleForReading.fileDescriptor, outputDescriptor: inPipe.fileHandleForWriting.fileDescriptor).wait()
    |                       |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                       `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
124 |
125 |                 // Ok, great, we've sorted stdout and stdin. For stderr we need a different strategy: we just park a thread for this.
/host/spi-builder-workspace/Sources/NIOSSHServer/ExecHandler.swift:122:57: warning: capture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
120 |                     .channelOption(ChannelOptions.allowRemoteHalfClosure, value: true)
121 |                     .channelInitializer { pipeChannel in
122 |                         pipeChannel.pipeline.addHandler(theirs)
    |                                                         `- warning: capture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
123 |                     }.withPipes(inputDescriptor: outPipe.fileHandleForReading.fileDescriptor, outputDescriptor: inPipe.fileHandleForWriting.fileDescriptor).wait()
124 |
/host/spi-builder-workspace/Sources/NIOSSHServer/GlueHandler.swift:17:13: note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 15 | import NIOCore
 16 |
 17 | final class GlueHandler {
    |             `- note: class 'GlueHandler' does not conform to the 'Sendable' protocol
 18 |     private var partner: GlueHandler?
 19 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[807 / 827] NIOSSHServer-product
/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 {
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                           |- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                           |- 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>
[812 / 827] NIOSSHClient-product
/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 {
/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 {
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile ExecHandler.swift
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:51:19: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                   `- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift /host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift /host/spi-builder-workspace/Sources/NIOSSHClient/InteractivePasswordPromptDelegate.swift /host/spi-builder-workspace/Sources/NIOSSHClient/PortForwardingServer.swift /host/spi-builder-workspace/Sources/NIOSSHClient/SimpleCLIParser.swift /host/spi-builder-workspace/Sources/NIOSSHClient/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/Objects-normal/aarch64/ExecHandler.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/Objects-normal/aarch64/ExecHandler.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/Objects-normal/aarch64/ExecHandler.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/Objects-normal/aarch64/ExecHandler.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOOpenBSD.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NIOSSHClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/Objects-normal/aarch64/NIOSSHClient_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/Objects-normal/aarch64/ExecHandler.o -index-unit-output-path /swift-nio-ssh.build/Debug-android-aarch64/NIOSSHClient-p.build/Objects-normal/aarch64/ExecHandler.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[815 / 827] NIOSSHClient-product
error: Build failed
BUILD FAILURE 6.4 android