The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of mqtt-nio, reference main (ac20cd), with Swift 6.0 for Linux on 6 Nov 2024 12:57:25 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server-community/mqtt-nio.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/swift-server-community/mqtt-nio
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ac20cd5 Import FoundationEssentials instead of Foundation when available (#159)
Cloned https://github.com/swift-server-community/mqtt-nio.git
Revision (git rev-parse @):
ac20cd5a3f47cb7797d0e100ff79f4878e4ddc4c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server-community/mqtt-nio.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swift-server-community/mqtt-nio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-atomics.git
[1/3671] Fetching swift-log
[883/5240] Fetching swift-log, swift-atomics
[920/7278] Fetching swift-log, swift-atomics, swift-docc-plugin
[2345/9538] Fetching swift-log, swift-atomics, swift-docc-plugin, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.43s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.46s)
[1/13295] Fetching swift-nio-ssl
[12233/84462] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.29s)
Fetched https://github.com/apple/swift-nio.git from cache (4.36s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3154] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.51s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.0 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.66s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[3902/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.00s)
Fetched https://github.com/apple/swift-collections.git from cache (1.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.67s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.51s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
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.29.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.23.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/442] Write sources
[19/442] Compiling CNIOWindows shim.c
[19/442] Compiling CNIOWindows WSAStartup.c
[19/442] Compiling CNIOLinux liburing_shims.c
[22/442] Compiling CNIOWASI CNIOWASI.c
[23/442] Compiling CNIODarwin shim.c
[24/442] Compiling CNIOSHA1 c_nio_sha1.c
[25/442] Compiling CNIOLLHTTP c_nio_http.c
[26/442] Compiling CNIOLinux shim.c
[27/442] Compiling CNIOLLHTTP c_nio_api.c
[28/442] Compiling fiat_p256_adx_sqr.S
[29/442] Compiling fiat_p256_adx_mul.S
[30/442] Compiling fiat_curve25519_adx_square.S
[31/442] Compiling fiat_curve25519_adx_mul.S
[32/442] Compiling _AtomicsShims.c
[33/442] Write swift-version-24593BA9C3E375BF.txt
[34/442] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/442] Compiling CNIOBoringSSLShims shims.c
[36/448] Compiling tls_method.cc
[37/448] Compiling tls_record.cc
[38/448] Compiling tls13_enc.cc
[39/453] Compiling tls13_client.cc
[40/453] Compiling tls13_server.cc
[41/460] Compiling tls13_both.cc
[43/470] Emitting module InternalCollectionsUtilities
[43/472] Compiling t1_enc.cc
[44/472] Compiling ssl_transcript.cc
[45/472] Compiling ssl_versions.cc
[46/472] Compiling ssl_x509.cc
[47/472] Compiling ssl_stat.cc
[48/472] Compiling ssl_privkey.cc
[49/472] Compiling ssl_session.cc
[50/472] Compiling ssl_lib.cc
[51/472] Compiling ssl_file.cc
[52/472] Compiling ssl_key_share.cc
[54/472] Compiling _NIODataStructures _TinyArray.swift
[55/472] Compiling InternalCollectionsUtilities _SortedCollection.swift
[56/472] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[57/472] Compiling InternalCollectionsUtilities Debugging.swift
[58/472] Compiling InternalCollectionsUtilities Descriptions.swift
[59/472] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[60/472] Compiling InternalCollectionsUtilities Specialize.swift
[61/472] Compiling _NIOBase64 Base64.swift
[62/472] Emitting module _NIOBase64
[63/473] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[64/473] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[65/473] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[66/473] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[67/473] Compiling InternalCollectionsUtilities Integer rank.swift
[68/473] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[69/473] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[70/473] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[71/473] Compiling InternalCollectionsUtilities UInt+reversed.swift
[72/473] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[72/473] Compiling ssl_credential.cc
[74/473] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[75/473] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[76/474] Compiling _NIODataStructures PriorityQueue.swift
[78/474] Compiling ssl_cipher.cc
[80/489] Emitting module _NIODataStructures
[81/489] Compiling _NIODataStructures Heap.swift
[82/490] Compiling Logging Locks.swift
[83/490] Compiling Logging Logging.swift
[84/490] Emitting module Logging
[86/490] Compiling Logging LogHandler.swift
[87/490] Compiling Logging MetadataProvider.swift
[87/490] Compiling ssl_buffer.cc
[90/491] Compiling DequeModule _DequeBuffer.swift
[91/491] Compiling DequeModule _DequeBufferHeader.swift
[92/493] Compiling DequeModule Deque+Equatable.swift
[93/493] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[94/493] Compiling DequeModule Deque+CustomReflectable.swift
[95/493] Compiling DequeModule Deque+Descriptions.swift
[95/493] Compiling s3_pkt.cc
[96/493] Compiling ssl_cert.cc
[98/493] Compiling DequeModule Deque+Extras.swift
[99/493] Compiling DequeModule Deque+Hashable.swift
[100/493] Compiling DequeModule Deque+Testing.swift
[101/493] Compiling DequeModule Deque._Storage.swift
[102/493] Compiling DequeModule Deque._UnsafeHandle.swift
[103/493] Compiling DequeModule Deque.swift
[103/493] Compiling ssl_aead_ctx.cc
[105/493] Compiling DequeModule _DequeSlot.swift
[106/493] Compiling DequeModule _UnsafeWrappedBuffer.swift
[106/493] Compiling ssl_asn1.cc
[108/493] Compiling DequeModule Deque+Codable.swift
[109/493] Compiling DequeModule Deque+Collection.swift
[110/493] Emitting module DequeModule
[111/494] Compiling s3_lib.cc
[112/494] Compiling s3_both.cc
[113/494] Compiling handshake_server.cc
[114/494] Compiling handshake.cc
[115/494] Compiling handshake_client.cc
[116/494] Compiling handoff.cc
[117/494] Compiling extensions.cc
[118/494] Compiling dtls_record.cc
[119/494] Compiling dtls_method.cc
[120/494] Compiling md5-x86_64-linux.S
[121/494] Compiling md5-x86_64-apple.S
[122/494] Compiling md5-586-linux.S
[123/494] Compiling md5-586-apple.S
[124/494] Compiling d1_srtp.cc
[125/494] Compiling err_data.c
[126/494] Compiling chacha20_poly1305_x86_64-apple.S
[127/494] Compiling chacha20_poly1305_armv8-win.S
[128/494] Compiling chacha20_poly1305_x86_64-linux.S
[129/494] Compiling chacha20_poly1305_armv8-linux.S
[130/494] Compiling chacha20_poly1305_armv8-apple.S
[131/494] Compiling encrypted_client_hello.cc
[132/494] Compiling chacha-x86_64-linux.S
[133/494] Compiling chacha-x86_64-apple.S
[134/494] Compiling chacha-x86-linux.S
[135/494] Compiling d1_pkt.cc
[136/494] Compiling chacha-x86-apple.S
[137/494] Compiling chacha-armv8-linux.S
[138/494] Compiling chacha-armv8-win.S
[139/494] Compiling chacha-armv8-apple.S
[140/494] Compiling chacha-armv4-linux.S
[141/494] Compiling aes128gcmsiv-x86_64-apple.S
[142/494] Compiling aes128gcmsiv-x86_64-linux.S
[143/494] Compiling x86_64-mont5-linux.S
[144/494] Compiling x86_64-mont5-apple.S
[145/494] Compiling x86_64-mont-linux.S
[146/494] Compiling x86_64-mont-apple.S
[147/494] Compiling x86-mont-linux.S
[148/494] Compiling x86-mont-apple.S
[149/494] Compiling vpaes-x86_64-linux.S
[150/494] Compiling vpaes-x86_64-apple.S
[151/494] Compiling vpaes-x86-apple.S
[152/494] Compiling vpaes-x86-linux.S
[153/494] Compiling d1_lib.cc
[154/494] Compiling vpaes-armv8-win.S
[155/494] Compiling vpaes-armv8-apple.S
[156/494] Compiling vpaes-armv8-linux.S
[157/494] Compiling vpaes-armv7-linux.S
[158/494] Compiling sha512-x86_64-linux.S
[159/494] Compiling sha512-x86_64-apple.S
[160/494] Compiling sha512-armv8-win.S
[161/494] Compiling sha512-armv8-linux.S
[162/494] Compiling sha512-armv8-apple.S
[163/494] Compiling sha512-armv4-linux.S
[164/494] Compiling sha512-586-linux.S
[165/494] Compiling sha512-586-apple.S
[166/494] Compiling sha256-x86_64-apple.S
[167/494] Compiling sha256-armv8-win.S
[168/494] Compiling sha256-armv8-linux.S
[169/494] Compiling sha256-armv8-apple.S
[170/494] Compiling sha256-x86_64-linux.S
[171/494] Compiling sha256-armv4-linux.S
[172/494] Compiling sha256-586-linux.S
[173/494] Compiling sha256-586-apple.S
[174/494] Compiling sha1-x86_64-apple.S
[175/494] Compiling sha1-armv8-win.S
[176/494] Compiling sha1-armv8-linux.S
[177/494] Compiling d1_both.cc
[178/494] Compiling sha1-x86_64-linux.S
[179/494] Compiling sha1-armv4-large-linux.S
[180/494] Compiling sha1-armv8-apple.S
[181/494] Compiling sha1-586-linux.S
[182/494] Compiling sha1-586-apple.S
[183/494] Compiling rsaz-avx2-apple.S
[184/494] Compiling bio_ssl.cc
[185/494] Compiling rsaz-avx2-linux.S
[186/494] Compiling rdrand-x86_64-linux.S
[187/494] Compiling rdrand-x86_64-apple.S
[188/494] Compiling p256_beeu-x86_64-asm-linux.S
[189/494] Compiling p256_beeu-x86_64-asm-apple.S
[190/494] Compiling p256_beeu-armv8-asm-win.S
[191/494] Compiling p256_beeu-armv8-asm-linux.S
[192/494] Compiling p256_beeu-armv8-asm-apple.S
[193/494] Compiling p256-armv8-asm-win.S
[194/494] Compiling p256-x86_64-asm-apple.S
[195/494] Compiling p256-armv8-asm-linux.S
[196/494] Compiling p256-armv8-asm-apple.S
[197/494] Compiling p256-x86_64-asm-linux.S
[198/494] Compiling ghashv8-armv8-win.S
[199/494] Compiling ghashv8-armv8-linux.S
[200/494] Compiling ghashv8-armv8-apple.S
[201/494] Compiling ghashv8-armv7-linux.S
[202/494] Compiling ghash-x86_64-apple.S
[203/494] Compiling ghash-x86_64-linux.S
[204/494] Compiling ghash-x86-linux.S
[205/494] Compiling ghash-x86-apple.S
[206/494] Compiling ghash-ssse3-x86_64-apple.S
[207/494] Compiling ghash-ssse3-x86_64-linux.S
[208/494] Compiling ghash-ssse3-x86-linux.S
[209/494] Compiling ghash-ssse3-x86-apple.S
[210/494] Compiling ghash-neon-armv8-win.S
[211/494] Compiling ghash-neon-armv8-linux.S
[212/494] Compiling ghash-neon-armv8-apple.S
[213/494] Compiling ghash-armv4-linux.S
[214/494] Compiling co-586-linux.S
[215/494] Compiling co-586-apple.S
[216/494] Compiling bsaes-armv7-linux.S
[217/494] Compiling bn-armv8-win.S
[218/494] Compiling bn-armv8-apple.S
[219/494] Compiling bn-armv8-linux.S
[220/494] Compiling bn-586-linux.S
[221/494] Compiling bn-586-apple.S
[222/494] Compiling armv8-mont-win.S
[223/494] Compiling armv8-mont-linux.S
[224/494] Compiling armv8-mont-apple.S
[225/494] Compiling armv4-mont-linux.S
[226/494] Compiling aesv8-gcm-armv8-win.S
[227/494] Compiling aesv8-gcm-armv8-linux.S
[228/494] Compiling aesv8-gcm-armv8-apple.S
[229/494] Compiling aesv8-armv8-win.S
[230/494] Compiling aesv8-armv8-linux.S
[231/494] Compiling aesv8-armv7-linux.S
[232/494] Compiling aesv8-armv8-apple.S
[233/494] Compiling aesni-x86_64-apple.S
[234/494] Compiling aesni-x86-linux.S
[235/494] Compiling aesni-x86_64-linux.S
[236/494] Compiling aesni-x86-apple.S
[237/494] Compiling aesni-gcm-x86_64-apple.S
[238/494] Compiling aesni-gcm-x86_64-linux.S
[239/494] Compiling x_sig.c
[240/494] Compiling x_val.c
[241/494] Compiling x_x509a.c
[242/494] Compiling x_req.c
[242/494] Compiling x_spki.c
[244/494] Compiling x_x509.c
[245/494] Compiling x_pubkey.c
[246/494] Compiling x_name.c
[247/494] Compiling x_exten.c
[248/494] Compiling x_algor.c
[249/494] Compiling x_attrib.c
[250/494] Compiling x509spki.c
[251/494] Compiling x_crl.c
[252/494] Compiling x509rset.c
[253/494] Compiling x_all.c
[254/494] Compiling x509name.c
[255/494] Compiling x509_txt.c
[256/494] Compiling x509cset.c
[257/494] Compiling x509_v3.c
[258/494] Compiling x509_vpm.c
[259/494] Compiling x509_trs.c
[260/494] Compiling x509_vfy.c
[261/494] Compiling x509_set.c
[262/494] Compiling x509_req.c
[263/494] Compiling x509_def.c
[264/494] Compiling x509_obj.c
[265/494] Compiling x509_d2.c
[266/494] Compiling x509_ext.c
[267/494] Compiling x509_lu.c
[268/494] Compiling x509_cmp.c
[269/494] Compiling x509_att.c
[270/494] Compiling x509.c
[271/494] Compiling v3_skey.c
[272/494] Compiling v3_prn.c
[273/494] Compiling v3_purp.c
[274/494] Compiling v3_pmaps.c
[275/494] Compiling v3_utl.c
[276/494] Compiling v3_ocsp.c
[277/494] Compiling v3_pcons.c
[278/494] Compiling v3_ncons.c
[279/494] Compiling v3_int.c
[280/494] Compiling v3_lib.c
[281/494] Compiling v3_ia5.c
[281/494] Compiling v3_info.c
[283/494] Compiling v3_genn.c
[284/494] Compiling v3_enum.c
[285/494] Compiling v3_extku.c
[286/494] Compiling v3_crld.c
[287/494] Compiling v3_cpols.c
[288/494] Compiling v3_conf.c
[289/494] Compiling v3_bitst.c
[290/494] Compiling v3_bcons.c
[291/494] Compiling v3_akeya.c
[292/494] Compiling v3_alt.c
[293/494] Compiling v3_akey.c
[294/494] Compiling t_x509a.c
[295/494] Compiling t_x509.c
[295/494] Compiling i2d_pr.c
[296/494] Compiling t_crl.c
[298/494] Compiling t_req.c
[299/494] Compiling rsa_pss.c
[300/494] Compiling name_print.c
[301/494] Compiling policy.c
[302/494] Compiling by_file.c
[303/494] Compiling algorithm.c
[304/494] Compiling a_verify.c
[305/494] Compiling by_dir.c
[306/494] Compiling asn1_gen.c
[307/494] Compiling a_digest.c
[308/494] Compiling a_sign.c
[309/494] Compiling voprf.c
[310/494] Compiling thread_win.c
[311/494] Compiling thread.c
[312/494] Compiling thread_pthread.c
[313/494] Compiling thread_none.c
[314/494] Compiling spx_util.c
[315/494] Compiling spx_wots.c
[316/494] Compiling trust_token.c
[317/494] Compiling spx_thash.c
[318/494] Compiling stack.c
[319/494] Compiling spx_merkle.c
[320/494] Compiling spx_fors.c
[321/494] Compiling spx.c
[322/494] Compiling pmbtoken.c
[323/494] Compiling spx_address.c
[324/494] Compiling thash.c
[324/494] Compiling wots.c
[326/494] Compiling slhdsa.c
[327/494] Compiling sha512.c
[327/494] Compiling merkle.c
[329/494] Compiling sha256.c
[330/494] Compiling siphash.c
[331/494] Compiling fors.c
[332/494] Compiling rc4.c
[332/494] Compiling sha1.c
[334/494] Compiling rsa_extra.c
[335/494] Compiling rsa_print.c
[336/494] Compiling refcount.c
[337/494] Compiling windows.c
[338/494] Compiling trusty.c
[339/494] Compiling rsa_asn1.c
[340/494] Compiling rand_extra.c
[341/494] Compiling rsa_crypt.c
[342/494] Compiling getentropy.c
[342/494] Compiling ios.c
[342/494] Compiling passive.c
[345/494] Compiling deterministic.c
[346/494] Compiling urandom.c
[347/494] Compiling forkunsafe.c
[348/494] Compiling poly1305_arm_asm.S
[349/494] Compiling fork_detect.c
[350/494] Compiling poly1305_arm.c
[351/494] Compiling poly1305.c
[352/494] Compiling pool.c
[353/494] Compiling pkcs7.c
[354/494] Compiling poly1305_vec.c
[355/494] Compiling pkcs8.c
[356/494] Compiling p5_pbev2.c
[357/494] Compiling pem_xaux.c
[357/494] Compiling pem_x509.c
[359/494] Compiling pkcs8_x509.c
[360/494] Compiling pkcs7_x509.c
[361/494] Compiling pem_pkey.c
[362/494] Compiling obj_xref.c
[363/494] Compiling pem_pk8.c
[364/494] Compiling pem_oth.c
[365/494] Compiling pem_info.c
[366/494] Compiling obj.c
[367/494] Compiling mem.c
[368/494] Compiling pem_lib.c
[369/494] Compiling pem_all.c
[369/494] Compiling md5.c
[370/494] Compiling mldsa.c
[372/494] Compiling md4.c
[373/494] Compiling lhash.c
[374/494] Compiling keccak.c
[375/494] Compiling fips_shared_support.c
[376/494] Compiling poly_rq_mul.S
[377/494] Compiling kyber.c
[378/494] Compiling hpke.c
[379/494] Compiling sign.c
[380/494] Compiling ex_data.c
[381/494] Compiling scrypt.c
[382/494] Compiling mlkem.cc
[383/494] Compiling print.c
[384/494] Compiling hrss.c
[385/494] Compiling p_x25519.c
[386/494] Compiling pbkdf.c
[387/494] Compiling p_x25519_asn1.c
[388/494] Compiling p_rsa_asn1.c
[389/494] Compiling p_ed25519.c
[390/494] Compiling p_ec_asn1.c
[390/494] Compiling p_rsa.c
[392/494] Compiling p_hkdf.c
[393/494] Compiling p_ed25519_asn1.c
[394/494] Compiling p_ec.c
[395/494] Compiling p_dh.c
[396/494] Compiling p_dh_asn1.c
[396/494] Compiling p_dsa_asn1.c
[398/494] Compiling evp_ctx.c
[399/494] Compiling evp.c
[400/494] Compiling evp_asn1.c
[401/494] Compiling engine.c
[402/494] Compiling err.c
[403/494] Compiling ecdh_extra.c
[404/494] Compiling ecdsa_asn1.c
[405/494] Compiling ec_derive.c
[406/494] Compiling hash_to_curve.c
[407/494] Compiling dsa_asn1.c
[407/494] Compiling ec_asn1.c
[409/494] Compiling dsa.c
[410/494] Compiling params.c
[411/494] Compiling digest_extra.c
[411/494] Compiling dilithium.c
[411/494] Compiling dh_asn1.c
[414/494] Compiling x25519-asm-arm.S
[415/494] Compiling spake25519.c
[416/494] Compiling crypto.c
[417/494] Compiling cpu_intel.c
[418/494] Compiling des.c
[419/494] Compiling cpu_arm_linux.c
[420/494] Compiling cpu_arm_freebsd.c
[421/494] Compiling cpu_aarch64_openbsd.c
[422/494] Compiling cpu_aarch64_sysreg.c
[423/494] Compiling cpu_aarch64_win.c
[424/494] Compiling cpu_aarch64_linux.c
[425/494] Compiling cpu_aarch64_fuchsia.c
[426/494] Compiling cpu_aarch64_apple.c
[427/494] Compiling tls_cbc.c
[428/494] Compiling e_rc4.c
[429/494] Compiling conf.c
[430/494] Compiling curve25519.c
[431/494] Compiling e_tls.c
[432/494] Compiling e_rc2.c
[433/494] Compiling e_null.c
[434/494] Compiling derive_key.c
[435/494] Compiling e_des.c
[436/494] Compiling e_aesctrhmac.c
[436/494] Compiling e_chacha20poly1305.c
[438/494] Compiling e_aesgcmsiv.c
[439/494] Compiling unicode.c
[440/494] Compiling chacha.c
[441/494] Compiling cipher_extra.c
[442/494] Compiling ber.c
[442/494] Compiling curve25519_64_adx.c
[444/494] Compiling bn_asn1.c
[445/494] Compiling cbb.c
[446/494] Compiling buf.c
[447/494] Compiling asn1_compat.c
[448/494] Compiling cbs.c
[448/494] Compiling blake2.c
[450/494] Compiling convert.c
[451/494] Compiling printf.c
[452/494] Compiling socket.c
[453/494] Compiling socket_helper.c
[454/494] Compiling pair.c
[455/494] Compiling hexdump.c
[456/494] Compiling file.c
[457/494] Compiling errno.c
[458/494] Compiling fd.c
[459/494] Compiling connect.c
[460/494] Compiling bio_mem.c
[461/494] Compiling base64.c
[462/494] Compiling bio.c
[463/494] Compiling tasn_typ.c
[463/494] Compiling tasn_utl.c
[465/494] Compiling tasn_new.c
[466/494] Compiling tasn_fre.c
[467/494] Compiling f_string.c
[468/494] Compiling tasn_enc.c
[469/494] Compiling f_int.c
[470/494] Compiling posix_time.c
[470/494] Compiling asn_pack.c
[470/494] Compiling tasn_dec.c
[473/494] Compiling asn1_par.c
[474/494] Compiling a_utctm.c
[475/494] Compiling a_type.c
[476/494] Compiling a_octet.c
[476/494] Compiling a_time.c
[478/494] Compiling asn1_lib.c
[479/494] Compiling a_strex.c
[480/494] Compiling a_strnid.c
[481/494] Compiling a_i2d_fp.c
[482/494] Compiling a_mbstr.c
[483/494] Compiling a_gentm.c
[484/494] Compiling a_object.c
[485/494] Compiling a_dup.c
[485/494] Compiling a_d2i_fp.c
[487/494] Write sources
[488/494] Compiling a_int.c
[489/494] Compiling a_bool.c
[490/494] Compiling a_bitstr.c
[491/510] Compiling bcm.c
[493/513] Compiling Atomics Primitives.shims.swift
[494/513] Compiling Atomics AtomicInteger.swift
[495/513] Compiling Atomics AtomicOptionalWrappable.swift
[496/515] Compiling Atomics AtomicMemoryOrderings.swift
[497/515] Compiling Atomics DoubleWord.swift
[498/515] Compiling Atomics ManagedAtomic.swift
[499/515] Compiling Atomics ManagedAtomicLazyReference.swift
[500/515] Compiling Atomics UnsafeAtomic.swift
[501/515] Compiling Atomics UnsafeAtomicLazyReference.swift
[502/515] Compiling Atomics OptionalRawRepresentable.swift
[503/515] Compiling Atomics RawRepresentable.swift
[504/515] Compiling Atomics AtomicBool.swift
[505/515] Compiling Atomics IntegerOperations.swift
[506/515] Compiling Atomics Unmanaged extensions.swift
[507/515] Compiling Atomics AtomicReference.swift
[508/515] Compiling Atomics AtomicStorage.swift
[509/515] Compiling Atomics AtomicValue.swift
[509/515] Compiling c-nioatomics.c
[510/515] Compiling c-atomics.c
[512/521] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[513/521] Compiling NIOConcurrencyHelpers lock.swift
[514/521] Compiling NIOConcurrencyHelpers atomics.swift
[515/521] Emitting module NIOConcurrencyHelpers
[516/521] Compiling NIOConcurrencyHelpers NIOLock.swift
[517/521] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[519/522] Compiling Atomics IntegerConformances.swift
[520/522] Compiling Atomics PointerConformances.swift
[521/522] Compiling Atomics Primitives.native.swift
[522/522] Emitting module Atomics
[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/591] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[533/591] Compiling NIOCore EventLoopFuture+Deprecated.swift
[534/591] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[535/591] Compiling NIOCore EventLoopFuture.swift
[536/591] Compiling NIOCore FileDescriptor.swift
[537/591] Compiling NIOCore FileHandle.swift
[538/591] Compiling NIOCore FileRegion.swift
[539/591] Compiling NIOCore GlobalSingletons.swift
[540/591] Compiling NIOCore AddressedEnvelope.swift
[541/591] Compiling NIOCore AsyncAwaitSupport.swift
[542/591] Compiling NIOCore AsyncChannel.swift
[543/591] Compiling NIOCore AsyncChannelHandler.swift
[544/591] Compiling NIOCore AsyncChannelInboundStream.swift
[545/591] Compiling NIOCore AsyncChannelOutboundWriter.swift
[546/591] Compiling NIOCore NIOAsyncSequenceProducer.swift
[547/591] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[548/591] Compiling NIOCore NIOAsyncWriter.swift
[549/591] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[550/591] Compiling NIOCore SocketAddresses.swift
[551/591] Compiling NIOCore SocketOptionProvider.swift
[552/591] Compiling NIOCore SystemCallHelpers.swift
[553/591] Compiling NIOCore TimeAmount+Duration.swift
[554/591] Compiling NIOCore TypeAssistedChannelHandler.swift
[555/591] Compiling NIOCore UniversalBootstrapSupport.swift
[556/591] Compiling NIOCore Utilities.swift
[557/591] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[558/591] Compiling NIOCore BSDSocketAPI.swift
[559/591] Compiling NIOCore ByteBuffer-aux.swift
[560/591] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[561/591] Compiling NIOCore ByteBuffer-conversions.swift
[562/591] Compiling NIOCore ByteBuffer-core.swift
[563/591] Compiling NIOCore ByteBuffer-hex.swift
[564/591] Compiling NIOCore ByteBuffer-int.swift
[565/591] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[566/591] Compiling NIOCore CircularBuffer.swift
[567/591] Compiling NIOCore Codec.swift
[568/591] Compiling NIOCore ConvenienceOptionSupport.swift
[569/591] Compiling NIOCore DeadChannel.swift
[570/591] Compiling NIOCore DispatchQueue+WithFuture.swift
[571/591] Compiling NIOCore EventLoop+Deprecated.swift
[572/591] Compiling NIOCore EventLoop+SerialExecutor.swift
[573/591] Compiling NIOCore EventLoop.swift
[574/591] Compiling NIOCore ByteBuffer-multi-int.swift
[575/591] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[576/591] Compiling NIOCore ByteBuffer-views.swift
[577/591] Compiling NIOCore Channel.swift
[578/591] Compiling NIOCore ChannelHandler.swift
[579/591] Compiling NIOCore ChannelHandlers.swift
[580/591] Compiling NIOCore ChannelInvoker.swift
[581/591] Compiling NIOCore ChannelOption.swift
[582/591] Compiling NIOCore ChannelPipeline.swift
[583/591] Compiling NIOCore MulticastChannel.swift
[584/591] Compiling NIOCore NIOAny.swift
[585/591] Compiling NIOCore NIOCloseOnErrorHandler.swift
[586/591] Compiling NIOCore NIOLoopBound.swift
[587/591] Compiling NIOCore NIOScheduledCallback.swift
[588/591] Compiling NIOCore NIOSendable.swift
[589/591] Compiling NIOCore PointerHelpers.swift
[590/591] Compiling NIOCore RecvByteBufferAllocator.swift
[591/591] Emitting module NIOCore
[593/644] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[594/644] Compiling NIOEmbedded AsyncTestingChannel.swift
[595/644] Emitting module NIOEmbedded
[596/644] Compiling NIOEmbedded Embedded.swift
[598/645] Emitting module NIOPosix
[599/651] Compiling NIOPosix BSDSocketAPICommon.swift
[600/651] Compiling NIOPosix BSDSocketAPIPosix.swift
[601/651] Compiling NIOPosix BSDSocketAPIWindows.swift
[602/651] Compiling NIOPosix BaseSocket.swift
[603/651] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[604/651] Compiling NIOPosix BaseSocketChannel.swift
[605/651] Compiling NIOPosix BaseStreamSocketChannel.swift
[606/651] Compiling NIOPosix ServerSocket.swift
[607/651] Compiling NIOPosix Socket.swift
[608/651] Compiling NIOPosix SocketChannel.swift
[609/651] Compiling NIOPosix SocketProtocols.swift
[610/651] Compiling NIOPosix System.swift
[611/651] Compiling NIOPosix Thread.swift
[612/651] Compiling NIOPosix IO.swift
[613/651] Compiling NIOPosix IntegerBitPacking.swift
[614/651] Compiling NIOPosix IntegerTypes.swift
[615/651] Compiling NIOPosix Linux.swift
[616/651] Compiling NIOPosix LinuxCPUSet.swift
[617/651] Compiling NIOPosix LinuxUring.swift
[618/651] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[619/651] Compiling NIOPosix Bootstrap.swift
[620/651] Compiling NIOPosix ControlMessage.swift
[621/651] Compiling NIOPosix DatagramVectorReadManager.swift
[622/651] Compiling NIOPosix Errors+Any.swift
[623/651] Compiling NIOPosix FileDescriptor.swift
[624/651] Compiling NIOPosix GetaddrinfoResolver.swift
[625/651] Compiling NIOPosix HappyEyeballs.swift
[626/651] Compiling NIOPosix ThreadPosix.swift
[627/651] Compiling NIOPosix ThreadWindows.swift
[628/651] Compiling NIOPosix UnsafeTransfer.swift
[629/651] Compiling NIOPosix Utilities.swift
[630/651] Compiling NIOPosix VsockAddress.swift
[631/651] Compiling NIOPosix VsockChannelEvents.swift
[632/651] Compiling NIOPosix Pool.swift
[633/651] Compiling NIOPosix PooledRecvBufferAllocator.swift
[634/651] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[635/651] Compiling NIOPosix PosixSingletons.swift
[636/651] Compiling NIOPosix RawSocketBootstrap.swift
[637/651] Compiling NIOPosix Resolver.swift
[638/651] Compiling NIOPosix Selectable.swift
[639/651] Compiling NIOPosix NIOThreadPool.swift
[640/651] Compiling NIOPosix NonBlockingFileIO.swift
[641/651] Compiling NIOPosix PendingDatagramWritesManager.swift
[642/651] Compiling NIOPosix PendingWritesManager.swift
[643/651] Compiling NIOPosix PipeChannel.swift
[644/651] Compiling NIOPosix PipePair.swift
[645/651] Compiling NIOPosix PointerHelpers.swift
[646/651] Compiling NIOPosix SelectableChannel.swift
[647/651] Compiling NIOPosix SelectableEventLoop.swift
[648/651] Compiling NIOPosix SelectorEpoll.swift
[649/651] Compiling NIOPosix SelectorGeneric.swift
[650/651] Compiling NIOPosix SelectorKqueue.swift
[651/651] Compiling NIOPosix SelectorUring.swift
[653/654] Emitting module NIO
[654/654] Compiling NIO Exports.swift
[656/681] Emitting module NIOTLS
[657/681] Compiling NIOTLS TLSEvents.swift
[658/681] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[659/681] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[660/681] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[661/681] Compiling NIOTLS SNIHandler.swift
[663/682] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[664/682] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[665/684] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[666/684] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[667/712] Compiling NIOSSL SSLCallbacks.swift
[668/712] Compiling NIOSSL SSLCertificate.swift
[669/712] Compiling NIOSSL IdentityVerification.swift
[670/712] Compiling NIOSSL LinuxCABundle.swift
[671/712] Compiling NIOSSL NIOSSLClientHandler.swift
[672/712] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[673/712] Compiling NIOSSL SSLContext.swift
[674/712] Compiling NIOSSL SSLErrors.swift
[675/712] Compiling NIOSSL ObjectIdentifier.swift
[676/712] Compiling NIOSSL PosixPort.swift
[677/712] Emitting module NIOHTTP1
[678/712] Compiling NIOSSL AndroidCABundle.swift
[679/712] Compiling NIOSSL ByteBufferBIO.swift
[680/712] Compiling NIOSSL CustomPrivateKey.swift
[682/723] Compiling NIOSSL SSLPublicKey.swift
[683/723] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[684/723] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[685/723] Compiling NIOSSL SubjectAlternativeName.swift
[686/726] Compiling NIOSSL NIOSSLSecureBytes.swift
[687/726] Compiling NIOSSL RNG.swift
[688/726] Compiling NIOSSL SafeCompare.swift
[690/726] Compiling NIOSSL SSLInit.swift
[691/726] Compiling NIOSSL SSLPKCS12Bundle.swift
[692/726] Compiling NIOSSL SSLPrivateKey.swift
[693/726] Compiling NIOWebSocket WebSocketErrorCodes.swift
[694/727] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[695/727] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[696/727] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[697/727] Compiling NIOWebSocket SHA1.swift
[698/727] Compiling NIOWebSocket WebSocketOpcode.swift
[699/727] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[700/727] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[701/727] Compiling NIOWebSocket WebSocketFrame.swift
[702/727] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[707/727] Emitting module NIOWebSocket
[709/728] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[710/728] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[711/728] Emitting module NIOFoundationCompat
[712/728] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[714/729] Compiling NIOSSL Zeroization.swift
[715/729] Compiling NIOSSL TLSConfiguration.swift
[716/729] Compiling NIOSSL UniversalBootstrapSupport.swift
[717/751] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[718/751] Compiling NIOTransportServices StateManagedChannel.swift
[719/751] Compiling NIOTransportServices StateManagedListenerChannel.swift
[720/751] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[721/751] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[722/751] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[723/751] Compiling NIOTransportServices NIOTSListenerChannel.swift
[724/751] Compiling NIOTransportServices NIOTSBootstraps.swift
[725/751] Emitting module NIOSSL
[726/751] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[727/751] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[728/751] Compiling NIOTransportServices NIOTSDatagramListener.swift
[729/751] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[730/752] Compiling NIOTransportServices AcceptHandler.swift
[733/752] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[734/752] Compiling NIOTransportServices NIOTSSingletons.swift
[735/752] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[739/754] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[740/754] Compiling NIOTransportServices NIOTSErrors.swift
[741/754] Compiling NIOTransportServices NIOTSEventLoop.swift
[743/754] Compiling NIOTransportServices NIOTSChannelOptions.swift
[744/754] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[746/754] Emitting module NIOTransportServices
[747/754] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[748/754] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[756/777] Compiling MQTTNIO MQTTError.swift
[757/777] Compiling MQTTNIO MQTTInflight.swift
[758/777] Compiling MQTTNIO MQTTListeners.swift
[759/780] Compiling MQTTNIO MQTTClient+async.swift
[760/780] Compiling MQTTNIO MQTTClientV5+async.swift
[761/780] Compiling MQTTNIO Sendable.swift
[762/780] Compiling MQTTNIO MQTTConnection.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:44:100: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 42 |         let taskHandler = MQTTTaskHandler(client: client)
 43 |         return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
 44 |             .map { MQTTConnection(channel: $0, timeout: client.configuration.timeout, taskHandler: taskHandler) }
    |                                                                                                    `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 45 |     }
 46 |
/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:60:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |                     let handlers: [ChannelHandler] = [
 59 |                         MQTTMessageHandler(client, pingInterval: pingInterval),
 60 |                         taskHandler,
    |                         `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                     ]
 62 |                     // 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:179:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 |             let future = channel.pipeline.addHandler(WebSocketHandler())
178 |                 .flatMap { _ in
179 |                     afterHandlerAdded()
    |                     |- warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<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'
180 |                 }
181 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:179:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 |             let future = channel.pipeline.addHandler(WebSocketHandler())
178 |                 .flatMap { _ in
179 |                     afterHandlerAdded()
    |                     |- warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<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'
180 |                 }
181 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:188:48: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             upgraders: [websocketUpgrader],
187 |             completionHandler: { _ in
188 |                 channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |             }
190 |         )
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketInitialRequest.swift:20:13: note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
18 | // This initial request will be adapted by the WebSocket upgrader to contain the upgrade header parameters.
19 | // Channel read will only be called if the upgrade fails.
20 | final class WebSocketInitialRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
   |             `- note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
21 |     public typealias InboundIn = HTTPClientResponsePart
22 |     public typealias OutboundOut = HTTPClientRequestPart
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:194:41: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |         // add HTTP handler with web socket upgrade
193 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
194 |             channel.pipeline.addHandler(httpHandler)
    |                                         `- warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketInitialRequest.swift:20:13: note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
18 | // This initial request will be adapted by the WebSocket upgrader to contain the upgrade header parameters.
19 | // Channel read will only be called if the upgrade fails.
20 | final class WebSocketInitialRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
   |             `- note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
21 |     public typealias InboundIn = HTTPClientResponsePart
22 |     public typealias OutboundOut = HTTPClientRequestPart
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:215:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | import NIOWebSocket
 29 |
 30 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 31 |     let channel: Channel
 32 |     let timeout: TimeAmount?
    :
213 |         self.taskHandler.addTask(task)
214 |             .flatMap {
215 |                 self.channel.writeAndFlush(message)
    |                 `- warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |             }
217 |             .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:218:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |             }
217 |             .whenFailure { error in
218 |                 task.fail(error)
    |                 `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
219 |             }
220 |         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
[763/780] Compiling MQTTNIO MQTTCoreTypes.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:44:100: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 42 |         let taskHandler = MQTTTaskHandler(client: client)
 43 |         return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
 44 |             .map { MQTTConnection(channel: $0, timeout: client.configuration.timeout, taskHandler: taskHandler) }
    |                                                                                                    `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 45 |     }
 46 |
/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:60:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |                     let handlers: [ChannelHandler] = [
 59 |                         MQTTMessageHandler(client, pingInterval: pingInterval),
 60 |                         taskHandler,
    |                         `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                     ]
 62 |                     // 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:179:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 |             let future = channel.pipeline.addHandler(WebSocketHandler())
178 |                 .flatMap { _ in
179 |                     afterHandlerAdded()
    |                     |- warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<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'
180 |                 }
181 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:179:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 |             let future = channel.pipeline.addHandler(WebSocketHandler())
178 |                 .flatMap { _ in
179 |                     afterHandlerAdded()
    |                     |- warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<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'
180 |                 }
181 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:188:48: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             upgraders: [websocketUpgrader],
187 |             completionHandler: { _ in
188 |                 channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |             }
190 |         )
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketInitialRequest.swift:20:13: note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
18 | // This initial request will be adapted by the WebSocket upgrader to contain the upgrade header parameters.
19 | // Channel read will only be called if the upgrade fails.
20 | final class WebSocketInitialRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
   |             `- note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
21 |     public typealias InboundIn = HTTPClientResponsePart
22 |     public typealias OutboundOut = HTTPClientRequestPart
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:194:41: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |         // add HTTP handler with web socket upgrade
193 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
194 |             channel.pipeline.addHandler(httpHandler)
    |                                         `- warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketInitialRequest.swift:20:13: note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
18 | // This initial request will be adapted by the WebSocket upgrader to contain the upgrade header parameters.
19 | // Channel read will only be called if the upgrade fails.
20 | final class WebSocketInitialRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
   |             `- note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
21 |     public typealias InboundIn = HTTPClientResponsePart
22 |     public typealias OutboundOut = HTTPClientRequestPart
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:215:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | import NIOWebSocket
 29 |
 30 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 31 |     let channel: Channel
 32 |     let timeout: TimeAmount?
    :
213 |         self.taskHandler.addTask(task)
214 |             .flatMap {
215 |                 self.channel.writeAndFlush(message)
    |                 `- warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |             }
217 |             .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:218:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |             }
217 |             .whenFailure { error in
218 |                 task.fail(error)
    |                 `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
219 |             }
220 |         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
[764/780] Compiling MQTTNIO MQTTCoreTypesV5.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:44:100: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 42 |         let taskHandler = MQTTTaskHandler(client: client)
 43 |         return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
 44 |             .map { MQTTConnection(channel: $0, timeout: client.configuration.timeout, taskHandler: taskHandler) }
    |                                                                                                    `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 45 |     }
 46 |
/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:60:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 58 |                     let handlers: [ChannelHandler] = [
 59 |                         MQTTMessageHandler(client, pingInterval: pingInterval),
 60 |                         taskHandler,
    |                         `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 61 |                     ]
 62 |                     // 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:179:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 |             let future = channel.pipeline.addHandler(WebSocketHandler())
178 |                 .flatMap { _ in
179 |                     afterHandlerAdded()
    |                     |- warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<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'
180 |                 }
181 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:179:21: warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 |             let future = channel.pipeline.addHandler(WebSocketHandler())
178 |                 .flatMap { _ in
179 |                     afterHandlerAdded()
    |                     |- warning: capture of 'afterHandlerAdded' with non-sendable type '() -> EventLoopFuture<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'
180 |                 }
181 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:188:48: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             upgraders: [websocketUpgrader],
187 |             completionHandler: { _ in
188 |                 channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |             }
190 |         )
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketInitialRequest.swift:20:13: note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
18 | // This initial request will be adapted by the WebSocket upgrader to contain the upgrade header parameters.
19 | // Channel read will only be called if the upgrade fails.
20 | final class WebSocketInitialRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
   |             `- note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
21 |     public typealias InboundIn = HTTPClientResponsePart
22 |     public typealias OutboundOut = HTTPClientRequestPart
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:194:41: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |         // add HTTP handler with web socket upgrade
193 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
194 |             channel.pipeline.addHandler(httpHandler)
    |                                         `- warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketInitialRequest.swift:20:13: note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
18 | // This initial request will be adapted by the WebSocket upgrader to contain the upgrade header parameters.
19 | // Channel read will only be called if the upgrade fails.
20 | final class WebSocketInitialRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
   |             `- note: class 'WebSocketInitialRequestHandler' does not conform to the 'Sendable' protocol
21 |     public typealias InboundIn = HTTPClientResponsePart
22 |     public typealias OutboundOut = HTTPClientRequestPart
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:215:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | import NIOWebSocket
 29 |
 30 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 31 |     let channel: Channel
 32 |     let timeout: TimeAmount?
    :
213 |         self.taskHandler.addTask(task)
214 |             .flatMap {
215 |                 self.channel.writeAndFlush(message)
    |                 `- warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |             }
217 |             .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:218:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
216 |             }
217 |             .whenFailure { error in
218 |                 task.fail(error)
    |                 `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
219 |             }
220 |         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
[765/780] Compiling MQTTNIO MQTTMessageDecoder.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:128:33: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
126 |             connection.sendMessageNoWait(MQTTPubAckPacket(type: .PUBACK, packetId: message.packetId))
127 |                 .map { _ in return message.publish }
128 |                 .whenComplete { self.client.publishListeners.notify($0) }
    |                                 `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |
130 |         case .exactlyOnce:
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:144:32: warning: reference to captured var 'publish' in concurrently-executing code; this is an error in the Swift 6 language mode
142 |                 return true
143 |             }
144 |             .map { _ in return publish }
    |                                `- warning: reference to captured var 'publish' in concurrently-executing code; this is an error in the Swift 6 language mode
145 |             .whenComplete { result in
146 |                 // do not report retrySend error
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:150:17: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
148 |                     return
149 |                 }
150 |                 self.client.publishListeners.notify(result)
    |                 `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |             }
152 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 51 |         } else {
 52 |             self.eventLoop.execute {
 53 |                 self._removeTask(task)
    |                                  `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |             }
 55 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
   |             `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 |     let promise: EventLoopPromise<MQTTPacket>
19 |     let checkInbound: (MQTTPacket) throws -> Bool
[766/780] Compiling MQTTNIO MQTTMessageHandler.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:128:33: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
126 |             connection.sendMessageNoWait(MQTTPubAckPacket(type: .PUBACK, packetId: message.packetId))
127 |                 .map { _ in return message.publish }
128 |                 .whenComplete { self.client.publishListeners.notify($0) }
    |                                 `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |
130 |         case .exactlyOnce:
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:144:32: warning: reference to captured var 'publish' in concurrently-executing code; this is an error in the Swift 6 language mode
142 |                 return true
143 |             }
144 |             .map { _ in return publish }
    |                                `- warning: reference to captured var 'publish' in concurrently-executing code; this is an error in the Swift 6 language mode
145 |             .whenComplete { result in
146 |                 // do not report retrySend error
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:150:17: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
148 |                     return
149 |                 }
150 |                 self.client.publishListeners.notify(result)
    |                 `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |             }
152 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 51 |         } else {
 52 |             self.eventLoop.execute {
 53 |                 self._removeTask(task)
    |                                  `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |             }
 55 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
   |             `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 |     let promise: EventLoopPromise<MQTTPacket>
19 |     let checkInbound: (MQTTPacket) throws -> Bool
[767/780] Compiling MQTTNIO MQTTTaskHandler.swift
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:128:33: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
126 |             connection.sendMessageNoWait(MQTTPubAckPacket(type: .PUBACK, packetId: message.packetId))
127 |                 .map { _ in return message.publish }
128 |                 .whenComplete { self.client.publishListeners.notify($0) }
    |                                 `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
129 |
130 |         case .exactlyOnce:
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:144:32: warning: reference to captured var 'publish' in concurrently-executing code; this is an error in the Swift 6 language mode
142 |                 return true
143 |             }
144 |             .map { _ in return publish }
    |                                `- warning: reference to captured var 'publish' in concurrently-executing code; this is an error in the Swift 6 language mode
145 |             .whenComplete { result in
146 |                 // do not report retrySend error
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTMessageHandler.swift:150:17: warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
148 |                     return
149 |                 }
150 |                 self.client.publishListeners.notify(result)
    |                 `- warning: capture of 'self' with non-sendable type 'MQTTMessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |             }
152 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/MQTTTaskHandler.swift:35:17: warning: capture of 'self' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 51 |         } else {
 52 |             self.eventLoop.execute {
 53 |                 self._removeTask(task)
    |                                  `- warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |             }
 55 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTTask.swift:17:13: note: class 'MQTTTask' does not conform to the 'Sendable' protocol
15 |
16 | /// Class encapsulating a single task
17 | final class MQTTTask {
   |             `- note: class 'MQTTTask' does not conform to the 'Sendable' protocol
18 |     let promise: EventLoopPromise<MQTTPacket>
19 |     let checkInbound: (MQTTPacket) throws -> Bool
[768/780] Emitting module MQTTNIO
[769/780] Compiling MQTTNIO MQTTSerializer.swift
[770/780] Compiling MQTTNIO MQTTTask.swift
[771/780] Compiling MQTTNIO TSTLSConfiguration.swift
[772/780] Compiling MQTTNIO MQTTPacket.swift
[773/780] Compiling MQTTNIO MQTTProperties.swift
[774/780] Compiling MQTTNIO MQTTReason.swift
[775/780] 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
61 |
62 |                 self.client.ping().whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
66 |                     case .success:
67 |                         break
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
70 |                     self.scheduleTask(context)
71 |                 }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:122:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 |                 // so the other side likely will never send the close frame. We just close the
121 |                 // channel ourselves.
122 |                 context.channel.close(mode: .all, promise: nil)
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |             }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:129:17: warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
127 |             self.send(context: context, buffer: buffer, opcode: .ping)
128 |             _ = context.eventLoop.scheduleTask(in: pingInterval) {
129 |                 self.sendPingAndWait(context: context)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:129:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |             self.send(context: context, buffer: buffer, opcode: .ping)
128 |             _ = context.eventLoop.scheduleTask(in: pingInterval) {
129 |                 self.sendPingAndWait(context: context)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[776/780] 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
61 |
62 |                 self.client.ping().whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
66 |                     case .success:
67 |                         break
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
70 |                     self.scheduleTask(context)
71 |                 }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:122:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 |                 // so the other side likely will never send the close frame. We just close the
121 |                 // channel ourselves.
122 |                 context.channel.close(mode: .all, promise: nil)
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |             }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:129:17: warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
127 |             self.send(context: context, buffer: buffer, opcode: .ping)
128 |             _ = context.eventLoop.scheduleTask(in: pingInterval) {
129 |                 self.sendPingAndWait(context: context)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:129:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |             self.send(context: context, buffer: buffer, opcode: .ping)
128 |             _ = context.eventLoop.scheduleTask(in: pingInterval) {
129 |                 self.sendPingAndWait(context: context)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[777/780] 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
61 |
62 |                 self.client.ping().whenComplete { result in
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
66 |                     case .success:
67 |                         break
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
70 |                     self.scheduleTask(context)
71 |                 }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:122:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 |                 // so the other side likely will never send the close frame. We just close the
121 |                 // channel ourselves.
122 |                 context.channel.close(mode: .all, promise: nil)
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |             }
124 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:129:17: warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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
    :
127 |             self.send(context: context, buffer: buffer, opcode: .ping)
128 |             _ = context.eventLoop.scheduleTask(in: pingInterval) {
129 |                 self.sendPingAndWait(context: context)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/ChannelHandlers/WebSocketHandler.swift:129:47: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |             self.send(context: context, buffer: buffer, opcode: .ping)
128 |             _ = context.eventLoop.scheduleTask(in: pingInterval) {
129 |                 self.sendPingAndWait(context: context)
    |                                               `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             }
131 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[778/780] Compiling MQTTNIO MQTTClient.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:250: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
248 |
249 |             self.shutdownEventLoopGroup(queue: queue) { error in
250 |                 callback(closeError ?? error)
    |                 |- 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'
251 |             }
252 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:250: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
248 |
249 |             self.shutdownEventLoopGroup(queue: queue) { error in
250 |                 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'
251 |             }
252 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:263:66: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
254 |
255 |     /// shutdown EventLoopGroup
256 |     private func shutdownEventLoopGroup(queue: DispatchQueue, _ callback: @escaping (Error?) -> Void) {
    |                                                                 `- note: parameter 'callback' is implicitly non-sendable
257 |         switch self.eventLoopGroupProvider {
258 |         case .shared:
    :
261 |             }
262 |         case .createNew:
263 |             self.eventLoopGroup.shutdownGracefully(queue: queue, callback)
    |                                                                  `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
264 |         }
265 |     }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:260: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
258 |         case .shared:
259 |             queue.async {
260 |                 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'
261 |             }
262 |         case .createNew:
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:487:44: warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
485 |                     // only reset connection if this connection is still set. Stops a reconnect having its connection removed by the
486 |                     // previous connection
487 |                     if self.connection === connection {
    |                                            `- warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 |                         self.connection = nil
489 |                     }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:30:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 28 | import NIOWebSocket
 29 |
 30 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 31 |     let channel: Channel
 32 |     let timeout: TimeAmount?
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:516:31: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
514 |                 case let auth as MQTTAuthPacket:
515 |                     // auth messages require an auth workflow closure
516 |                     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; this is an error in the Swift 6 language mode
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
517 |                     return self.processAuth(auth, authWorkflow: authWorkflow, on: eventLoop)
518 |                         .flatMapThrowing { result -> MQTTConnAckPacket in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:624:29: warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
622 |                         switch auth.reason {
623 |                         case .continueAuthentication:
624 |                             workflow(auth)
    |                             |- warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' 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'
625 |                         case .success:
626 |                             promise.succeed(auth)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:610:14: warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
608 |     ) -> EventLoopFuture<MQTTPacket> {
609 |         let promise = eventLoop.makePromise(of: MQTTPacket.self)
610 |         func workflow(_ packet: MQTTAuthPacket) {
    |              `- warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
611 |             let auth = MQTTAuthV5(reason: packet.reason, properties: packet.properties)
612 |             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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                           `- 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
192 |             }
193 |             .flatMapThrowing { response -> MQTTAuthV5 in
[779/780] Compiling MQTTNIO MQTTClientV5.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:250: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
248 |
249 |             self.shutdownEventLoopGroup(queue: queue) { error in
250 |                 callback(closeError ?? error)
    |                 |- 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'
251 |             }
252 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:250: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
248 |
249 |             self.shutdownEventLoopGroup(queue: queue) { error in
250 |                 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'
251 |             }
252 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:263:66: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
254 |
255 |     /// shutdown EventLoopGroup
256 |     private func shutdownEventLoopGroup(queue: DispatchQueue, _ callback: @escaping (Error?) -> Void) {
    |                                                                 `- note: parameter 'callback' is implicitly non-sendable
257 |         switch self.eventLoopGroupProvider {
258 |         case .shared:
    :
261 |             }
262 |         case .createNew:
263 |             self.eventLoopGroup.shutdownGracefully(queue: queue, callback)
    |                                                                  `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
264 |         }
265 |     }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:260: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
258 |         case .shared:
259 |             queue.async {
260 |                 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'
261 |             }
262 |         case .createNew:
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:487:44: warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
485 |                     // only reset connection if this connection is still set. Stops a reconnect having its connection removed by the
486 |                     // previous connection
487 |                     if self.connection === connection {
    |                                            `- warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 |                         self.connection = nil
489 |                     }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:30:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 28 | import NIOWebSocket
 29 |
 30 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 31 |     let channel: Channel
 32 |     let timeout: TimeAmount?
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:516:31: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
514 |                 case let auth as MQTTAuthPacket:
515 |                     // auth messages require an auth workflow closure
516 |                     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; this is an error in the Swift 6 language mode
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
517 |                     return self.processAuth(auth, authWorkflow: authWorkflow, on: eventLoop)
518 |                         .flatMapThrowing { result -> MQTTConnAckPacket in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:624:29: warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
622 |                         switch auth.reason {
623 |                         case .continueAuthentication:
624 |                             workflow(auth)
    |                             |- warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' 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'
625 |                         case .success:
626 |                             promise.succeed(auth)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:610:14: warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
608 |     ) -> EventLoopFuture<MQTTPacket> {
609 |         let promise = eventLoop.makePromise(of: MQTTPacket.self)
610 |         func workflow(_ packet: MQTTAuthPacket) {
    |              `- warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
611 |             let auth = MQTTAuthV5(reason: packet.reason, properties: packet.properties)
612 |             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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                           `- 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
192 |             }
193 |             .flatMapThrowing { response -> MQTTAuthV5 in
[780/780] Compiling MQTTNIO MQTTConfiguration.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:250: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
248 |
249 |             self.shutdownEventLoopGroup(queue: queue) { error in
250 |                 callback(closeError ?? error)
    |                 |- 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'
251 |             }
252 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:250: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
248 |
249 |             self.shutdownEventLoopGroup(queue: queue) { error in
250 |                 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'
251 |             }
252 |         }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:263:66: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
254 |
255 |     /// shutdown EventLoopGroup
256 |     private func shutdownEventLoopGroup(queue: DispatchQueue, _ callback: @escaping (Error?) -> Void) {
    |                                                                 `- note: parameter 'callback' is implicitly non-sendable
257 |         switch self.eventLoopGroupProvider {
258 |         case .shared:
    :
261 |             }
262 |         case .createNew:
263 |             self.eventLoopGroup.shutdownGracefully(queue: queue, callback)
    |                                                                  `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
264 |         }
265 |     }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:260: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
258 |         case .shared:
259 |             queue.async {
260 |                 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'
261 |             }
262 |         case .createNew:
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:487:44: warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
485 |                     // only reset connection if this connection is still set. Stops a reconnect having its connection removed by the
486 |                     // previous connection
487 |                     if self.connection === connection {
    |                                            `- warning: capture of 'connection' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 |                         self.connection = nil
489 |                     }
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:30:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 28 | import NIOWebSocket
 29 |
 30 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 31 |     let channel: Channel
 32 |     let timeout: TimeAmount?
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:516:31: warning: capture of 'authWorkflow' with non-sendable type '((MQTTAuthV5, any EventLoop) -> EventLoopFuture<MQTTAuthV5>)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
514 |                 case let auth as MQTTAuthPacket:
515 |                     // auth messages require an auth workflow closure
516 |                     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; this is an error in the Swift 6 language mode
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
517 |                     return self.processAuth(auth, authWorkflow: authWorkflow, on: eventLoop)
518 |                         .flatMapThrowing { result -> MQTTConnAckPacket in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:624:29: warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
622 |                         switch auth.reason {
623 |                         case .continueAuthentication:
624 |                             workflow(auth)
    |                             |- warning: capture of 'workflow' with non-sendable type '(MQTTAuthPacket) -> ()' 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'
625 |                         case .success:
626 |                             promise.succeed(auth)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTClient.swift:610:14: warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
608 |     ) -> EventLoopFuture<MQTTPacket> {
609 |         let promise = eventLoop.makePromise(of: MQTTPacket.self)
610 |         func workflow(_ packet: MQTTAuthPacket) {
    |              `- warning: concurrently-executed local function 'workflow' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
611 |             let auth = MQTTAuthV5(reason: packet.reason, properties: packet.properties)
612 |             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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                           `- 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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
192 |             }
193 |             .flatMapThrowing { response -> MQTTAuthV5 in
Build complete! (84.56s)
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.42.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.6.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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.