Build Information
Successful build of mqtt-nio, reference 2.8.1 (ad1f0b), with Swift 6.4 for Linux on 18 Sep 2026 23:16:40 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sroebert/mqtt-nio.git
Reference: 2.8.1
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/sroebert/mqtt-nio
* tag 2.8.1 -> FETCH_HEAD
HEAD is now at ad1f0bc Merge pull request #14 from jasoncodes/websocket-ping
Cloned https://github.com/sroebert/mqtt-nio.git
Revision (git rev-parse @):
ad1f0bc339a6df89a28b419cdd452b0df584423d
SUCCESS checkout https://github.com/sroebert/mqtt-nio.git at 2.8.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/sroebert/mqtt-nio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2863] Fetching swift-nio-transport-services
[202/10959] Fetching swift-nio-transport-services, swift-log
[4727/27024] Fetching swift-nio-transport-services, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (0.45s)
[3483/24161] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (0.52s)
[1286/16065] Fetching swift-nio-ssl
[16066/102138] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.02s)
[5165/86073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.83s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (3.04s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/6898] Fetching swift-system
[6899/34218] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.64s)
[274/27320] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 960]
[Planning deferred tasks]
[Starting]
[128 / 723] CNIOPosix
[188 / 759] InternalCollectionsUtilities
[189 / 759] _NIOBase64
[206 / 759] InternalCollectionsUtilities
[217 / 759] NIOConcurrencyHelpers-product
[222 / 760] _NIOBase64
[225 / 760] Logging-product
[226 / 760] Logging
[231 / 760] InternalCollectionsUtilities
[234 / 761] _NIODataStructures
[239 / 761]
[250 / 772] CNIOSHA1
[256 / 772] CNIOLLHTTP
[264 / 773] CNIOBoringSSL
[266 / 773] CNIOLLHTTP
[269 / 773] CNIOBoringSSL
[274 / 774] CNIOBoringSSL
[275 / 774] CNIOBoringSSL
[282 / 774] CNIOBoringSSL
[287 / 774] CNIOBoringSSL
[288 / 774] Atomics
[297 / 774] CNIOBoringSSL
[301 / 774] CNIOBoringSSL
[302 / 774] CNIOBoringSSL
[308 / 774] CNIOBoringSSL
[316 / 774] CNIOBoringSSL
[320 / 774] CNIOBoringSSL
[323 / 774] CNIOBoringSSL
[324 / 774] CNIOBoringSSL
[328 / 774] CNIOBoringSSL
[331 / 774] CNIOBoringSSL
[333 / 774] CNIOBoringSSL
[335 / 774] CNIOBoringSSL
[336 / 774] CNIOBoringSSL
[339 / 774] CNIOBoringSSL
[342 / 774] CNIOBoringSSL
[345 / 774] CNIOBoringSSL
[346 / 774] CNIOBoringSSL
[350 / 774] CNIOBoringSSL
[352 / 774] CNIOBoringSSL
[354 / 774] CNIOBoringSSL
[356 / 774] CNIOBoringSSL
[358 / 774] CNIOBoringSSL
[359 / 774] CNIOBoringSSL
[365 / 774] CNIOBoringSSL
[367 / 774] CNIOBoringSSL
[369 / 774] CNIOBoringSSL
[374 / 774] CNIOBoringSSL
[375 / 774] CNIOBoringSSL
[377 / 774] CNIOBoringSSL
[378 / 774] CNIOBoringSSL
[380 / 774] CNIOBoringSSL
[382 / 774] CNIOBoringSSL
[384 / 774] CNIOBoringSSL
[386 / 774] CNIOBoringSSL
[389 / 774] CNIOBoringSSL
[392 / 774] CNIOBoringSSL
[406 / 774] CNIOBoringSSL
[420 / 774] CNIOBoringSSL
[426 / 774] CNIOBoringSSL
[428 / 774] CNIOBoringSSL
[432 / 774] CNIOBoringSSL
[434 / 774] CNIOBoringSSL
[438 / 774] CNIOBoringSSL
[439 / 774] CNIOBoringSSL
[443 / 774] CNIOBoringSSL
[447 / 774] CNIOBoringSSL
[449 / 774] CNIOBoringSSL
[451 / 774] CNIOBoringSSL
[453 / 774] CNIOBoringSSL
[456 / 774] CNIOBoringSSL
[460 / 774] CNIOBoringSSL
[462 / 774] CNIOBoringSSL
[467 / 774] CNIOBoringSSL
[469 / 774] CNIOBoringSSL
[474 / 774] CNIOBoringSSL
[486 / 774] CNIOBoringSSL
[487 / 774] CNIOBoringSSL
[495 / 774] CNIOBoringSSL
[497 / 774] CNIOBoringSSL
[501 / 774] CNIOBoringSSL
[504 / 774] CNIOBoringSSL
[506 / 774] CNIOBoringSSL
[515 / 774] CNIOBoringSSL
[525 / 774] CNIOBoringSSL
[533 / 774] CNIOBoringSSL
[535 / 774] CNIOBoringSSL
[539 / 774] CNIOBoringSSL
[543 / 774] CNIOBoringSSL
[544 / 774] CNIOBoringSSL
[548 / 774] CNIOBoringSSL
[550 / 774] CNIOBoringSSL
[556 / 774] CNIOBoringSSL
[559 / 774] CNIOBoringSSL
[561 / 774] CNIOBoringSSL
[564 / 774] CNIOBoringSSL
[567 / 774] CNIOBoringSSL
[571 / 774] CNIOBoringSSL
[573 / 774] CNIOBoringSSL
[574 / 774] CNIOBoringSSL
[576 / 774] CNIOBoringSSL
[581 / 774] CNIOBoringSSL
[583 / 774] CNIOBoringSSL
[590 / 774] CNIOBoringSSL
[601 / 774] CNIOBoringSSL
[608 / 774] CNIOBoringSSL
[614 / 774] CNIOBoringSSL
[616 / 774] CNIOBoringSSL
[620 / 774] CNIOBoringSSL
[622 / 774] CNIOBoringSSL
[626 / 774] CNIOBoringSSL
[635 / 774] CNIOBoringSSL
[644 / 774] CNIOBoringSSL
[652 / 774] CNIOBoringSSL
[653 / 774] CNIOBoringSSL
[654 / 774] CNIOBoringSSL
[659 / 774] CNIOBoringSSL
[662 / 774] CNIOBoringSSL
[668 / 774] CNIOBoringSSL
[677 / 774] CNIOBoringSSL
[680 / 774] Atomics
[682 / 774] Atomics-product
[686 / 784] ContainersPreview
[690 / 784] ContainersPreview
[699 / 785] CNIOAtomics
[708 / 795] CNIOBoringSSL
[711 / 795] DequeModule
[712 / 795] ContainersPreview
[715 / 795] DequeModule
[715 / 795] Atomics
[718 / 796] DequeModule
[718 / 797] DequeModule
[736 / 807] NIOCore
[751 / 822] NIOPosix
[752 / 822] NIOEmbedded
[753 / 822] NIOEmbedded
[759 / 822] NIOPosix
[760 / 823] NIOPosix
[761 / 824] NIOPosix
[762 / 824] NIOEmbedded
[766 / 824] NIOCore
[767 / 824] NIOPosix
[775 / 827] NIO
[787 / 845] NIOHTTP1
[790 / 845] NIOTLS
[791 / 845] NIOTLS
[795 / 845] NIOTLS
[796 / 845] NIOTLS-product
[798 / 846] NIOTransportServices
[802 / 846] NIOHTTP1
[803 / 846] NIOHTTP1
[804 / 846] NIOPosix
[809 / 846] NIOHTTP1
[814 / 858] NIOWebSocket
[821 / 876] NIOWebSocket
[826 / 876] NIOTransportServices
[828 / 877] NIOWebSocket
[833 / 877] NIOWebSocket
[841 / 877] NIOWebSocket-product
[846 / 877] NIOSSL
[848 / 878] NIOTransportServices
[853 / 880] NIOWebSocket
[855 / 880] NIOSSL
[864 / 880] NIOSSL
[871 / 881] NIOWebSocket
[871 / 881] NIOSSL
[877 / 890] MQTTNIO
[880 / 891] NIOSSL
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:51:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m49 |[0;0m
[0;36m50 |[0;0m /// `Lock` for making sure this class is thread safe.
[0;36m51 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m52 |[0;0m
[0;36m53 |[0;0m /// The connection with the broker.
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:165:62: [1;33mwarning: [1;39m'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m163 |[0;0m public init(
[0;36m164 |[0;0m configuration: MQTTConfiguration,
[0;36m165 |[0;0m eventLoopGroupProvider: NIOEventLoopGroupProvider = .createNew,
[0;36m|[0;0m `- [1;33mwarning: [1;39m'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m166 |[0;0m logger: Logger = .init(label: "nl.roebert.MQTTNIO")
[0;36m167 |[0;0m ) {
/host/spi-builder-workspace/Sources/MQTTNIO/Messages/MQTTUserProperty.swift:16:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
[0;36m16 |[0;0m extension Array: ExpressibleByDictionaryLiteral where Element == MQTTUserProperty {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m17 |[0;0m public init(dictionaryLiteral elements: (String, String)...) {
[0;36m18 |[0;0m self = elements.map {
/host/spi-builder-workspace/Sources/MQTTNIO/Request/MQTTRequestHandler.swift:26:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m24 |[0;0m var maxInflightEntries = MQTTRequestHandler.defaultMaxInflightEntries
[0;36m25 |[0;0m
[0;36m26 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m private var entriesInflight: [AnyEntry] = []
/host/spi-builder-workspace/Sources/MQTTNIO/Utilities/CallbackList.swift:28:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m26 |[0;0m
[0;36m27 |[0;0m private var callbackEntries: [Entry] = []
[0;36m28 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m // MARK: - Callbacks
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[888 / 891] MQTTNIO
/host/spi-builder-workspace/Sources/MQTTNIO/Connection/MQTTConnection.swift:325:13: [1;33mwarning: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m323 |[0;0m return channel.pipeline.addHandlers([
[0;36m324 |[0;0m // Decoding
[0;36m325 |[0;0m ByteToMessageHandler(MQTTPacketDecoder(logger: logger)),
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m326 |[0;0m MQTTPacketTypeParser(
[0;36m327 |[0;0m version: configuration.protocolVersion,
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: [1;39mnote: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m505 |[0;0m
[0;36m506 |[0;0m @available(*, unavailable)
[0;36m507 |[0;0m extension ByteToMessageHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m508 |[0;0m
[0;36m509 |[0;0m // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/MQTTNIO/Connection/MQTTConnection.swift:332:13: [1;33mwarning: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m330 |[0;0m
[0;36m331 |[0;0m // Encoding
[0;36m332 |[0;0m MessageToByteHandler(MQTTPacketEncoder(logger: logger)),
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m333 |[0;0m MQTTPacketTypeSerializer(
[0;36m334 |[0;0m version: configuration.protocolVersion,
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: [1;39mnote: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m808 |[0;0m
[0;36m809 |[0;0m @available(*, unavailable)
[0;36m810 |[0;0m extension MessageToByteHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m811 |[0;0m
[0;36m812 |[0;0m extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/MQTTNIO/Request/MQTTRequestHandler.swift:26:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m24 |[0;0m var maxInflightEntries = MQTTRequestHandler.defaultMaxInflightEntries
[0;36m25 |[0;0m
[0;36m26 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m private var entriesInflight: [AnyEntry] = []
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MQTTNIO/Request/MQTTRequestHandler.swift:26:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m24 |[0;0m var maxInflightEntries = MQTTRequestHandler.defaultMaxInflightEntries
[0;36m25 |[0;0m
[0;36m26 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m private var entriesInflight: [AnyEntry] = []
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MQTTNIO/Request/MQTTRequestHandler.swift:26:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m24 |[0;0m var maxInflightEntries = MQTTRequestHandler.defaultMaxInflightEntries
[0;36m25 |[0;0m
[0;36m26 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m private var entriesInflight: [AnyEntry] = []
/host/spi-builder-workspace/Sources/MQTTNIO/Request/MQTTRequestHandler.swift:58:27: [1;33mwarning: [1;39m'context(handler:)' is deprecated: This method is not strict concurrency safe. Prefer .syncOperations.context(handler:)[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m56 |[0;0m }
[0;36m57 |[0;0m
[0;36m58 |[0;0m channel?.pipeline.context(handler: self).whenSuccess { [weak self] context in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'context(handler:)' is deprecated: This method is not strict concurrency safe. Prefer .syncOperations.context(handler:)[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m59 |[0;0m guard let strongSelf = self else {
[0;36m60 |[0;0m return
/host/spi-builder-workspace/Sources/MQTTNIO/Request/MQTTRequestHandler.swift:207:27: [1;33mwarning: [1;39m'context(handler:)' is deprecated: This method is not strict concurrency safe. Prefer .syncOperations.context(handler:)[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m205 |[0;0m
[0;36m206 |[0;0m fileprivate func triggerRequestEvent(_ event: MQTTSendable, in eventLoop: EventLoop) {
[0;36m207 |[0;0m channel?.pipeline.context(handler: self).whenSuccess { [weak self] context in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'context(handler:)' is deprecated: This method is not strict concurrency safe. Prefer .syncOperations.context(handler:)[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m208 |[0;0m guard let strongSelf = self else {
[0;36m209 |[0;0m return
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:51:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m49 |[0;0m
[0;36m50 |[0;0m /// `Lock` for making sure this class is thread safe.
[0;36m51 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m52 |[0;0m
[0;36m53 |[0;0m /// The connection with the broker.
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:165:62: [1;33mwarning: [1;39m'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m163 |[0;0m public init(
[0;36m164 |[0;0m configuration: MQTTConfiguration,
[0;36m165 |[0;0m eventLoopGroupProvider: NIOEventLoopGroupProvider = .createNew,
[0;36m|[0;0m `- [1;33mwarning: [1;39m'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m166 |[0;0m logger: Logger = .init(label: "nl.roebert.MQTTNIO")
[0;36m167 |[0;0m ) {
/host/spi-builder-workspace/Sources/MQTTNIO/Request/MQTTRequestHandler.swift:26:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m24 |[0;0m var maxInflightEntries = MQTTRequestHandler.defaultMaxInflightEntries
[0;36m25 |[0;0m
[0;36m26 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m private var entriesInflight: [AnyEntry] = []
/host/spi-builder-workspace/Sources/MQTTNIO/Utilities/CallbackList.swift:28:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m26 |[0;0m
[0;36m27 |[0;0m private var callbackEntries: [Entry] = []
[0;36m28 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m // MARK: - Callbacks
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MQTTNIO/Messages/MQTTUserProperty.swift:16:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
[0;36m16 |[0;0m extension Array: ExpressibleByDictionaryLiteral where Element == MQTTUserProperty {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m17 |[0;0m public init(dictionaryLiteral elements: (String, String)...) {
[0;36m18 |[0;0m self = elements.map {
/host/spi-builder-workspace/Sources/MQTTNIO/Utilities/CallbackList.swift:28:24: [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m26 |[0;0m
[0;36m27 |[0;0m private var callbackEntries: [Entry] = []
[0;36m28 |[0;0m private let lock = Lock()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'Lock' is deprecated: renamed to 'NIOLock'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'NIOLock' instead[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m // MARK: - Callbacks
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MQTTNIO/Packet/Properties/MQTTProperty.swift:170:21: [1;33mwarning: [1;39mcapture of 'format' with non-Sendable type 'PropertyValue.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m168 |[0;0m return []
[0;36m169 |[0;0m }
[0;36m170 |[0;0m return [format.init(value)]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'format' with non-Sendable type 'PropertyValue.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m171 |[0;0m } decode: {
[0;36m172 |[0;0m Int($0)
/host/spi-builder-workspace/Sources/MQTTNIO/Packet/Properties/MQTTProperty.swift:222:21: [1;33mwarning: [1;39mcapture of 'format' with non-Sendable type 'PropertyValue.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m220 |[0;0m return []
[0;36m221 |[0;0m }
[0;36m222 |[0;0m return [format.init(value.seconds)]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'format' with non-Sendable type 'PropertyValue.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m223 |[0;0m } decode: {
[0;36m224 |[0;0m .seconds(Int64($0))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[889 / 892] MQTTNIO
Build complete! (43.07 secs)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.41.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.22.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.13.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "mqtt-nio",
"name" : "mqtt-nio",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MQTTNIO",
"targets" : [
"MQTTNIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MQTTNIOTests",
"module_type" : "SwiftTarget",
"name" : "MQTTNIOTests",
"path" : "Tests/MQTTNIOTests",
"product_dependencies" : [
"NIOTestUtils"
],
"sources" : [
"Core/MQTTNIOTestCase.swift",
"Core/TestUtils.swift",
"Tests/AuthenticationTests.swift",
"Tests/ConfigurationTests.swift",
"Tests/ConnectTests.swift",
"Tests/MQTT5Tests.swift",
"Tests/PublishTests.swift",
"Tests/SizeTests.swift",
"Tests/TopicTests.swift"
],
"target_dependencies" : [
"MQTTNIO"
],
"type" : "test"
},
{
"c99name" : "MQTTNIO",
"module_type" : "SwiftTarget",
"name" : "MQTTNIO",
"path" : "Sources/MQTTNIO",
"product_dependencies" : [
"Logging",
"NIO",
"NIOHTTP1",
"NIOWebSocket",
"NIOSSL",
"NIOTransportServices"
],
"product_memberships" : [
"MQTTNIO"
],
"sources" : [
"Connection/MQTTConnectResponse.swift",
"Connection/MQTTConnection.swift",
"Connection/MQTTConnectionEvent.swift",
"Connection/MQTTDisconnectReason.swift",
"Errors/MQTTConnectionError.swift",
"Errors/MQTTProtocolError.swift",
"Errors/MQTTPublishError.swift",
"Errors/MQTTSubscribeError.swift",
"Errors/MQTTUnsubscribeError.swift",
"Errors/MQTTValueError.swift",
"Errors/MQTTWebSocketError.swift",
"Handlers/MQTTErrorHandler.swift",
"Handlers/MQTTFallbackPacketHandler.swift",
"Handlers/MQTTKeepAliveHandler.swift",
"Handlers/MQTTSubscriptionsHandler.swift",
"Handlers/WebSocketHandler.swift",
"Handlers/WebSocketInitialRequestHandler.swift",
"MQTT+Sendable.swift",
"MQTTAuthenticationHandler.swift",
"MQTTCancellable.swift",
"MQTTClient+Concurrency.swift",
"MQTTClient.swift",
"MQTTConfiguration.swift",
"MQTTProtocolVersion.swift",
"Messages/MQTTAcknowledgementHandler.swift",
"Messages/MQTTMessage+Properties.swift",
"Messages/MQTTMessage.swift",
"Messages/MQTTPayload.swift",
"Messages/MQTTQoS.swift",
"Messages/MQTTSubscription.swift",
"Messages/MQTTUnsubscribeResponse.swift",
"Messages/MQTTUserProperty.swift",
"Messages/MQTTWillMessage+Properties.swift",
"Messages/MQTTWillMessage.swift",
"Packet/DataTypes/MQTTReasonCode.swift",
"Packet/DataTypes/MQTTStringPair.swift",
"Packet/DataTypes/MQTTVariableByteInteger.swift",
"Packet/MQTTPacket+Kind.swift",
"Packet/MQTTPacket.swift",
"Packet/MQTTPacketDecoder.swift",
"Packet/MQTTPacketEncoder.swift",
"Packet/MQTTPacketType.swift",
"Packet/MQTTPacketTypeParser.swift",
"Packet/MQTTPacketTypeSerializer.swift",
"Packet/Properties/MQTTProperties.swift",
"Packet/Properties/MQTTProperty.swift",
"Packet/Properties/MQTTPropertyValue.swift",
"Packet/Types/MQTTPacket+Acknowledgement.swift",
"Packet/Types/MQTTPacket+Auth.swift",
"Packet/Types/MQTTPacket+ConnAck.swift",
"Packet/Types/MQTTPacket+Connect.swift",
"Packet/Types/MQTTPacket+Disconnect.swift",
"Packet/Types/MQTTPacket+Ping.swift",
"Packet/Types/MQTTPacket+Publish.swift",
"Packet/Types/MQTTPacket+SubAck.swift",
"Packet/Types/MQTTPacket+Subscribe.swift",
"Packet/Types/MQTTPacket+UnsubAck.swift",
"Packet/Types/MQTTPacket+Unsubscribe.swift",
"Request/MQTTRequest.swift",
"Request/MQTTRequestHandler.swift",
"Request/Types/MQTTConnectRequest.swift",
"Request/Types/MQTTDisconnectRequest.swift",
"Request/Types/MQTTPingRequest.swift",
"Request/Types/MQTTPublishRequest.swift",
"Request/Types/MQTTReAuthenticateRequest.swift",
"Request/Types/MQTTSubscribeRequest.swift",
"Request/Types/MQTTUnsubscribeRequest.swift",
"TSTSLConfiguration.swift",
"Utilities/ByteBuffer+Extensions.swift",
"Utilities/CallbackList.swift",
"Utilities/Collection+Extensions.swift",
"Utilities/String+Extensions.swift",
"Utilities/TimeAmount+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.