Build Information
Successful build of mqtt-nio, reference main (493ca8
), with Swift 6.1 for Linux on 13 May 2025 14:45:30 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server-community/mqtt-nio.git
Reference: main
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/swift-server-community/mqtt-nio
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 493ca8b End publish listener on connection close if clean session is set to true (#171)
Cloned https://github.com/swift-server-community/mqtt-nio.git
Revision (git rev-parse @):
493ca8bae5b3e93f9246a1a182a87efe25b5e6ba
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server-community/mqtt-nio.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-server-community/mqtt-nio.git
https://github.com/swift-server-community/mqtt-nio.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.80.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.14.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.20.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "mqtt-nio",
"name" : "mqtt-nio",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "MQTTNIO",
"targets" : [
"MQTTNIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MQTTNIOTests",
"module_type" : "SwiftTarget",
"name" : "MQTTNIOTests",
"path" : "Tests/MQTTNIOTests",
"sources" : [
"CoreMQTTTests.swift",
"MQTTNIOTests+async.swift",
"MQTTNIOTests.swift",
"MQTTNIOv5Tests.swift"
],
"target_dependencies" : [
"MQTTNIO"
],
"type" : "test"
},
{
"c99name" : "MQTTNIO",
"module_type" : "SwiftTarget",
"name" : "MQTTNIO",
"path" : "Sources/MQTTNIO",
"product_dependencies" : [
"Atomics",
"Logging",
"NIO",
"NIOConcurrencyHelpers",
"NIOHTTP1",
"NIOWebSocket",
"NIOSSL",
"NIOTransportServices"
],
"product_memberships" : [
"MQTTNIO"
],
"sources" : [
"AsyncAwaitSupport/MQTTClient+async.swift",
"AsyncAwaitSupport/MQTTClientV5+async.swift",
"AsyncAwaitSupport/Sendable.swift",
"ChannelHandlers/MQTTMessageDecoder.swift",
"ChannelHandlers/MQTTMessageHandler.swift",
"ChannelHandlers/MQTTTaskHandler.swift",
"ChannelHandlers/PingreqHandler.swift",
"ChannelHandlers/WebSocketHandler.swift",
"ChannelHandlers/WebSocketInitialRequest.swift",
"MQTTClient.swift",
"MQTTClientV5.swift",
"MQTTConfiguration.swift",
"MQTTConnection.swift",
"MQTTCoreTypes.swift",
"MQTTCoreTypesV5.swift",
"MQTTError.swift",
"MQTTInflight.swift",
"MQTTListeners.swift",
"MQTTPacket.swift",
"MQTTProperties.swift",
"MQTTReason.swift",
"MQTTSerializer.swift",
"MQTTTask.swift",
"TSTLSConfiguration.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2662] Fetching swift-nio-transport-services
[2663/4372] Fetching swift-nio-transport-services, swift-atomics
[3194/6421] Fetching swift-nio-transport-services, swift-atomics, swift-docc-plugin
[3420/10257] Fetching swift-nio-transport-services, swift-atomics, swift-docc-plugin, swift-log
[9377/25093] Fetching swift-nio-transport-services, swift-atomics, swift-docc-plugin, swift-log, swift-nio-ssl
[11742/100995] Fetching swift-nio-transport-services, swift-atomics, swift-docc-plugin, swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.53s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.53s)
[8994/96284] Fetching swift-atomics, swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.77s)
[58678/81448] Fetching swift-atomics, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (4.85s)
Fetched https://github.com/apple/swift-atomics.git from cache (4.85s)
Fetched https://github.com/apple/swift-nio.git from cache (4.95s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (5.82s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4367] Fetching swift-system
[4368/20751] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
[2950/16384] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.78s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3381] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.94s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.93s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
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.24.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.4.2
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.31.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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.1.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/434] Write sources
[15/434] Compiling CNIOLLHTTP c_nio_http.c
[16/434] Write sources
[20/434] Compiling CNIOSHA1 c_nio_sha1.c
[21/434] Compiling CNIOWindows shim.c
[22/434] Compiling sha512-armv8-apple.S
[23/434] Compiling sha512-armv4-linux.S
[24/434] Compiling CNIOWindows WSAStartup.c
[25/434] Compiling CNIOWASI CNIOWASI.c
[26/434] Compiling CNIOLLHTTP c_nio_api.c
[26/434] Compiling CNIOLinux liburing_shims.c
[28/434] Compiling CNIODarwin shim.c
[29/434] Compiling fiat_p256_adx_mul.S
[30/434] Compiling fiat_p256_adx_sqr.S
[31/434] Compiling fiat_curve25519_adx_square.S
[32/434] Compiling CNIOLinux shim.c
[33/434] Compiling fiat_curve25519_adx_mul.S
[34/434] Compiling _AtomicsShims.c
[35/434] Write swift-version-24593BA9C3E375BF.txt
[36/434] Compiling CNIOLLHTTP c_nio_llhttp.c
[37/434] Compiling CNIOBoringSSLShims shims.c
[38/440] Compiling tls_method.cc
[39/440] Compiling tls13_client.cc
[40/440] Compiling tls13_server.cc
[41/440] Compiling tls13_enc.cc
[42/450] Compiling tls13_both.cc
[43/462] Compiling tls_record.cc
[44/462] Compiling t1_enc.cc
[45/462] Compiling ssl_transcript.cc
[46/462] Compiling ssl_versions.cc
[47/462] Compiling ssl_x509.cc
[49/462] Compiling InternalCollectionsUtilities UInt+reversed.swift
[50/462] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[51/464] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[52/464] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[53/464] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[54/464] Compiling InternalCollectionsUtilities Integer rank.swift
[55/464] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[56/464] Compiling InternalCollectionsUtilities _SortedCollection.swift
[57/464] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[58/464] Compiling _NIODataStructures _TinyArray.swift
[59/464] Compiling _NIODataStructures PriorityQueue.swift
[60/464] Compiling InternalCollectionsUtilities Debugging.swift
[61/464] Compiling InternalCollectionsUtilities Descriptions.swift
[62/464] Emitting module InternalCollectionsUtilities
[63/464] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[64/464] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[65/464] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[66/464] Compiling _NIOBase64 Base64.swift
[67/464] Emitting module _NIOBase64
[68/465] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[69/465] Compiling InternalCollectionsUtilities Specialize.swift
[71/465] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[72/465] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[72/466] Compiling ssl_stat.cc
[75/481] Compiling Logging MetadataProvider.swift
[76/481] Compiling _NIODataStructures Heap.swift
[77/481] Emitting module _NIODataStructures
[78/481] Emitting module Logging
[79/481] Compiling Logging Locks.swift
[80/482] Compiling DequeModule _DequeBuffer.swift
[81/482] Compiling DequeModule _DequeBufferHeader.swift
[82/484] Compiling Logging LogHandler.swift
[83/484] Compiling Logging Logging.swift
[84/485] Compiling DequeModule Deque+Equatable.swift
[85/485] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[86/485] Compiling DequeModule Deque+CustomReflectable.swift
[87/485] Compiling DequeModule Deque+Descriptions.swift
[89/485] Compiling ssl_session.cc
[90/485] Compiling ssl_privkey.cc
[92/485] Compiling DequeModule Deque+Extras.swift
[93/485] Compiling DequeModule Deque+Hashable.swift
[94/485] Compiling DequeModule Deque+Testing.swift
[95/485] Compiling DequeModule Deque._Storage.swift
[96/485] Compiling DequeModule Deque._UnsafeHandle.swift
[97/485] Compiling DequeModule Deque.swift
[98/485] Compiling DequeModule Deque+Codable.swift
[99/485] Compiling DequeModule Deque+Collection.swift
[100/485] Compiling DequeModule _DequeSlot.swift
[101/485] Compiling DequeModule _UnsafeWrappedBuffer.swift
[101/485] Compiling ssl_lib.cc
[103/485] Emitting module DequeModule
[103/486] Compiling ssl_key_share.cc
[105/486] Compiling ssl_file.cc
[106/486] Compiling ssl_buffer.cc
[107/486] Compiling ssl_cert.cc
[108/486] Compiling ssl_credential.cc
[109/486] Compiling ssl_cipher.cc
[110/486] Compiling ssl_aead_ctx.cc
[111/486] Compiling ssl_asn1.cc
[112/486] Compiling s3_pkt.cc
[113/486] Compiling s3_lib.cc
[114/486] Compiling s3_both.cc
[115/486] Compiling handshake_server.cc
[116/486] Compiling handshake.cc
[117/486] Compiling handshake_client.cc
[118/486] Compiling handoff.cc
[119/486] Compiling encrypted_client_hello.cc
[120/486] Compiling dtls_record.cc
[121/486] Compiling md5-x86_64-linux.S
[122/486] Compiling md5-x86_64-apple.S
[123/486] Compiling md5-586-linux.S
[124/486] Compiling md5-586-apple.S
[125/486] Compiling d1_srtp.cc
[126/486] Compiling extensions.cc
[127/486] Compiling dtls_method.cc
[128/486] Compiling chacha20_poly1305_x86_64-linux.S
[129/486] Compiling err_data.cc
[130/486] Compiling d1_pkt.cc
[131/486] Compiling chacha20_poly1305_armv8-linux.S
[132/486] Compiling chacha20_poly1305_armv8-win.S
[133/486] Compiling chacha20_poly1305_armv8-apple.S
[133/486] Compiling chacha-x86_64-linux.S
[135/486] Compiling chacha20_poly1305_x86_64-apple.S
[136/486] Compiling chacha-x86_64-apple.S
[137/486] Compiling chacha-x86-apple.S
[138/486] Compiling chacha-x86-linux.S
[139/486] Compiling chacha-armv8-win.S
[140/486] Compiling chacha-armv8-linux.S
[141/486] Compiling bio_ssl.cc
[142/486] Compiling chacha-armv8-apple.S
[143/486] Compiling chacha-armv4-linux.S
[144/486] Compiling aes128gcmsiv-x86_64-linux.S
[145/486] Compiling aes128gcmsiv-x86_64-apple.S
[146/486] Compiling x86_64-mont5-apple.S
[147/486] Compiling x86_64-mont-linux.S
[148/486] Compiling x86_64-mont5-linux.S
[149/486] Compiling x86-mont-linux.S
[150/486] Compiling vpaes-x86_64-linux.S
[151/486] Compiling x86-mont-apple.S
[152/486] Compiling x86_64-mont-apple.S
[153/486] Compiling vpaes-x86_64-apple.S
[154/486] Compiling vpaes-x86-linux.S
[155/486] Compiling vpaes-armv8-win.S
[156/486] Compiling vpaes-armv8-linux.S
[157/486] Compiling vpaes-x86-apple.S
[158/486] Compiling sha512-x86_64-linux.S
[159/486] Compiling vpaes-armv8-apple.S
[160/486] Compiling vpaes-armv7-linux.S
[161/486] Compiling sha512-x86_64-apple.S
[162/486] Compiling sha512-armv8-win.S
[163/486] Compiling sha512-armv8-linux.S
[164/486] Compiling sha512-586-apple.S
[165/486] Compiling sha512-586-linux.S
[166/486] Compiling sha256-x86_64-apple.S
[167/486] Compiling sha256-x86_64-linux.S
[168/486] Compiling sha256-armv8-apple.S
[169/486] Compiling sha256-armv8-linux.S
[170/486] Compiling sha256-armv8-win.S
[171/486] Compiling sha256-586-linux.S
[172/486] Compiling sha256-armv4-linux.S
[173/486] Compiling d1_lib.cc
[174/486] Compiling sha1-x86_64-apple.S
[175/486] Compiling sha256-586-apple.S
[176/486] Compiling sha1-x86_64-linux.S
[177/486] Compiling sha1-armv8-linux.S
[178/486] Compiling sha1-armv8-win.S
[179/486] Compiling sha1-586-linux.S
[180/486] Compiling sha1-armv8-apple.S
[181/486] Compiling sha1-armv4-large-linux.S
[182/486] Compiling rsaz-avx2-linux.S
[183/486] Compiling sha1-586-apple.S
[184/486] Compiling rsaz-avx2-apple.S
[185/486] Compiling rdrand-x86_64-linux.S
[186/486] Compiling p256_beeu-x86_64-asm-linux.S
[187/486] Compiling rdrand-x86_64-apple.S
[187/486] Compiling p256_beeu-x86_64-asm-apple.S
[189/486] Compiling p256_beeu-armv8-asm-win.S
[190/486] Compiling p256_beeu-armv8-asm-apple.S
[191/486] Compiling p256-x86_64-asm-apple.S
[192/486] Compiling p256_beeu-armv8-asm-linux.S
[193/486] Compiling p256-armv8-asm-win.S
[194/486] Compiling p256-armv8-asm-linux.S
[195/486] Compiling p256-x86_64-asm-linux.S
[196/486] Compiling ghashv8-armv8-win.S
[197/486] Compiling p256-armv8-asm-apple.S
[198/486] Compiling ghash-x86_64-apple.S
[199/486] Compiling ghashv8-armv8-linux.S
[200/486] Compiling ghash-x86-linux.S
[201/486] Compiling ghash-x86_64-linux.S
[202/486] Compiling ghashv8-armv7-linux.S
[202/486] Compiling ghashv8-armv8-apple.S
[204/486] Compiling ghash-x86-apple.S
[205/486] Compiling ghash-ssse3-x86_64-linux.S
[206/486] Compiling ghash-ssse3-x86_64-apple.S
[207/486] Compiling ghash-ssse3-x86-apple.S
[208/486] Compiling ghash-ssse3-x86-linux.S
[208/486] Compiling ghash-neon-armv8-linux.S
[210/486] Compiling ghash-neon-armv8-win.S
[211/486] Compiling co-586-linux.S
[212/486] Compiling ghash-neon-armv8-apple.S
[213/486] Compiling ghash-armv4-linux.S
[214/486] Compiling co-586-apple.S
[215/486] Compiling bsaes-armv7-linux.S
[216/486] Compiling bn-armv8-win.S
[217/486] Compiling bn-armv8-apple.S
[218/486] Compiling d1_both.cc
[218/486] Compiling bn-586-linux.S
[220/486] Compiling bn-586-apple.S
[220/486] Compiling bn-armv8-linux.S
[222/486] Compiling armv8-mont-win.S
[223/486] Compiling armv8-mont-apple.S
[224/486] Compiling armv4-mont-linux.S
[225/486] Compiling armv8-mont-linux.S
[226/486] Compiling aesv8-gcm-armv8-win.S
[227/486] Compiling aesv8-gcm-armv8-linux.S
[228/486] Compiling aesv8-armv8-linux.S
[229/486] Compiling aesv8-gcm-armv8-apple.S
[230/486] Compiling aesv8-armv8-win.S
[231/486] Compiling aesni-x86_64-apple.S
[232/486] Compiling aesv8-armv8-apple.S
[233/486] Compiling aesni-x86_64-linux.S
[234/486] Compiling aesv8-armv7-linux.S
[234/486] Compiling aesni-x86-linux.S
[236/486] Compiling aesni-gcm-x86_64-apple.S
[237/486] Compiling aesni-x86-apple.S
[238/486] Compiling aesni-gcm-x86_64-linux.S
[239/486] Compiling aes-gcm-avx10-x86_64-apple.S
[240/486] Compiling aes-gcm-avx10-x86_64-linux.S
[241/486] Compiling aes-gcm-avx2-x86_64-apple.S
[242/486] Compiling aes-gcm-avx2-x86_64-linux.S
[243/486] Compiling x_spki.cc
[244/486] Compiling x_val.cc
[245/486] Compiling x_x509.cc
[246/486] Compiling x_x509a.cc
[247/486] Compiling x_req.cc
[248/486] Compiling x_sig.cc
[249/486] Compiling x_pubkey.cc
[250/486] Compiling x_name.cc
[251/486] Compiling x_exten.cc
[252/486] Compiling x_attrib.cc
[253/486] Compiling x_crl.cc
[254/486] Compiling x_algor.cc
[255/486] Compiling x509spki.cc
[256/486] Compiling x_all.cc
[257/486] Compiling x509rset.cc
[258/486] Compiling x509name.cc
[259/486] Compiling x509_txt.cc
[260/486] Compiling x509_v3.cc
[261/486] Compiling x509cset.cc
[262/486] Compiling x509_vpm.cc
[263/486] Compiling x509_vfy.cc
[264/486] Compiling x509_trs.cc
[265/486] Compiling x509_req.cc
[266/486] Compiling x509_set.cc
[267/486] Compiling x509_def.cc
[268/486] Compiling x509_obj.cc
[269/486] Compiling x509_ext.cc
[269/486] Compiling x509_d2.cc
[271/486] Compiling x509.cc
[272/486] Compiling x509_lu.cc
[273/486] Compiling x509_att.cc
[274/486] Compiling x509_cmp.cc
[275/486] Compiling v3_prn.cc
[276/486] Compiling v3_skey.cc
[277/486] Compiling v3_utl.cc
[278/486] Compiling v3_purp.cc
[279/486] Compiling v3_pmaps.cc
[280/486] Compiling v3_ocsp.cc
[281/486] Compiling v3_pcons.cc
[282/486] Compiling v3_ncons.cc
[283/486] Compiling v3_info.cc
[284/486] Compiling v3_int.cc
[285/486] Compiling v3_lib.cc
[286/486] Compiling v3_enum.cc
[287/486] Compiling v3_genn.cc
[288/486] Compiling v3_ia5.cc
[289/486] Compiling v3_extku.cc
[290/486] Compiling v3_crld.cc
[291/486] Compiling v3_cpols.cc
[292/486] Compiling v3_conf.cc
[293/486] Compiling v3_bitst.cc
[294/486] Compiling v3_akeya.cc
[295/486] Compiling v3_bcons.cc
[296/486] Compiling v3_alt.cc
[297/486] Compiling v3_akey.cc
[298/486] Compiling t_x509a.cc
[299/486] Compiling t_crl.cc
[300/486] Compiling t_req.cc
[301/486] Compiling i2d_pr.cc
[302/486] Compiling t_x509.cc
[303/486] Compiling policy.cc
[304/486] Compiling rsa_pss.cc
[305/486] Compiling name_print.cc
[306/486] Compiling by_dir.cc
[307/486] Compiling by_file.cc
[308/486] Compiling asn1_gen.cc
[309/486] Compiling algorithm.cc
[310/486] Compiling a_verify.cc
[311/486] Compiling voprf.cc
[312/486] Compiling a_digest.cc
[313/486] Compiling a_sign.cc
[314/486] Compiling thread_win.cc
[315/486] Compiling thread_pthread.cc
[316/486] Compiling thread_none.cc
[317/486] Compiling trust_token.cc
[318/486] Compiling thread.cc
[319/486] Compiling pmbtoken.cc
[320/486] Compiling stack.cc
[321/486] Compiling sha512.cc
[322/486] Compiling siphash.cc
[323/486] Compiling sha256.cc
[324/486] Compiling sha1.cc
[325/486] Compiling slhdsa.cc
[326/486] Compiling rsa_extra.cc
[327/486] Compiling rsa_print.cc
[328/486] Compiling spake2plus.cc
[329/486] Compiling rc4.cc
[330/486] Compiling rsa_crypt.cc
[331/486] Compiling refcount.cc
[332/486] Compiling windows.cc
[333/486] Compiling trusty.cc
[334/486] Compiling rand.cc
[335/486] Compiling ios.cc
[336/486] Compiling rsa_asn1.cc
[337/486] Compiling urandom.cc
[338/486] Compiling getentropy.cc
[339/486] Compiling poly1305_arm_asm.S
[340/486] Compiling passive.cc
[341/486] Compiling forkunsafe.cc
[342/486] Compiling deterministic.cc
[343/486] Compiling fork_detect.cc
[344/486] Compiling poly1305.cc
[345/486] Compiling poly1305_arm.cc
[346/486] Compiling poly1305_vec.cc
[347/486] Compiling pool.cc
[348/486] Compiling pkcs7.cc
[349/486] Compiling p5_pbev2.cc
[350/486] Compiling pkcs8.cc
[351/486] Compiling pkcs8_x509.cc
[352/486] Compiling pkcs7_x509.cc
[353/486] Compiling pem_x509.cc
[354/486] Compiling pem_xaux.cc
[355/486] Compiling pem_pkey.cc
[356/486] Compiling mlkem.cc
[357/486] Compiling pem_pk8.cc
[358/486] Compiling obj_xref.cc
[359/486] Compiling pem_oth.cc
[360/486] Compiling mldsa.cc
[361/486] Compiling pem_info.cc
[362/486] Compiling pem_lib.cc
[363/486] Compiling mem.cc
[364/486] Compiling pem_all.cc
[365/486] Compiling obj.cc
[366/486] Compiling fips_shared_support.cc
[367/486] Compiling poly_rq_mul.S
[368/486] Compiling md5.cc
[369/486] Compiling md4.cc
[370/486] Compiling lhash.cc
[371/486] Compiling ex_data.cc
[372/486] Compiling kyber.cc
[373/486] Compiling hrss.cc
[374/486] Compiling scrypt.cc
[375/486] Compiling sign.cc
[376/486] Compiling hpke.cc
[377/486] Compiling print.cc
[378/486] Compiling pbkdf.cc
[379/486] Compiling p_x25519.cc
[380/486] Compiling p_rsa_asn1.cc
[381/486] Compiling p_x25519_asn1.cc
[382/486] Compiling p_rsa.cc
[383/486] Compiling p_ed25519.cc
[384/486] Compiling p_hkdf.cc
[385/486] Compiling p_ed25519_asn1.cc
[386/486] Compiling p_ec_asn1.cc
[387/486] Compiling p_ec.cc
[388/486] Compiling p_dh_asn1.cc
[389/486] Compiling p_dh.cc
[390/486] Compiling evp_ctx.cc
[391/486] Compiling p_dsa_asn1.cc
[392/486] Compiling evp.cc
[393/486] Compiling engine.cc
[394/486] Compiling err.cc
[395/486] Compiling evp_asn1.cc
[396/486] Compiling ecdh.cc
[397/486] Compiling hash_to_curve.cc
[398/486] Compiling ecdsa_asn1.cc
[399/486] Compiling ec_derive.cc
[400/486] Compiling dsa.cc
[401/486] Compiling params.cc
[402/486] Compiling dsa_asn1.cc
[403/486] Compiling ec_asn1.cc
[404/486] Compiling digest_extra.cc
[405/486] Compiling x25519-asm-arm.S
[406/486] Compiling des.cc
[407/486] Compiling dh_asn1.cc
[408/486] Compiling cpu_intel.cc
[409/486] Compiling spake25519.cc
[410/486] Compiling crypto.cc
[411/486] Compiling cpu_arm_linux.cc
[412/486] Compiling curve25519.cc
[413/486] Compiling cpu_arm_freebsd.cc
[414/486] Compiling cpu_aarch64_openbsd.cc
[415/486] Compiling cpu_aarch64_win.cc
[416/486] Compiling bcm.cc
[417/486] Compiling cpu_aarch64_linux.cc
[418/486] Compiling cpu_aarch64_sysreg.cc
[419/486] Compiling cpu_aarch64_fuchsia.cc
[420/486] Compiling curve25519_64_adx.cc
[421/486] Compiling cpu_aarch64_apple.cc
[422/486] Compiling get_cipher.cc
[423/486] Compiling tls_cbc.cc
[424/486] Compiling e_tls.cc
[425/486] Compiling e_rc4.cc
[426/486] Compiling conf.cc
[427/486] Compiling e_null.cc
[428/486] Compiling e_rc2.cc
[429/486] Compiling e_des.cc
[430/486] Compiling derive_key.cc
[431/486] Compiling e_chacha20poly1305.cc
[432/486] Compiling e_aesctrhmac.cc
[433/486] Compiling e_aesgcmsiv.cc
[434/486] Compiling chacha.cc
[435/486] Compiling unicode.cc
[436/486] Compiling buf.cc
[437/486] Compiling cbb.cc
[438/486] Compiling cbs.cc
[439/486] Compiling ber.cc
[440/486] Compiling asn1_compat.cc
[441/486] Compiling blake2.cc
[442/486] Compiling bn_asn1.cc
[443/486] Compiling convert.cc
[444/486] Compiling socket_helper.cc
[445/486] Compiling socket.cc
[446/486] Compiling pair.cc
[447/486] Compiling printf.cc
[448/486] Compiling hexdump.cc
[449/486] Compiling file.cc
[450/486] Compiling errno.cc
[451/486] Compiling fd.cc
[452/486] Compiling connect.cc
[453/486] Compiling tasn_typ.cc
[454/486] Compiling bio_mem.cc
[455/486] Compiling base64.cc
[456/486] Compiling bio.cc
[457/486] Compiling tasn_fre.cc
[458/486] Compiling tasn_utl.cc
[459/486] Compiling tasn_new.cc
[460/486] Compiling tasn_enc.cc
[461/486] Compiling posix_time.cc
[462/486] Compiling f_string.cc
[463/486] Compiling f_int.cc
[464/486] Compiling asn_pack.cc
[465/486] Compiling tasn_dec.cc
[466/486] Compiling asn1_par.cc
[467/486] Compiling a_utctm.cc
[468/486] Compiling a_octet.cc
[469/486] Compiling a_type.cc
[470/486] Compiling asn1_lib.cc
[471/486] Compiling a_time.cc
[472/486] Compiling a_strnid.cc
[473/486] Compiling a_strex.cc
[474/486] Compiling a_object.cc
[475/486] Compiling a_dup.cc
[476/486] Compiling a_i2d_fp.cc
[477/486] Compiling a_d2i_fp.cc
[477/486] Write sources
[479/486] Compiling a_mbstr.cc
[480/499] Compiling a_int.cc
[481/503] Compiling a_gentm.cc
[482/505] Compiling a_bitstr.cc
[483/505] Compiling a_bool.cc
[485/505] Compiling Atomics UnsafeAtomic.swift
[486/505] Compiling Atomics UnsafeAtomicLazyReference.swift
[487/507] Compiling Atomics ManagedAtomic.swift
[488/507] Compiling Atomics ManagedAtomicLazyReference.swift
[489/507] Compiling Atomics AtomicMemoryOrderings.swift
[490/507] Compiling Atomics DoubleWord.swift
[491/507] Compiling Atomics Primitives.shims.swift
[492/507] Compiling Atomics AtomicInteger.swift
[493/507] Compiling Atomics AtomicOptionalWrappable.swift
[494/507] Compiling Atomics AtomicReference.swift
[495/507] Compiling Atomics AtomicStorage.swift
[496/507] Compiling Atomics AtomicValue.swift
[497/507] Compiling Atomics IntegerOperations.swift
[498/507] Compiling Atomics Unmanaged extensions.swift
[498/507] Compiling c-nioatomics.c
[500/507] Compiling Atomics IntegerConformances.swift
[501/507] Compiling Atomics PointerConformances.swift
[502/507] Compiling Atomics Primitives.native.swift
[503/507] Emitting module Atomics
[504/507] Compiling Atomics OptionalRawRepresentable.swift
[505/507] Compiling Atomics RawRepresentable.swift
[506/507] Compiling Atomics AtomicBool.swift
[507/508] Compiling c-atomics.c
[509/514] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[510/514] Compiling NIOConcurrencyHelpers NIOLock.swift
[511/514] Compiling NIOConcurrencyHelpers lock.swift
[512/514] Emitting module NIOConcurrencyHelpers
[513/514] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[514/514] Compiling NIOConcurrencyHelpers atomics.swift
[516/575] Compiling NIOCore MulticastChannel.swift
[517/575] Compiling NIOCore NIOAny.swift
[518/575] Compiling NIOCore NIOCloseOnErrorHandler.swift
[519/575] Compiling NIOCore NIOLoopBound.swift
[520/575] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[521/575] Compiling NIOCore NIOScheduledCallback.swift
[522/575] Compiling NIOCore NIOSendable.swift
[523/575] Compiling NIOCore RecvByteBufferAllocator.swift
[524/583] Compiling NIOCore IO.swift
[525/583] Compiling NIOCore IOData.swift
[526/583] Compiling NIOCore IPProtocol.swift
[527/583] Compiling NIOCore IntegerBitPacking.swift
[528/583] Compiling NIOCore IntegerTypes.swift
[529/583] Compiling NIOCore Interfaces.swift
[530/583] Compiling NIOCore Linux.swift
[531/583] Compiling NIOCore MarkedCircularBuffer.swift
[532/583] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[533/583] Compiling NIOCore SocketAddresses.swift
[534/583] Compiling NIOCore SocketOptionProvider.swift
[535/583] Compiling NIOCore SystemCallHelpers.swift
[536/583] Compiling NIOCore TimeAmount+Duration.swift
[537/583] Compiling NIOCore TypeAssistedChannelHandler.swift
[538/583] Compiling NIOCore UniversalBootstrapSupport.swift
[539/583] Compiling NIOCore Utilities.swift
[540/583] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[541/583] Compiling NIOCore EventLoopFuture+Deprecated.swift
[542/583] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[543/583] Compiling NIOCore EventLoopFuture.swift
[544/583] Compiling NIOCore FileDescriptor.swift
[545/583] Compiling NIOCore FileHandle.swift
[546/583] Compiling NIOCore FileRegion.swift
[547/583] Compiling NIOCore GlobalSingletons.swift
[548/583] Compiling NIOCore CircularBuffer.swift
[549/583] Compiling NIOCore Codec.swift
[550/583] Compiling NIOCore ConvenienceOptionSupport.swift
[551/583] Compiling NIOCore DeadChannel.swift
[552/583] Compiling NIOCore DispatchQueue+WithFuture.swift
[553/583] Compiling NIOCore EventLoop+Deprecated.swift
[554/583] Compiling NIOCore EventLoop+SerialExecutor.swift
[555/583] Compiling NIOCore EventLoop.swift
[556/583] Compiling NIOCore AddressedEnvelope.swift
[557/583] Compiling NIOCore AsyncAwaitSupport.swift
[558/583] Compiling NIOCore AsyncChannel.swift
[559/583] Compiling NIOCore AsyncChannelHandler.swift
[560/583] Compiling NIOCore AsyncChannelInboundStream.swift
[561/583] Compiling NIOCore AsyncChannelOutboundWriter.swift
[562/583] Compiling NIOCore NIOAsyncSequenceProducer.swift
[563/583] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[564/583] Compiling NIOCore NIOAsyncWriter.swift
[565/583] Compiling NIOCore ByteBuffer-multi-int.swift
[566/583] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[567/583] Compiling NIOCore ByteBuffer-views.swift
[568/583] Compiling NIOCore Channel.swift
[569/583] Compiling NIOCore ChannelHandler.swift
[570/583] Compiling NIOCore ChannelHandlers.swift
[571/583] Compiling NIOCore ChannelInvoker.swift
[572/583] Compiling NIOCore ChannelOption.swift
[573/583] Compiling NIOCore ChannelPipeline.swift
[574/583] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[575/583] Compiling NIOCore BSDSocketAPI.swift
[576/583] Compiling NIOCore ByteBuffer-aux.swift
[577/583] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[578/583] Compiling NIOCore ByteBuffer-conversions.swift
[579/583] Compiling NIOCore ByteBuffer-core.swift
[580/583] Compiling NIOCore ByteBuffer-hex.swift
[581/583] Compiling NIOCore ByteBuffer-int.swift
[582/583] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[583/583] Emitting module NIOCore
[585/634] Compiling NIOEmbedded AsyncTestingChannel.swift
[586/634] Emitting module NIOEmbedded
[587/634] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[588/634] Compiling NIOEmbedded Embedded.swift
[590/635] Compiling NIOPosix Pool.swift
[591/635] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[592/635] Compiling NIOPosix PosixSingletons.swift
[593/635] Compiling NIOPosix RawSocketBootstrap.swift
[594/635] Compiling NIOPosix Resolver.swift
[595/635] Compiling NIOPosix Selectable.swift
[596/635] Compiling NIOPosix ServerSocket.swift
[597/635] Compiling NIOPosix Socket.swift
[598/635] Compiling NIOPosix SocketChannel.swift
[599/635] Compiling NIOPosix SocketProtocols.swift
[600/635] Compiling NIOPosix System.swift
[601/635] Compiling NIOPosix Thread.swift
[602/635] Compiling NIOPosix SelectableChannel.swift
[603/635] Compiling NIOPosix SelectableEventLoop.swift
[604/635] Compiling NIOPosix SelectorEpoll.swift
[605/635] Compiling NIOPosix SelectorGeneric.swift
[606/635] Compiling NIOPosix SelectorKqueue.swift
[607/635] Compiling NIOPosix SelectorUring.swift
[608/641] Compiling NIOPosix BSDSocketAPICommon.swift
[609/641] Compiling NIOPosix BSDSocketAPIPosix.swift
[610/641] Compiling NIOPosix BSDSocketAPIWindows.swift
[611/641] Compiling NIOPosix BaseSocket.swift
[612/641] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[613/641] Compiling NIOPosix BaseSocketChannel.swift
[614/641] Compiling NIOPosix BaseStreamSocketChannel.swift
[615/641] Emitting module NIOPosix
[616/641] Compiling NIOPosix Bootstrap.swift
[617/641] Compiling NIOPosix ControlMessage.swift
[618/641] Compiling NIOPosix DatagramVectorReadManager.swift
[619/641] Compiling NIOPosix Errors+Any.swift
[620/641] Compiling NIOPosix FileDescriptor.swift
[621/641] Compiling NIOPosix GetaddrinfoResolver.swift
[622/641] Compiling NIOPosix HappyEyeballs.swift
[623/641] Compiling NIOPosix ThreadPosix.swift
[624/641] Compiling NIOPosix ThreadWindows.swift
[625/641] Compiling NIOPosix UnsafeTransfer.swift
[626/641] Compiling NIOPosix Utilities.swift
[627/641] Compiling NIOPosix VsockAddress.swift
[628/641] Compiling NIOPosix VsockChannelEvents.swift
[629/641] Compiling NIOPosix IO.swift
[630/641] Compiling NIOPosix IntegerBitPacking.swift
[631/641] Compiling NIOPosix IntegerTypes.swift
[632/641] Compiling NIOPosix Linux.swift
[633/641] Compiling NIOPosix LinuxCPUSet.swift
[634/641] Compiling NIOPosix LinuxUring.swift
[635/641] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[636/641] Compiling NIOPosix NIOThreadPool.swift
[637/641] Compiling NIOPosix NonBlockingFileIO.swift
[638/641] Compiling NIOPosix PendingDatagramWritesManager.swift
[639/641] Compiling NIOPosix PendingWritesManager.swift
[640/641] Compiling NIOPosix PipeChannel.swift
[641/641] Compiling NIOPosix PipePair.swift
[643/644] Compiling NIO Exports.swift
[644/644] Emitting module NIO
[646/672] Compiling NIOTLS TLSEvents.swift
[647/672] Emitting module NIOTLS
[648/672] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[649/672] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[650/674] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[651/674] Compiling NIOTLS SNIHandler.swift
[652/674] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[653/674] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[655/675] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[656/675] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[657/686] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[658/686] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[659/704] Compiling NIOSSL ByteBufferBIO.swift
[660/704] Compiling NIOSSL CustomPrivateKey.swift
[661/704] Compiling NIOSSL SSLPKCS12Bundle.swift
[662/704] Compiling NIOSSL NIOSSLServerHandler.swift
[663/704] Compiling NIOSSL IdentityVerification.swift
[664/704] Compiling NIOSSL SSLCertificate.swift
[665/704] Compiling NIOSSL SSLCertificateExtensions.swift
[666/704] Compiling NIOSSL SSLCertificateName.swift
[667/704] Emitting module NIOFoundationCompat
[668/704] Emitting module NIOHTTP1
[669/704] Compiling NIOSSL LinuxCABundle.swift
[670/704] Compiling NIOSSL NIOSSLClientHandler.swift
[671/704] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[673/715] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[674/715] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[675/715] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[676/715] Compiling NIOWebSocket SHA1.swift
[677/719] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[678/719] Emitting module NIOSSL
[679/719] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[680/719] Compiling NIOSSL SubjectAlternativeName.swift
[681/719] Compiling NIOSSL NIOSSLSecureBytes.swift
[682/719] Compiling NIOSSL RNG.swift
[683/719] Compiling NIOSSL SafeCompare.swift
[684/719] Compiling NIOSSL AndroidCABundle.swift
[688/719] Compiling NIOSSL SSLPrivateKey.swift
[689/719] Compiling NIOSSL SSLPublicKey.swift
[690/719] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[691/719] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[695/719] Compiling NIOSSL SSLConnection.swift
[696/719] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[697/719] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[698/720] Compiling NIOWebSocket WebSocketOpcode.swift
[700/721] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[701/721] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[704/721] Emitting module NIOWebSocket
[705/721] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[708/721] Compiling NIOWebSocket WebSocketFrame.swift
[709/721] Compiling NIOWebSocket WebSocketErrorCodes.swift
[711/744] Compiling NIOTransportServices NIOTSSingletons.swift
[712/744] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[713/744] Compiling NIOTransportServices StateManagedChannel.swift
[714/744] Compiling NIOTransportServices StateManagedListenerChannel.swift
[715/744] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[716/744] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[717/744] Compiling NIOTransportServices NIOTSListenerChannel.swift
[718/744] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[719/744] Emitting module NIOTransportServices
[722/746] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[723/746] Compiling NIOTransportServices NIOTSBootstraps.swift
[724/746] Compiling NIOTransportServices NIOTSChannelOptions.swift
[725/746] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[726/746] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[727/746] Compiling NIOTransportServices NIOTSErrors.swift
[728/746] Compiling NIOTransportServices NIOTSEventLoop.swift
[735/746] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[736/746] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[737/746] Compiling NIOTransportServices NIOTSDatagramListener.swift
[738/746] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[739/746] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[740/746] Compiling NIOTransportServices AcceptHandler.swift
[741/746] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[742/746] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[744/747] Compiling NIOSSL Zeroization.swift
[745/747] Compiling NIOSSL TLSConfiguration.swift
[746/747] Compiling NIOSSL UniversalBootstrapSupport.swift
[747/747] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[749/770] Compiling MQTTNIO PingreqHandler.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:59:16: warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
15 |
16 | /// Channel handler for sending PINGREQ messages to keep connect alive
17 | final class PingreqHandler {
| `- note: class 'PingreqHandler' does not conform to the 'Sendable' protocol
18 | typealias OutboundIn = MQTTPacket
19 | typealias OutboundOut = MQTTPacket
:
57 | // if lastEventTime plus the timeout is less than now send PINGREQ
58 | // otherwise reschedule task
59 | if self.lastEventTime + self.timeout <= .now() {
| `- warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
60 | guard context.channel.isActive else { return }
61 |
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:60:23: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
58 | // otherwise reschedule task
59 | if self.lastEventTime + self.timeout <= .now() {
60 | guard context.channel.isActive else { return }
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
61 |
62 | self.client.ping().whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:65:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
63 | switch result {
64 | case .failure(let error):
65 | context.fireErrorCaught(error)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
66 | case .success:
67 | break
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:69:21: warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
15 |
16 | /// Channel handler for sending PINGREQ messages to keep connect alive
17 | final class PingreqHandler {
| `- note: class 'PingreqHandler' does not conform to the 'Sendable' protocol
18 | typealias OutboundIn = MQTTPacket
19 | typealias OutboundOut = MQTTPacket
:
67 | break
68 | }
69 | self.lastEventTime = .now()
| `- warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
70 | self.scheduleTask(context)
71 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:121:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
119 | // so the other side likely will never send the close frame. We just close the
120 | // channel ourselves.
121 | context.channel.close(mode: .all, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
122 | }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:128:17: warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a '@Sendable' closure
22 | /// The WebSocket ping/pong is implemented but not used as the MQTT client already implements
23 | /// PINGREQ messages
24 | final class WebSocketHandler: ChannelDuplexHandler {
| `- note: class 'WebSocketHandler' does not conform to the 'Sendable' protocol
25 | typealias OutboundIn = ByteBuffer
26 | typealias OutboundOut = WebSocketFrame
:
126 | self.send(context: context, buffer: buffer, opcode: .ping)
127 | _ = context.eventLoop.scheduleTask(in: pingInterval) {
128 | self.sendPingAndWait(context: context)
| `- warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a '@Sendable' closure
129 | }
130 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:128:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
126 | self.send(context: context, buffer: buffer, opcode: .ping)
127 | _ = context.eventLoop.scheduleTask(in: pingInterval) {
128 | self.sendPingAndWait(context: context)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
129 | }
130 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
[750/770] Compiling MQTTNIO WebSocketHandler.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:59:16: warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
15 |
16 | /// Channel handler for sending PINGREQ messages to keep connect alive
17 | final class PingreqHandler {
| `- note: class 'PingreqHandler' does not conform to the 'Sendable' protocol
18 | typealias OutboundIn = MQTTPacket
19 | typealias OutboundOut = MQTTPacket
:
57 | // if lastEventTime plus the timeout is less than now send PINGREQ
58 | // otherwise reschedule task
59 | if self.lastEventTime + self.timeout <= .now() {
| `- warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
60 | guard context.channel.isActive else { return }
61 |
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:60:23: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
58 | // otherwise reschedule task
59 | if self.lastEventTime + self.timeout <= .now() {
60 | guard context.channel.isActive else { return }
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
61 |
62 | self.client.ping().whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:65:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
63 | switch result {
64 | case .failure(let error):
65 | context.fireErrorCaught(error)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
66 | case .success:
67 | break
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:69:21: warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
15 |
16 | /// Channel handler for sending PINGREQ messages to keep connect alive
17 | final class PingreqHandler {
| `- note: class 'PingreqHandler' does not conform to the 'Sendable' protocol
18 | typealias OutboundIn = MQTTPacket
19 | typealias OutboundOut = MQTTPacket
:
67 | break
68 | }
69 | self.lastEventTime = .now()
| `- warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
70 | self.scheduleTask(context)
71 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:121:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
119 | // so the other side likely will never send the close frame. We just close the
120 | // channel ourselves.
121 | context.channel.close(mode: .all, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
122 | }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:128:17: warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a '@Sendable' closure
22 | /// The WebSocket ping/pong is implemented but not used as the MQTT client already implements
23 | /// PINGREQ messages
24 | final class WebSocketHandler: ChannelDuplexHandler {
| `- note: class 'WebSocketHandler' does not conform to the 'Sendable' protocol
25 | typealias OutboundIn = ByteBuffer
26 | typealias OutboundOut = WebSocketFrame
:
126 | self.send(context: context, buffer: buffer, opcode: .ping)
127 | _ = context.eventLoop.scheduleTask(in: pingInterval) {
128 | self.sendPingAndWait(context: context)
| `- warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a '@Sendable' closure
129 | }
130 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:128:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
126 | self.send(context: context, buffer: buffer, opcode: .ping)
127 | _ = context.eventLoop.scheduleTask(in: pingInterval) {
128 | self.sendPingAndWait(context: context)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
129 | }
130 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
[751/770] Compiling MQTTNIO WebSocketInitialRequest.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:59:16: warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
15 |
16 | /// Channel handler for sending PINGREQ messages to keep connect alive
17 | final class PingreqHandler {
| `- note: class 'PingreqHandler' does not conform to the 'Sendable' protocol
18 | typealias OutboundIn = MQTTPacket
19 | typealias OutboundOut = MQTTPacket
:
57 | // if lastEventTime plus the timeout is less than now send PINGREQ
58 | // otherwise reschedule task
59 | if self.lastEventTime + self.timeout <= .now() {
| `- warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
60 | guard context.channel.isActive else { return }
61 |
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:60:23: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
58 | // otherwise reschedule task
59 | if self.lastEventTime + self.timeout <= .now() {
60 | guard context.channel.isActive else { return }
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
61 |
62 | self.client.ping().whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:65:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
63 | switch result {
64 | case .failure(let error):
65 | context.fireErrorCaught(error)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
66 | case .success:
67 | break
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/PingreqHandler.swift:69:21: warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
15 |
16 | /// Channel handler for sending PINGREQ messages to keep connect alive
17 | final class PingreqHandler {
| `- note: class 'PingreqHandler' does not conform to the 'Sendable' protocol
18 | typealias OutboundIn = MQTTPacket
19 | typealias OutboundOut = MQTTPacket
:
67 | break
68 | }
69 | self.lastEventTime = .now()
| `- warning: capture of 'self' with non-sendable type 'PingreqHandler' in a '@Sendable' closure
70 | self.scheduleTask(context)
71 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:121:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
119 | // so the other side likely will never send the close frame. We just close the
120 | // channel ourselves.
121 | context.channel.close(mode: .all, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
122 | }
123 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:128:17: warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a '@Sendable' closure
22 | /// The WebSocket ping/pong is implemented but not used as the MQTT client already implements
23 | /// PINGREQ messages
24 | final class WebSocketHandler: ChannelDuplexHandler {
| `- note: class 'WebSocketHandler' does not conform to the 'Sendable' protocol
25 | typealias OutboundIn = ByteBuffer
26 | typealias OutboundOut = WebSocketFrame
:
126 | self.send(context: context, buffer: buffer, opcode: .ping)
127 | _ = context.eventLoop.scheduleTask(in: pingInterval) {
128 | self.sendPingAndWait(context: context)
| `- warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a '@Sendable' closure
129 | }
130 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:128:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
126 | self.send(context: context, buffer: buffer, opcode: .ping)
127 | _ = context.eventLoop.scheduleTask(in: pingInterval) {
128 | self.sendPingAndWait(context: context)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
129 | }
130 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
[752/770] Emitting module MQTTNIO
[753/773] Compiling MQTTNIO MQTTSerializer.swift
[754/773] Compiling MQTTNIO MQTTTask.swift
[755/773] Compiling MQTTNIO TSTLSConfiguration.swift
[756/773] Compiling MQTTNIO MQTTConnection.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:47:128: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
45 | let taskHandler = MQTTTaskHandler(client: client)
46 | return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
47 | .map { MQTTConnection(channel: $0, cleanSession: cleanSession, timeout: client.configuration.timeout, taskHandler: taskHandler) }
| `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
48 | }
49 |
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:17:13: note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:81:61: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
79 | }
80 | } else {
81 | return channel.pipeline.addHandlers(handlers)
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
82 | }
83 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:63:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | let handlers: [ChannelHandler] = [
62 | MQTTMessageHandler(client, pingInterval: pingInterval),
63 | taskHandler,
| `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
64 | ]
65 | // are we using websockets
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:17:13: note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:195:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
193 |
194 | // add HTTP handler with web socket upgrade
195 | return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
| `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
196 | channel.pipeline.addHandler(httpHandler)
197 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:181:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
179 | let future = channel.eventLoop.makeCompletedFuture {
180 | try channel.pipeline.syncOperations.addHandler(WebSocketHandler())
181 | try afterHandlerAdded()
| |- warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:181:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in an isolated closure
179 | let future = channel.eventLoop.makeCompletedFuture {
180 | try channel.pipeline.syncOperations.addHandler(WebSocketHandler())
181 | try afterHandlerAdded()
| |- warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in an isolated closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:217:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
29 | #endif
30 |
31 | final class MQTTConnection {
| `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
32 | let channel: Channel
33 | let cleanSession: Bool
:
215 | self.taskHandler.addTask(task)
216 | .flatMap {
217 | self.channel.writeAndFlush(message)
| `- warning: capture of 'self' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
218 | }
219 | .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:220:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
218 | }
219 | .whenFailure { error in
220 | task.fail(error)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
221 | }
222 | return task.promise.futureResult
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
[757/773] Compiling MQTTNIO MQTTCoreTypes.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:47:128: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
45 | let taskHandler = MQTTTaskHandler(client: client)
46 | return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
47 | .map { MQTTConnection(channel: $0, cleanSession: cleanSession, timeout: client.configuration.timeout, taskHandler: taskHandler) }
| `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
48 | }
49 |
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:17:13: note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:81:61: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
79 | }
80 | } else {
81 | return channel.pipeline.addHandlers(handlers)
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
82 | }
83 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:63:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | let handlers: [ChannelHandler] = [
62 | MQTTMessageHandler(client, pingInterval: pingInterval),
63 | taskHandler,
| `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
64 | ]
65 | // are we using websockets
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:17:13: note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:195:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
193 |
194 | // add HTTP handler with web socket upgrade
195 | return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
| `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
196 | channel.pipeline.addHandler(httpHandler)
197 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:181:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
179 | let future = channel.eventLoop.makeCompletedFuture {
180 | try channel.pipeline.syncOperations.addHandler(WebSocketHandler())
181 | try afterHandlerAdded()
| |- warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:181:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in an isolated closure
179 | let future = channel.eventLoop.makeCompletedFuture {
180 | try channel.pipeline.syncOperations.addHandler(WebSocketHandler())
181 | try afterHandlerAdded()
| |- warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in an isolated closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:217:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
29 | #endif
30 |
31 | final class MQTTConnection {
| `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
32 | let channel: Channel
33 | let cleanSession: Bool
:
215 | self.taskHandler.addTask(task)
216 | .flatMap {
217 | self.channel.writeAndFlush(message)
| `- warning: capture of 'self' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
218 | }
219 | .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:220:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
218 | }
219 | .whenFailure { error in
220 | task.fail(error)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
221 | }
222 | return task.promise.futureResult
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
[758/773] Compiling MQTTNIO MQTTCoreTypesV5.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:47:128: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
45 | let taskHandler = MQTTTaskHandler(client: client)
46 | return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
47 | .map { MQTTConnection(channel: $0, cleanSession: cleanSession, timeout: client.configuration.timeout, taskHandler: taskHandler) }
| `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
48 | }
49 |
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:17:13: note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:81:61: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
79 | }
80 | } else {
81 | return channel.pipeline.addHandlers(handlers)
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
82 | }
83 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:63:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | let handlers: [ChannelHandler] = [
62 | MQTTMessageHandler(client, pingInterval: pingInterval),
63 | taskHandler,
| `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
64 | ]
65 | // are we using websockets
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:17:13: note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:195:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
193 |
194 | // add HTTP handler with web socket upgrade
195 | return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
| `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
196 | channel.pipeline.addHandler(httpHandler)
197 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:181:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
179 | let future = channel.eventLoop.makeCompletedFuture {
180 | try channel.pipeline.syncOperations.addHandler(WebSocketHandler())
181 | try afterHandlerAdded()
| |- warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:181:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in an isolated closure
179 | let future = channel.eventLoop.makeCompletedFuture {
180 | try channel.pipeline.syncOperations.addHandler(WebSocketHandler())
181 | try afterHandlerAdded()
| |- warning: capture of 'afterHandlerAdded' with non-sendable type '() throws -> Void' in an isolated closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 | }
183 | future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:217:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
29 | #endif
30 |
31 | final class MQTTConnection {
| `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
32 | let channel: Channel
33 | let cleanSession: Bool
:
215 | self.taskHandler.addTask(task)
216 | .flatMap {
217 | self.channel.writeAndFlush(message)
| `- warning: capture of 'self' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
218 | }
219 | .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:220:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
218 | }
219 | .whenFailure { error in
220 | task.fail(error)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
221 | }
222 | return task.promise.futureResult
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
[759/773] Compiling MQTTNIO MQTTPacket.swift
[760/773] Compiling MQTTNIO MQTTProperties.swift
[761/773] Compiling MQTTNIO MQTTReason.swift
[762/773] Compiling MQTTNIO MQTTError.swift
[763/773] Compiling MQTTNIO MQTTInflight.swift
[764/773] Compiling MQTTNIO MQTTListeners.swift
[765/773] Compiling MQTTNIO MQTTMessageDecoder.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:134:33: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
15 | import NIO
16 |
17 | class MQTTMessageHandler: ChannelDuplexHandler {
| `- note: class 'MQTTMessageHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ByteBuffer
19 | typealias InboundOut = MQTTPacket
:
132 | connection.sendMessageNoWait(MQTTPubAckPacket(type: .PUBACK, packetId: message.packetId))
133 | .map { _ in message.publish }
134 | .whenComplete { self.client.publishListeners.notify($0) }
| `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
135 |
136 | case .exactlyOnce:
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:150:25: warning: reference to captured var 'publish' in concurrently-executing code
148 | return true
149 | }
150 | .map { _ in publish }
| `- warning: reference to captured var 'publish' in concurrently-executing code
151 | .whenComplete { result in
152 | // do not report retrySend error
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:156:17: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
15 | import NIO
16 |
17 | class MQTTMessageHandler: ChannelDuplexHandler {
| `- note: class 'MQTTMessageHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ByteBuffer
19 | typealias InboundOut = MQTTPacket
:
154 | return
155 | }
156 | self.client.publishListeners.notify(result)
| `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
157 | }
158 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
:
33 | } else {
34 | return self.eventLoop.submit {
35 | self.tasks.append(task)
| `- warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
36 | }
37 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:35: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
33 | } else {
34 | return self.eventLoop.submit {
35 | self.tasks.append(task)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
36 | }
37 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:53:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
:
51 | } else {
52 | self.eventLoop.execute {
53 | self._removeTask(task)
| `- warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
54 | }
55 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:53:34: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
51 | } else {
52 | self.eventLoop.execute {
53 | self._removeTask(task)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
54 | }
55 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
[766/773] Compiling MQTTNIO MQTTMessageHandler.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:134:33: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
15 | import NIO
16 |
17 | class MQTTMessageHandler: ChannelDuplexHandler {
| `- note: class 'MQTTMessageHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ByteBuffer
19 | typealias InboundOut = MQTTPacket
:
132 | connection.sendMessageNoWait(MQTTPubAckPacket(type: .PUBACK, packetId: message.packetId))
133 | .map { _ in message.publish }
134 | .whenComplete { self.client.publishListeners.notify($0) }
| `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
135 |
136 | case .exactlyOnce:
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:150:25: warning: reference to captured var 'publish' in concurrently-executing code
148 | return true
149 | }
150 | .map { _ in publish }
| `- warning: reference to captured var 'publish' in concurrently-executing code
151 | .whenComplete { result in
152 | // do not report retrySend error
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:156:17: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
15 | import NIO
16 |
17 | class MQTTMessageHandler: ChannelDuplexHandler {
| `- note: class 'MQTTMessageHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ByteBuffer
19 | typealias InboundOut = MQTTPacket
:
154 | return
155 | }
156 | self.client.publishListeners.notify(result)
| `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
157 | }
158 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
:
33 | } else {
34 | return self.eventLoop.submit {
35 | self.tasks.append(task)
| `- warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
36 | }
37 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:35: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
33 | } else {
34 | return self.eventLoop.submit {
35 | self.tasks.append(task)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
36 | }
37 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:53:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
:
51 | } else {
52 | self.eventLoop.execute {
53 | self._removeTask(task)
| `- warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
54 | }
55 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:53:34: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
51 | } else {
52 | self.eventLoop.execute {
53 | self._removeTask(task)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
54 | }
55 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
[767/773] Compiling MQTTNIO MQTTTaskHandler.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:134:33: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
15 | import NIO
16 |
17 | class MQTTMessageHandler: ChannelDuplexHandler {
| `- note: class 'MQTTMessageHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ByteBuffer
19 | typealias InboundOut = MQTTPacket
:
132 | connection.sendMessageNoWait(MQTTPubAckPacket(type: .PUBACK, packetId: message.packetId))
133 | .map { _ in message.publish }
134 | .whenComplete { self.client.publishListeners.notify($0) }
| `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
135 |
136 | case .exactlyOnce:
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:150:25: warning: reference to captured var 'publish' in concurrently-executing code
148 | return true
149 | }
150 | .map { _ in publish }
| `- warning: reference to captured var 'publish' in concurrently-executing code
151 | .whenComplete { result in
152 | // do not report retrySend error
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:156:17: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
15 | import NIO
16 |
17 | class MQTTMessageHandler: ChannelDuplexHandler {
| `- note: class 'MQTTMessageHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ByteBuffer
19 | typealias InboundOut = MQTTPacket
:
154 | return
155 | }
156 | self.client.publishListeners.notify(result)
| `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a '@Sendable' closure
157 | }
158 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
:
33 | } else {
34 | return self.eventLoop.submit {
35 | self.tasks.append(task)
| `- warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
36 | }
37 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:35: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
33 | } else {
34 | return self.eventLoop.submit {
35 | self.tasks.append(task)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
36 | }
37 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:53:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
15 |
16 | /// Task handler.
17 | final class MQTTTaskHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'MQTTTaskHandler' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = MQTTPacket
19 |
:
51 | } else {
52 | self.eventLoop.execute {
53 | self._removeTask(task)
| `- warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a '@Sendable' closure
54 | }
55 | }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:53:34: warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
51 | } else {
52 | self.eventLoop.execute {
53 | self._removeTask(task)
| `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a '@Sendable' closure
54 | }
55 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
| `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 | let promise: EventLoopPromise<MQTTPacket>
19 | let checkInbound: (MQTTPacket) throws -> Bool
[768/773] Compiling MQTTNIO MQTTClient.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:252:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
250 |
251 | self.shutdownEventLoopGroup(queue: queue) { error in
252 | callback(closeError ?? error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
253 | }
254 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:252:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
250 |
251 | self.shutdownEventLoopGroup(queue: queue) { error in
252 | callback(closeError ?? error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
253 | }
254 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:265:66: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
256 |
257 | /// shutdown EventLoopGroup
258 | private func shutdownEventLoopGroup(queue: DispatchQueue, _ callback: @escaping (Error?) -> Void) {
| `- note: parameter 'callback' is implicitly non-sendable
259 | switch self.eventLoopGroupProvider {
260 | case .shared:
:
263 | }
264 | case .createNew:
265 | self.eventLoopGroup.shutdownGracefully(queue: queue, callback)
| `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
266 | }
267 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:262:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
260 | case .shared:
261 | queue.async {
262 | callback(nil)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
263 | }
264 | case .createNew:
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:499:44: warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
497 | // only reset connection if this connection is still set. Stops a reconnect having its connection removed by the
498 | // previous connection
499 | if self.connection === connection {
| `- warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
500 | self.connection = nil
501 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:31:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
29 | #endif
30 |
31 | final class MQTTConnection {
| `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
32 | let channel: Channel
33 | let cleanSession: Bool
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:528:31: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
526 | case let auth as MQTTAuthPacket:
527 | // auth messages require an auth workflow closure
528 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
| |- warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
529 | return self.processAuth(auth, authWorkflow: authWorkflow, on: eventLoop)
530 | .flatMapThrowing { result -> MQTTConnAckPacket in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:636:29: warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a '@Sendable' closure
634 | switch auth.reason {
635 | case .continueAuthentication:
636 | workflow(auth)
| |- warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
637 | case .success:
638 | promise.succeed(auth)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:622:14: warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'
620 | ) -> EventLoopFuture<MQTTPacket> {
621 | let promise = eventLoop.makePromise(of: MQTTPacket.self)
622 | func workflow(_ packet: MQTTAuthPacket) {
| `- warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'
623 | let auth = MQTTAuthV5(reason: packet.reason, properties: packet.properties)
624 | authWorkflow(auth, eventLoop)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClientV5.swift:190:27: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
188 | return eventLoop.makeSucceededFuture(auth)
189 | }
190 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
| |- warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
191 | return self.client.processAuth(authPacket, authWorkflow: authWorkflow, on: eventLoop)
192 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClientV5.swift:191:24: warning: capture of 'self' with non-sendable type 'MQTTClient.V5' in a '@Sendable' closure
16 | extension MQTTClient {
17 | /// Provides implementations of functions that expose MQTT Version 5.0 features
18 | public struct V5 {
| `- note: consider making struct 'V5' conform to the 'Sendable' protocol
19 | let client: MQTTClient
20 |
:
189 | }
190 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
191 | return self.client.processAuth(authPacket, authWorkflow: authWorkflow, on: eventLoop)
| `- warning: capture of 'self' with non-sendable type 'MQTTClient.V5' in a '@Sendable' closure
192 | }
193 | .flatMapThrowing { response -> MQTTAuthV5 in
[769/773] Compiling MQTTNIO MQTTClientV5.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:252:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
250 |
251 | self.shutdownEventLoopGroup(queue: queue) { error in
252 | callback(closeError ?? error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
253 | }
254 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:252:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
250 |
251 | self.shutdownEventLoopGroup(queue: queue) { error in
252 | callback(closeError ?? error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
253 | }
254 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:265:66: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
256 |
257 | /// shutdown EventLoopGroup
258 | private func shutdownEventLoopGroup(queue: DispatchQueue, _ callback: @escaping (Error?) -> Void) {
| `- note: parameter 'callback' is implicitly non-sendable
259 | switch self.eventLoopGroupProvider {
260 | case .shared:
:
263 | }
264 | case .createNew:
265 | self.eventLoopGroup.shutdownGracefully(queue: queue, callback)
| `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
266 | }
267 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:262:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
260 | case .shared:
261 | queue.async {
262 | callback(nil)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
263 | }
264 | case .createNew:
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:499:44: warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
497 | // only reset connection if this connection is still set. Stops a reconnect having its connection removed by the
498 | // previous connection
499 | if self.connection === connection {
| `- warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
500 | self.connection = nil
501 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:31:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
29 | #endif
30 |
31 | final class MQTTConnection {
| `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
32 | let channel: Channel
33 | let cleanSession: Bool
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:528:31: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
526 | case let auth as MQTTAuthPacket:
527 | // auth messages require an auth workflow closure
528 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
| |- warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
529 | return self.processAuth(auth, authWorkflow: authWorkflow, on: eventLoop)
530 | .flatMapThrowing { result -> MQTTConnAckPacket in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:636:29: warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a '@Sendable' closure
634 | switch auth.reason {
635 | case .continueAuthentication:
636 | workflow(auth)
| |- warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
637 | case .success:
638 | promise.succeed(auth)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:622:14: warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'
620 | ) -> EventLoopFuture<MQTTPacket> {
621 | let promise = eventLoop.makePromise(of: MQTTPacket.self)
622 | func workflow(_ packet: MQTTAuthPacket) {
| `- warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'
623 | let auth = MQTTAuthV5(reason: packet.reason, properties: packet.properties)
624 | authWorkflow(auth, eventLoop)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClientV5.swift:190:27: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
188 | return eventLoop.makeSucceededFuture(auth)
189 | }
190 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
| |- warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
191 | return self.client.processAuth(authPacket, authWorkflow: authWorkflow, on: eventLoop)
192 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClientV5.swift:191:24: warning: capture of 'self' with non-sendable type 'MQTTClient.V5' in a '@Sendable' closure
16 | extension MQTTClient {
17 | /// Provides implementations of functions that expose MQTT Version 5.0 features
18 | public struct V5 {
| `- note: consider making struct 'V5' conform to the 'Sendable' protocol
19 | let client: MQTTClient
20 |
:
189 | }
190 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
191 | return self.client.processAuth(authPacket, authWorkflow: authWorkflow, on: eventLoop)
| `- warning: capture of 'self' with non-sendable type 'MQTTClient.V5' in a '@Sendable' closure
192 | }
193 | .flatMapThrowing { response -> MQTTAuthV5 in
[770/773] Compiling MQTTNIO MQTTConfiguration.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:252:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
250 |
251 | self.shutdownEventLoopGroup(queue: queue) { error in
252 | callback(closeError ?? error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
253 | }
254 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:252:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
250 |
251 | self.shutdownEventLoopGroup(queue: queue) { error in
252 | callback(closeError ?? error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
253 | }
254 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:265:66: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
256 |
257 | /// shutdown EventLoopGroup
258 | private func shutdownEventLoopGroup(queue: DispatchQueue, _ callback: @escaping (Error?) -> Void) {
| `- note: parameter 'callback' is implicitly non-sendable
259 | switch self.eventLoopGroupProvider {
260 | case .shared:
:
263 | }
264 | case .createNew:
265 | self.eventLoopGroup.shutdownGracefully(queue: queue, callback)
| `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
266 | }
267 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:262:17: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
260 | case .shared:
261 | queue.async {
262 | callback(nil)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
263 | }
264 | case .createNew:
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:499:44: warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
497 | // only reset connection if this connection is still set. Stops a reconnect having its connection removed by the
498 | // previous connection
499 | if self.connection === connection {
| `- warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a '@Sendable' closure
500 | self.connection = nil
501 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:31:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
29 | #endif
30 |
31 | final class MQTTConnection {
| `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
32 | let channel: Channel
33 | let cleanSession: Bool
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:528:31: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
526 | case let auth as MQTTAuthPacket:
527 | // auth messages require an auth workflow closure
528 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
| |- warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
529 | return self.processAuth(auth, authWorkflow: authWorkflow, on: eventLoop)
530 | .flatMapThrowing { result -> MQTTConnAckPacket in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:636:29: warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a '@Sendable' closure
634 | switch auth.reason {
635 | case .continueAuthentication:
636 | workflow(auth)
| |- warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
637 | case .success:
638 | promise.succeed(auth)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:622:14: warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'
620 | ) -> EventLoopFuture<MQTTPacket> {
621 | let promise = eventLoop.makePromise(of: MQTTPacket.self)
622 | func workflow(_ packet: MQTTAuthPacket) {
| `- warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'
623 | let auth = MQTTAuthV5(reason: packet.reason, properties: packet.properties)
624 | authWorkflow(auth, eventLoop)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClientV5.swift:190:27: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
188 | return eventLoop.makeSucceededFuture(auth)
189 | }
190 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
| |- warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
191 | return self.client.processAuth(authPacket, authWorkflow: authWorkflow, on: eventLoop)
192 | }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClientV5.swift:191:24: warning: capture of 'self' with non-sendable type 'MQTTClient.V5' in a '@Sendable' closure
16 | extension MQTTClient {
17 | /// Provides implementations of functions that expose MQTT Version 5.0 features
18 | public struct V5 {
| `- note: consider making struct 'V5' conform to the 'Sendable' protocol
19 | let client: MQTTClient
20 |
:
189 | }
190 | guard let authWorkflow else { return eventLoop.makeFailedFuture(MQTTError.authWorkflowRequired) }
191 | return self.client.processAuth(authPacket, authWorkflow: authWorkflow, on: eventLoop)
| `- warning: capture of 'self' with non-sendable type 'MQTTClient.V5' in a '@Sendable' closure
192 | }
193 | .flatMapThrowing { response -> MQTTAuthV5 in
[771/773] Compiling MQTTNIO MQTTClient+async.swift
[772/773] Compiling MQTTNIO MQTTClientV5+async.swift
[773/773] Compiling MQTTNIO Sendable.swift
Build complete! (164.24s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.80.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.14.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.20.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "mqtt-nio",
"name" : "mqtt-nio",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "MQTTNIO",
"targets" : [
"MQTTNIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MQTTNIOTests",
"module_type" : "SwiftTarget",
"name" : "MQTTNIOTests",
"path" : "Tests/MQTTNIOTests",
"sources" : [
"CoreMQTTTests.swift",
"MQTTNIOTests+async.swift",
"MQTTNIOTests.swift",
"MQTTNIOv5Tests.swift"
],
"target_dependencies" : [
"MQTTNIO"
],
"type" : "test"
},
{
"c99name" : "MQTTNIO",
"module_type" : "SwiftTarget",
"name" : "MQTTNIO",
"path" : "Sources/MQTTNIO",
"product_dependencies" : [
"Atomics",
"Logging",
"NIO",
"NIOConcurrencyHelpers",
"NIOHTTP1",
"NIOWebSocket",
"NIOSSL",
"NIOTransportServices"
],
"product_memberships" : [
"MQTTNIO"
],
"sources" : [
"AsyncAwaitSupport/MQTTClient+async.swift",
"AsyncAwaitSupport/MQTTClientV5+async.swift",
"AsyncAwaitSupport/Sendable.swift",
"ChannelHandlers/MQTTMessageDecoder.swift",
"ChannelHandlers/MQTTMessageHandler.swift",
"ChannelHandlers/MQTTTaskHandler.swift",
"ChannelHandlers/PingreqHandler.swift",
"ChannelHandlers/WebSocketHandler.swift",
"ChannelHandlers/WebSocketInitialRequest.swift",
"MQTTClient.swift",
"MQTTClientV5.swift",
"MQTTConfiguration.swift",
"MQTTConnection.swift",
"MQTTCoreTypes.swift",
"MQTTCoreTypesV5.swift",
"MQTTError.swift",
"MQTTInflight.swift",
"MQTTListeners.swift",
"MQTTPacket.swift",
"MQTTProperties.swift",
"MQTTReason.swift",
"MQTTSerializer.swift",
"MQTTTask.swift",
"TSTLSConfiguration.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.