Build Information
Successful build of mqtt-nio, reference 2.12.1 (493ca8
), with Swift 6.1 for Linux on 15 May 2025 11:45:51 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: 2.12.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swift-server-community/mqtt-nio
* tag 2.12.1 -> FETCH_HEAD
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 2.12.1
========================================
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-nio.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2049] Fetching swift-docc-plugin
[227/4716] Fetching swift-docc-plugin, swift-nio-transport-services
[996/6426] Fetching swift-docc-plugin, swift-nio-transport-services, swift-atomics
[2584/10262] Fetching swift-docc-plugin, swift-nio-transport-services, swift-atomics, swift-log
[10263/86199] Fetching swift-docc-plugin, swift-nio-transport-services, swift-atomics, swift-log, swift-nio
[10264/101035] Fetching swift-docc-plugin, swift-nio-transport-services, swift-atomics, swift-log, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.53s)
[10598/98368] Fetching swift-docc-plugin, swift-atomics, swift-log, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
[9036/96658] Fetching swift-docc-plugin, swift-log, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-docc-plugin from cache (2.27s)
[76385/94609] Fetching swift-log, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.30s)
[62308/79773] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (5.29s)
Fetched https://github.com/apple/swift-nio.git from cache (5.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (6.29s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4367] Fetching swift-system
[1399/20764] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
[4428/16397] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.56s)
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.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.62s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3382] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.56s)
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.68s)
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-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-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-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/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-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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/434] Write sources
[20/434] Compiling CNIOWindows WSAStartup.c
[20/434] Compiling CNIOWASI CNIOWASI.c
[20/434] Compiling CNIOWindows shim.c
[23/434] Compiling _AtomicsShims.c
[24/434] Compiling CNIOLinux liburing_shims.c
[25/434] Compiling CNIODarwin shim.c
[26/434] Compiling CNIOLLHTTP c_nio_http.c
[27/434] Compiling CNIOSHA1 c_nio_sha1.c
[28/434] Compiling CNIOLinux shim.c
[29/434] Compiling CNIOLLHTTP c_nio_api.c
[30/434] Compiling fiat_p256_adx_mul.S
[31/434] Compiling fiat_p256_adx_sqr.S
[32/434] Compiling fiat_curve25519_adx_square.S
[33/434] Compiling fiat_curve25519_adx_mul.S
[34/434] Write swift-version-24593BA9C3E375BF.txt
[35/434] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/438] Compiling CNIOBoringSSLShims shims.c
[38/440] Emitting module _NIODataStructures
[38/440] Compiling tls_method.cc
[39/440] Compiling tls_record.cc
[40/454] Compiling tls13_server.cc
[41/462] Compiling tls13_both.cc
[42/462] Compiling tls13_client.cc
[43/462] Compiling tls13_enc.cc
[44/481] Compiling t1_enc.cc
[45/481] Compiling ssl_versions.cc
[47/481] Compiling Atomics Primitives.shims.swift
[48/481] Compiling Atomics AtomicInteger.swift
[49/481] Compiling Atomics AtomicOptionalWrappable.swift
[50/483] Emitting module InternalCollectionsUtilities
[51/485] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[52/485] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[52/485] Compiling ssl_x509.cc
[55/485] Compiling Atomics AtomicStorage.swift
[56/485] Compiling Atomics AtomicValue.swift
[58/485] Compiling Logging LogHandler.swift
[59/485] Compiling Atomics AtomicMemoryOrderings.swift
[60/485] Compiling Atomics DoubleWord.swift
[61/485] Compiling Atomics ManagedAtomic.swift
[62/485] Compiling Atomics ManagedAtomicLazyReference.swift
[63/485] Compiling Atomics AtomicReference.swift
[66/485] Compiling Atomics OptionalRawRepresentable.swift
[67/485] Compiling Atomics RawRepresentable.swift
[68/485] Compiling Atomics AtomicBool.swift
[69/485] Compiling _NIODataStructures _TinyArray.swift
[70/485] Compiling _NIODataStructures PriorityQueue.swift
[71/485] Compiling Atomics IntegerConformances.swift
[72/485] Compiling Atomics PointerConformances.swift
[73/485] Compiling Atomics Primitives.native.swift
[78/485] Emitting module _NIOBase64
[79/485] Compiling _NIOBase64 Base64.swift
[83/486] Compiling Atomics IntegerOperations.swift
[84/486] Compiling Atomics Unmanaged extensions.swift
[87/487] Emitting module Atomics
[96/503] Compiling Logging Locks.swift
[97/503] Emitting module Logging
[98/503] Compiling Logging MetadataProvider.swift
[99/503] Compiling _NIODataStructures Heap.swift
[100/504] Compiling Logging Logging.swift
[103/505] Compiling DequeModule _DequeBuffer.swift
[104/505] Compiling DequeModule _DequeBufferHeader.swift
[104/507] Compiling ssl_transcript.cc
[105/507] Compiling ssl_stat.cc
[107/507] Compiling DequeModule Deque+Equatable.swift
[108/507] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[109/507] Compiling DequeModule _DequeSlot.swift
[110/507] Compiling DequeModule _UnsafeWrappedBuffer.swift
[111/507] Compiling DequeModule Deque+Extras.swift
[112/507] Compiling DequeModule Deque+Hashable.swift
[113/507] Compiling DequeModule Deque+Testing.swift
[114/507] Compiling DequeModule Deque._Storage.swift
[115/507] Compiling DequeModule Deque+CustomReflectable.swift
[116/507] Compiling DequeModule Deque+Descriptions.swift
[117/507] Compiling DequeModule Deque._UnsafeHandle.swift
[118/507] Compiling DequeModule Deque.swift
[118/507] Compiling ssl_session.cc
[120/507] Compiling DequeModule Deque+Codable.swift
[121/507] Compiling DequeModule Deque+Collection.swift
[122/507] Emitting module DequeModule
[122/507] Compiling ssl_privkey.cc
[124/508] Compiling ssl_file.cc
[125/508] Compiling ssl_lib.cc
[126/508] Compiling ssl_cipher.cc
[127/508] Compiling ssl_key_share.cc
[128/508] Compiling ssl_credential.cc
[129/508] Compiling ssl_cert.cc
[130/508] Compiling ssl_buffer.cc
[131/508] Compiling ssl_asn1.cc
[132/508] Compiling ssl_aead_ctx.cc
[133/508] Compiling s3_pkt.cc
[134/508] Compiling s3_lib.cc
[135/508] Compiling s3_both.cc
[136/508] Compiling handshake_server.cc
[137/508] Compiling handshake.cc
[138/508] Compiling handshake_client.cc
[139/508] Compiling handoff.cc
[140/508] Compiling dtls_record.cc
[141/508] Compiling dtls_method.cc
[142/508] Compiling md5-x86_64-linux.S
[143/508] Compiling d1_srtp.cc
[144/508] Compiling encrypted_client_hello.cc
[145/508] Compiling md5-x86_64-apple.S
[146/508] Compiling md5-586-linux.S
[147/508] Compiling md5-586-apple.S
[148/508] Compiling chacha20_poly1305_x86_64-linux.S
[149/508] Compiling chacha20_poly1305_x86_64-apple.S
[150/508] Compiling chacha20_poly1305_armv8-win.S
[151/508] Compiling chacha20_poly1305_armv8-linux.S
[152/508] Compiling extensions.cc
[153/508] Compiling chacha20_poly1305_armv8-apple.S
[154/508] Compiling err_data.cc
[155/508] Compiling chacha-x86_64-apple.S
[156/508] Compiling chacha-x86_64-linux.S
[157/508] Compiling chacha-x86-linux.S
[158/508] Compiling chacha-x86-apple.S
[159/508] Compiling chacha-armv8-win.S
[160/508] Compiling chacha-armv8-linux.S
[161/508] Compiling chacha-armv8-apple.S
[162/508] Compiling chacha-armv4-linux.S
[163/508] Compiling aes128gcmsiv-x86_64-apple.S
[164/508] Compiling aes128gcmsiv-x86_64-linux.S
[165/508] Compiling x86_64-mont5-apple.S
[166/508] Compiling d1_pkt.cc
[167/508] Compiling x86_64-mont5-linux.S
[168/508] Compiling x86_64-mont-linux.S
[169/508] Compiling x86_64-mont-apple.S
[170/508] Compiling x86-mont-apple.S
[171/508] Compiling x86-mont-linux.S
[172/508] Compiling d1_lib.cc
[173/508] Compiling vpaes-x86_64-apple.S
[174/508] Compiling vpaes-x86-linux.S
[175/508] Compiling vpaes-x86_64-linux.S
[176/508] Compiling bio_ssl.cc
[177/508] Compiling vpaes-x86-apple.S
[178/508] Compiling vpaes-armv8-win.S
[179/508] Compiling vpaes-armv8-linux.S
[180/508] Compiling vpaes-armv8-apple.S
[181/508] Compiling vpaes-armv7-linux.S
[182/508] Compiling sha512-armv8-apple.S
[183/508] Compiling sha512-armv8-win.S
[184/508] Compiling sha512-x86_64-apple.S
[185/508] Compiling sha512-armv8-linux.S
[186/508] Compiling sha512-armv4-linux.S
[187/508] Compiling sha512-x86_64-linux.S
[188/508] Compiling sha512-586-linux.S
[189/508] Compiling sha512-586-apple.S
[190/508] Compiling sha256-x86_64-apple.S
[191/508] Compiling sha256-armv8-linux.S
[192/508] Compiling sha256-armv8-apple.S
[193/508] Compiling sha256-armv8-win.S
[194/508] Compiling sha256-x86_64-linux.S
[195/508] Compiling sha256-armv4-linux.S
[196/508] Compiling sha256-586-linux.S
[197/508] Compiling sha256-586-apple.S
[198/508] Compiling sha1-armv8-win.S
[199/508] Compiling sha1-x86_64-apple.S
[200/508] Compiling sha1-armv4-large-linux.S
[201/508] Compiling sha1-armv8-apple.S
[202/508] Compiling sha1-armv8-linux.S
[203/508] Compiling sha1-x86_64-linux.S
[204/508] Compiling sha1-586-linux.S
[205/508] Compiling sha1-586-apple.S
[206/508] Compiling rsaz-avx2-apple.S
[207/508] Compiling rdrand-x86_64-linux.S
[208/508] Compiling rsaz-avx2-linux.S
[209/508] Compiling rdrand-x86_64-apple.S
[210/508] Compiling p256_beeu-armv8-asm-win.S
[211/508] Compiling p256_beeu-x86_64-asm-linux.S
[212/508] Compiling p256_beeu-x86_64-asm-apple.S
[213/508] Compiling p256_beeu-armv8-asm-apple.S
[214/508] Compiling p256_beeu-armv8-asm-linux.S
[215/508] Compiling d1_both.cc
[216/508] Compiling p256-armv8-asm-win.S
[217/508] Compiling p256-x86_64-asm-linux.S
[218/508] Compiling p256-x86_64-asm-apple.S
[219/508] Compiling p256-armv8-asm-linux.S
[220/508] Compiling ghashv8-armv8-win.S
[221/508] Compiling ghashv8-armv8-linux.S
[222/508] Compiling p256-armv8-asm-apple.S
[223/508] Compiling ghashv8-armv8-apple.S
[224/508] Compiling ghash-x86_64-linux.S
[225/508] Compiling ghashv8-armv7-linux.S
[226/508] Compiling ghash-x86_64-apple.S
[227/508] Compiling ghash-x86-linux.S
[228/508] Compiling ghash-x86-apple.S
[229/508] Compiling ghash-ssse3-x86-apple.S
[230/508] Compiling ghash-ssse3-x86_64-apple.S
[231/508] Compiling ghash-ssse3-x86_64-linux.S
[232/508] Compiling ghash-ssse3-x86-linux.S
[233/508] Compiling ghash-neon-armv8-linux.S
[234/508] Compiling ghash-neon-armv8-apple.S
[234/508] Compiling ghash-neon-armv8-win.S
[236/508] Compiling ghash-armv4-linux.S
[237/508] Compiling co-586-apple.S
[238/508] Compiling co-586-linux.S
[239/508] Compiling bsaes-armv7-linux.S
[240/508] Compiling bn-armv8-win.S
[241/508] Compiling bn-armv8-apple.S
[241/508] Compiling bn-586-linux.S
[243/508] Compiling bn-armv8-linux.S
[244/508] Compiling bn-586-apple.S
[245/508] Compiling armv4-mont-linux.S
[246/508] Compiling armv8-mont-win.S
[247/508] Compiling armv8-mont-linux.S
[248/508] Compiling aesv8-gcm-armv8-win.S
[249/508] Compiling armv8-mont-apple.S
[250/508] Compiling aesv8-gcm-armv8-linux.S
[251/508] Compiling aesv8-gcm-armv8-apple.S
[252/508] Compiling aesv8-armv8-win.S
[253/508] Compiling aesv8-armv8-linux.S
[254/508] Compiling aesv8-armv8-apple.S
[255/508] Compiling aesv8-armv7-linux.S
[256/508] Compiling aesni-x86-apple.S
[257/508] Compiling aesni-x86-linux.S
[258/508] Compiling aesni-x86_64-apple.S
[259/508] Compiling aesni-x86_64-linux.S
[260/508] Compiling aes-gcm-avx2-x86_64-apple.S
[261/508] Compiling aesni-gcm-x86_64-linux.S
[262/508] Compiling aesni-gcm-x86_64-apple.S
[263/508] Compiling aes-gcm-avx2-x86_64-linux.S
[264/508] Compiling aes-gcm-avx10-x86_64-linux.S
[265/508] Compiling aes-gcm-avx10-x86_64-apple.S
[266/508] Compiling x_val.cc
[267/508] Compiling x_x509.cc
[268/508] Compiling x_sig.cc
[269/508] Compiling x_name.cc
[270/508] Compiling x_x509a.cc
[271/508] Compiling x_pubkey.cc
[272/508] Compiling x_req.cc
[273/508] Compiling x_spki.cc
[274/508] Compiling x_exten.cc
[275/508] Compiling x_attrib.cc
[276/508] Compiling x_crl.cc
[277/508] Compiling x_algor.cc
[278/508] Compiling x509spki.cc
[279/508] Compiling x_all.cc
[280/508] Compiling x509name.cc
[281/508] Compiling x509rset.cc
[282/508] Compiling x509cset.cc
[283/508] Compiling x509_txt.cc
[284/508] Compiling x509_vpm.cc
[285/508] Compiling x509_v3.cc
[286/508] Compiling x509_trs.cc
[287/508] Compiling x509_set.cc
[288/508] Compiling x509_vfy.cc
[289/508] Compiling x509_req.cc
[290/508] Compiling x509_obj.cc
[291/508] Compiling x509_def.cc
[292/508] Compiling x509_d2.cc
[293/508] Compiling x509_ext.cc
[294/508] Compiling x509_lu.cc
[295/508] Compiling x509_cmp.cc
[296/508] Compiling x509_att.cc
[297/508] Compiling x509.cc
[298/508] Compiling v3_utl.cc
[299/508] Compiling v3_purp.cc
[299/508] Compiling v3_skey.cc
[301/508] Compiling v3_prn.cc
[302/508] Compiling v3_pcons.cc
[303/508] Compiling v3_pmaps.cc
[304/508] Compiling v3_ocsp.cc
[305/508] Compiling v3_lib.cc
[306/508] Compiling v3_ncons.cc
[307/508] Compiling v3_ia5.cc
[308/508] Compiling v3_int.cc
[309/508] Compiling v3_info.cc
[310/508] Compiling v3_genn.cc
[311/508] Compiling v3_enum.cc
[312/508] Compiling v3_extku.cc
[313/508] Compiling v3_crld.cc
[314/508] Compiling v3_cpols.cc
[315/508] Compiling v3_conf.cc
[316/508] Compiling v3_bcons.cc
[317/508] Compiling v3_bitst.cc
[318/508] Compiling v3_alt.cc
[319/508] Compiling t_x509a.cc
[320/508] Compiling v3_akeya.cc
[321/508] Compiling t_x509.cc
[322/508] Compiling v3_akey.cc
[323/508] Compiling i2d_pr.cc
[324/508] Compiling t_crl.cc
[325/508] Compiling t_req.cc
[326/508] Compiling rsa_pss.cc
[327/508] Compiling name_print.cc
[328/508] Compiling by_dir.cc
[329/508] Compiling policy.cc
[330/508] Compiling by_file.cc
[331/508] Compiling algorithm.cc
[332/508] Compiling asn1_gen.cc
[333/508] Compiling a_verify.cc
[334/508] Compiling thread_win.cc
[335/508] Compiling a_digest.cc
[336/508] Compiling a_sign.cc
[337/508] Compiling voprf.cc
[338/508] Compiling thread_pthread.cc
[339/508] Compiling trust_token.cc
[340/508] Compiling pmbtoken.cc
[341/508] Compiling thread_none.cc
[342/508] Compiling stack.cc
[343/508] Compiling thread.cc
[344/508] Compiling sha512.cc
[345/508] Compiling siphash.cc
[346/508] Compiling sha256.cc
[347/508] Compiling sha1.cc
[348/508] Compiling slhdsa.cc
[349/508] Compiling rsa_extra.cc
[350/508] Compiling spake2plus.cc
[351/508] Compiling rsa_print.cc
[352/508] Compiling rsa_crypt.cc
[353/508] Compiling rc4.cc
[354/508] Compiling refcount.cc
[355/508] Compiling windows.cc
[356/508] Compiling trusty.cc
[357/508] Compiling passive.cc
[358/508] Compiling urandom.cc
[359/508] Compiling rand.cc
[360/508] Compiling ios.cc
[361/508] Compiling getentropy.cc
[362/508] Compiling fork_detect.cc
[363/508] Compiling rsa_asn1.cc
[364/508] Compiling poly1305_arm_asm.S
[365/508] Compiling deterministic.cc
[366/508] Compiling forkunsafe.cc
[367/508] Compiling poly1305_vec.cc
[368/508] Compiling poly1305_arm.cc
[369/508] Compiling pool.cc
[370/508] Compiling poly1305.cc
[371/508] Compiling pkcs7.cc
[372/508] Compiling p5_pbev2.cc
[373/508] Compiling pkcs8.cc
[374/508] Compiling pkcs8_x509.cc
[375/508] Compiling pkcs7_x509.cc
[376/508] Compiling pem_xaux.cc
[377/508] Compiling pem_x509.cc
[378/508] Compiling pem_pkey.cc
[379/508] Compiling obj_xref.cc
[380/508] Compiling mlkem.cc
[381/508] Compiling pem_pk8.cc
[382/508] Compiling pem_oth.cc
[383/508] Compiling pem_info.cc
[384/508] Compiling obj.cc
[385/508] Compiling mldsa.cc
[386/508] Compiling pem_lib.cc
[387/508] Compiling pem_all.cc
[388/508] Compiling mem.cc
[389/508] Compiling md5.cc
[390/508] Compiling fips_shared_support.cc
[391/508] Compiling poly_rq_mul.S
[392/508] Compiling lhash.cc
[393/508] Compiling md4.cc
[394/508] Compiling scrypt.cc
[395/508] Compiling kyber.cc
[396/508] Compiling ex_data.cc
[397/508] Compiling sign.cc
[398/508] Compiling print.cc
[399/508] Compiling hrss.cc
[400/508] Compiling hpke.cc
[401/508] Compiling pbkdf.cc
[402/508] Compiling p_x25519.cc
[403/508] Compiling p_rsa_asn1.cc
[404/508] Compiling p_x25519_asn1.cc
[405/508] Compiling p_ed25519.cc
[406/508] Compiling p_rsa.cc
[407/508] Compiling p_ed25519_asn1.cc
[408/508] Compiling p_hkdf.cc
[409/508] Compiling p_dh.cc
[410/508] Compiling p_ec.cc
[411/508] Compiling p_dh_asn1.cc
[412/508] Compiling p_ec_asn1.cc
[413/508] Compiling evp_ctx.cc
[414/508] Compiling evp.cc
[415/508] Compiling p_dsa_asn1.cc
[416/508] Compiling evp_asn1.cc
[417/508] Compiling err.cc
[418/508] Compiling engine.cc
[419/508] Compiling ecdsa_asn1.cc
[420/508] Compiling ecdh.cc
[421/508] Compiling ec_derive.cc
[422/508] Compiling hash_to_curve.cc
[423/508] Compiling params.cc
[424/508] Compiling dsa_asn1.cc
[425/508] Compiling ec_asn1.cc
[426/508] Compiling dsa.cc
[427/508] Compiling dh_asn1.cc
[428/508] Compiling x25519-asm-arm.S
[429/508] Compiling des.cc
[430/508] Compiling digest_extra.cc
[431/508] Compiling crypto.cc
[432/508] Compiling cpu_intel.cc
[433/508] Compiling spake25519.cc
[434/508] Compiling cpu_arm_linux.cc
[435/508] Compiling cpu_arm_freebsd.cc
[436/508] Compiling curve25519.cc
[437/508] Compiling cpu_aarch64_win.cc
[438/508] Compiling cpu_aarch64_sysreg.cc
[439/508] Compiling cpu_aarch64_openbsd.cc
[440/508] Compiling cpu_aarch64_linux.cc
[441/508] Compiling cpu_aarch64_fuchsia.cc
[442/508] Compiling bcm.cc
[443/508] Compiling cpu_aarch64_apple.cc
[444/508] Compiling curve25519_64_adx.cc
[445/508] Compiling get_cipher.cc
[446/508] Compiling tls_cbc.cc
[447/508] Compiling conf.cc
[448/508] Compiling e_tls.cc
[449/508] Compiling e_rc4.cc
[450/508] Compiling e_rc2.cc
[451/508] Compiling e_null.cc
[452/508] Compiling e_des.cc
[453/508] Compiling e_chacha20poly1305.cc
[454/508] Compiling e_aesctrhmac.cc
[455/508] Compiling e_aesgcmsiv.cc
[456/508] Compiling derive_key.cc
[457/508] Compiling chacha.cc
[458/508] Compiling unicode.cc
[459/508] Compiling buf.cc
[460/508] Compiling cbb.cc
[461/508] Compiling cbs.cc
[462/508] Compiling ber.cc
[463/508] Compiling asn1_compat.cc
[464/508] Compiling bn_asn1.cc
[465/508] Compiling convert.cc
[466/508] Compiling blake2.cc
[467/508] Compiling socket_helper.cc
[468/508] Compiling socket.cc
[469/508] Compiling printf.cc
[470/508] Compiling pair.cc
[471/508] Compiling hexdump.cc
[472/508] Compiling file.cc
[473/508] Compiling fd.cc
[474/508] Compiling errno.cc
[475/508] Compiling bio_mem.cc
[476/508] Compiling connect.cc
[477/508] Compiling bio.cc
[478/508] Compiling base64.cc
[479/508] Compiling tasn_typ.cc
[480/508] Compiling tasn_fre.cc
[481/508] Compiling tasn_utl.cc
[482/508] Compiling f_string.cc
[483/508] Compiling posix_time.cc
[484/508] Compiling tasn_enc.cc
[485/508] Compiling tasn_new.cc
[486/508] Compiling f_int.cc
[487/508] Compiling asn_pack.cc
[488/508] Compiling tasn_dec.cc
[489/508] Compiling asn1_par.cc
[490/508] Compiling a_octet.cc
[491/508] Compiling asn1_lib.cc
[492/508] Compiling a_type.cc
[493/508] Compiling a_utctm.cc
[494/508] Compiling a_time.cc
[495/508] Compiling a_strnid.cc
[496/508] Compiling a_strex.cc
[497/508] Compiling a_object.cc
[498/508] Compiling a_mbstr.cc
[499/508] Compiling a_i2d_fp.cc
[500/508] Compiling a_dup.cc
[501/508] Compiling a_d2i_fp.cc
[502/508] Compiling a_int.cc
[503/508] Compiling a_gentm.cc
[504/508] Compiling a_bool.cc
[505/508] Compiling a_bitstr.cc
[506/508] Compiling c-nioatomics.c
[507/508] Compiling c-atomics.c
[509/514] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[510/514] Emitting module NIOConcurrencyHelpers
[511/514] Compiling NIOConcurrencyHelpers NIOLock.swift
[512/514] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[513/514] Compiling NIOConcurrencyHelpers lock.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 AddressedEnvelope.swift
[533/583] Compiling NIOCore AsyncAwaitSupport.swift
[534/583] Compiling NIOCore AsyncChannel.swift
[535/583] Compiling NIOCore AsyncChannelHandler.swift
[536/583] Compiling NIOCore AsyncChannelInboundStream.swift
[537/583] Compiling NIOCore AsyncChannelOutboundWriter.swift
[538/583] Compiling NIOCore NIOAsyncSequenceProducer.swift
[539/583] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[540/583] Compiling NIOCore NIOAsyncWriter.swift
[541/583] Compiling NIOCore CircularBuffer.swift
[542/583] Compiling NIOCore Codec.swift
[543/583] Compiling NIOCore ConvenienceOptionSupport.swift
[544/583] Compiling NIOCore DeadChannel.swift
[545/583] Compiling NIOCore DispatchQueue+WithFuture.swift
[546/583] Compiling NIOCore EventLoop+Deprecated.swift
[547/583] Compiling NIOCore EventLoop+SerialExecutor.swift
[548/583] Compiling NIOCore EventLoop.swift
[549/583] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[550/583] Compiling NIOCore SocketAddresses.swift
[551/583] Compiling NIOCore SocketOptionProvider.swift
[552/583] Compiling NIOCore SystemCallHelpers.swift
[553/583] Compiling NIOCore TimeAmount+Duration.swift
[554/583] Compiling NIOCore TypeAssistedChannelHandler.swift
[555/583] Compiling NIOCore UniversalBootstrapSupport.swift
[556/583] Compiling NIOCore Utilities.swift
[557/583] Emitting module NIOCore
[558/583] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[559/583] Compiling NIOCore BSDSocketAPI.swift
[560/583] Compiling NIOCore ByteBuffer-aux.swift
[561/583] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[562/583] Compiling NIOCore ByteBuffer-conversions.swift
[563/583] Compiling NIOCore ByteBuffer-core.swift
[564/583] Compiling NIOCore ByteBuffer-hex.swift
[565/583] Compiling NIOCore ByteBuffer-int.swift
[566/583] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[567/583] Compiling NIOCore ByteBuffer-multi-int.swift
[568/583] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[569/583] Compiling NIOCore ByteBuffer-views.swift
[570/583] Compiling NIOCore Channel.swift
[571/583] Compiling NIOCore ChannelHandler.swift
[572/583] Compiling NIOCore ChannelHandlers.swift
[573/583] Compiling NIOCore ChannelInvoker.swift
[574/583] Compiling NIOCore ChannelOption.swift
[575/583] Compiling NIOCore ChannelPipeline.swift
[576/583] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[577/583] Compiling NIOCore EventLoopFuture+Deprecated.swift
[578/583] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[579/583] Compiling NIOCore EventLoopFuture.swift
[580/583] Compiling NIOCore FileDescriptor.swift
[581/583] Compiling NIOCore FileHandle.swift
[582/583] Compiling NIOCore FileRegion.swift
[583/583] Compiling NIOCore GlobalSingletons.swift
[585/634] Emitting module NIOEmbedded
[586/634] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[587/634] Compiling NIOEmbedded Embedded.swift
[588/634] Compiling NIOEmbedded AsyncTestingChannel.swift
[590/635] Compiling NIOPosix IO.swift
[591/635] Compiling NIOPosix IntegerBitPacking.swift
[592/635] Compiling NIOPosix IntegerTypes.swift
[593/635] Compiling NIOPosix Linux.swift
[594/635] Compiling NIOPosix LinuxCPUSet.swift
[595/635] Compiling NIOPosix LinuxUring.swift
[596/635] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[597/641] Emitting module NIOPosix
[598/641] Compiling NIOPosix ThreadPosix.swift
[599/641] Compiling NIOPosix ThreadWindows.swift
[600/641] Compiling NIOPosix UnsafeTransfer.swift
[601/641] Compiling NIOPosix Utilities.swift
[602/641] Compiling NIOPosix VsockAddress.swift
[603/641] Compiling NIOPosix VsockChannelEvents.swift
[604/641] Compiling NIOPosix SelectableChannel.swift
[605/641] Compiling NIOPosix SelectableEventLoop.swift
[606/641] Compiling NIOPosix SelectorEpoll.swift
[607/641] Compiling NIOPosix SelectorGeneric.swift
[608/641] Compiling NIOPosix SelectorKqueue.swift
[609/641] Compiling NIOPosix SelectorUring.swift
[610/641] Compiling NIOPosix BSDSocketAPICommon.swift
[611/641] Compiling NIOPosix BSDSocketAPIPosix.swift
[612/641] Compiling NIOPosix BSDSocketAPIWindows.swift
[613/641] Compiling NIOPosix BaseSocket.swift
[614/641] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[615/641] Compiling NIOPosix BaseSocketChannel.swift
[616/641] Compiling NIOPosix BaseStreamSocketChannel.swift
[617/641] Compiling NIOPosix NIOThreadPool.swift
[618/641] Compiling NIOPosix NonBlockingFileIO.swift
[619/641] Compiling NIOPosix PendingDatagramWritesManager.swift
[620/641] Compiling NIOPosix PendingWritesManager.swift
[621/641] Compiling NIOPosix PipeChannel.swift
[622/641] Compiling NIOPosix PipePair.swift
[623/641] Compiling NIOPosix ServerSocket.swift
[624/641] Compiling NIOPosix Socket.swift
[625/641] Compiling NIOPosix SocketChannel.swift
[626/641] Compiling NIOPosix SocketProtocols.swift
[627/641] Compiling NIOPosix System.swift
[628/641] Compiling NIOPosix Thread.swift
[629/641] Compiling NIOPosix Pool.swift
[630/641] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[631/641] Compiling NIOPosix PosixSingletons.swift
[632/641] Compiling NIOPosix RawSocketBootstrap.swift
[633/641] Compiling NIOPosix Resolver.swift
[634/641] Compiling NIOPosix Selectable.swift
[635/641] Compiling NIOPosix Bootstrap.swift
[636/641] Compiling NIOPosix ControlMessage.swift
[637/641] Compiling NIOPosix DatagramVectorReadManager.swift
[638/641] Compiling NIOPosix Errors+Any.swift
[639/641] Compiling NIOPosix FileDescriptor.swift
[640/641] Compiling NIOPosix GetaddrinfoResolver.swift
[641/641] Compiling NIOPosix HappyEyeballs.swift
[643/644] Compiling NIO Exports.swift
[644/644] Emitting module NIO
[646/672] Compiling NIOTLS TLSEvents.swift
[647/672] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[648/672] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[649/672] Emitting module NIOTLS
[650/672] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[651/672] Compiling NIOTLS SNIHandler.swift
[653/673] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[654/673] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[655/704] Compiling NIOSSL SSLCallbacks.swift
[656/704] Compiling NIOSSL SSLContext.swift
[657/704] Compiling NIOSSL ByteBufferBIO.swift
[658/704] Compiling NIOSSL CustomPrivateKey.swift
[659/704] Compiling NIOSSL NIOSSLHandler.swift
[660/704] Compiling NIOSSL AndroidCABundle.swift
[661/704] Compiling NIOSSL SSLPKCS12Bundle.swift
[662/704] Compiling NIOSSL SSLCertificate.swift
[663/704] Compiling NIOSSL ObjectIdentifier.swift
[664/704] Compiling NIOSSL PosixPort.swift
[665/704] Compiling NIOSSL IdentityVerification.swift
[666/704] Compiling NIOSSL NIOSSLServerHandler.swift
[667/704] Emitting module NIOHTTP1
[668/704] Compiling NIOSSL LinuxCABundle.swift
[669/704] Compiling NIOSSL NIOSSLClientHandler.swift
[670/704] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[672/715] Emitting module NIOSSL
[673/719] Compiling NIOSSL SSLPrivateKey.swift
[674/719] Compiling NIOSSL SSLPublicKey.swift
[675/719] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[676/719] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[677/719] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[678/719] Compiling NIOWebSocket SHA1.swift
[679/719] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[680/719] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[681/719] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[682/719] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[683/719] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[684/719] Compiling NIOWebSocket WebSocketOpcode.swift
[685/720] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[686/720] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[687/720] Emitting module NIOFoundationCompat
[691/721] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[692/721] Compiling NIOSSL SubjectAlternativeName.swift
[693/721] Compiling NIOSSL NIOSSLSecureBytes.swift
[694/721] Compiling NIOSSL RNG.swift
[695/721] Compiling NIOSSL SafeCompare.swift
[696/721] Emitting module NIOWebSocket
[697/721] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[698/721] Compiling NIOWebSocket WebSocketErrorCodes.swift
[701/721] Compiling NIOWebSocket WebSocketFrame.swift
[711/744] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[712/744] Compiling NIOTransportServices NIOTSListenerChannel.swift
[713/744] Compiling NIOTransportServices StateManagedChannel.swift
[714/744] Compiling NIOTransportServices StateManagedListenerChannel.swift
[715/744] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[716/744] Compiling NIOTransportServices NIOTSSingletons.swift
[717/744] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[718/744] Compiling NIOTransportServices NIOTSEventLoopGroup.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
[732/746] Compiling NIOTransportServices AcceptHandler.swift
[733/746] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[734/746] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[735/746] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[736/746] Compiling NIOTransportServices NIOTSErrors.swift
[737/746] Compiling NIOTransportServices NIOTSEventLoop.swift
[738/746] Compiling NIOTransportServices NIOTSDatagramListener.swift
[739/746] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[740/746] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[741/746] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[742/746] Compiling NIOTransportServices UDPOptions+SocketChannelOption.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 MQTTClient+async.swift
[750/770] Compiling MQTTNIO MQTTClientV5+async.swift
[751/770] Compiling MQTTNIO Sendable.swift
[752/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
[753/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
[754/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
[755/773] Emitting module MQTTNIO
[756/773] Compiling MQTTNIO MQTTError.swift
[757/773] Compiling MQTTNIO MQTTInflight.swift
[758/773] Compiling MQTTNIO MQTTListeners.swift
[759/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
[760/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
[761/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
[762/773] Compiling MQTTNIO MQTTSerializer.swift
[763/773] Compiling MQTTNIO MQTTTask.swift
[764/773] Compiling MQTTNIO TSTLSConfiguration.swift
[765/773] 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>
[766/773] 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>
[767/773] 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>
[768/773] Compiling MQTTNIO MQTTPacket.swift
[769/773] Compiling MQTTNIO MQTTProperties.swift
[770/773] Compiling MQTTNIO MQTTReason.swift
[771/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
[772/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
[773/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
Build complete! (156.26s)
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.