Build Information
Failed to build swift-nio-ssh, reference 0.4.0 (c997b6), with Swift 6.4 for Android on 23 Sep 2026 00:59:42 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Joannis/swift-nio-ssh.git
Reference: 0.4.0
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/Joannis/swift-nio-ssh
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at c997b6b Merge pull request #10 from nedithgar/citadel2
Cloned https://github.com/Joannis/swift-nio-ssh.git
Revision (git rev-parse @):
c997b6b12b8ef51a9b50701d98e3fab250d9a044
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Joannis/swift-nio-ssh.git at 0.4.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/Joannis/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/2345] Fetching swift-docc-plugin
[236/20894] Fetching swift-docc-plugin, swift-crypto
[3274/22769] Fetching swift-docc-plugin, swift-crypto, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.67s)
[4386/20894] Fetching swift-docc-plugin, swift-crypto
[7169/106959] Fetching swift-docc-plugin, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-docc-plugin (1.40s)
[72770/104614] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.41s)
[55082/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.59s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.06s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.89s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.36s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
[71/34578] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.07s)
[23790/27662] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.26s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.27s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.60s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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/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-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
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Building for debugging...
[Computing dependencies]
[Provisioning 36 / 40]
[Pre-planning 1 / 926]
[Planning deferred tasks]
[Starting]
[107 / 672] Crypto
[176 / 707] InternalCollectionsUtilities
[189 / 707] CNIOPosix
[190 / 707] _AtomicsShims
[192 / 707] NIOConcurrencyHelpers
[201 / 707] NIOConcurrencyHelpers
[203 / 707] NIOConcurrencyHelpers-product
[205 / 707] CryptoBoringWrapper
[213 / 708] NIOConcurrencyHelpers-product
[216 / 708] _NIOBase64
[221 / 708] InternalCollectionsUtilities
[223 / 708] CryptoBoringWrapper
[228 / 710] NIOConcurrencyHelpers
[231 / 710] CryptoBoringWrapper
[232 / 710] CryptoBoringWrapper
[234 / 710]
[238 / 713] Atomics
[244 / 741] CNIOAtomics
[253 / 741] InternalCollectionsUtilities
[256 / 741] Crypto
[257 / 741] Crypto
[267 / 741] Crypto
[271 / 741] Crypto-product
[272 / 741] Crypto-product
[275 / 742] ContainersPreview
[276 / 742] CryptoBoringWrapper
[278 / 742] DequeModule
[280 / 742] ContainersPreview
[281 / 742] ContainersPreview
[282 / 742] CNIOWindows
[285 / 743] Atomics
[288 / 743] Atomics
[290 / 743] Atomics
[291 / 743] Atomics-product
[293 / 743] Crypto
[298 / 743] Atomics
[302 / 743] CCryptoBoringSSL
[305 / 743] CCryptoBoringSSL
[306 / 743] CCryptoBoringSSL
[308 / 743] CCryptoBoringSSL
[308 / 743] Crypto
[310 / 744] CCryptoBoringSSL
[313 / 744] CCryptoBoringSSL
[314 / 745] CCryptoBoringSSL
[316 / 745] CCryptoBoringSSL
[318 / 745] CCryptoBoringSSL
[322 / 745] CCryptoBoringSSL
[324 / 745] CCryptoBoringSSL
[327 / 745] CCryptoBoringSSL
[330 / 745] CCryptoBoringSSL
[332 / 745] CCryptoBoringSSL
[333 / 745] CCryptoBoringSSL
[334 / 745] CCryptoBoringSSL
[336 / 745] CCryptoBoringSSL
[337 / 745] CCryptoBoringSSL
[339 / 745] CCryptoBoringSSL
[340 / 745] CCryptoBoringSSL
[343 / 745] CCryptoBoringSSL
[351 / 745] CCryptoBoringSSL
[353 / 745] CCryptoBoringSSL
[354 / 745] CCryptoBoringSSL
[356 / 745] CCryptoBoringSSL
[357 / 745] CCryptoBoringSSL
[361 / 745] CCryptoBoringSSL
[362 / 745] CCryptoBoringSSL
[363 / 745] CCryptoBoringSSL
[365 / 745] CCryptoBoringSSL
[367 / 745] CCryptoBoringSSL
[368 / 745] CCryptoBoringSSL
[370 / 745] CCryptoBoringSSL
[371 / 745] CCryptoBoringSSL
[372 / 745] CCryptoBoringSSL
[373 / 745] CCryptoBoringSSL
[375 / 745] CCryptoBoringSSL
[377 / 745] CCryptoBoringSSL
[378 / 745] CCryptoBoringSSL
[379 / 745] CCryptoBoringSSL
[380 / 745] CCryptoBoringSSL
[384 / 745] CCryptoBoringSSL
[386 / 745] CCryptoBoringSSL
[388 / 745] CCryptoBoringSSL
[392 / 745] CCryptoBoringSSL
[393 / 745] CCryptoBoringSSL
[395 / 745] CCryptoBoringSSL
[398 / 745] CCryptoBoringSSL
[402 / 745] CCryptoBoringSSL
[404 / 745] CCryptoBoringSSL
[407 / 745] CCryptoBoringSSL
[411 / 745] CCryptoBoringSSL
[413 / 745] CCryptoBoringSSL
[420 / 745] CCryptoBoringSSL
[424 / 745] CCryptoBoringSSL
[427 / 745] CCryptoBoringSSL
[432 / 745] CCryptoBoringSSL
[433 / 745] CCryptoBoringSSL
[435 / 745] CCryptoBoringSSL
[438 / 745] CCryptoBoringSSL
[439 / 745] CCryptoBoringSSL
[441 / 745] CCryptoBoringSSL
[444 / 745] CCryptoBoringSSL
[447 / 745] CCryptoBoringSSL
[449 / 745] CCryptoBoringSSL
[450 / 745] CCryptoBoringSSL
[451 / 745] CCryptoBoringSSL
[454 / 745] CCryptoBoringSSL
[455 / 745] CCryptoBoringSSL
[456 / 745] CCryptoBoringSSL
[459 / 745] CCryptoBoringSSL
[462 / 745] CCryptoBoringSSL
[464 / 745] CCryptoBoringSSL
[466 / 745] CCryptoBoringSSL
[469 / 745] CCryptoBoringSSL
[470 / 745] CCryptoBoringSSL
[471 / 745] CCryptoBoringSSL
[472 / 745] CCryptoBoringSSL
[473 / 745] CCryptoBoringSSL
[474 / 745] CCryptoBoringSSL
[476 / 745] CCryptoBoringSSL
[478 / 745] CCryptoBoringSSL
[479 / 745] CCryptoBoringSSL
[483 / 745] CCryptoBoringSSL
[485 / 745] CCryptoBoringSSL
[487 / 745] CCryptoBoringSSL
[491 / 745] CCryptoBoringSSL
[493 / 745] CCryptoBoringSSL
[494 / 745] CCryptoBoringSSL
[496 / 745] CCryptoBoringSSL
[498 / 745] CCryptoBoringSSL
[500 / 745] CCryptoBoringSSL
[501 / 745] CCryptoBoringSSL
[503 / 745] CCryptoBoringSSL
[504 / 745] CCryptoBoringSSL
[505 / 745] CCryptoBoringSSL
[506 / 745] CCryptoBoringSSL
[507 / 745] CCryptoBoringSSL
[510 / 745] CCryptoBoringSSL
[513 / 745] CCryptoBoringSSL
[518 / 745] CCryptoBoringSSL
[525 / 745] CCryptoBoringSSL
[528 / 745] CCryptoBoringSSL
[531 / 745] CCryptoBoringSSL
[532 / 745] CCryptoBoringSSL
[536 / 745] CCryptoBoringSSL
[542 / 745] CCryptoBoringSSL
[546 / 745] CCryptoBoringSSL
[547 / 745] CCryptoBoringSSL
[549 / 745] CCryptoBoringSSL
[555 / 745] CCryptoBoringSSL
[558 / 745] CCryptoBoringSSL
[562 / 745] CCryptoBoringSSL
[566 / 745] CCryptoBoringSSL
[569 / 745] CCryptoBoringSSL
[573 / 745] CCryptoBoringSSL
[574 / 745] CCryptoBoringSSL
[575 / 745] CCryptoBoringSSL
[578 / 745] CCryptoBoringSSL
[580 / 745] CCryptoBoringSSL
[581 / 745] CCryptoBoringSSL
[583 / 745] CCryptoBoringSSL
[585 / 745] CCryptoBoringSSL
[587 / 745] CCryptoBoringSSL
[592 / 745] CCryptoBoringSSL
[600 / 745] CCryptoBoringSSL
[603 / 745] CCryptoBoringSSL
[605 / 745] CCryptoBoringSSL
[606 / 745] CCryptoBoringSSL
[609 / 745] CCryptoBoringSSL
[610 / 745] CCryptoBoringSSL
[614 / 745] CCryptoBoringSSL
[615 / 745] CCryptoBoringSSL
[618 / 745] CCryptoBoringSSL
[619 / 745] CCryptoBoringSSL
[622 / 745] CCryptoBoringSSL
[625 / 745] CCryptoBoringSSL
[627 / 745] CCryptoBoringSSL
[630 / 745] CCryptoBoringSSL
[635 / 745] CCryptoBoringSSL
[639 / 745] CCryptoBoringSSL
[644 / 745] CCryptoBoringSSL
[648 / 745] CCryptoBoringSSL
[651 / 745] CCryptoBoringSSL
[654 / 745] CCryptoBoringSSL
[657 / 745] CCryptoBoringSSL
[658 / 745] CCryptoBoringSSL
[659 / 745] CCryptoBoringSSL
[661 / 745] CCryptoBoringSSL
[662 / 745] CCryptoBoringSSL
[666 / 745] Crypto
[670 / 745] Crypto
[672 / 746]
[676 / 755] DequeModule
[677 / 755] CCryptoBoringSSL
[680 / 755] DequeModule
[682 / 755] ContainersPreview
[682 / 755] DequeModule
[682 / 756] DequeModule
[699 / 766] NIOCore
[701 / 766] CCryptoBoringSSL
[701 / 766] DequeModule
[703 / 766] CryptoBoringWrapper
[704 / 766] Crypto
[704 / 766] NIOCore
[704 / 767] NIOCore
[720 / 777] NIOPosix
[723 / 786] NIOCore
[726 / 786] NIOEmbedded
[730 / 786] NIOEmbedded
[732 / 786] NIOPosix
[733 / 786] NIOPosix
[734 / 786] NIOFoundationEssentialsCompat
[736 / 787] NIOFoundationEssentialsCompat
[741 / 788] NIOPosix
[742 / 788] NIOPosix
[748 / 788] NIOPosix
[752 / 788] NIOEmbedded
[753 / 789] NIOEmbedded
[753 / 789] NIO
[755 / 791] NIO
[765 / 796] NIOPosix
[767 / 797] NIO
[767 / 797] NIOPosix
[767 / 797] NIOFoundationCompat
[767 / 798] NIOFoundationCompat
[775 / 799] NIOPosix
[778 / 800] NIOPosix
[780 / 800] NIOSSH
[789 / 809] NIOSSH
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/ChildChannelOptions.swift:71:5: [1;33mwarning: [1;39m'public' modifier is redundant for struct declared in a public extension[0;0m
[0;36m69 |[0;0m
[0;36m70 |[0;0m /// `UsernameOption` allows users to query the authenticated username of the channel.
[0;36m71 |[0;0m public struct UsernameOption: ChannelOption {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for struct declared in a public extension[0;0m
[0;36m72 |[0;0m public typealias Value = String?
[0;36m73 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m70 |[0;0m var username: String? { attributes.username }
[0;36m71 |[0;0m
[0;36m72 |[0;0m static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m73 |[0;0m AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
[0;36m74 |[0;0m ]
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m543 |[0;0m extension SSHKeyExchangeStateMachine {
[0;36m544 |[0;0m // For now this is a static list.
[0;36m545 |[0;0m static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m546 |[0;0m EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
[0;36m547 |[0;0m EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m408 |[0;0m /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
[0;36m409 |[0;0m /// wrapping the base type.
[0;36m410 |[0;0m public struct CertificateType: RawRepresentable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'CertificateType' conform to the 'Sendable' protocol[0;0m
[0;36m411 |[0;0m public var rawValue: UInt32
[0;36m412 |[0;0m
[0;36m:[0;0m
[0;36m416 |[0;0m
[0;36m417 |[0;0m /// A certificate valid for identifying a user.
[0;36m418 |[0;0m public static let user = CertificateType(rawValue: 1)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'user' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m419 |[0;0m
[0;36m420 |[0;0m /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m408 |[0;0m /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
[0;36m409 |[0;0m /// wrapping the base type.
[0;36m410 |[0;0m public struct CertificateType: RawRepresentable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'CertificateType' conform to the 'Sendable' protocol[0;0m
[0;36m411 |[0;0m public var rawValue: UInt32
[0;36m412 |[0;0m
[0;36m:[0;0m
[0;36m419 |[0;0m
[0;36m420 |[0;0m /// A certificate valid for identifying a host.
[0;36m421 |[0;0m public static let host = CertificateType(rawValue: 2)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'host' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m422 |[0;0m }
[0;36m423 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286:16: [1;33mwarning: [1;39mstatic property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m284 |[0;0m
[0;36m285 |[0;0m private enum _CustomAlgorithms {
[0;36m286 |[0;0m static var transportProtectionSchemesLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'transportProtectionSchemesLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287:16: [1;33mwarning: [1;39mstatic property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m285 |[0;0m private enum _CustomAlgorithms {
[0;36m286 |[0;0m static var transportProtectionSchemesLock = NIOLock()
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'transportProtectionSchemes' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288:16: [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m286 |[0;0m static var transportProtectionSchemesLock = NIOLock()
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'keyExchangeAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289:16: [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'keyExchangeAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290:16: [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'publicKeyAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291:16: [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'publicKeyAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
[0;36m293 |[0;0m static var signatures: [NIOSSHSignatureProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292:16: [1;33mwarning: [1;39mstatic property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'signaturesLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m293 |[0;0m static var signatures: [NIOSSHSignatureProtocol.Type] = []
[0;36m294 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293:16: [1;33mwarning: [1;39mstatic property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
[0;36m293 |[0;0m static var signatures: [NIOSSHSignatureProtocol.Type] = []
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'signatures' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'signatures' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m294 |[0;0m }
[0;36m295 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'publicKey' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m29 |[0;0m public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:29:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
[0;36m29 |[0;0m public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'password' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
[0;36m31 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:30:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m28 |[0;0m public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
[0;36m29 |[0;0m public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'hostBased' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:32:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
[0;36m31 |[0;0m
[0;36m32 |[0;0m public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'all' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:79:39: [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m77 |[0;0m let bootstrap = ServerBootstrap(group: group)
[0;36m78 |[0;0m .childChannelInitializer { channel in
[0;36m79 |[0;0m channel.pipeline.addHandlers([NIOSSHHandler(role: .server(.init(hostKeys: [hostKey], userAuthDelegate: HardcodedPasswordDelegate(), globalRequestDelegate: RemotePortForwarderGlobalRequestDelegate())), allocator: channel.allocator, inboundChildChannelInitializer: sshChildChannelInitializer(_:_:)), ErrorHandler()])
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m80 |[0;0m }
[0;36m81 |[0;0m .serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @available(*, unavailable)
[0;36m81 |[0;0m extension NIOSSHHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m extension NIOSSHHandler {
[797 / 816] NIOSSHServer-product
[798 / 816] NIOSSHServer-product
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:657:27: [1;33mwarning: [1;39m'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m655 |[0;0m self.processOutboundMessage(.channelWindowAdjust(update), promise: nil)
[0;36m656 |[0;0m }
[0;36m657 |[0;0m self.pipeline.fireChannelRead(NIOAny(data))
[0;36m|[0;0m `- [1;33mwarning: [1;39m'fireChannelRead' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m658 |[0;0m
[0;36m659 |[0;0m case .eof:
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/SSHChildChannel.swift:827:57: [1;33mwarning: [1;39mtype 'Any' does not conform to the 'Sendable' protocol[0;0m
[0;36m825 |[0;0m
[0;36m826 |[0;0m if let userEvent = SSHChannelRequestEvent.fromMessage(message) {
[0;36m827 |[0;0m self.pipeline.fireUserInboundEventTriggered(userEvent)
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'Any' does not conform to the 'Sendable' protocol[0;0m
[0;36m828 |[0;0m } else if message.wantReply {
[0;36m829 |[0;0m // Messages that we don't understand and that want a reply must be replied to with a failure.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:59:59: [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races[0;0m
[0;36m57 |[0;0m
[0;36m58 |[0;0m if let future = result {
[0;36m59 |[0;0m return .possibleFutureMessage(future.map(Self.transform(_:)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races[0;0m
[0;36m60 |[0;0m } else {
[0;36m61 |[0;0m return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:97: [1;33mwarning: [1;39mcapture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m73 |[0;0m
[0;36m74 |[0;0m let connectionAttributes = self.connectionAttributes
[0;36m75 |[0;0m return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'connectionAttributes' with non-Sendable type 'SSHConnectionStateMachine.Attributes' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m76 |[0;0m } else {
[0;36m77 |[0;0m return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:60:11: [1;39mnote: [1;39mclass 'Attributes' does not conform to the 'Sendable' protocol[0;0m
[0;36m58 |[0;0m }
[0;36m59 |[0;0m
[0;36m60 |[0;0m class Attributes {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'Attributes' does not conform to the 'Sendable' protocol[0;0m
[0;36m61 |[0;0m var username: String? = nil
[0;36m62 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:129: [1;33mwarning: [1;39mcapture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m73 |[0;0m
[0;36m74 |[0;0m let connectionAttributes = self.connectionAttributes
[0;36m75 |[0;0m return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'message' with non-Sendable type 'SSHMessage.UserAuthRequestMessage' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m76 |[0;0m } else {
[0;36m77 |[0;0m return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHMessages.swift:141:12: [1;39mnote: [1;39mconsider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol[0;0m
[0;36m139 |[0;0m }
[0;36m140 |[0;0m
[0;36m141 |[0;0m struct UserAuthRequestMessage: Equatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'UserAuthRequestMessage' conform to the 'Sendable' protocol[0;0m
[0;36m142 |[0;0m // SSH_MSG_USERAUTH_REQUEST
[0;36m143 |[0;0m static let id: UInt8 = 50
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: [1;33mwarning: [1;39mcapture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m73 |[0;0m
[0;36m74 |[0;0m let connectionAttributes = self.connectionAttributes
[0;36m75 |[0;0m return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'banner' with non-Sendable type 'SSHServerConfiguration.UserAuthBanner?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m76 |[0;0m } else {
[0;36m77 |[0;0m return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/SSHServerConfiguration.swift:68:12: [1;39mnote: [1;39mconsider making struct 'UserAuthBanner' conform to the 'Sendable' protocol[0;0m
[0;36m66 |[0;0m to ignore banners.
[0;36m67 |[0;0m */
[0;36m68 |[0;0m struct UserAuthBanner {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'UserAuthBanner' conform to the 'Sendable' protocol[0;0m
[0;36m69 |[0;0m /**
[0;36m70 |[0;0m The message to be displayed by client to end user during authentication.
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:56: [1;33mwarning: [1;39mcapture of non-Sendable type 'Self.Type' in an isolated closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m73 |[0;0m
[0;36m74 |[0;0m let connectionAttributes = self.connectionAttributes
[0;36m75 |[0;0m return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Self.Type' in an isolated closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m76 |[0;0m } else {
[0;36m77 |[0;0m return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:75:155: [1;33mwarning: [1;39mreference to captured var 'banner' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m73 |[0;0m
[0;36m74 |[0;0m let connectionAttributes = self.connectionAttributes
[0;36m75 |[0;0m return .possibleFutureMessage(future.map { Self.transform($0, connectionAttributes: connectionAttributes, username: message.username, banner: banner) })
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'banner' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m76 |[0;0m } else {
[0;36m77 |[0;0m return .noMessage
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/Operations/AcceptsUserAuthMessages.swift:93:59: [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races[0;0m
[0;36m91 |[0;0m
[0;36m92 |[0;0m if let future = result {
[0;36m93 |[0;0m return .possibleFutureMessage(future.map(Self.transform(_:)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mconverting non-Sendable function value to '@Sendable (SSHMessage.UserAuthRequestMessage?) -> SSHMultiMessage?' may introduce data races[0;0m
[0;36m94 |[0;0m } else {
[0;36m95 |[0;0m return .noMessage
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[799 / 816] NIOSSHServer-product
[801 / 816] NIOSSHServer-product
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/DenyAllServerAuthDelegate.swift:28:25: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m public func requestReceived(request: NIOSSHUserAuthenticationRequest, responsePromise: EventLoopPromise<NIOSSHUserAuthenticationOutcome>) {
[0;36m28 |[0;0m responsePromise.succeed(.failure)
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationOutcome' does not conform to the 'Sendable' protocol[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:229:13: [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol[0;0m
[0;36m227 |[0;0m
[0;36m228 |[0;0m /// The outcome of a user authentication attempt.
[0;36m229 |[0;0m public enum NIOSSHUserAuthenticationOutcome {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationOutcome' conform to the 'Sendable' protocol[0;0m
[0;36m230 |[0;0m case success
[0;36m231 |[0;0m case partialSuccess(remainingMethods: NIOSSHAvailableUserAuthenticationMethods)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:31:34: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m29 |[0;0m // We need to nil out our copy because any future calls must return nil
[0;36m30 |[0;0m self.authRequest = nil
[0;36m31 |[0;0m nextChallengePromise.succeed(authRequest)
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m32 |[0;0m } else {
[0;36m33 |[0;0m nextChallengePromise.succeed(nil)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: [1;39mnote: [1;39mconsider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol[0;0m
[0;36m147 |[0;0m /// A specific offer of user authentication. This type is the one used on the client side. The
[0;36m148 |[0;0m /// associated server side type is `NIOSSHUserAuthenticationRequest`.
[0;36m149 |[0;0m public struct NIOSSHUserAuthenticationOffer {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol[0;0m
[0;36m150 |[0;0m public var username: String
[0;36m151 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/SimplePasswordDelegate.swift:33:34: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m31 |[0;0m nextChallengePromise.succeed(authRequest)
[0;36m32 |[0;0m } else {
[0;36m33 |[0;0m nextChallengePromise.succeed(nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationOffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m34 |[0;0m }
[0;36m35 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:149:15: [1;39mnote: [1;39mconsider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol[0;0m
[0;36m147 |[0;0m /// A specific offer of user authentication. This type is the one used on the client side. The
[0;36m148 |[0;0m /// associated server side type is `NIOSSHUserAuthenticationRequest`.
[0;36m149 |[0;0m public struct NIOSSHUserAuthenticationOffer {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHUserAuthenticationOffer' conform to the 'Sendable' protocol[0;0m
[0;36m150 |[0;0m public var username: String
[0;36m151 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:28:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'publicKey' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m29 |[0;0m public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:29:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
[0;36m29 |[0;0m public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'password' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
[0;36m31 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:30:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m28 |[0;0m public static let publicKey: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 0)
[0;36m29 |[0;0m public static let password: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 1)
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'hostBased' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:32:23: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[0;36m:[0;0m
[0;36m30 |[0;0m public static let hostBased: NIOSSHAvailableUserAuthenticationMethods = .init(rawValue: 1 << 2)
[0;36m31 |[0;0m
[0;36m32 |[0;0m public static let all: NIOSSHAvailableUserAuthenticationMethods = [.publicKey, .password, .hostBased]
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'all' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:416:34: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m414 |[0;0m guard key.isValidSignature(signature, for: dataToSign) else {
[0;36m415 |[0;0m // Whoops, signature not valid.
[0;36m416 |[0;0m return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m417 |[0;0m }
[0;36m418 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m233 |[0;0m }
[0;36m234 |[0;0m
[0;36m235 |[0;0m enum NIOSSHUserAuthenticationResponseMessage {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m236 |[0;0m case success
[0;36m237 |[0;0m case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:437:38: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m435 |[0;0m } catch {
[0;36m436 |[0;0m // Certificate validation failed
[0;36m437 |[0;0m return self.loop.makeSucceededFuture(.failure(.init(authentications: supportedMethods.strings, partialSuccess: false)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m438 |[0;0m }
[0;36m439 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m233 |[0;0m }
[0;36m234 |[0;0m
[0;36m235 |[0;0m enum NIOSSHUserAuthenticationResponseMessage {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m236 |[0;0m case success
[0;36m237 |[0;0m case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:469:38: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m467 |[0;0m )
[0;36m468 |[0;0m // Certificate is valid
[0;36m469 |[0;0m return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m470 |[0;0m } catch {
[0;36m471 |[0;0m // Certificate validation failed, reject it
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m233 |[0;0m }
[0;36m234 |[0;0m
[0;36m235 |[0;0m enum NIOSSHUserAuthenticationResponseMessage {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m236 |[0;0m case success
[0;36m237 |[0;0m case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:472:38: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m470 |[0;0m } catch {
[0;36m471 |[0;0m // Certificate validation failed, reject it
[0;36m472 |[0;0m return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m473 |[0;0m }
[0;36m474 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m233 |[0;0m }
[0;36m234 |[0;0m
[0;36m235 |[0;0m enum NIOSSHUserAuthenticationResponseMessage {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m236 |[0;0m case success
[0;36m237 |[0;0m case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:476:30: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m474 |[0;0m }
[0;36m475 |[0;0m // For now we do a shortcut: we just say that all non-certificate keys are acceptable, rather than ask the delegate.
[0;36m476 |[0;0m return self.loop.makeSucceededFuture(.publicKeyOK(.init(key: key)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m477 |[0;0m
[0;36m478 |[0;0m case .publicKey(.unknown):
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m233 |[0;0m }
[0;36m234 |[0;0m
[0;36m235 |[0;0m enum NIOSSHUserAuthenticationResponseMessage {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m236 |[0;0m case success
[0;36m237 |[0;0m case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:480:30: [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m478 |[0;0m case .publicKey(.unknown):
[0;36m479 |[0;0m // We don't known the algorithm, the auth attempt has failed.
[0;36m480 |[0;0m return self.loop.makeSucceededFuture(.failure(.init(authentications: delegate.supportedAuthenticationMethods.strings, partialSuccess: false)))
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'NIOSSHUserAuthenticationResponseMessage' does not conform to the 'Sendable' protocol[0;0m
[0;36m481 |[0;0m
[0;36m482 |[0;0m case .none:
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:235:6: [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m233 |[0;0m }
[0;36m234 |[0;0m
[0;36m235 |[0;0m enum NIOSSHUserAuthenticationResponseMessage {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'NIOSSHUserAuthenticationResponseMessage' conform to the 'Sendable' protocol[0;0m
[0;36m236 |[0;0m case success
[0;36m237 |[0;0m case failure(SSHMessage.UserAuthFailureMessage)
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:426:25: [1;33mwarning: [1;39minitialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m424 |[0;0m // This is a certificate and we have trusted CAs configured
[0;36m425 |[0;0m do {
[0;36m426 |[0;0m let criticalOptions = try certifiedKey.validate(
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'criticalOptions' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m427 |[0;0m principal: request.username,
[0;36m428 |[0;0m type: .user,
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:406:50: [1;33mwarning: [1;39mcapture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m404 |[0;0m
[0;36m405 |[0;0m return promise.futureResult.map { outcome in
[0;36m406 |[0;0m .init(outcome, supportedMethods: supportedMethods)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m407 |[0;0m }
[0;36m408 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:451:50: [1;33mwarning: [1;39mcapture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m449 |[0;0m
[0;36m450 |[0;0m return promise.futureResult.map { outcome in
[0;36m451 |[0;0m .init(outcome, supportedMethods: supportedMethods)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m452 |[0;0m }
[0;36m453 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationStateMachine.swift:489:50: [1;33mwarning: [1;39mcapture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m487 |[0;0m
[0;36m488 |[0;0m return promise.futureResult.map { outcome in
[0;36m489 |[0;0m .init(outcome, supportedMethods: supportedMethods)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'supportedMethods' with non-Sendable type 'NIOSSHAvailableUserAuthenticationMethods' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m490 |[0;0m }
[0;36m491 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/User Authentication/UserAuthenticationMethod.swift:21:15: [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m /// not as a separate authentication method. When using certificates, the publicKey
[0;36m20 |[0;0m /// method is used with a certified key.
[0;36m21 |[0;0m public struct NIOSSHAvailableUserAuthenticationMethods: OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'NIOSSHAvailableUserAuthenticationMethods' conform to the 'Sendable' protocol[0;0m
[0;36m22 |[0;0m public var rawValue: UInt8
[0;36m23 |[0;0m
[#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>
/host/spi-builder-workspace/Sources/NIOSSH/Child Channels/ChildChannelOptions.swift:71:5: [1;33mwarning: [1;39m'public' modifier is redundant for struct declared in a public extension[0;0m
[0;36m69 |[0;0m
[0;36m70 |[0;0m /// `UsernameOption` allows users to query the authenticated username of the channel.
[0;36m71 |[0;0m public struct UsernameOption: ChannelOption {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for struct declared in a public extension[0;0m
[0;36m72 |[0;0m public typealias Value = String?
[0;36m73 |[0;0m
[802 / 816]
[806 / 831] NIOSSHClient-product
/host/spi-builder-workspace/Sources/NIOSSHServer/ExecHandler.swift:117:49: [1;33mwarning: [1;39mtype 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m115 |[0;0m
[0;36m116 |[0;0m let (ours, theirs) = GlueHandler.matchedPair()
[0;36m117 |[0;0m try channel.pipeline.addHandler(ours).wait()
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m118 |[0;0m
[0;36m119 |[0;0m _ = try NIOPipeBootstrap(group: channel.eventLoop)
/host/spi-builder-workspace/Sources/NIOSSHServer/GlueHandler.swift:17:13: [1;39mnote: [1;39mclass 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m15 |[0;0m import NIOCore
[0;36m16 |[0;0m
[0;36m17 |[0;0m final class GlueHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m18 |[0;0m private var partner: GlueHandler?
[0;36m19 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSHServer/ExecHandler.swift:123:23: [1;33mwarning: [1;39m'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m121 |[0;0m .channelInitializer { pipeChannel in
[0;36m122 |[0;0m pipeChannel.pipeline.addHandler(theirs)
[0;36m123 |[0;0m }.withPipes(inputDescriptor: outPipe.fileHandleForReading.fileDescriptor, outputDescriptor: inPipe.fileHandleForWriting.fileDescriptor).wait()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'takingOwnershipOfDescriptors(input:output:)' instead[0;0m
[0;36m124 |[0;0m
[0;36m125 |[0;0m // 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: [1;33mwarning: [1;39mcapture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m120 |[0;0m .channelOption(ChannelOptions.allowRemoteHalfClosure, value: true)
[0;36m121 |[0;0m .channelInitializer { pipeChannel in
[0;36m122 |[0;0m pipeChannel.pipeline.addHandler(theirs)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m123 |[0;0m }.withPipes(inputDescriptor: outPipe.fileHandleForReading.fileDescriptor, outputDescriptor: inPipe.fileHandleForWriting.fileDescriptor).wait()
[0;36m124 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSHServer/GlueHandler.swift:17:13: [1;39mnote: [1;39mclass 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m15 |[0;0m import NIOCore
[0;36m16 |[0;0m
[0;36m17 |[0;0m final class GlueHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m18 |[0;0m private var partner: GlueHandler?
[0;36m19 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/NIOSSH/Key Exchange/SSHKeyExchangeStateMachine.swift:545:16: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m543 |[0;0m extension SSHKeyExchangeStateMachine {
[0;36m544 |[0;0m // For now this is a static list.
[0;36m545 |[0;0m static let bundledKeyExchangeImplementations: [NIOSSHKeyExchangeAlgorithmProtocol.Type] = [
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'bundledKeyExchangeImplementations' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m546 |[0;0m EllipticCurveKeyExchange<P384.KeyAgreement.PrivateKey>.self,
[0;36m547 |[0;0m EllipticCurveKeyExchange<P256.KeyAgreement.PrivateKey>.self,
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:418:27: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m408 |[0;0m /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
[0;36m409 |[0;0m /// wrapping the base type.
[0;36m410 |[0;0m public struct CertificateType: RawRepresentable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'CertificateType' conform to the 'Sendable' protocol[0;0m
[0;36m411 |[0;0m public var rawValue: UInt32
[0;36m412 |[0;0m
[0;36m:[0;0m
[0;36m416 |[0;0m
[0;36m417 |[0;0m /// A certificate valid for identifying a user.
[0;36m418 |[0;0m public static let user = CertificateType(rawValue: 1)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'user' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m419 |[0;0m
[0;36m420 |[0;0m /// A certificate valid for identifying a host.
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift:421:27: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m408 |[0;0m /// For extensibility purposes this is not defined as an enumeration, but instead as a `RawRepresentable` type
[0;36m409 |[0;0m /// wrapping the base type.
[0;36m410 |[0;0m public struct CertificateType: RawRepresentable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'CertificateType' conform to the 'Sendable' protocol[0;0m
[0;36m411 |[0;0m public var rawValue: UInt32
[0;36m412 |[0;0m
[0;36m:[0;0m
[0;36m419 |[0;0m
[0;36m420 |[0;0m /// A certificate valid for identifying a host.
[0;36m421 |[0;0m public static let host = CertificateType(rawValue: 2)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'host' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m422 |[0;0m }
[0;36m423 |[0;0m }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[808 / 831] NIOSSHPerformanceTester-product
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:286:16: [1;33mwarning: [1;39mstatic property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m284 |[0;0m
[0;36m285 |[0;0m private enum _CustomAlgorithms {
[0;36m286 |[0;0m static var transportProtectionSchemesLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'transportProtectionSchemesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'transportProtectionSchemesLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'transportProtectionSchemesLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:287:16: [1;33mwarning: [1;39mstatic property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m285 |[0;0m private enum _CustomAlgorithms {
[0;36m286 |[0;0m static var transportProtectionSchemesLock = NIOLock()
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'transportProtectionSchemes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'transportProtectionSchemes' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'transportProtectionSchemes' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:288:16: [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m286 |[0;0m static var transportProtectionSchemesLock = NIOLock()
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'keyExchangeAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'keyExchangeAlgorithmsLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:289:16: [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m287 |[0;0m static var transportProtectionSchemes = [NIOSSHTransportProtection.Type]()
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'keyExchangeAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'keyExchangeAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'keyExchangeAlgorithms' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:290:16: [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m288 |[0;0m static var keyExchangeAlgorithmsLock = NIOLock()
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithmsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'publicKeyAlgorithmsLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'publicKeyAlgorithmsLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:291:16: [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m289 |[0;0m static var keyExchangeAlgorithms = [NIOSSHKeyExchangeAlgorithmProtocol.Type]()
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'publicKeyAlgorithms' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'publicKeyAlgorithms' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'publicKeyAlgorithms' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
[0;36m293 |[0;0m static var signatures: [NIOSSHSignatureProtocol.Type] = []
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:292:16: [1;33mwarning: [1;39mstatic property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m290 |[0;0m static var publicKeyAlgorithmsLock = NIOLock()
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'signaturesLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'signaturesLock' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'signaturesLock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m293 |[0;0m static var signatures: [NIOSSHSignatureProtocol.Type] = []
[0;36m294 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/Keys And Signatures/NIOSSHPublicKey.swift:293:16: [1;33mwarning: [1;39mstatic property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m291 |[0;0m static var publicKeyAlgorithms: [NIOSSHPublicKeyProtocol.Type] = []
[0;36m292 |[0;0m static var signaturesLock = NIOLock()
[0;36m293 |[0;0m static var signatures: [NIOSSHSignatureProtocol.Type] = []
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'signatures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'signatures' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'signatures' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m294 |[0;0m }
[0;36m295 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:91:25: [1;33mwarning: [1;39mtype 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m89 |[0;0m switch self {
[0;36m90 |[0;0m case .tcpForwarding(let promise):
[0;36m91 |[0;0m promise.succeed(result.map(GlobalRequest.TCPForwardingResponse.init))
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'GlobalRequest.TCPForwardingResponse' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m92 |[0;0m case .unknown(let promise):
[0;36m93 |[0;0m promise.succeed(result?.buffer)
/host/spi-builder-workspace/Sources/NIOSSH/GlobalRequestDelegate.swift:52:19: [1;39mnote: [1;39mconsider making struct 'TCPForwardingResponse' conform to the 'Sendable' protocol[0;0m
[0;36m50 |[0;0m
[0;36m51 |[0;0m /// The data associated with a successful response to a TCP forwarding request.
[0;36m52 |[0;0m public struct TCPForwardingResponse: Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'TCPForwardingResponse' conform to the 'Sendable' protocol[0;0m
[0;36m53 |[0;0m /// If requested to listen on a port, and the port the client requested was 0, this is set to the
[0;36m54 |[0;0m /// port that was actually bound. Otherwise is nil.
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:29: [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m24 |[0;0m /// other usage models, including port forwarding. It is also able to construct somewhat
[0;36m25 |[0;0m /// arbitrary secure multiplexed channels.
[0;36m26 |[0;0m public final class NIOSSHHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'NIOSSHHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m27 |[0;0m internal var channel: Channel? {
[0;36m28 |[0;0m self.context.map { $0.channel }
[0;36m:[0;0m
[0;36m207 |[0;0m case .success(.some(let message)):
[0;36m208 |[0;0m do {
[0;36m209 |[0;0m try self.writeMessage(message, context: context)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m210 |[0;0m self.pendingWrite = false
[0;36m211 |[0;0m context.flush()
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:209:65: [1;33mwarning: [1;39mcapture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m207 |[0;0m case .success(.some(let message)):
[0;36m208 |[0;0m do {
[0;36m209 |[0;0m try self.writeMessage(message, context: context)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m210 |[0;0m self.pendingWrite = false
[0;36m211 |[0;0m context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1859:20: [1;39mnote: [1;39mclass 'ChannelHandlerContext' does not conform to the 'Sendable' protocol[0;0m
[0;36m1857 |[0;0m /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
[0;36m1858 |[0;0m /// `ChannelHandler`.
[0;36m1859 |[0;0m public final class ChannelHandlerContext: ChannelInvoker {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'ChannelHandlerContext' does not conform to the 'Sendable' protocol[0;0m
[0;36m1860 |[0;0m // visible for ChannelPipeline to modify
[0;36m1861 |[0;0m fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:25: [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m24 |[0;0m /// other usage models, including port forwarding. It is also able to construct somewhat
[0;36m25 |[0;0m /// arbitrary secure multiplexed channels.
[0;36m26 |[0;0m public final class NIOSSHHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'NIOSSHHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m27 |[0;0m internal var channel: Channel? {
[0;36m28 |[0;0m self.context.map { $0.channel }
[0;36m:[0;0m
[0;36m367 |[0;0m switch result {
[0;36m368 |[0;0m case .success(let tcpForwardingResponse):
[0;36m369 |[0;0m try self.writeMessage(.init(.requestSuccess(.init(.tcpForwarding(tcpForwardingResponse), allocator: context.channel.allocator))), context: context)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m370 |[0;0m context.flush()
[0;36m371 |[0;0m case .failure:
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:369:121: [1;33mwarning: [1;39mcapture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m367 |[0;0m switch result {
[0;36m368 |[0;0m case .success(let tcpForwardingResponse):
[0;36m369 |[0;0m try self.writeMessage(.init(.requestSuccess(.init(.tcpForwarding(tcpForwardingResponse), allocator: context.channel.allocator))), context: context)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m370 |[0;0m context.flush()
[0;36m371 |[0;0m case .failure:
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1859:20: [1;39mnote: [1;39mclass 'ChannelHandlerContext' does not conform to the 'Sendable' protocol[0;0m
[0;36m1857 |[0;0m /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
[0;36m1858 |[0;0m /// `ChannelHandler`.
[0;36m1859 |[0;0m public final class ChannelHandlerContext: ChannelInvoker {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'ChannelHandlerContext' does not conform to the 'Sendable' protocol[0;0m
[0;36m1860 |[0;0m // visible for ChannelPipeline to modify
[0;36m1861 |[0;0m fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:411:23: [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m24 |[0;0m /// other usage models, including port forwarding. It is also able to construct somewhat
[0;36m25 |[0;0m /// arbitrary secure multiplexed channels.
[0;36m26 |[0;0m public final class NIOSSHHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'NIOSSHHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m27 |[0;0m internal var channel: Channel? {
[0;36m28 |[0;0m self.context.map { $0.channel }
[0;36m:[0;0m
[0;36m409 |[0;0m switch result {
[0;36m410 |[0;0m case .success:
[0;36m411 |[0;0m guard self.context != nil else {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'NIOSSHHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m412 |[0;0m // This write succeeded, but we're out of the pipeline anyway. Fail the promise.
[0;36m413 |[0;0m 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>
/host/spi-builder-workspace/Sources/NIOSSHClient/main.swift:52:39: [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m50 |[0;0m let bootstrap = ClientBootstrap(group: group)
[0;36m51 |[0;0m .channelInitializer { channel in
[0;36m52 |[0;0m channel.pipeline.addHandlers([NIOSSHHandler(role: .client(.init(userAuthDelegate: InteractivePasswordPromptDelegate(username: parseResult.user, password: parseResult.password), serverAuthDelegate: AcceptAllHostKeysDelegate())), allocator: channel.allocator, inboundChildChannelInitializer: nil), ErrorHandler()])
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @available(*, unavailable)
[0;36m81 |[0;0m extension NIOSSHHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m extension NIOSSHHandler {
[811 / 831] NIOSSHClient-product
/host/spi-builder-workspace/Sources/NIOSSHServer/main.swift:79:39: [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m77 |[0;0m let bootstrap = ServerBootstrap(group: group)
[0;36m78 |[0;0m .childChannelInitializer { channel in
[0;36m79 |[0;0m channel.pipeline.addHandlers([NIOSSHHandler(role: .server(.init(hostKeys: [hostKey], userAuthDelegate: HardcodedPasswordDelegate(), globalRequestDelegate: RemotePortForwarderGlobalRequestDelegate())), allocator: channel.allocator, inboundChildChannelInitializer: sshChildChannelInitializer(_:_:)), ErrorHandler()])
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m80 |[0;0m }
[0;36m81 |[0;0m .serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @available(*, unavailable)
[0;36m81 |[0;0m extension NIOSSHHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m extension NIOSSHHandler {
[815 / 832] NIOSSHClient-product
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkHandshake.swift:38:48: [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m36 |[0;0m b2b.server.connect(to: try .init(unixDomainSocketPath: "/foo"), promise: nil)
[0;36m37 |[0;0m
[0;36m38 |[0;0m try b2b.client.pipeline.addHandler(NIOSSHHandler(role: self.clientRole, allocator: b2b.client.allocator, inboundChildChannelInitializer: nil)).wait()
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m39 |[0;0m try b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
[0;36m40 |[0;0m try b2b.interactInMemory()
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @available(*, unavailable)
[0;36m81 |[0;0m extension NIOSSHHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m extension NIOSSHHandler {
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkHandshake.swift:39:48: [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m37 |[0;0m
[0;36m38 |[0;0m try b2b.client.pipeline.addHandler(NIOSSHHandler(role: self.clientRole, allocator: b2b.client.allocator, inboundChildChannelInitializer: nil)).wait()
[0;36m39 |[0;0m try b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m40 |[0;0m try b2b.interactInMemory()
[0;36m41 |[0;0m }
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @available(*, unavailable)
[0;36m81 |[0;0m extension NIOSSHHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m extension NIOSSHHandler {
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkLinearThroughput.swift:39:49: [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m37 |[0;0m let clientHandler = NIOSSHHandler(role: self.clientRole, allocator: self.b2b.client.allocator, inboundChildChannelInitializer: nil)
[0;36m38 |[0;0m
[0;36m39 |[0;0m try self.b2b.client.pipeline.addHandler(clientHandler).wait()
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m40 |[0;0m try self.b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: self.b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
[0;36m41 |[0;0m try self.b2b.interactInMemory()
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @available(*, unavailable)
[0;36m81 |[0;0m extension NIOSSHHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m extension NIOSSHHandler {
/host/spi-builder-workspace/Sources/NIOSSHPerformanceTester/BenchmarkLinearThroughput.swift:40:49: [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m try self.b2b.client.pipeline.addHandler(clientHandler).wait()
[0;36m40 |[0;0m try self.b2b.server.pipeline.addHandler(NIOSSHHandler(role: self.serverRole, allocator: self.b2b.server.allocator, inboundChildChannelInitializer: nil)).wait()
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m41 |[0;0m try self.b2b.interactInMemory()
[0;36m42 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSH/NIOSSHHandler.swift:81:1: [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @available(*, unavailable)
[0;36m81 |[0;0m extension NIOSSHHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSHHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m extension NIOSSHHandler {
[823 / 833] NIOSSHClient-product
/host/spi-builder-workspace/Sources/NIOSSH/Connection State Machine/SSHConnectionStateMachine.swift:72:16: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m70 |[0;0m var username: String? { attributes.username }
[0;36m71 |[0;0m
[0;36m72 |[0;0m static let bundledTransportProtectionSchemes: [NIOSSHTransportProtection.Type] = [
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'bundledTransportProtectionSchemes' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m73 |[0;0m AES256GCMOpenSSHTransportProtection.self, AES128GCMOpenSSHTransportProtection.self,
[0;36m74 |[0;0m ]
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[824 / 833] NIOSSHPerformanceTester-product
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: [1;33mwarning: [1;39m'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m49 |[0;0m bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
[0;36m50 |[0;0m channel.pipeline.addHandler(theirs)
[0;36m51 |[0;0m }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'takingOwnershipOfDescriptors(input:output:)' instead[0;0m
[0;36m52 |[0;0m switch result {
[0;36m53 |[0;0m case .success:
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:50:49: [1;33mwarning: [1;39mcapture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m48 |[0;0m DispatchQueue(label: "pipe bootstrap").async {
[0;36m49 |[0;0m bootstrap.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true).channelInitializer { channel in
[0;36m50 |[0;0m channel.pipeline.addHandler(theirs)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'theirs' with non-Sendable type 'GlueHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m51 |[0;0m }.withPipes(inputDescriptor: 0, outputDescriptor: 1).whenComplete { result in
[0;36m52 |[0;0m switch result {
/host/spi-builder-workspace/Sources/NIOSSHClient/GlueHandler.swift:17:13: [1;39mnote: [1;39mclass 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m15 |[0;0m import NIOCore
[0;36m16 |[0;0m
[0;36m17 |[0;0m final class GlueHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'GlueHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m18 |[0;0m private var partner: GlueHandler?
[0;36m19 |[0;0m
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:55:87: [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'ExampleExecHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m18 |[0;0m import NIOSSH
[0;36m19 |[0;0m
[0;36m20 |[0;0m final class ExampleExecHandler: ChannelDuplexHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'ExampleExecHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m21 |[0;0m typealias InboundIn = SSHChannelData
[0;36m22 |[0;0m typealias InboundOut = ByteBuffer
[0;36m:[0;0m
[0;36m53 |[0;0m case .success:
[0;36m54 |[0;0m // We need to exec a thing.
[0;36m55 |[0;0m let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'ExampleExecHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m56 |[0;0m context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
[0;36m57 |[0;0m context.close(promise: nil)
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:56:25: [1;33mwarning: [1;39mcapture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m54 |[0;0m // We need to exec a thing.
[0;36m55 |[0;0m let execRequest = SSHChannelRequestEvent.ExecRequest(command: self.command, wantReply: false)
[0;36m56 |[0;0m context.triggerUserOutboundEvent(execRequest).whenFailure { _ in
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'context' with non-Sendable type 'ChannelHandlerContext' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m57 |[0;0m context.close(promise: nil)
[0;36m58 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1859:20: [1;39mnote: [1;39mclass 'ChannelHandlerContext' does not conform to the 'Sendable' protocol[0;0m
[0;36m1857 |[0;0m /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
[0;36m1858 |[0;0m /// `ChannelHandler`.
[0;36m1859 |[0;0m public final class ChannelHandlerContext: ChannelInvoker {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'ChannelHandlerContext' does not conform to the 'Sendable' protocol[0;0m
[0;36m1860 |[0;0m // visible for ChannelPipeline to modify
[0;36m1861 |[0;0m fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/NIOSSHClient/ExecHandler.swift:103:37: [1;31merror: [1;39mvalue of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'[0;0m
[0;36m101 |[0;0m // We just write to stderr directly, pipe channel can't help us here.
[0;36m102 |[0;0m bytes.withUnsafeReadableBytes { str in
[0;36m103 |[0;0m let rc = fwrite(str.baseAddress, 1, str.count, stderr)
[0;36m|[0;0m |- [1;31merror: [1;39mvalue of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39mcoalesce using '??' to provide a default when the optional value contains 'nil'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mforce-unwrap using '!' to abort execution if the optional value contains 'nil'[0;0m
[0;36m104 |[0;0m precondition(rc == str.count)
[0;36m105 |[0;0m }
[#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
error: Build failed
BUILD FAILURE 6.4 android